last week I learned to play a movieclip a specified number of times then stop.
Now, I need to stop an entire .fla (or, it may become a scene, but for now it’s the only content) after it loops TWO times only.
The .fla has one frame containing graphics and text on separate layers and 4 movieclips on different layers. The movieclips have no actionscript in them right now. They are essentially tweens over staggered times.
In fact, right now there’s no actionscript anywhere in this particular .fla.
How can I play it two times then stop. Also, I need to be able to accomodate further stuff after this… that is, the movie is not yet been completed…it was just a start, but it’s only this part that is completed I need to loop twice.
Please could you let me where the code would go too?
I added an actionscript layer, put in your code for the first frame, added a new keyframe in frame2 and put the rest of the code there. I also added blank frames to each of the other layers so all is 2 frames long. it’s not working yet… I used your script verbatim. Is there something I was to attach the variable to? somewhere in the property inspector?