Sometimes in Flash, you might need to use the ASCII value of a character instead of the actual character. When that happens, you can obtain the value you need by using an ASCII chart that lists each character along with its associated numerical value.
The first half of the ASCII character chart is printed in Table A.1. Please note that the first 32 characters ”labeled 0 through 31 ”and value 127 are unprintable. The second half of the ASCII chart is widely available on the Web. It contains many characters that have special punctuation around them. The characters , ¢, §, and are examples from the second half of the chart. Because the second half is rarely used, I'm not going to print them all here. Instead, use an Internet search engine such as Google for a full list of ASCII characters if you need them.
Display Character | Decimal Value | Explanation |
---|---|---|
Ctrl+space |
| Null |
Ctrl+a | 1 | Start of header |
Ctrl+b | 2 | Start of text |
Ctrl+c | 3 | End of text |
Ctrl+d | 4 | End of transmission |
Ctrl+e | 5 | Enquiry |
Ctrl+f | 6 | Acknowledgment |
Ctrl+g | 7 | Bell |
Ctrl+h | 8 | Backspace |
Ctrl+i | 9 | Horizontal tab |
Ctrl+j | 10 | Line feed |
Ctrl+k | 11 | Vertical tab |
Ctrl+l | 12 | Form feed |
Ctrl+m | 13 | Carriage return |
Ctrl+n | 14 | Shift out |
Ctrl+o | 15 | Shift in |
Ctrl+p | 16 | Data link escape |
Ctrl+q | 17 | Device control 1 |
Ctrl+r | 18 | Device control 2 |
Ctrl+s | 19 | Device control 3 |
Ctrl+t | 20 | Device control 4 |
Ctrl+u | 21 | Negative acknowledgment |
Ctrl+v | 22 | Synchronization character |
Ctrl+w | 23 | End-of-transmission block |
Ctrl+x | 24 | Cancel |
Ctrl+y | 25 | End of message |
Ctrl+z | 26 | Substitute |
Ctrl+[ | 27 | Escape |
Ctrl+\ | 28 | Forms separator |
Ctrl+] | 29 | Group separator |
Ctrl+6 | 30 | Record separator |
Ctrl+/ | 31 | Unit separator |
space | 32 | Space |
! | 33 | Exclamation point |
" | 34 | Quotation mark |
# | 35 | Number sign |
$ | 36 | Dollar sign |
% | 37 | Percent sign |
& | 38 | Ampersand |
' | 39 | Apostrophe |
( | 40 | Left parenthesis |
) | 41 | Right parenthesis |
* | 42 | Asterisk |
+ | 43 | Plus sign |
, | 44 | Comma |
- | 45 | Hyphen |
. | 46 | Period |
/ | 47 | Slash |
| 48 | Digit zero |
1 | 49 | Digit one |
2 | 50 | Digit two |
3 | 51 | Digit three |
4 | 52 | Digit four |
5 | 53 | Digit five |
6 | 54 | Digit six |
7 | 55 | Digit seven |
8 | 56 | Digit eight |
9 | 57 | Digit nine |
: | 58 | Colon |
; | 59 | Semicolon |
< | 60 | Less than sign |
= | 61 | Equal to sign |
> | 62 | Greater than sign |
? | 63 | Question mark |
@ | 64 | At sign |
A | 65 | Uppercase A |
B | 66 | Uppercase B |
C | 67 | Uppercase C |
D | 68 | Uppercase D |
E | 69 | Uppercase E |
F | 70 | Uppercase F |
G | 71 | Uppercase G |
H | 72 | Uppercase H |
I | 73 | Uppercase I |
J | 74 | Uppercase J |
K | 75 | Uppercase K |
L | 76 | Uppercase L |
M | 77 | Uppercase M |
N | 78 | Uppercase N |
O | 79 | Uppercase O |
P | 80 | Uppercase P |
Q | 81 | Uppercase Q |
R | 82 | Uppercase R |
S | 83 | Uppercase S |
T | 84 | Uppercase T |
U | 85 | Uppercase U |
V | 86 | Uppercase V |
W | 87 | Uppercase W |
X | 88 | Uppercase X |
Y | 89 | Uppercase Y |
Z | 90 | Uppercase Z |
[ | 91 | Left bracket |
\ | 92 | Backslash |
] | 93 | Right bracket |
^ | 94 | Caret |
_ | 95 | Underline |
` | 96 | Accent grave |
a | 97 | Lowercase a |
b | 98 | Lowercase b |
c | 99 | Lowercase c |
d | 100 | Lowercase d |
e | 101 | Lowercase e |
f | 102 | Lowercase f |
g | 103 | Lowercase g |
h | 104 | Lowercase h |
i | 105 | Lowercase i |
j | 106 | Lowercase j |
k | 107 | Lowercase k |
l | 108 | Lowercase l |
m | 109 | Lowercase m |
n | 110 | Lowercase n |
o | 111 | Lowercase o |
p | 112 | Lowercase p |
q | 113 | Lowercase q |
r | 114 | Lowercase r |
s | 115 | Lowercase s |
t | 116 | Lowercase t |
u | 117 | Lowercase u |
v | 118 | Lowercase v |
w | 119 | Lowercase w |
x | 120 | Lowercase x |
y | 121 | Lowercase y |
z | 122 | Lowercase z |
{ | 123 | Left brace |
| 124 | Pipe |
} | 125 | Right brace |
~ | 126 | Tilde |
Delete | 127 | Delete |