I am looking to add an actionscript to a Flash movie so that the entire animation repeats itself three times and then stops. I currently have the entire animation inside one movie clip which is placed into the first frame (and only one frame) on the stage.
Does anyone know of an actionscript to perform this loop?
In the past I have simply copied and pasted the entire frames to mimic the loop, but this method adds additional file size that is not needed.
Thanks in advance to anyone and everyone who responds!
I would think one could achieve this by having a variable set to an integer, 0. Then run a while loop which checks that the initial variable is not higher than 3, and if that evaluates to true process the code in the loop, and somewhere in there just increment the variable by one.