Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : simple button actionscript help needed


chaoticjelly
4/24/2004 5:47:20 PM
Hi,

Anychance anyone can help with this bit of button actionscript?
It shouldnt be too hard, but I've spent ages on it and I just can't figure out
why its not working..

I've got Macromedia Flash MX 2004.

I need to put actions on a button to make it go to and play the next frame OR
go to and play frame 3.

The code I am using is:

on(click) {
gotoAndPlay(3);
}

This is on the actionscript for the button instance in the movie. However when
I test the movie, you can click the button, but nothing happens??

Any help would be GREATLY appreciated!

exor?
4/24/2004 6:04:05 PM
hey, this should work.... i even made a little file to make sure.

on (press){
_root.gotoAndPlay(3);
}

chaoticjelly
4/24/2004 6:08:05 PM
AddThis Social Bookmark Button