View Full Version : Question on scripts - hopefully quite an easy one!
kidzero
02-15-2002, 05:22 PM
How can I set up a button to "Go To and Play" and then once the animation has finished then "Go To" another frame?
I need to be able to use the animation more than once, but can't work the damn thing out - I've only been using Flash a couple of days, and this is really frustrating me!
Thanks for your help guys!!
Tom
pixelwit
02-15-2002, 08:09 PM
Can you be more specific?
-PiXELWiT
http://www.pixelwit.com
red penguin
02-15-2002, 10:58 PM
Yessiree, bob, we need some more info here...
All this animation is onthe main timeline? A movie clip? It could be as simple as a gotoAndPlay at the end of the animation...
Hey pixelwit, how ya been?
Ricod
02-18-2002, 08:18 AM
Put your animation in its own movieclip and label it. Then u can use the basic code :
on (release) {
_root.myMovieClip.gotoAndPlay(FrameNrOrLabel);
}
red penguin
02-18-2002, 09:26 AM
Sure, at the end of your "animation", wherever it may lie, just use the simple code of "gotoAndPlay()"...
farafiro
02-18-2002, 09:45 AM
I think - as I got from your post - that u assign the "gotoAndPlay(#)" to the last frame in your anime
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.