flash Timer类使用
var timer:Timer = new Timer(1000);
timer.addEventListener("timer",tracerTimer);
function tracerTimer(event:TimerEvent){
//do something;
}
timer.start();
timer.stop();
var timer:Timer = new Timer(1000);
timer.addEventListener("timer",tracerTimer);
function tracerTimer(event:TimerEvent){
//do something;
}
timer.start();
timer.stop();