Flash 8 ascii keycodes

capture keystrokes

Here are the ascii keycodes that you can use in Flash Actionscript programming to capture keystrokes.
This is handy for games especially when you have to move characters or objects around the stage.

Here is the tutorial about keycodes in flash 8 and a keyListener

Letters
A - 65
B - 66
C - 67
D - 68
E - 69
F - 70
G - 71
H - 72
I - 73
J - 74
K - 75
L - 76
M - 77
N - 78
O - 79
P - 80
Q - 81
R - 82
S - 83
T - 84
U - 85
V - 86
W - 87
X - 88
Y - 89
Z - 90

Numbers
0 - 48
1 - 49
2 - 50
3 - 51
4 - 52
5 - 53
6 - 54
7 - 56
8 - 57
9 - 58

Leave a Reply

You must be logged in to post a comment.