Sie sind auf Seite 1von 5

Letter or number key

Key code

ASCII key code

65

65

66

66

67

67

68

68

69

69

70

70

71

71

72

72

73

73

74

74

75

75

76

76

77

77

78

78

79

79

80

80

81

81

82

82

83

83

84

84

85

85

86

86

87

87

88

88

89

89

90

90

48

48

49

49

50

50

51

51

52

52

53

53

54

54

55

55

56

56

57

57

65

97

66

98

67

99

68

100

69

101

70

102

71

103

72

104

73

105

74

106

75

107

76

108

77

109

78

110

79

111

80

112

81

113

82

114

83

115

84

116

85

117

86

118

87

119

88

120

89

121

90

122

Keys on the numeric keypad


The following table lists the keys on a numeric keypad, with the corresponding key code values
that are used to identify the keys in ActionScript:
Numeric keypad key

Key code

ASCII key code

Numpad 0

96

48

Numpad 1

97

49

Numpad 2

98

50

Numpad 3

99

51

Numpad 4

100

52

Numpad 5

101

53

Numpad 6

102

54

Numpad 7

103

55

Numpad 8

104

56

Numpad 9

105

57

Multiply

106

42

Add

107

43

Enter

13

13

Subtract

109

45

Decimal

110

46

Divide

111

47

Function keys
The following table lists the function keys on a standard keyboard, with the corresponding key
code values that are used to identify the keys in ActionScript:
Function
key

Key code

ASCII key code

F1

112

F2

113

F3

114

F4

115

F5

116

F6

117

F7

118

F8

119

F9

120

F10

This key is reserved by the system and


cannot be used in ActionScript.

This key is reserved by the system and


cannot be used in ActionScript.

F11

122

F12

123

F13

124

F14

125

F15

126

Other keys
The following table lists keys on a standard keyboard other than letters, numbers, numeric keypad
keys, or function keys, with the corresponding key code values that are used to identify the keys
in ActionScript:
Key

Key code

ASCII key code

Backspace

Tab

Enter

13

13

Shift

16

Control

17

Caps Lock

20

Esc

27

27

Spacebar

32

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

127

Num Lock

144

ScrLk

145

Pause/Break

19

;:

186

59

=+

187

61

-_

189

45

/?

191

47

`~

192

96

[{

219

91

\|

220

92

]}

221

93

"'

222

39

188

44

190

46

191

47

Das könnte Ihnen auch gefallen