How to end game and stop timer

I made a small dodge ball game, where 3 balls are bouncing of the horizontal walls of a rectangle and a character in the middle dodges them by going up or down. I also have a simple timer that counts time in seconds.
I am trying to use the hitTest function to end the game and stop the timer when a ball hits my character but I have not been able to do it successfully.
Will appreciate all help and comments.

I am using Flash MX