The following table lists keys on a standard keyboard other than letters or numbers, with the corresponding ASCII key code values that are used to identify the keys in ActionScript.
Key | Key code |
---|---|
Backspace | 8 |
Tab | 9 |
Clear | 12 |
Enter | 13 |
Shift | 16 |
Control | 17 |
Alt | 18 |
Caps Lock | 20 |
Esc | 27 |
Spacebar | 32 |
Page Up | 33 |
Page Down | 34 |
End | 35 |
Home | 36 |
Left Arrow | 37 |
Up Arrow | 38 |
Right Arrow | 39 |
Down Arrow | 40 |
Insert | 45 |
Delete | 46 |
Help | 47 |
Num Lock | 144 |
; : | 186 |
= + | 187 |
- _ | 189 |
/ ? | 191 |
\Q ~ | 192 |
[ { | 219 |
\ | | 220 |
] } | 221 |
'' ' | 222 |