游戏编程 flash.utils.Timer
实现代码如下:public function setNextObject() { nextObject = new Timer(1000+Math.random()*1000,1); nextObject.addEventListener(TimerEvent.TIMER_COMPLETE,newO
实现代码如下:public function setNextObject() { nextObject = new Timer(1000+Math.random()*1000,1); nextObject.addEventListener(TimerEvent.TIMER_COMPLETE,newO