Packageflash.ui
Classpublic final class Keyboard
InheritanceKeyboard Inheritance Object

The Keyboard class is used to build an interface that can be controlled by a user with a standard keyboard. You can use the methods and properties of the Keyboard class without using a constructor. The properties of the Keyboard class are constants representing the keys that are most commonly used to control games.

See also

Capturing keyboard input


Public Properties
 PropertyDefined By
  capsLock : Boolean
[static] [read-only] Specifies whether the Caps Lock key is activated (true) or not (false).
Keyboard
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  numLock : Boolean
[static] [read-only] Specifies whether the Num Lock key is activated (true) or not (false).
Keyboard
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
  
[static] Specifies whether the last key pressed is accessible by other SWF files.
Keyboard
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  AIR-only A : uint = 65
[static] Constant associated with the key code value for the A key (65).
Keyboard
  AIR-only ALTERNATE : uint = 18
[static] Constant associated with the key code value for the Alternate (Option) key (18).
Keyboard
  AIR-only B : uint = 66
[static] Constant associated with the key code value for the B key (66).
Keyboard
  AIR-only BACKQUOTE : uint = 192
[static] Constant associated with the key code value for the ` key (192).
Keyboard
  AIR-only BACKSLASH : uint = 220
[static] Constant associated with the key code value for the \ key (220).
Keyboard
  BACKSPACE : uint = 8
[static] Constant associated with the key code value for the Backspace key (8).
Keyboard
  AIR-only C : uint = 67
[static] Constant associated with the key code value for the C key (67).
Keyboard
  CAPS_LOCK : uint = 20
[static] Constant associated with the key code value for the Caps Lock key (20).
Keyboard
  AIR-only CharCodeStrings : Array
[static]
Keyboard
  AIR-only COMMA : uint = 188
[static] Constant associated with the key code value for the , key (188).
Keyboard
  AIR-only COMMAND : uint = 15
[static] Constant associated with the Mac command key (15).
Keyboard
  CONTROL : uint = 17
[static] Constant associated with the key code value for the Control key (17).
Keyboard
  AIR-only D : uint = 68
[static] Constant associated with the key code value for the D key (68).
Keyboard
  DELETE : uint = 46
[static] Constant associated with the key code value for the Delete key (46).
Keyboard
  DOWN : uint = 40
[static] Constant associated with the key code value for the Down Arrow key (40).
Keyboard
  AIR-only E : uint = 69
[static] Constant associated with the key code value for the E key (69).
Keyboard
  END : uint = 35
[static] Constant associated with the key code value for the End key (35).
Keyboard
  ENTER : uint = 13
[static] Constant associated with the key code value for the Enter key (13).
Keyboard
  AIR-only EQUAL : uint = 187
[static] Constant associated with the key code value for the = key (187).
Keyboard
  ESCAPE : uint = 27
[static] Constant associated with the key code value for the Escape key (27).
Keyboard
  AIR-only F : uint = 70
[static] Constant associated with the key code value for the F key (70).
Keyboard
  F1 : uint = 112
[static] Constant associated with the key code value for the F1 key (112).
Keyboard
  F10 : uint = 121
[static] Constant associated with the key code value for the F10 key (121).
Keyboard
  F11 : uint = 122
[static] Constant associated with the key code value for the F11 key (122).
Keyboard
  F12 : uint = 123
[static] Constant associated with the key code value for the F12 key (123).
Keyboard
  F13 : uint = 124
[static] Constant associated with the key code value for the F13 key (124).
Keyboard
  F14 : uint = 125
[static] Constant associated with the key code value for the F14 key (125).
Keyboard
  F15 : uint = 126
[static] Constant associated with the key code value for the F15 key (126).
Keyboard
  F2 : uint = 113
[static] Constant associated with the key code value for the F2 key (113).
Keyboard
  F3 : uint = 114
[static] Constant associated with the key code value for the F3 key (114).
Keyboard
  F4 : uint = 115
[static] Constant associated with the key code value for the F4 key (115).
Keyboard
  F5 : uint = 116
[static] Constant associated with the key code value for the F5 key (116).
Keyboard
  F6 : uint = 117
[static] Constant associated with the key code value for the F6 key (117).
Keyboard
  F7 : uint = 118
[static] Constant associated with the key code value for the F7 key (118).
Keyboard
  F8 : uint = 119
[static] Constant associated with the key code value for the F8 key (119).
Keyboard
  F9 : uint = 120
[static] Constant associated with the key code value for the F9 key (120).
Keyboard
  G : uint = 71
[static] Constant associated with the key code value for the G key (71).
Keyboard
  AIR-only H : uint = 72
[static] Constant associated with the key code value for the H key (72).
Keyboard
  HOME : uint = 36
[static] Constant associated with the key code value for the Home key (36).
Keyboard
  AIR-only I : uint = 73
[static] Constant associated with the key code value for the I key (73).
Keyboard
  INSERT : uint = 45
[static] Constant associated with the key code value for the Insert key (45).
Keyboard
  AIR-only J : uint = 74
[static] Constant associated with the key code value for the J key (74).
Keyboard
  AIR-only K : uint = 75
[static] Constant associated with the key code value for the K key (75).
Keyboard
  AIR-only KEYNAME_BEGIN : String = "Begin"
[static]
Keyboard
  AIR-only KEYNAME_BREAK : String = "Break"
[static]
Keyboard
  AIR-only KEYNAME_CLEARDISPLAY : String = "ClrDsp"
[static]
Keyboard
  AIR-only KEYNAME_CLEARLINE : String = "ClrLn"
[static]
Keyboard
  AIR-only KEYNAME_DELETE : String = "Delete"
[static]
Keyboard
  AIR-only KEYNAME_DELETECHAR : String = "DelChr"
[static]
Keyboard
  AIR-only KEYNAME_DELETELINE : String = "DelLn"
[static]
Keyboard
  AIR-only KEYNAME_DOWNARROW : String = "Down"
[static]
Keyboard
  AIR-only KEYNAME_END : String = "End"
[static]
Keyboard
  AIR-only KEYNAME_EXECUTE : String = "Exec"
[static]
Keyboard
  AIR-only KEYNAME_F1 : String = "F1"
[static]
Keyboard
  AIR-only KEYNAME_F10 : String = "F10"
[static]
Keyboard
  AIR-only KEYNAME_F11 : String = "F11"
[static]
Keyboard
  AIR-only KEYNAME_F12 : String = "F12"
[static]
Keyboard
  AIR-only KEYNAME_F13 : String = "F13"
[static]
Keyboard
  AIR-only KEYNAME_F14 : String = "F14"
[static]
Keyboard
  AIR-only KEYNAME_F15 : String = "F15"
[static]
Keyboard
  AIR-only KEYNAME_F16 : String = "F16"
[static]
Keyboard
  AIR-only KEYNAME_F17 : String = "F17"
[static]
Keyboard
  AIR-only KEYNAME_F18 : String = "F18"
[static]
Keyboard
  AIR-only KEYNAME_F19 : String = "F19"
[static]
Keyboard
  AIR-only KEYNAME_F2 : String = "F2"
[static]
Keyboard
  AIR-only KEYNAME_F20 : String = "F20"
[static]
Keyboard
  AIR-only KEYNAME_F21 : String = "F21"
[static]
Keyboard
  AIR-only KEYNAME_F22 : String = "F22"
[static]
Keyboard
  AIR-only KEYNAME_F23 : String = "F23"
[static]
Keyboard
  AIR-only KEYNAME_F24 : String = "F24"
[static]
Keyboard
  AIR-only KEYNAME_F25 : String = "F25"
[static]
Keyboard
  AIR-only KEYNAME_F26 : String = "F26"
[static]
Keyboard
  AIR-only KEYNAME_F27 : String = "F27"
[static]
Keyboard
  AIR-only KEYNAME_F28 : String = "F28"
[static]
Keyboard
  AIR-only KEYNAME_F29 : String = "F29"
[static]
Keyboard
  AIR-only KEYNAME_F3 : String = "F3"
[static]
Keyboard
  AIR-only KEYNAME_F30 : String = "F30"
[static]
Keyboard
  AIR-only KEYNAME_F31 : String = "F31"
[static]
Keyboard
  AIR-only KEYNAME_F32 : String = "F32"
[static]
Keyboard
  AIR-only KEYNAME_F33 : String = "F33"
[static]
Keyboard
  AIR-only KEYNAME_F34 : String = "F34"
[static]
Keyboard
  AIR-only KEYNAME_F35 : String = "F35"
[static]
Keyboard
  AIR-only KEYNAME_F4 : String = "F4"
[static]
Keyboard
  AIR-only KEYNAME_F5 : String = "F5"
[static]
Keyboard
  AIR-only KEYNAME_F6 : String = "F6"
[static]
Keyboard
  AIR-only KEYNAME_F7 : String = "F7"
[static]
Keyboard
  AIR-only KEYNAME_F8 : String = "F8"
[static]
Keyboard
  AIR-only KEYNAME_F9 : String = "F9"
[static]
Keyboard
  AIR-only KEYNAME_FIND : String = "Find"
[static]
Keyboard
  AIR-only KEYNAME_HELP : String = "Help"
[static]
Keyboard
  AIR-only KEYNAME_HOME : String = "Home"
[static]
Keyboard
  AIR-only KEYNAME_INSERT : String = "Insert"
[static]
Keyboard
  AIR-only KEYNAME_INSERTCHAR : String = "InsChr"
[static]
Keyboard
  AIR-only KEYNAME_INSERTLINE : String = "InsLn"
[static]
Keyboard
  AIR-only KEYNAME_LEFTARROW : String = "Left"
[static]
Keyboard
  AIR-only KEYNAME_MENU : String = "Menu"
[static]
Keyboard
  AIR-only KEYNAME_MODESWITCH : String = "ModeSw"
[static]
Keyboard
  AIR-only KEYNAME_NEXT : String = "Next"
[static]
Keyboard
  AIR-only KEYNAME_PAGEDOWN : String = "PgDn"
[static]
Keyboard
  AIR-only KEYNAME_PAGEUP : String = "PgUp"
[static]
Keyboard
  AIR-only KEYNAME_PAUSE : String = "Pause"
[static]
Keyboard
  AIR-only KEYNAME_PREV : String = "Prev"
[static]
Keyboard
  AIR-only KEYNAME_PRINT : String = "Print"
[static]
Keyboard
  AIR-only KEYNAME_PRINTSCREEN : String = "PrntScrn"
[static]
Keyboard
  AIR-only KEYNAME_REDO : String = "Redo"
[static]
Keyboard
  AIR-only KEYNAME_RESET : String = "Reset"
[static]
Keyboard
  AIR-only KEYNAME_RIGHTARROW : String = "Right"
[static]
Keyboard
  AIR-only KEYNAME_SCROLLLOCK : String = "ScrlLck"
[static]
Keyboard
  AIR-only KEYNAME_SELECT : String = "Select"
[static]
Keyboard
  AIR-only KEYNAME_STOP : String = "Stop"
[static]
Keyboard
  AIR-only KEYNAME_SYSREQ : String = "SysReq"
[static]
Keyboard
  AIR-only KEYNAME_SYSTEM : String = "Sys"
[static]
Keyboard
  AIR-only KEYNAME_UNDO : String = "Undo"
[static]
Keyboard
  AIR-only KEYNAME_UPARROW : String = "Up"
[static]
Keyboard
  AIR-only KEYNAME_USER : String = "User"
[static]
Keyboard
  AIR-only L : uint = 76
[static] Constant associated with the key code value for the L key (76).
Keyboard
  LEFT : uint = 37
[static] Constant associated with the key code value for the Left Arrow key (37).
Keyboard
  AIR-only LEFTBRACKET : uint = 219
[static] Constant associated with the key code value for the [ key (219).
Keyboard
  AIR-only M : uint = 77
[static] Constant associated with the key code value for the M key (77).
Keyboard
  AIR-only MINUS : uint = 189
[static] Constant associated with the key code value for the - key (189).
Keyboard
  AIR-only N : uint = 78
[static] Constant associated with the key code value for the N key (78).
Keyboard
  AIR-only NUMBER_0 : uint = 48
[static] Constant associated with the key code value for the 0 key (48).
Keyboard
  AIR-only NUMBER_1 : uint = 49
[static] Constant associated with the key code value for the 1 key (49).
Keyboard
  AIR-only NUMBER_2 : uint = 50
[static] Constant associated with the key code value for the 2 key (50).
Keyboard
  AIR-only NUMBER_3 : uint = 51
[static] Constant associated with the key code value for the 3 key (51).
Keyboard
  AIR-only NUMBER_4 : uint = 52
[static] Constant associated with the key code value for the 4 key (52).
Keyboard
  AIR-only NUMBER_5 : uint = 53
[static] Constant associated with the key code value for the 5 key (53).
Keyboard
  AIR-only NUMBER_6 : uint = 54
[static] Constant associated with the key code value for the 6 key (54).
Keyboard
  AIR-only NUMBER_7 : uint = 55
[static] Constant associated with the key code value for the 7 key (55).
Keyboard
  AIR-only NUMBER_8 : uint = 56
[static] Constant associated with the key code value for the 8 key (56).
Keyboard
  AIR-only NUMBER_9 : uint = 57
[static] Constant associated with the key code value for the 9 key (57).
Keyboard
  AIR-only NUMPAD : uint = 21
[static] Constant associated with the pseudo-key code for the the number pad (21).
Keyboard
  NUMPAD_0 : uint = 96
[static] Constant associated with the key code value for the number 0 key on the number pad (96).
Keyboard
  NUMPAD_1 : uint = 97
[static] Constant associated with the key code value for the number 1 key on the number pad (97).
Keyboard
  NUMPAD_2 : uint = 98
[static] Constant associated with the key code value for the number 2 key on the number pad (98).
Keyboard
  NUMPAD_3 : uint = 99
[static] Constant associated with the key code value for the number 3 key on the number pad (99).
Keyboard
  NUMPAD_4 : uint = 100
[static] Constant associated with the key code value for the number 4 key on the number pad (100).
Keyboard
  NUMPAD_5 : uint = 101
[static] Constant associated with the key code value for the number 5 key on the number pad (101).
Keyboard
  NUMPAD_6 : uint = 102
[static] Constant associated with the key code value for the number 6 key on the number pad (102).
Keyboard
  NUMPAD_7 : uint = 103
[static] Constant associated with the key code value for the number 7 key on the number pad (103).
Keyboard
  NUMPAD_8 : uint = 104
[static] Constant associated with the key code value for the number 8 key on the number pad (104).
Keyboard
  NUMPAD_9 : uint = 105
[static] Constant associated with the key code value for the number 9 key on the number pad (105).
Keyboard
  NUMPAD_ADD : uint = 107
[static] Constant associated with the key code value for the addition key on the number pad (107).
Keyboard
  NUMPAD_DECIMAL : uint = 110
[static] Constant associated with the key code value for the decimal key on the number pad (110).
Keyboard
  NUMPAD_DIVIDE : uint = 111
[static] Constant associated with the key code value for the division key on the number pad (111).
Keyboard
  NUMPAD_ENTER : uint = 108
[static] Constant associated with the key code value for the Enter key on the number pad (108).
Keyboard
  NUMPAD_MULTIPLY : uint = 106
[static] Constant associated with the key code value for the multiplication key on the number pad (106).
Keyboard
  NUMPAD_SUBTRACT : uint = 109
[static] Constant associated with the key code value for the subtraction key on the number pad (109).
Keyboard
  AIR-only O : uint = 79
[static] Constant associated with the key code value for the O key (79).
Keyboard
  AIR-only P : uint = 80
[static] Constant associated with the key code value for the P key (80).
Keyboard
  PAGE_DOWN : uint = 34
[static] Constant associated with the key code value for the Page Down key (34).
Keyboard
  PAGE_UP : uint = 33
[static] Constant associated with the key code value for the Page Up key (33).
Keyboard
  AIR-only PERIOD : uint = 190
[static] Constant associated with the key code value for the .
Keyboard
  AIR-only Q : uint = 81
[static] Constant associated with the key code value for the Q key (81).
Keyboard
  AIR-only QUOTE : uint = 222
[static] Constant associated with the key code value for the ' key (222).
Keyboard
  AIR-only R : uint = 82
[static] Constant associated with the key code value for the R key (82).
Keyboard
  RIGHT : uint = 39
[static] Constant associated with the key code value for the Right Arrow key (39).
Keyboard
  AIR-only RIGHTBRACKET : uint = 221
[static] Constant associated with the key code value for the ] key (221).
Keyboard
  AIR-only S : uint = 83
[static] Constant associated with the key code value for the S key (83).
Keyboard
  AIR-only SEMICOLON : uint = 186
[static] Constant associated with the key code value for the ; key (186).
Keyboard
  SHIFT : uint = 16
[static] Constant associated with the key code value for the Shift key (16).
Keyboard
  AIR-only SLASH : uint = 191
[static] Constant associated with the key code value for the / key (191).
Keyboard
  SPACE : uint = 32
[static] Constant associated with the key code value for the Spacebar (32).
Keyboard
  AIR-only STRING_BEGIN : String = "?"
[static]
Keyboard
  AIR-only STRING_BREAK : String = "?"
[static]
Keyboard
  AIR-only STRING_CLEARDISPLAY : String = "?"
[static]
Keyboard
  AIR-only STRING_CLEARLINE : String = "?"
[static]
Keyboard
  AIR-only STRING_DELETE : String = "?"
[static]
Keyboard
  AIR-only STRING_DELETECHAR : String = "?"
[static]
Keyboard
  AIR-only STRING_DELETELINE : String = "?"
[static]
Keyboard
  AIR-only STRING_DOWNARROW : String = "?"
[static]
Keyboard
  AIR-only STRING_END : String = "?"
[static]
Keyboard
  AIR-only STRING_EXECUTE : String = "?"
[static]
Keyboard
  AIR-only STRING_F1 : String = "?"
[static]
Keyboard
  AIR-only STRING_F10 : String = "?"
[static]
Keyboard
  AIR-only STRING_F11 : String = "?"
[static]
Keyboard
  AIR-only STRING_F12 : String = "?"
[static]
Keyboard
  AIR-only STRING_F13 : String = "?"
[static]
Keyboard
  AIR-only STRING_F14 : String = "?"
[static]
Keyboard
  AIR-only STRING_F15 : String = "?"
[static]
Keyboard
  AIR-only STRING_F16 : String = "?"
[static]
Keyboard
  AIR-only STRING_F17 : String = "?"
[static]
Keyboard
  AIR-only STRING_F18 : String = "?"
[static]
Keyboard
  AIR-only STRING_F19 : String = "?"
[static]
Keyboard
  AIR-only STRING_F2 : String = "?"
[static]
Keyboard
  AIR-only STRING_F20 : String = "?"
[static]
Keyboard
  AIR-only STRING_F21 : String = "?"
[static]
Keyboard
  AIR-only STRING_F22 : String = "?"
[static]
Keyboard
  AIR-only STRING_F23 : String = "?"
[static]
Keyboard
  AIR-only STRING_F24 : String = "?"
[static]
Keyboard
  AIR-only STRING_F25 : String = "?"
[static]
Keyboard
  AIR-only STRING_F26 : String = "?"
[static]
Keyboard
  AIR-only STRING_F27 : String = "?"
[static]
Keyboard
  AIR-only STRING_F28 : String = "?"
[static]
Keyboard
  AIR-only STRING_F29 : String = "?"
[static]
Keyboard
  AIR-only STRING_F3 : String = "?"
[static]
Keyboard
  AIR-only STRING_F30 : String = "?"
[static]
Keyboard
  AIR-only STRING_F31 : String = "?"
[static]
Keyboard
  AIR-only STRING_F32 : String = "?"
[static]
Keyboard
  AIR-only STRING_F33 : String = "?"
[static]
Keyboard
  AIR-only STRING_F34 : String = "?"
[static]
Keyboard
  AIR-only STRING_F35 : String = "?"
[static]
Keyboard
  AIR-only STRING_F4 : String = "?"
[static]
Keyboard
  AIR-only STRING_F5 : String = "?"
[static]
Keyboard
  AIR-only STRING_F6 : String = "?"
[static]
Keyboard
  AIR-only STRING_F7 : String = "?"
[static]
Keyboard
  AIR-only STRING_F8 : String = "?"
[static]
Keyboard
  AIR-only STRING_F9 : String = "?"
[static]
Keyboard
  AIR-only STRING_FIND : String = "?"
[static]
Keyboard
  AIR-only STRING_HELP : String = "?"
[static]
Keyboard
  AIR-only STRING_HOME : String = "?"
[static]
Keyboard
  AIR-only STRING_INSERT : String = "?"
[static]
Keyboard
  AIR-only STRING_INSERTCHAR : String = "?"
[static]
Keyboard
  AIR-only STRING_INSERTLINE : String = "?"
[static]
Keyboard
  AIR-only STRING_LEFTARROW : String = "?"
[static]
Keyboard
  AIR-only STRING_MENU : String = "?"
[static]
Keyboard
  AIR-only STRING_MODESWITCH : String = "?"
[static]
Keyboard
  AIR-only STRING_NEXT : String = "?"
[static]
Keyboard
  AIR-only STRING_PAGEDOWN : String = "?"
[static]
Keyboard
  AIR-only STRING_PAGEUP : String = "?"
[static]
Keyboard
  AIR-only STRING_PAUSE : String = "?"
[static]
Keyboard
  AIR-only STRING_PREV : String = "?"
[static]
Keyboard
  AIR-only STRING_PRINT : String = "?"
[static]
Keyboard
  AIR-only STRING_PRINTSCREEN : String = "?"
[static]
Keyboard
  AIR-only STRING_REDO : String = "?"
[static]
Keyboard
  AIR-only STRING_RESET : String = "?"
[static]
Keyboard
  AIR-only STRING_RIGHTARROW : String = "?"
[static]
Keyboard
  AIR-only STRING_SCROLLLOCK : String = "?"
[static]
Keyboard
  AIR-only STRING_SELECT : String = "?"
[static]
Keyboard
  AIR-only STRING_STOP : String = "?"
[static]
Keyboard
  AIR-only STRING_SYSREQ : String = "?"
[static]
Keyboard
  AIR-only STRING_SYSTEM : String = "?"
[static]
Keyboard
  AIR-only STRING_UNDO : String = "?"
[static]
Keyboard
  AIR-only STRING_UPARROW : String = "?"
[static]
Keyboard
  AIR-only STRING_USER : String = "?"
[static]
Keyboard
  AIR-only T : uint = 84
[static] Constant associated with the key code value for the T key (84).
Keyboard
  TAB : uint = 9
[static] Constant associated with the key code value for the Tab key (9).
Keyboard
  AIR-only U : uint = 85
[static] Constant associated with the key code value for the U key (85).
Keyboard
  UP : uint = 38
[static] Constant associated with the key code value for the Up Arrow key (38).
Keyboard
  AIR-only V : uint = 86
[static] Constant associated with the key code value for the V key (86).
Keyboard
  AIR-only W : uint = 87
[static] Constant associated with the key code value for the W key (87).
Keyboard
  AIR-only X : uint = 88
[static] Constant associated with the key code value for the X key (88).
Keyboard
  AIR-only Y : uint = 89
[static] Constant associated with the key code value for the Y key (89).
Keyboard
  AIR-only Z : uint = 90
[static] Constant associated with the key code value for the Z key (90).
Keyboard
Property Detail
capsLockproperty
capsLock:Boolean  [read-only]

Specifies whether the Caps Lock key is activated (true) or not (false).



Implementation
    public static function get capsLock():Boolean
numLockproperty 
numLock:Boolean  [read-only]

Specifies whether the Num Lock key is activated (true) or not (false).



Implementation
    public static function get numLock():Boolean
Method Detail
isAccessible()method
public static function isAccessible():Boolean

Specifies whether the last key pressed is accessible by other SWF files. By default, security restrictions prevent code from a SWF file in one domain from accessing a keystroke generated from a SWF file in another domain.

Returns
Boolean — The value true if the last key pressed can be accessed. If access is not permitted, this method returns false.
Constant Detail
AIR-only AConstant
public static const A:uint = 65

Constant associated with the key code value for the A key (65).

AIR-only ALTERNATEConstant 
public static const ALTERNATE:uint = 18

Constant associated with the key code value for the Alternate (Option) key (18).

AIR-only BConstant 
public static const B:uint = 66

Constant associated with the key code value for the B key (66).

AIR-only BACKQUOTEConstant 
public static const BACKQUOTE:uint = 192

Constant associated with the key code value for the ` key (192).

