all groups > flash actionscript > june 2005 >
You're in the

flash actionscript

group:

new to action script and need help


new to action script and need help swollenguy
6/7/2005 10:10:19 PM
flash actionscript:
I am new to action script and need help. I have a flash web site with four
menus each has twelve buttons the play twelve movieclips that display an image.
Each button uses a gotoandPlay and gotoandStop to start the movie clip and turn
off the others. My problem is they work fine until you go back and forth
between the menus a couple of times then the buttons act screwy.
Re: new to action script and need help El Jay Kay
6/8/2005 12:00:00 AM
Hi -
If the button layer is always visible, and the images are in a separate layer,
and a separate key frame, each w/ a stop(); action within them, then just code
a button like:
gotoAndPlay("still1"); //frame label for one of the images.

If you use gotoAndStop("still1"); you're telling the main movie to play that
frame, then stop *itself*.

Hope that helps a bit,
El
AddThis Social Bookmark Button