PDA

View Full Version : Limited Looping


wayman
11-13-2004, 01:53 AM
Should be simple but I can't get my head around it. I need to loop a movie x number of times and then stop and move onto the next movie. I've tried a For loop but I can't seem to peg it down. Thoughts? Perhaps there a play x times function?

JEBoothjr
11-13-2004, 03:44 AM
On the last frame of the movie, put:


maxPlays=10;
//
playTime++
if(playTime==maxPlays){
trace("Move onto the next.");
}