I have created the following math game
The game is working great, but there is one thing I don't like about it. If the player enters their answer and presses enter, it inserts a return into the input field. I would rather that fire the same code as the button to check the answer.
Does anyone know if that is possible and if so can you provide sample Action Script code?
Many thanks.
Mark
The game is working great, but there is one thing I don't like about it. If the player enters their answer and presses enter, it inserts a return into the input field. I would rather that fire the same code as the button to check the answer.
Does anyone know if that is possible and if so can you provide sample Action Script code?
Many thanks.
Mark