Question about key presses

Hi… I’m writing a simple pong game. it’s a one frame movie, and I have a function that runs whenever the ball goes out of bounds… I want that function to hold the action until the enter key is pressed… do you guys know how I can do that?
thanks

well… I don’t think you can stop it mid fucntion… But you can stop the mc form playing then…

_root.stop();

Then… When someone hits the enter key that can call a function that will reset the ball… Change the score and then replay the movie.

Hope this helps out.

I tried that, but it doesnt work…