AIR-only BACKSLASHConstant 
public static const BACKSLASH:uint = 220

Constant associated with the key code value for the \ key (220).

BACKSPACEConstant 
public static const BACKSPACE:uint = 8

Constant associated with the key code value for the Backspace key (8).

AIR-only CConstant 
public static const C:uint = 67

Constant associated with the key code value for the C key (67).

CAPS_LOCKConstant 
public static const CAPS_LOCK:uint = 20

Constant associated with the key code value for the Caps Lock key (20).

AIR-only CharCodeStringsConstant 
public static const CharCodeStrings:Array

AIR-only COMMAConstant 
public static const COMMA:uint = 188

Constant associated with the key code value for the , key (188).

AIR-only COMMANDConstant 
public static const COMMAND:uint = 15

Constant associated with the Mac command key (15). This constant is currently only used for setting menu key equivalents.

CONTROLConstant 
public static const CONTROL:uint = 17

Constant associated with the key code value for the Control key (17).

AIR-only DConstant 
public static const D:uint = 68

Constant associated with the key code value for the D key (68).

DELETEConstant 
public static const DELETE:uint = 46

Constant associated with the key code value for the Delete key (46).

DOWNConstant 
public static const DOWN:uint = 40

Constant associated with the key code value for the Down Arrow key (40).

