KeyboardEvent cannot reactive after gotoAndPlay
Hello I am Kamen Rider FR,
I'm still a beginner in programming ActionScript 3.0,
I had a problem with KeyboardEvent in ActionScript 3.0,
I created a simple shooting game, the game has 2 Frame,
1. Title Game (Frame 1)
http://board.flashkit.com/board/imag.../2011/06/1.jpg
2. Game Playing (Frame 2)
http://board.flashkit.com/board/imag.../2011/06/1.jpg
The problem is in Frame 1 when Button is clicked playinggame
http://board.flashkit.com/board/imag.../2011/06/1.jpg
then switched Frame to Frame 2 where the game takes place where the user can move the aircraft by using the keyboard, (Left Arrow, Up Arrow, Right Arrow & Down Arrow).
But when a keyboard button is pressed, KeyboardEvent not react at all, and aircraft can not be controlled.
Even more bizarre when the stage at the click KeyboardEvent can react and aircraft can be controlled.
The question is how to keep the button is clicked playinggame in Frame and the Frame 2, the aircraft can still be controlled using the keyboard
I beg the solution of the comrades in the forum, the following file code themselves
this link of my code :
http://www.mediafire.com/?39ivuqcrr5k6b9u#1
Thank you for Help :)