PDA

View Full Version : Looping a flash movie


woolwerks
05-05-2004, 05:39 PM
I'm sure this is simple, but how can I loop a movie a fixed number of times? I've found ActionScript solutions for Flash 4 & 5, but I'm using MX. any help would be greatly appreciated.

Purpose: I need a flash banner ad I've built to loop 3 times and then stop. I was using 3 identical scenes, but it seems a bit redundant and tends to bloat the file size.

Thanks in advance!
Justin

Tink
05-05-2004, 05:47 PM
link (http://www.flash-forum.co.uk/forum/showthread.php?s=&threadid=2312)

woolwerks
05-05-2004, 06:03 PM
Thanks, that did it. I just added a line (if myLoop <=3) so that the movie will stop after three loops.

Cheers.
Justin