AIR-only EConstant 
public static const E:uint = 69

Constant associated with the key code value for the E key (69).

ENDConstant 
public static const END:uint = 35

Constant associated with the key code value for the End key (35).

ENTERConstant 
public static const ENTER:uint = 13

Constant associated with the key code value for the Enter key (13).

AIR-only EQUALConstant 
public static const EQUAL:uint = 187

Constant associated with the key code value for the = key (187).

ESCAPEConstant 
public static const ESCAPE:uint = 27

Constant associated with the key code value for the Escape key (27).

AIR-only FConstant 
public static const F:uint = 70

Constant associated with the key code value for the F key (70).

F1Constant 
public static const F1:uint = 112

Constant associated with the key code value for the F1 key (112).

F10Constant 
public static const F10:uint = 121

Constant associated with the key code value for the F10 key (121).

F11Constant 
public static const F11:uint = 122

Constant associated with the key code value for the F11 key (122).

F12Constant 
public static const F12:uint = 123

Constant associated with the key code value for the F12 key (123).

F13Constant 
public static const F13:uint = 124

Constant associated with the key code value for the F13 key (124).

F14Constant 
public static const F14:uint = 125

Constant associated with the key code value for the F14 key (125).

F15Constant 
public static const F15:uint = 126

Constant associated with the key code value for the F15 key (126).

