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

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -