I have a flash file (a simple banner), with all the animations within child mc’s. The only actionscript (2.0) I’ve used so far is stop(); at the end of some of the child mc’s so they’ll stay on the stage. This seems to stop the whole thing from looping. When I do get it to loop, none of the child mc’s are at the beginning of their timelines.
Is there a way I can “reset” them all at the end of the last timeline, so that it will loop properly? Or is there a better way I could be controlling the stops?
I’m a complete AS2 noob, but have looked everywhere for the answers and haven’t found anything that helps 🙁
You can ‘reset’ a movieClip timeline by calling child_mc.gotoAndPlay(1);
If you’re looking to recursively stop/loop all child clips of an object (or absolutely everything), look a my answer to this question: How to make a universal pause button in Flash CS5?
With that function you can reset all your clips at once by doing this:
recursiveStop(stage,false,1);