# Keyboard commands don't work in loaded swf

**URL:** <https://forum.kirupa.com/t/keyboard-commands-dont-work-in-loaded-swf/271568>\
**Category:** Uncategorized\
**Created:** [September 24, 2008, 6:46pm UTC](https://forum.kirupa.com/t/keyboard-commands-dont-work-in-loaded-swf/271568 "2008-09-24T18:46:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhnh](https://avatars.discourse-cdn.com/v4/letter/b/eb8c5e/32.png) [@bhnh](https://forum.kirupa.com/u/bhnh)\
**Post date:** [September 24, 2008, 6:46pm UTC](https://forum.kirupa.com/t/keyboard-commands-dont-work-in-loaded-swf/271568/1 "2008-09-24T18:46:49Z")

</div>

I have a Game swf that uses keyboard Listeners. They work just fine when the swf’s played directly. HOWEVER, after the Game’s been loaded into a parent Preloader swf - which is playing from an html - , the keyboard Listeners don’t function at all.  
In the Keyboard Listeners do I have to reference the parent? If so, how? Any help would be greatly appreciated! :puzzle:
