laypipe79
02-20-2009, 12:58 AM
hi im trying to get this event timer to work and it just wont. can anyone tell me whats wrong with this code. thanks in advance.
stop();
var myTimer:Timer=new Timer (7000);
myTimer.addEventListener(Timer Event.TIMER, timerF);
myTimer.start();
function timerF(e:TimerEvent):void{
nextFrame();
}
stop();
var myTimer:Timer=new Timer (7000);
myTimer.addEventListener(Timer Event.TIMER, timerF);
myTimer.start();
function timerF(e:TimerEvent):void{
nextFrame();
}