Table B-1 lists the characters in the Latin 1 character repertoire, the primary character set supported by Flash. The first column (labeled "Dec"), gives each character's code point in decimal (the standard ASCII value), the second column provides the Unicode escape sequence for the character, and the third column describes the character itself. See Chapter 4, "Primitive Datatypes", for more information on character encoding in Flash.
For supplementary reading on the topic of character encoding, see the following resources:
http://czyborra.com/charsets/iso8859.html
A series of documents detailing the makeup and meaning of characters in the Latin 1 character repertoire, the primary character set supported by Flash (maintained by Roman Czyborra)
ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/SHIFTJIS.TXT
A list of the Unicode code points for characters in the Shift-JIS character set, Flash's supported set of Japanese characters
http://www.unicode.org/unicode/faq
A good question-and-answer format overview of Unicode, an international standard for character encoding
Dec |
Unicode |
Description |
Dec |
Unicode |
Description |
---|---|---|---|---|---|
0 |
\u0000 |
[null] |
36 |
\u0024 |
$ |
1 |
\u0001 |
[start of heading] |
37 |
\u0025 |
% |
2 |
\u0002 |
[start of text] |
38 |
\u0026 |
& |
3 |
\u0003 |
[end of text] |
39 |
\u0027 |
` |
4 |
\u0004 |
[end of transmission] |
40 |
\u0028 |
( |
5 |
\u0005 |
[enquiry] |
41 |
\u0029 |
) |
6 |
\u0006 |
[acknowledge] |
42 |
\u002a |
* |
7 |
\u0007 |
[bell] |
43 |
\u002b |
+ |
8 |
\u0008 |
[backspace] |
44 |
\u002c |
, |
9 |
\u0009 |
[horizontal tabulation] |
45 |
\u002d |
- |
10 |
\u000a |
[line feed] |
46 |
\u002e |
. |
11 |
\u000b |
[vertical tabulation] |
47 |
\u002f |
/ |
12 |
\u000c |
[form feed] |
48 |
\u0030 |
0 |
13 |
\u000d |
[carriage feed] |
49 |
\u0031 |
1 |
14 |
\u000e |
[shift out] |
50 |
\u0032 |
2 |
15 |
\u000f |
[shift in] |
51 |
\u0033 |
3 |
16 |
\u0010 |
[data link escape] |
52 |
\u0034 |
4 |
17 |
\u0011 |
[device control one] |
53 |
\u0035 |
5 |
18 |
\u0012 |
[device control two] |
54 |
\u0036 |
6 |
19 |
\u0013 |
[device control three] |
55 |
\u0037 |
7 |
20 |
\u0014 |
[device control four] |
56 |
\u0038 |
8 |
21 |
\u0015 |
[negative acknowledge] |
57 |
\u0039 |
9 |
22 |
\u0016 |
[synchronous idle] |
58 |
\u003a |
: |
23 |
\u0017 |
[end of transmission block] |
59 |
\u003b |
; |
24 |
\u0018 |
[cancel] |
60 |
\u003c |
< |
25 |
\u0019 |
[end of medium] |
61 |
\u003d |
= |
26 |
\u001a |
[substitute] |
62 |
\u003e |
> |
27 |
\u001b |
[escape] |
63 |
\u003f |
? |
28 |
\u001c |
[file separator] |
64 |
\u0040 |
@ |
29 |
\u001d |
[group separator] |
65 |
\u0041 |
A |
30 |
\u001e |
[record separator] |
66 |
\u0042 |
B |
31 |
\u001f |
[unit separator] |
67 |
\u0043 |
C |
32 |
\u0020 |
[space] |
68 |
\u0044 |
D |
33 |
\u0021 |
! |
69 |
\u0045 |
E |
34 |
\u0022 |
" |
70 |
\u0046 |
F |
35 |
\u0023 |
# |
71 |
\u0047 |
G |
72 |
\u0048 |
H |
108 |
\u006c |
l |
73 |
\u0049 |
I |
109 |
\u006d |
m |
74 |
\u004a |
J |
110 |
\u006e |
n |
75 |
\u004b |
K |
111 |
\u006f |
o |
76 |
\u004c |
L |
112 |
\u0070 |
p |
77 |
\u004d |
M |
113 |
\u0071 |
q |
78 |
\u004e |
N |
114 |
\u0072 |
r |
79 |
\u004f |
O |
115 |
\u0073 |
s |
80 |
\u0050 |
P |
116 |
\u0074 |
t |
81 |
\u0051 |
Q |
117 |
\u0075 |
u |
82 |
\u0052 |
R |
118 |
\u0076 |
v |
83 |
\u0053 |
S |
119 |
\u0077 |
w |
84 |
\u0054 |
T |
120 |
\u0078 |
x |
85 |
\u0055 |
U |
121 |
\u0079 |
y |
86 |
\u0056 |
V |
122 |
\u007a |
z |
87 |
\u0057 |
W |
123 |
\u007b |
{ |
88 |
\u0058 |
X |
124 |
\u007c |
| |
89 |
\u0059 |
Y |
125 |
\u007d |
} |
90 |
\u005a |
Z |
126 |
\u007e |
~ |
91 |
\u005b |
[ |
127 |
\u007f |
[delete] |
92 |
\u005c |
\ |
128 |
\u0080 |
control chr |
93 |
\u005d |
] |
129 |
\u0081 |
control chr |
94 |
\u005e |
^ |
130 |
\u0082 |
control chr |
95 |
\u005f |
_ |
131 |
\u0083 |
control chr |
96 |
\u0060 |
` |
132 |
\u0084 |
control chr |
97 |
\u0061 |
a |
133 |
\u0085 |
control chr |
98 |
\u0062 |
b |
134 |
\u0086 |
control chr |
99 |
\u0063 |
c |
135 |
\u0087 |
control chr |
100 |
\u0064 |
d |
136 |
\u0088 |
control chr |
101 |
\u0065 |
e |
137 |
\u0089 |
control chr |
102 |
\u0066 |
f |
138 |
\u008a |
control chr |
103 |
\u0067 |
g |
139 |
\u008b |
control chr |
104 |
\u0068 |
h |
140 |
\u008c |
control chr |
105 |
\u0069 |
i |
141 |
\u008d |
control chr |
106 |
\u006a |
j |
142 |
\u008e |
control chr |
107 |
\u006b |
k |
143 |
\u008f |
control chr |
144 |
\u0090 |
control chr |
180 |
\u00b4 |
´ |
145 |
\u0091 |
control chr |
181 |
\u00b5 |
|
146 |
\u0092 |
control chr |
182 |
\u00b6 |
¶ |
147 |
\u0093 |
control chr |
183 |
\u00b7 |
· |
148 |
\u0094 |
control chr |
184 |
\u00b8 |
¸ |
149 |
\u0095 |
control chr |
185 |
\u00b9 |
1 |
150 |
\u0096 |
control chr |
186 |
\u00ba |
º |
151 |
\u0097 |
control chr |
187 |
\u00bb |
» |
152 |
\u0098 |
control chr |
188 |
\u00bc |
1⁄4 |
153 |
\u0099 |
control chr |
189 |
\u00bd |
1⁄2 |
154 |
\u009a |
control chr |
190 |
\u00be |
3⁄4 |
155 |
\u009b |
control chr |
191 |
\u00bf |
¿ |
156 |
\u009c |
control chr |
192 |
\u00c0 |
À |
157 |
\u009d |
control chr |
193 |
\u00c1 |
Á |
158 |
\u009e |
control chr |
194 |
\u00c2 |
¯ |
159 |
\u009f |
control chr |
195 |
\u00c3 |
à |
160 |
\u00a0 |
[no break space] |
196 |
\u00c4 |
Ä |
161 |
\u00a1 |
¡ |
197 |
\u00c5 |
Å |
162 |
\u00a2 |
¢ |
198 |
\u00c6 |
Æ |
163 |
\u00a3 |
£ |
199 |
\u00c7 |
Ç |
164 |
\u00a4 |
¤ |
200 |
\u00c8 |
È |
165 |
\u00a5 |
¥ |
201 |
\u00c9 |
É |
166 |
\u00a6 |
202 |
\u00ca |
Ê |
|
167 |
\u00a7 |
§ |
203 |
\u00cb |
Ë |
168 |
\u00a8 |
¨ |
204 |
\u00cc |
Ì |
169 |
\u00a9 |
© |
205 |
\u00cd |
Í |
170 |
\u00aa |
ª |
206 |
\u00ce |
Î |
171 |
\u00ab |
« |
207 |
\u00cf |
Ï |
172 |
\u00ac |
¬ |
208 |
\u00d0 |
|
173 |
\u00ad |
- |
209 |
\u00d1 |
Ñ |
174 |
\u00ae |
® |
210 |
\u00d2 |
Ò |
175 |
\u00af |
¯ |
211 |
\u00d3 |
Ó |
176 |
\u00b0 |
212 |
\u00d4 |
Ô |
|
177 |
\u00b1 |
± |
213 |
\u00d5 |
Õ |
178 |
\u00b2 |
2 |
214 |
\u00d6 |
Ö |
179 |
\u00b3 |
3 |
215 |
\u00d7 |
× |
216 |
\u00d8 |
Ø |
236 |
\u00ec |
ì |
217 |
\u00d9 |
Ù |
237 |
\u00ed |
í |
218 |
\u00da |
Ú |
238 |
\u00ee |
î |
219 |
\u00db |
Û |
239 |
\u00ef |
ï |
220 |
\u00dc |
Ü |
240 |
\u00f0 |
|
221 |
\u00dd |
241 |
\u00f1 |
ñ |
|
222 |
\u00de |
242 |
\u00f2 |
ò |
|
223 |
\u00df |
ß |
243 |
\u00f3 |
ó |
224 |
\u00e0 |
à |
244 |
\u00f4 |
ô |
225 |
\u00e1 |
á |
245 |
\u00f5 |
õ |
226 |
\u00e2 |
â |
246 |
\u00f6 |
ö |
227 |
\u00e3 |
ã |
247 |
\u00f7 |
÷ |
228 |
\u00e4 |
ä |
248 |
\u00f8 |
ø |
229 |
\u00e5 |
å |
249 |
\u00f9 |
ù |
230 |
\u00e6 |
æ |
250 |
\u00fa |
ú |
231 |
\u00e7 |
ç |
251 |
\u00fb |
û |
232 |
\u00e8 |
è |
252 |
\u00fc |
ü |
233 |
\u00e9 |
é |
253 |
\u00fd |
|
234 |
\u00ea |
ê |
254 |
\u00fe |
|
235 |
\u00eb |
ë |
255 |
ÿ |
Table B-2 lists the keycodes for selected special keys on the keyboard. These keycodes are used only with the Key object (see Part III, "Language Reference").
Key |
Keycode |
Key |
Keycode |
---|---|---|---|
;: |
186 |
Caps Lock |
20 |
+= |
187 |
Control |
17 |
-_ |
189 |
Delete |
46 |
/? |
191 |
Down arrow |
40 |
`~ |
192 |
End |
35 |
[{ |
219 |
Enter |
13 |
\| |
220 |
Escape |
27 |
]} |
221 |
F1 |
112 |
" ' |
222 |
F2 |
113 |
Alt |
18 (not trappable) |
F3 |
114 |
Backspace |
8 |
F4 |
115 |
F5 |
116 |
Num Pad 7 |
103 |
F6 |
117 |
Num Pad 8 |
104 |
F7 |
118 |
Num Pad 9 |
105 |
F8 |
119 |
Num Pad * |
106 |
F9 |
120 |
Num Pad + |
107 |
F10 |
121 (not trappable) |
Num Pad Enter |
13 (not trappable as 108) |
F11 |
122 |
Num Pad - |
109 |
F12 |
123 |
Num Pad . |
110 |
Home |
36 |
Num Pad / |
111 |
Insert |
45 |
Page Down |
34 |
Left arrow |
37 |
Page Up |
33 |
Num Lock |
144 |
Pause/Break |
19 |
Num Pad 0 |
96 |
Print Screen |
44 |
Num Pad 1 |
97 |
Right Arrow |
39 |
Num Pad 2 |
98 |
Scroll Lock |
145 |
Num Pad 3 |
99 |
Shift |
16 |
Num Pad 4 |
100 |
Space |
32 |
Num Pad 5 |
101 |
Tab |
9 |
Num Pad 6 |
102 |
Up Arrow |
38 |
Table B-3 lists the keycodes for the letter and number keys on a keyboard. These keycodes are used only with the Key object (see Part III, "Language Reference").
Key |
Keycode |
Key |
Keycode |
Key |
Keycode |
---|---|---|---|---|---|
A |
65 |
M |
77 |
Y |
89 |
B |
66 |
N |
78 |
Z |
90 |
C |
67 |
O |
79 |
0 |
48 |
D |
68 |
P |
80 |
1 |
49 |
E |
69 |
Q |
81 |
2 |
50 |
F |
70 |
R |
82 |
3 |
51 |
G |
71 |
S |
83 |
4 |
52 |
H |
72 |
T |
84 |
5 |
53 |
I |
73 |
U |
85 |
6 |
54 |
J |
74 |
V |
86 |
7 |
55 |
K |
75 |
W |
87 |
8 |
56 |
L |
76 |
X |
88 |
Copyright © 2002 O'Reilly & Associates. All rights reserved.