Thursday, December 24, 2009

How do you get a movieclip to stop on it's final frame with Actionscript 3 in flash?

I want the movieclip to play once and then stop until I need it to play again.How do you get a movieclip to stop on it's final frame with Actionscript 3 in flash?
On the time line where the animation is played, right click the final frame, and click Create New Key frame.





With this new key frame still selected go to the actions panel and type stop();





When the animation plays, and hits this key frame it will execute the stop command and stop the animation

No comments:

Post a Comment