Using keyboard keycodes in Actionscript
7 Apr / 09
It is hard to remember the whole ASCII key list when listening to keyboard events in Flash Actionscript.
Example:
I usually use the Keyboard Class (flash.ui.Keyboard) when tracking keyboard inputs but it does not contain all the keys you may want to use. Instead of googling tables with Keyboard keycodes I made this SWF to get quick access to the codes via the KeyboardEvent (flash.events.KeyboardEvent) class.

Related posts:






Post a comment