F2Constant 
public static const F2:uint = 113

Constant associated with the key code value for the F2 key (113).

F3Constant 
public static const F3:uint = 114

Constant associated with the key code value for the F3 key (114).

F4Constant 
public static const F4:uint = 115

Constant associated with the key code value for the F4 key (115).

F5Constant 
public static const F5:uint = 116

Constant associated with the key code value for the F5 key (116).

F6Constant 
public static const F6:uint = 117

Constant associated with the key code value for the F6 key (117).

F7Constant 
public static const F7:uint = 118

Constant associated with the key code value for the F7 key (118).

F8Constant 
public static const F8:uint = 119

Constant associated with the key code value for the F8 key (119).

F9Constant 
public static const F9:uint = 120

Constant associated with the key code value for the F9 key (120).

GConstant 
public static const G:uint = 71

Constant associated with the key code value for the G key (71).

AIR-only HConstant 
public static const H:uint = 72

Constant associated with the key code value for the H key (72).

HOMEConstant 
public static const HOME:uint = 36

Constant associated with the key code value for the Home key (36).

AIR-only IConstant 
public static const I:uint = 73

Constant associated with the key code value for the I key (73).

INSERTConstant 
public static const INSERT:uint = 45

Constant associated with the key code value for the Insert key (45).

AIR-only JConstant 
public static const J:uint = 74

