Stage problem?

Hi there,

I am developing a game in Flash where the spacebar needs to be hit in order to play, but I have a problem: before I can start hitting the spacebar, I HAVE TO click first on the game before it recognizes the spacebar is being hit.

The game is build with a few screens (states), and before the game is started, there are a few other screens.

I guess this is a stage problem? Or so someone suggested me…

I would like to be able to just start hitting the spacebar without clicking on the game first. Is there anyone who knows a way to fix this?

Thank you in advance.