20 seconds

The movie play’s. At a frame, for example frame 45 I wanna make a pause for 20 seconds and then play next frame ( 46 ).
How can I do this?

I solve the problem. 10x.

In frame 1 I set a variable time. Because I will use this time in many frames.

time = 20000

In frame 45



function playNext() {
	clearInterval(hold);
	gotoAndPlay(46);
}
hold = setInterval(playNext, time);
stop();



woohoo! if this works than you’ve solved a problem i’ve had for ages— thnx !!

There’s also a TechNote at Macromedia that addresses this type of problem for Flash 5.

Might be simpler in MX… no clue, and haven’t tried it.

http://www.macromedia.com/support/flash/ts/documents/f5_pauser.htm

–EP

no problem mlkdesign.
It works. :))