Hi
Can someone please tell me why my MouseEvent only works the first time and after that it doesnt work anmore
Here's the code:
ActionScript Code: btn_start.addEventListener(MouseEvent.CLICK, startTheGame); } function startTheGame(event:MouseEvent):void { trace("Start"); gotoAndStop(2); }
thanks!
btn_start starts the game.
when the game is over (the player lost all his lives) I go to Frame 1 (this is where my start-button is) but the button doesnt work anymore.
MouseEvent works only once
Monday, May 28, 2012
[Action Script] MouseEvent works only once May,2012
Posted by Bimo Hery Prabowo at 7:13 PM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment