title: how to have a Button not fire on space key if it has focus?
body: <p>The behavior I'm trying to prevent is after a user clicks on a button, the button retains focus, and then if the user hits the space key, the button fires again.  So I thought it could be solved either by setting the focus elsewhere, or by having the button ignore the space key.  I've tried adding the following keyDown event listener on the button, but it didn't work.</p>
  
  <pre><code>private function btn_keyDown(event:KeyboardEvent):void {
    // try to ignore spaces, i.e. don't click on SPACE when it has focus
    if (event.keyCode == Keyboard.SPACE) {
    }
  }
  </code></pre>
  
  <p>I tried changing focus by doing the following, at the end of the function that's called when the button is clicked:</p>
  
  <pre><code>stage.focus = parent;
  </code></pre>
  
  <p>but that didn't work either.</p>