title: ALT+ shortcuts make a "beep" sound
body: <p>I am struggling with an air flex application. Whenever I click <kbd>Alt</kbd> + something, vista makes a sound. I suspect that it is connected with non-existing menu bar.</p>
  
  <p>Any ideas how to disable my app responding to shortcuts where alt is involved?</p>
  
  <p>Here's the code:</p>
  
  <pre><code>stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUp);
  ...
              public function onKeyUp(event:KeyboardEvent):void {
                  trace("inside onKeyUp");
  
                  if (event.altKey) {
                      if (event.keyCode == 69 /* E */) {
                          detailsBtn.dispatchEvent(new MouseEvent(MouseEvent.CLICK, true));
                      } else if (event.keyCode == 65 /* A */) {
                          andmevahetusBtn.dispatchEvent(new MouseEvent(MouseEvent.CLICK, true));
                      } else if (event.keyCode == 83 /* S */) {
                          Application.application.close();
                      } else {
                          trace("Key pressed. keyCode: " + event.keyCode + ", charCode: " + event.charCode);
                      }
                  }
              }
  </code></pre>
  
  <p>I tried everything:</p>
  
  <pre><code>event.preventDefault();
  event.stopPropagation();
  event.stopImmediatePropagation();
  </code></pre>
  
  <p>Nothing helped.</p>