title: AIR-FLEX: Keyboard events only sometimes working?
body: <p>I am adding a key listener to my AIR application like so:</p>
  
  <pre><code>&lt;mx:WindowedApplication 
      xmlns:mx="http://www.adobe.com/2006/mxml" 
      keyDown="onKeyDown(event)"&gt;
  </code></pre>
  
  <p>Yet only sometimes when I press keys does it actually invoke. I have no clue why, I thought maybe something else has focus. Well I cannot add key listeners to NativeWindow or NativeApplication, and I would assume if it is on the WindowedApplication which is the root element, that as long as my application has focus the key presses should invoke the listener. Yet only sometimes do.</p>
  
  <p>Any ideas why?</p>
  
  <p>Thanks!</p>