actionscript 3 - When using a keyListener in Flex, how do I catch a keystroke with Alt+S? -
i using combination of actionscript , mxml. have listener established unable discern how capture keystroke of alt+s web-app.
this simple: use altkey on keyboardevent:
private function onkey(evt:keyboardevent):void { if (evt.altkey && charcode == 83) { trace("alt-s pressed"); } }
Comments
Post a Comment