Constant associated with the key code value for the J key (74).

AIR-only KConstant 
public static const K:uint = 75

Constant associated with the key code value for the K key (75).

AIR-only KEYNAME_BEGINConstant 
public static const KEYNAME_BEGIN:String = "Begin"

AIR-only KEYNAME_BREAKConstant 
public static const KEYNAME_BREAK:String = "Break"

AIR-only KEYNAME_CLEARDISPLAYConstant 
public static const KEYNAME_CLEARDISPLAY:String = "ClrDsp"

AIR-only KEYNAME_CLEARLINEConstant 
public static const KEYNAME_CLEARLINE:String = "ClrLn"

AIR-only KEYNAME_DELETEConstant 
public static const KEYNAME_DELETE:String = "Delete"

AIR-only KEYNAME_DELETECHARConstant 
public static const KEYNAME_DELETECHAR:String = "DelChr"

AIR-only KEYNAME_DELETELINEConstant 
public static const KEYNAME_DELETELINE:String = "DelLn"

AIR-only KEYNAME_DOWNARROWConstant 
public static const KEYNAME_DOWNARROW:String = "Down"

AIR-only KEYNAME_ENDConstant 
public static const KEYNAME_END:String = "End"

AIR-only KEYNAME_EXECUTEConstant 
public static const KEYNAME_EXECUTE:String = "Exec"

AIR-only KEYNAME_F1Constant 
public static const KEYNAME_F1:String = "F1"

AIR-only KEYNAME_F10Constant 
public static const KEYNAME_F10:String = "F10"

AIR-only KEYNAME_F11Constant 
public static const KEYNAME_F11:String = "F11"

AIR-only KEYNAME_F12Constant 
public static const KEYNAME_F12:String = "F12"

AIR-only KEYNAME_F13Constant 
public static const KEYNAME_F13:String = "F13"

AIR-only KEYNAME_F14Constant 
public static const KEYNAME_F14:String = "F14"

AIR-only KEYNAME_F15Constant 
public static const KEYNAME_F15:String = "F15"

AIR-only KEYNAME_F16Constant 
public static const KEYNAME_F16:String = "F16"

AIR-only KEYNAME_F17Constant 
public static const KEYNAME_F17:String = "F17"

AIR-only KEYNAME_F18Constant 
public static const KEYNAME_F18:String = "F18"

AIR-only KEYNAME_F19Constant 
public static const KEYNAME_F19:String = "F19"

AIR-only KEYNAME_F2Constant 
public static const KEYNAME_F2:String = "F2"

