Why are keys sometimes not captured

Hi Guys,

I have made a multiplayer game where key presses are extremely important to capture (and to play the game). I have made this straight forward piece of code to listen for the keys:


_stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener);
_stage.addEventListener(KeyboardEvent.KEY_UP, keyUpListener);

The good thing is, it works! However, in some very, very rare cases (like 0.0001% of the key presses) my players report that their keys are not recorded by flash.

**How is this possible? **

I am currently thinking that maybe the stage loses focus for a short while, because a 3rd program takes over the focus?
Or maybe it is because something in the AVM make key presses to be skipped?

Does anybody know what could be happening and how to solve this?

I am eagerly waiting for your reply.

Best regards,

Geert