Hi,
The following code for starting an event is quite okay. But how can I **stop **it after **10 **seconds as it won’t require anymore after 10 seconds of animation. I am using actionscript 3.
Please help me in this regard.
var timer:Timer = new Timer(1000, 1);
timer.addEventListener(TimerEvent.TIMER_COMPLETE, onTimerComplete);
timer.start();
function onTimerComplete(e:TimerEvent):void {
}
Thanks.