View Full Version : drawing a blank
spectsteve7
10-03-2006, 05:00 PM
this is a silly question but i can't think right now how to do this. i have a movie and have one movie clip in it. how can i set the amount of loops it plays before stopping?
iknow
10-03-2006, 06:18 PM
I've had this one, may be helpful to you:
stop();
displayTime = 45;//45 sec
countDown = function(){
displayTime--;
if (displayTime == 0){
clearInterval(timer);
_root.movieHolder_mc.stop();}}
timer = setInterval(countDown, 1000); //countDown 1sec
Or you may just: e.g. your mc length is 20 frames --> 7 times =140frames.
On the main timeline, right on frame 140 put a stop() to the mc. :)
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.