I am in the process of creating a game. In the game you use the LEFT and RIGHT arrow keys to move the character and dodge the falling balls. A point is earned for every ball that hits the ground. Once the character is hit with the ball a gameover button pops up only leaving a small strip of the screen up where the score is listed. I need a actionscript code that will stop the score from increasing after the gameover button occurs. Thanks.
you must have a loop that's updating the score. stop that loop when the character is hit.
or, if that loop needs to update other things, in addition to the score, use an if-statement to stop the score updating after the character is hit.