I need to enable
alt-<key> selection semantics for some Buttons in my application. If I write KeyDownEventListener for the Button, its not getting triggered when I press ALT key in the keyboard. Is there any way to enable alt key semantics for the buttons?
Thanks in advanceAnswer1:
KeyboadEvent class has an <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/KeyboardEvent.html#altKey" rel="nofollow">altKey</a> property that you can use to check if Alt key was held-down while the current key was pressed.