AIR-only KEYNAME_F20Constant 
public static const KEYNAME_F20:String = "F20"

AIR-only KEYNAME_F21Constant 
public static const KEYNAME_F21:String = "F21"

AIR-only KEYNAME_F22Constant 
public static const KEYNAME_F22:String = "F22"

AIR-only KEYNAME_F23Constant 
public static const KEYNAME_F23:String = "F23"

AIR-only KEYNAME_F24Constant 
public static const KEYNAME_F24:String = "F24"

AIR-only KEYNAME_F25Constant 
public static const KEYNAME_F25:String = "F25"

AIR-only KEYNAME_F26Constant 
public static const KEYNAME_F26:String = "F26"

AIR-only KEYNAME_F27Constant 
public static const KEYNAME_F27:String = "F27"

AIR-only KEYNAME_F28Constant 
public static const KEYNAME_F28:String = "F28"

AIR-only KEYNAME_F29Constant 
public static const KEYNAME_F29:String = "F29"

AIR-only KEYNAME_F3Constant 
public static const KEYNAME_F3:String = "F3"

AIR-only KEYNAME_F30Constant 
public static const KEYNAME_F30:String = "F30"

AIR-only KEYNAME_F31Constant 
public static const KEYNAME_F31:String = "F31"

AIR-only KEYNAME_F32Constant 
public static const KEYNAME_F32:String = "F32"

AIR-only KEYNAME_F33Constant 
public static const KEYNAME_F33:String = "F33"

AIR-only KEYNAME_F34Constant 
public static const KEYNAME_F34:String = "F34"

AIR-only KEYNAME_F35Constant 
public static const KEYNAME_F35:String = "F35"

AIR-only KEYNAME_F4Constant 
public static const KEYNAME_F4:String = "F4"

AIR-only KEYNAME_F5Constant 
public static const KEYNAME_F5:String = "F5"

AIR-only KEYNAME_F6Constant 
public static const KEYNAME_F6:String = "F6"

AIR-only KEYNAME_F7Constant 
public static const KEYNAME_F7:String = "F7"

AIR-only KEYNAME_F8Constant 
public static const KEYNAME_F8:String = "F8"

AIR-only KEYNAME_F9Constant 
public static const KEYNAME_F9:String = "F9"

AIR-only KEYNAME_FINDConstant 
public static const KEYNAME_FIND:String = "Find"

AIR-only KEYNAME_HELPConstant 
public static const KEYNAME_HELP:String = "Help"

AIR-only KEYNAME_HOMEConstant 
public static const KEYNAME_HOME:String = "Home"

AIR-only KEYNAME_INSERTConstant 
public static const KEYNAME_INSERT:String = "Insert"

AIR-only KEYNAME_INSERTCHARConstant 
public static const KEYNAME_INSERTCHAR:String = "InsChr"

AIR-only KEYNAME_INSERTLINEConstant 
public static const KEYNAME_INSERTLINE:String = "InsLn"

AIR-only KEYNAME_LEFTARROWConstant 
public static const KEYNAME_LEFTARROW:String = "Left"

AIR-only KEYNAME_MENUConstant 
public static const KEYNAME_MENU:String = "Menu"

AIR-only KEYNAME_MODESWITCHConstant 
public static const KEYNAME_MODESWITCH:String = "ModeSw"

AIR-only KEYNAME_NEXTConstant 
public static const KEYNAME_NEXT:String = "Next"

AIR-only KEYNAME_PAGEDOWNConstant 
public static const KEYNAME_PAGEDOWN:String = "PgDn"

AIR-only KEYNAME_PAGEUPConstant 
public static const KEYNAME_PAGEUP:String = "PgUp"

AIR-only KEYNAME_PAUSEConstant 
public static const KEYNAME_PAUSE:String = "Pause"

AIR-only KEYNAME_PREVConstant 
public static const KEYNAME_PREV:String = "Prev"

AIR-only KEYNAME_PRINTConstant 
public static const KEYNAME_PRINT:String = "Print"

AIR-only KEYNAME_PRINTSCREENConstant 
public static const KEYNAME_PRINTSCREEN:String = "PrntScrn"

AIR-only KEYNAME_REDOConstant 
public static const KEYNAME_REDO:String = "Redo"

AIR-only KEYNAME_RESETConstant 
public static const KEYNAME_RESET:String = "Reset"

AIR-only KEYNAME_RIGHTARROWConstant 
public static const KEYNAME_RIGHTARROW:String = "Right"

AIR-only KEYNAME_SCROLLLOCKConstant 
public static const KEYNAME_SCROLLLOCK:String = "ScrlLck"

AIR-only KEYNAME_SELECTConstant 
public static const KEYNAME_SELECT:String = "Select"

AIR-only KEYNAME_STOPConstant 
public static const KEYNAME_STOP:String = "Stop"

AIR-only KEYNAME_SYSREQConstant 
public static const KEYNAME_SYSREQ:String = "SysReq"

AIR-only KEYNAME_SYSTEMConstant 
public static const KEYNAME_SYSTEM:String = "Sys"

AIR-only KEYNAME_UNDOConstant 
public static const KEYNAME_UNDO:String = "Undo"

AIR-only KEYNAME_UPARROWConstant 
public static const KEYNAME_UPARROW:String = "Up"

AIR-only KEYNAME_USERConstant 
public static const KEYNAME_USER:String = "User"

AIR-only LConstant 
public static const L:uint = 76

Constant associated with the key code value for the L key (76).

LEFTConstant 
public static const LEFT:uint = 37

Constant associated with the key code value for the Left Arrow key (37).

AIR-only LEFTBRACKETConstant 
public static const LEFTBRACKET:uint = 219

