Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

looping a movie clip with a delay

Status
Not open for further replies.

bubu

Programmer
Mar 3, 2002
463
RO
Hello!

Let's say that my movie is 100 frames long. I want it to loop continuosly but with a delay...let's say 10 seconds.

So what action should i add instead of the stop action from the end? :)

Regards,
Dragos.


 
function playAgain() {
clearInterval(repeat);
gotoAndPlay(1);
}
//
repeat = setInterval(playAgain, 10000);
stop();
 
This stuff desirves a star for sure :)

Thanks a lot wangbar!

Regards,
Dragos.


 
wangbar....for some reason my movie is goim\ng crazy from time to time...when i remove these actions everything goes well.

I have a movie and the timeline is divided in 5 parts....i use the actiuons to loop every part when it is selected. Take a close look here:


Regards,
Dragos.
 
Dragos, check your mail! [bigcheeks]

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top