Is there any way to get playback of a timeline to pause for, say, 5 seconds, then resume? I can put empty frames in to space it out, but I wondered if there were an ActionScript way to specify the pause interval.
[font=Courier New]setInterval()[font=Verdana] is perfect for you. It executes a given function after a specified amount of time has passed.
[/font][/font][font=Courier New][font=Verdana]stop();
resume = function () {
play();
clearInterval(pauseTimeline);
};
pauseTimeline = setInterval(resume, 5000);[/font][/font][font=Courier New][font=Verdana]
[/font][/font]
Thank you!
You’re welcome