Constant associated with the key code value for the [ key (219).

AIR-only MConstant 
public static const M:uint = 77

Constant associated with the key code value for the M key (77).

AIR-only MINUSConstant 
public static const MINUS:uint = 189

Constant associated with the key code value for the - key (189).

AIR-only NConstant 
public static const N:uint = 78

Constant associated with the key code value for the N key (78).

AIR-only NUMBER_0Constant 
public static const NUMBER_0:uint = 48

Constant associated with the key code value for the 0 key (48).

AIR-only NUMBER_1Constant 
public static const NUMBER_1:uint = 49

Constant associated with the key code value for the 1 key (49).

AIR-only NUMBER_2Constant 
public static const NUMBER_2:uint = 50

Constant associated with the key code value for the 2 key (50).

AIR-only NUMBER_3Constant 
public static const NUMBER_3:uint = 51

Constant associated with the key code value for the 3 key (51).

AIR-only NUMBER_4Constant 
public static const NUMBER_4:uint = 52

Constant associated with the key code value for the 4 key (52).

AIR-only NUMBER_5Constant 
public static const NUMBER_5:uint = 53

Constant associated with the key code value for the 5 key (53).

AIR-only NUMBER_6Constant 
public static const NUMBER_6:uint = 54

Constant associated with the key code value for the 6 key (54).

AIR-only NUMBER_7Constant 
public static const NUMBER_7:uint = 55

Constant associated with the key code value for the 7 key (55).

AIR-only NUMBER_8Constant 
public static const NUMBER_8:uint = 56

Constant associated with the key code value for the 8 key (56).

AIR-only NUMBER_9Constant 
public static const NUMBER_9:uint = 57

Constant associated with the key code value for the 9 key (57).

AIR-only NUMPADConstant 
public static const NUMPAD:uint = 21

Constant associated with the pseudo-key code for the the number pad (21). Use to set numpad modifier on key equivalents

NUMPAD_0Constant 
public static const NUMPAD_0:uint = 96

Constant associated with the key code value for the number 0 key on the number pad (96).

NUMPAD_1Constant 
public static const NUMPAD_1:uint = 97

Constant associated with the key code value for the number 1 key on the number pad (97).

NUMPAD_2Constant 
public static const NUMPAD_2:uint = 98

Constant associated with the key code value for the number 2 key on the number pad (98).

NUMPAD_3Constant 
public static const NUMPAD_3:uint = 99

Constant associated with the key code value for the number 3 key on the number pad (99).

NUMPAD_4Constant 
public static const NUMPAD_4:uint = 100

Constant associated with the key code value for the number 4 key on the number pad (100).

NUMPAD_5Constant 
public static const NUMPAD_5:uint = 101

Constant associated with the key code value for the number 5 key on the number pad (101).

NUMPAD_6Constant 
public static const NUMPAD_6:uint = 102

Constant associated with the key code value for the number 6 key on the number pad (102).

NUMPAD_7Constant 
public static const NUMPAD_7:uint = 103

Constant associated with the key code value for the number 7 key on the number pad (103).

NUMPAD_8Constant 
public static const NUMPAD_8:uint = 104

Constant associated with the key code value for the number 8 key on the number pad (104).

NUMPAD_9Constant 
public static const NUMPAD_9:uint = 105

Constant associated with the key code value for the number 9 key on the number pad (105).

NUMPAD_ADDConstant 
public static const NUMPAD_ADD:uint = 107

Constant associated with the key code value for the addition key on the number pad (107).

NUMPAD_DECIMALConstant 
public static const NUMPAD_DECIMAL:uint = 110

Constant associated with the key code value for the decimal key on the number pad (110).

NUMPAD_DIVIDEConstant 
public static const NUMPAD_DIVIDE:uint = 111

Constant associated with the key code value for the division key on the number pad (111).

NUMPAD_ENTERConstant 
public static const NUMPAD_ENTER:uint = 108

Constant associated with the key code value for the Enter key on the number pad (108).

NUMPAD_MULTIPLYConstant 
public static const NUMPAD_MULTIPLY:uint = 106

Constant associated with the key code value for the multiplication key on the number pad (106).

NUMPAD_SUBTRACTConstant 
public static const NUMPAD_SUBTRACT:uint = 109

Constant associated with the key code value for the subtraction key on the number pad (109).

AIR-only OConstant 
public static const O:uint = 79

Constant associated with the key code value for the O key (79).

AIR-only PConstant 
public static const P:uint = 80

Constant associated with the key code value for the P key (80).

PAGE_DOWNConstant 
public static const PAGE_DOWN:uint = 34

Constant associated with the key code value for the Page Down key (34).

PAGE_UPConstant 
public static const PAGE_UP:uint = 33

Constant associated with the key code value for the Page Up key (33).

AIR-only PERIODConstant 
public static const PERIOD:uint = 190

Constant associated with the key code value for the . key (190).

AIR-only QConstant 
public static const Q:uint = 81

Constant associated with the key code value for the Q key (81).

AIR-only QUOTEConstant 
public static const QUOTE:uint = 222

Constant associated with the key code value for the ' key (222).

AIR-only RConstant 
public static const R:uint = 82

Constant associated with the key code value for the R key (82).

RIGHTConstant 
public static const RIGHT:uint = 39

Constant associated with the key code value for the Right Arrow key (39).

AIR-only RIGHTBRACKETConstant 
public static const RIGHTBRACKET:uint = 221

Constant associated with the key code value for the ] key (221).

AIR-only SConstant 
public static const S:uint = 83

Constant associated with the key code value for the S key (83).

AIR-only SEMICOLONConstant 
public static const SEMICOLON:uint = 186

Constant associated with the key code value for the ; key (186).

SHIFTConstant 
public static const SHIFT:uint = 16

Constant associated with the key code value for the Shift key (16).

AIR-only SLASHConstant 
public static const SLASH:uint = 191

Constant associated with the key code value for the / key (191).

SPACEConstant 
public static const SPACE:uint = 32

Constant associated with the key code value for the Spacebar (32).

AIR-only STRING_BEGINConstant 
public static const STRING_BEGIN:String = "?"

AIR-only STRING_BREAKConstant 
public static const STRING_BREAK:String = "?"

AIR-only STRING_CLEARDISPLAYConstant 
public static const STRING_CLEARDISPLAY:String = "?"

AIR-only STRING_CLEARLINEConstant 
public static const STRING_CLEARLINE:String = "?"

AIR-only STRING_DELETEConstant 
public static const STRING_DELETE:String = "?"

AIR-only STRING_DELETECHARConstant 
public static const STRING_DELETECHAR:String = "?"

AIR-only STRING_DELETELINEConstant 
public static const STRING_DELETELINE:String = "?"

AIR-only STRING_DOWNARROWConstant 
public static const STRING_DOWNARROW:String = "?"

AIR-only STRING_ENDConstant 
public static const STRING_END:String = "?"

AIR-only STRING_EXECUTEConstant 
public static const STRING_EXECUTE:String = "?"

