keyboard – DanDev.com http://www.dandev.com Tidbits about software development Mon, 23 Jan 2012 23:16:38 +0000 en-US hourly 1 Flex/AIR Tips: Keyboard Codes http://www.dandev.com/2009/03/flex-tips-keyboard-codes/ http://www.dandev.com/2009/03/flex-tips-keyboard-codes/#respond Tue, 10 Mar 2009 09:40:22 +0000 http://www.dandev.com/?p=132 If you ever have the urge to capture a specific key pressed in Flex or AS3 in general, there is an excellent list of the keycodes, and costants you can […]

The post Flex/AIR Tips: Keyboard Codes appeared first on DanDev.com.

]]>
If you ever have the urge to capture a specific key pressed in Flex or AS3 in general, there is an excellent list of the keycodes, and costants you can use to represent them in your code here: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/ui/Keyboard.html

3-10-2009-5-36-24-am

You can use them statically(without instantiating an object) like so:

trace(Keyboard.TAB); // 9

The post Flex/AIR Tips: Keyboard Codes appeared first on DanDev.com.

]]>
http://www.dandev.com/2009/03/flex-tips-keyboard-codes/feed/ 0