Jump to content


Photo

action script for go to url


  • Please log in to reply
1 reply to this topic

#1 zoom4267

zoom4267

    Young Padawan

  • Members
  • Pip
  • 191 posts
  • Gender:Female
  • Location:USA

Posted 18 December 2007 - 03:47 PM

what action scirp do i ad so when the user clicks on a button it goes to a url

there are no up, down hover etc its all action script

cs3, i did " on clip event go to url but that didnt seem to work

thanks

Edited by zoom4267, 18 December 2007 - 04:05 PM.


#2 curthard89

curthard89

    Young Padawan

  • Members
  • Pip
  • 226 posts

Posted 19 December 2007 - 03:16 AM

convert what u want to a movieclip

then in actions on the root or sumwhere, put

_root.myMovieClipNameHere.onRelease = function() {
getURL('http://www.google.com,_blank');
}

thats asuming your using as2




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users