AIR-only STRING_F1Constant 
public static const STRING_F1:String = "?"

AIR-only STRING_F10Constant 
public static const STRING_F10:String = "?"

AIR-only STRING_F11Constant 
public static const STRING_F11:String = "?"

AIR-only STRING_F12Constant 
public static const STRING_F12:String = "?"

AIR-only STRING_F13Constant 
public static const STRING_F13:String = "?"

AIR-only STRING_F14Constant 
public static const STRING_F14:String = "?"

AIR-only STRING_F15Constant 
public static const STRING_F15:String = "?"

AIR-only STRING_F16Constant 
public static const STRING_F16:String = "?"

AIR-only STRING_F17Constant 
public static const STRING_F17:String = "?"

AIR-only STRING_F18Constant 
public static const STRING_F18:String = "?"

AIR-only STRING_F19Constant 
public static const STRING_F19:String = "?"

AIR-only STRING_F2Constant 
public static const STRING_F2:String = "?"

AIR-only STRING_F20Constant 
public static const STRING_F20:String = "?"

AIR-only STRING_F21Constant 
public static const STRING_F21:String = "?"

AIR-only STRING_F22Constant 
public static const STRING_F22:String = "?"

AIR-only STRING_F23Constant 
public static const STRING_F23:String = "?"

AIR-only STRING_F24Constant 
public static const STRING_F24:String = "?"

AIR-only STRING_F25Constant 
public static const STRING_F25:String = "?"

AIR-only STRING_F26Constant 
public static const STRING_F26:String = "?"

AIR-only STRING_F27Constant 
public static const STRING_F27:String = "?"

AIR-only STRING_F28Constant 
public static const STRING_F28:String = "?"

AIR-only STRING_F29Constant 
public static const STRING_F29:String = "?"

AIR-only STRING_F3Constant 
public static const STRING_F3:String = "?"

AIR-only STRING_F30Constant 
public static const STRING_F30:String = "?"

AIR-only STRING_F31Constant 
public static const STRING_F31:String = "?"

AIR-only STRING_F32Constant 
public static const STRING_F32:String = "?"

AIR-only STRING_F33Constant 
public static const STRING_F33:String = "?"

AIR-only STRING_F34Constant 
public static const STRING_F34:String = "?"

AIR-only STRING_F35Constant 
public static const STRING_F35:String = "?"

AIR-only STRING_F4Constant 
public static const STRING_F4:String = "?"

AIR-only STRING_F5Constant 
public static const STRING_F5:String = "?"

AIR-only STRING_F6Constant 
public static const STRING_F6:String = "?"

AIR-only STRING_F7Constant 
public static const STRING_F7:String = "?"

AIR-only STRING_F8Constant 
public static const STRING_F8:String = "?"

AIR-only STRING_F9Constant 
public static const STRING_F9:String = "?"

AIR-only STRING_FINDConstant 
public static const STRING_FIND:String = "?"

AIR-only STRING_HELPConstant 
public static const STRING_HELP:String = "?"

AIR-only STRING_HOMEConstant 
public static const STRING_HOME:String = "?"

AIR-only STRING_INSERTConstant 
public static const STRING_INSERT:String = "?"

AIR-only STRING_INSERTCHARConstant 
public static const STRING_INSERTCHAR:String = "?"

AIR-only STRING_INSERTLINEConstant 
public static const STRING_INSERTLINE:String = "?"

AIR-only STRING_LEFTARROWConstant 
public static const STRING_LEFTARROW:String = "?"

AIR-only STRING_MENUConstant 
public static const STRING_MENU:String = "?"

AIR-only STRING_MODESWITCHConstant 
public static const STRING_MODESWITCH:String = "?"

AIR-only STRING_NEXTConstant 
public static const STRING_NEXT:String = "?"

AIR-only STRING_PAGEDOWNConstant 
public static const STRING_PAGEDOWN:String = "?"

AIR-only STRING_PAGEUPConstant 
public static const STRING_PAGEUP:String = "?"

AIR-only STRING_PAUSEConstant 
public static const STRING_PAUSE:String = "?"

AIR-only STRING_PREVConstant 
public static const STRING_PREV:String = "?"

AIR-only STRING_PRINTConstant 
public static const STRING_PRINT:String = "?"

AIR-only STRING_PRINTSCREENConstant 
public static const STRING_PRINTSCREEN:String = "?"

AIR-only STRING_REDOConstant 
public static const STRING_REDO:String = "?"

AIR-only STRING_RESETConstant 
public static const STRING_RESET:String = "?"

AIR-only STRING_RIGHTARROWConstant 
public static const STRING_RIGHTARROW:String = "?"

AIR-only STRING_SCROLLLOCKConstant 
public static const STRING_SCROLLLOCK:String = "?"

AIR-only STRING_SELECTConstant 
public static const STRING_SELECT:String = "?"

AIR-only STRING_STOPConstant 
public static const STRING_STOP:String = "?"

AIR-only STRING_SYSREQConstant 
public static const STRING_SYSREQ:String = "?"

AIR-only STRING_SYSTEMConstant 
public static const STRING_SYSTEM:String = "?"

AIR-only STRING_UNDOConstant 
public static const STRING_UNDO:String = "?"

AIR-only STRING_UPARROWConstant 
public static const STRING_UPARROW:String = "?"

AIR-only STRING_USERConstant 
public static const STRING_USER:String = "?"

AIR-only TConstant 
public static const T:uint = 84

Constant associated with the key code value for the T key (84).

TABConstant 
public static const TAB:uint = 9

Constant associated with the key code value for the Tab key (9).

AIR-only UConstant 
public static const U:uint = 85

Constant associated with the key code value for the U key (85).

UPConstant 
public static const UP:uint = 38

Constant associated with the key code value for the Up Arrow key (38).

AIR-only VConstant 
public static const V:uint = 86

Constant associated with the key code value for the V key (86).

AIR-only WConstant 
public static const W:uint = 87

Constant associated with the key code value for the W key (87).

AIR-only XConstant 
public static const X:uint = 88

Constant associated with the key code value for the X key (88).

AIR-only YConstant 
public static const Y:uint = 89

Constant associated with the key code value for the Y key (89).

AIR-only ZConstant 
public static const Z:uint = 90

Constant associated with the key code value for the Z key (90).