# KeyPress Not Registering

**URL:** <https://forum.kirupa.com/t/keypress-not-registering/285374>\
**Category:** flash\
**Created:** [March 31, 2009, 2:45am UTC](https://forum.kirupa.com/t/keypress-not-registering/285374 "2009-03-31T02:45:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpelland](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@mpelland](https://forum.kirupa.com/u/mpelland)\
**Post date:** [March 31, 2009, 2:45am UTC](https://forum.kirupa.com/t/keypress-not-registering/285374/1 "2009-03-31T02:45:10Z")

</div>

Hey,  
So i know that the flash object needs to have focus in order for the key event to fire, but i am having an issue where i click a button in the flash window and the events stop firing.

The button activates a box2d world and i don’t know if that has anything to do with it. but as soon as i hit the start button, the key events no longer seem active until i click again.

the key listeners are assigned to the stage and there are no links out, external calls, or external files. I just can’t seem to figure out why the events are no longer triggering.

can anyone help me out with this?
