# Key Input not working... weird problem

**URL:** <https://forum.kirupa.com/t/key-input-not-working-weird-problem/250692>\
**Category:** flash\
**Created:** [January 31, 2008, 5:16pm UTC](https://forum.kirupa.com/t/key-input-not-working-weird-problem/250692 "2008-01-31T17:16:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wedge\_Man](https://avatars.discourse-cdn.com/v4/letter/w/f07891/32.png) [@Wedge\_Man](https://forum.kirupa.com/u/Wedge_Man)\
**Post date:** [January 31, 2008, 5:16pm UTC](https://forum.kirupa.com/t/key-input-not-working-weird-problem/250692/1 "2008-01-31T17:16:08Z")

</div>

Hi Guys,

I have a movieclip that gets added to the stage when i press the ‘M’ key.

When clicking on this movieclip, it calls a function to remove itself from the stage.

This all works fine.

But then if i press the ‘M’ key again, nothing happens. In fact, it doesn’t even register that the ‘M’ key or any key for that matter has been pressed.

If I then click anywhere on the stage, then keyboard access is restored and I can press the ‘M’ key again and it works.

Any help would be greatly appreciated.  
Thanks!
