hi,
Something like this:
PHP Code:import flash.utils.Timer;
import flash.events.TimerEvent;
function waitAS3(mc:MovieClip, s:Number = 10):void
{
mc.stop();
var timer:Timer = new Timer(s*1000, 1);
timer.addEventListener(TimerEvent.TIMER_COMPLETE, function()
{
mc.play();
}
);
timer.start();
}
// example:
waitAS3(this, 5); // stop this timeline, 5 seconds




Reply With Quote