Flash小游戏接金币源代码,详细明function Game():void {
txtScore.text=score.toString ();
stage.addEventListener(Event.ENTER_FRAME ,onFrameHandler);
stage.addEventListener(KeyboardEvent.KEY_DOWN,onKeyDownHandler);
myTimer.addEventListener(TimerEvent.TIMER ,onTimerHandler);
myTimer.start();
gameTimer.addEventListener(TimerEvent.TIMER ,onGameTimerHandler);了,
1