Flash CS3 keyboard ASCII code

Source: Internet
Author: User
Flash CS3 keyboard ASCII code
Letters A to Z and standard numbers 0 to 9

The following table lists the keys of letters A to Z and numbers 0 to 9 on the standard keyboard, and their corresponding keys.CodeValues, which are used to identify these keys in ActionScript:

Letter or number key

Key code

ASCII key code

A

65

65

B

66

66

C

67

67

D

68

68

E

69

69

F

70

70

G

71

71

H

72

72

I

73

73

J

74

74

K

75

75

L

76

76

M

77

77

N

78

78

O

79

79

P

80

80

Q

81

81

R

82

82

S

83

83

T

84

84

U

85

85

V

86

86

W

87

87

X

88

88

Y

89

89

Z

90

90

0

48

48

1

49

49

2

50

50

3

51

51

4

52

52

5

53

53

6

54

54

7

55

55

8

56

56

9

57

57

A

65

97

B

66

98

C

67

99

D

68

100

E

69

101

F

70

102

G

71

103

H

72

104

I

73

105

J

74

106

K

75

107

L

76

108

M

77

109

N

78

110

O

79

111

P

80

112

Q

81

113

R

82

114

S

83

115

T

84

116

U

85

117

V

86

118

W

87

119

X

88

120

Y

89

121

Z

90

122

Keys on the numeric keypad

The following table lists the keys on the numeric keypad and their corresponding key code values. These values are used to identify these keys in ActionScript:

Numeric keyboard key

Key code

ASCII key code

Numeric keypad 0

96

48

Keypad 1

97

49

Numeric keypad 2

98

50

Keypad 3

99

51

Keypad 4

100

52

Keypad 5

101

53

Keypad 6

102

54

Keypad 7

103

55

Keypad 8

104

56

Numeric keypad 9

105

57

Multiplication number

106

42

Plus sign

107

43

Enter

13

13

Minus sign

109

45

Decimal point

110

46

Division Number

111

47

Function key

The following table lists the function keys on the standard keyboard and their corresponding key code values. These values are used to identify these keys in ActionScript:

Function key

Key code

ASCII key code

F1

112

0

F2

113

0

F3

114

0

F4

115

0

F5

116

0

F6

117

0

F7

118

0

F8

119

0

F9

120

0

F10

This key is retained by the system and cannot be used in ActionScript.

This key is retained by the system and cannot be used in ActionScript.

F11

122

0

F12

123

0

F13

124

0

F14

125

0

F15

126

0

Other keys

The following table lists all the keys except letters, numbers, numeric keys, and function keys on the standard keyboard, and their corresponding key code values, which are used to identify these keys in ActionScript:

Key

Key code

ASCII key code

Backspace

8

8

Tab

9

9

Enter

13

13

Shift

16

0

Control

17

0

Caps Lock

20

0

ESC

27

27

Space key

32

32

Page up

33

0

Page down

34

0

End

35

0

Home

36

0

Left arrow

37

0

Up Arrow

38

0

Right arrow

39

0

Down Arrow

40

0

Insert

45

0

Delete

46

127

Num Lock

144

0

Scrlk

145

0

Pause/break

19

0

;:

186

59

= +

187

61

-_

189

45

/?

191

47

'~

192

96

[{

219

91

\ |

220

92

]}

221

93

"'

222

39

,

188

44

.

190

46

/

191

47

For other key codes and ASCII values, use the ActionScript code starting with this appendix and press the required key to output its key code.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.