Monday, December 28, 2009

How to stop all movie clip on a stage, with single actionscript command, like ';stopallsound';?

I had a Adobe Flash file, which is having n number of movie clips on the stage. I want to put a single command in a button (by actionscript), similar to ';stopallsound';. So that all the animation in the movie clips will be stopped. Right now the only way to solve this is to give stop command to individual movie clips, which is becoming very time consuming.How to stop all movie clip on a stage, with single actionscript command, like ';stopallsound';?
create a standalone frame on the timeline, when you click the little button you created, it will gotoAndStop() there.


on(release){gotoAndStop(frame Label,Number or expression);}

No comments:

Post a Comment