MANDAR

AS 3.0 : set Interval

Posted in Flash Designer by Mandar on May 12, 2009

Set interval in AS3.0

var timer:Timer = new Timer(100);
timer.addEventListener(TimerEvent.TIMER, onTimer,false,true,false);
timer.start();
function onTimer(evt:TimerEvent):void{
hand.rotation +=5;

}


Leave a Reply

You must be logged in to post a comment.