Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
flash.ui 
Keyboard 
Packageflash.ui
Classpublic final class Keyboard
InheritanceKeyboard Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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.



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

capsLock

property
capsLock:Boolean  [read-only]

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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



Implementation
    public static function get capsLock():Boolean

numLock

property 
numLock:Boolean  [read-only]

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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 

A

Constant
public static const A:uint = 65

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

ALTERNATE

Constant 
public static const ALTERNATE:uint = 18

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

B

Constant 
public static const B:uint = 66

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

BACKQUOTE

Constant 
public static const BACKQUOTE:uint = 192

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

BACKSLASH

Constant 
public static const BACKSLASH:uint = 220

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

BACKSPACE

Constant 
public static const BACKSPACE:uint = 8

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

C

Constant 
public static const C:uint = 67

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

CAPS_LOCK

Constant 
public static const CAPS_LOCK:uint = 20

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

CharCodeStrings

Constant 
public static const CharCodeStrings:Array

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

COMMA

Constant 
public static const COMMA:uint = 188

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

COMMAND

Constant 
public static const COMMAND:uint = 15

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

CONTROL

Constant 
public static const CONTROL:uint = 17

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

D

Constant 
public static const D:uint = 68

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

DELETE

Constant 
public static const DELETE:uint = 46

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

DOWN

Constant 
public static const DOWN:uint = 40

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

E

Constant 
public static const E:uint = 69

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

END

Constant 
public static const END:uint = 35

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

ENTER

Constant 
public static const ENTER:uint = 13

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

EQUAL

Constant 
public static const EQUAL:uint = 187

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

ESCAPE

Constant 
public static const ESCAPE:uint = 27

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

F

Constant 
public static const F:uint = 70

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

F1

Constant 
public static const F1:uint = 112

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F10

Constant 
public static const F10:uint = 121

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F11

Constant 
public static const F11:uint = 122

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F12

Constant 
public static const F12:uint = 123

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F13

Constant 
public static const F13:uint = 124

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F14

Constant 
public static const F14:uint = 125

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F15

Constant 
public static const F15:uint = 126

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F2

Constant 
public static const F2:uint = 113

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F3

Constant 
public static const F3:uint = 114

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F4

Constant 
public static const F4:uint = 115

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F5

Constant 
public static const F5:uint = 116

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F6

Constant 
public static const F6:uint = 117

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F7

Constant 
public static const F7:uint = 118

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F8

Constant 
public static const F8:uint = 119

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

F9

Constant 
public static const F9:uint = 120

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

G

Constant 
public static const G:uint = 71

Language Version: ActionScript 3.0
Runtime Versions: Flash Player 9, AIR 1.0

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

AIR-only 

H

Constant 
public static const H:uint = 72

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

HOME

Constant 
public static const HOME:uint = 36

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

I

Constant 
public static const I:uint = 73

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

INSERT

Constant 
public static const INSERT:uint = 45

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

J

Constant 
public static const J:uint = 74

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

K

Constant 
public static const K:uint = 75

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

KEYNAME_BEGIN

Constant 
public static const KEYNAME_BEGIN:String = "Begin"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_BREAK

Constant 
public static const KEYNAME_BREAK:String = "Break"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_CLEARDISPLAY

Constant 
public static const KEYNAME_CLEARDISPLAY:String = "ClrDsp"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_CLEARLINE

Constant 
public static const KEYNAME_CLEARLINE:String = "ClrLn"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_DELETE

Constant 
public static const KEYNAME_DELETE:String = "Delete"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_DELETECHAR

Constant 
public static const KEYNAME_DELETECHAR:String = "DelChr"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_DELETELINE

Constant 
public static const KEYNAME_DELETELINE:String = "DelLn"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_DOWNARROW

Constant 
public static const KEYNAME_DOWNARROW:String = "Down"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_END

Constant 
public static const KEYNAME_END:String = "End"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_EXECUTE

Constant 
public static const KEYNAME_EXECUTE:String = "Exec"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F1

Constant 
public static const KEYNAME_F1:String = "F1"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F10

Constant 
public static const KEYNAME_F10:String = "F10"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F11

Constant 
public static const KEYNAME_F11:String = "F11"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F12

Constant 
public static const KEYNAME_F12:String = "F12"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F13

Constant 
public static const KEYNAME_F13:String = "F13"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F14

Constant 
public static const KEYNAME_F14:String = "F14"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F15

Constant 
public static const KEYNAME_F15:String = "F15"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F16

Constant 
public static const KEYNAME_F16:String = "F16"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F17

Constant 
public static const KEYNAME_F17:String = "F17"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F18

Constant 
public static const KEYNAME_F18:String = "F18"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F19

Constant 
public static const KEYNAME_F19:String = "F19"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F2

Constant 
public static const KEYNAME_F2:String = "F2"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F20

Constant 
public static const KEYNAME_F20:String = "F20"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F21

Constant 
public static const KEYNAME_F21:String = "F21"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F22

Constant 
public static const KEYNAME_F22:String = "F22"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F23

Constant 
public static const KEYNAME_F23:String = "F23"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F24

Constant 
public static const KEYNAME_F24:String = "F24"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F25

Constant 
public static const KEYNAME_F25:String = "F25"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F26

Constant 
public static const KEYNAME_F26:String = "F26"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F27

Constant 
public static const KEYNAME_F27:String = "F27"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F28

Constant 
public static const KEYNAME_F28:String = "F28"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F29

Constant 
public static const KEYNAME_F29:String = "F29"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F3

Constant 
public static const KEYNAME_F3:String = "F3"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F30

Constant 
public static const KEYNAME_F30:String = "F30"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F31

Constant 
public static const KEYNAME_F31:String = "F31"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F32

Constant 
public static const KEYNAME_F32:String = "F32"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F33

Constant 
public static const KEYNAME_F33:String = "F33"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F34

Constant 
public static const KEYNAME_F34:String = "F34"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F35

Constant 
public static const KEYNAME_F35:String = "F35"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F4

Constant 
public static const KEYNAME_F4:String = "F4"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F5

Constant 
public static const KEYNAME_F5:String = "F5"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F6

Constant 
public static const KEYNAME_F6:String = "F6"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F7

Constant 
public static const KEYNAME_F7:String = "F7"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F8

Constant 
public static const KEYNAME_F8:String = "F8"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_F9

Constant 
public static const KEYNAME_F9:String = "F9"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_FIND

Constant 
public static const KEYNAME_FIND:String = "Find"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_HELP

Constant 
public static const KEYNAME_HELP:String = "Help"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_HOME

Constant 
public static const KEYNAME_HOME:String = "Home"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_INSERT

Constant 
public static const KEYNAME_INSERT:String = "Insert"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_INSERTCHAR

Constant 
public static const KEYNAME_INSERTCHAR:String = "InsChr"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_INSERTLINE

Constant 
public static const KEYNAME_INSERTLINE:String = "InsLn"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_LEFTARROW

Constant 
public static const KEYNAME_LEFTARROW:String = "Left"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_MENU

Constant 
public static const KEYNAME_MENU:String = "Menu"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_MODESWITCH

Constant 
public static const KEYNAME_MODESWITCH:String = "ModeSw"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_NEXT

Constant 
public static const KEYNAME_NEXT:String = "Next"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_PAGEDOWN

Constant 
public static const KEYNAME_PAGEDOWN:String = "PgDn"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_PAGEUP

Constant 
public static const KEYNAME_PAGEUP:String = "PgUp"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_PAUSE

Constant 
public static const KEYNAME_PAUSE:String = "Pause"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_PREV

Constant 
public static const KEYNAME_PREV:String = "Prev"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_PRINT

Constant 
public static const KEYNAME_PRINT:String = "Print"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_PRINTSCREEN

Constant 
public static const KEYNAME_PRINTSCREEN:String = "PrntScrn"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_REDO

Constant 
public static const KEYNAME_REDO:String = "Redo"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_RESET

Constant 
public static const KEYNAME_RESET:String = "Reset"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_RIGHTARROW

Constant 
public static const KEYNAME_RIGHTARROW:String = "Right"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_SCROLLLOCK

Constant 
public static const KEYNAME_SCROLLLOCK:String = "ScrlLck"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_SELECT

Constant 
public static const KEYNAME_SELECT:String = "Select"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_STOP

Constant 
public static const KEYNAME_STOP:String = "Stop"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_SYSREQ

Constant 
public static const KEYNAME_SYSREQ:String = "SysReq"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_SYSTEM

Constant 
public static const KEYNAME_SYSTEM:String = "Sys"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_UNDO

Constant 
public static const KEYNAME_UNDO:String = "Undo"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_UPARROW

Constant 
public static const KEYNAME_UPARROW:String = "Up"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

KEYNAME_USER

Constant 
public static const KEYNAME_USER:String = "User"

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

L

Constant 
public static const L:uint = 76

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

LEFT

Constant 
public static const LEFT:uint = 37

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

LEFTBRACKET

Constant 
public static const LEFTBRACKET:uint = 219

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

M

Constant 
public static const M:uint = 77

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

MINUS

Constant 
public static const MINUS:uint = 189

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

N

Constant 
public static const N:uint = 78

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

NUMBER_0

Constant 
public static const NUMBER_0:uint = 48

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

NUMBER_1

Constant 
public static const NUMBER_1:uint = 49

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

NUMBER_2

Constant 
public static const NUMBER_2:uint = 50

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

NUMBER_3

Constant 
public static const NUMBER_3:uint = 51

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

NUMBER_4

Constant 
public static const NUMBER_4:uint = 52

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

NUMBER_5

Constant 
public static const NUMBER_5:uint = 53

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

NUMBER_6

Constant 
public static const NUMBER_6:uint = 54

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

NUMBER_7

Constant 
public static const NUMBER_7:uint = 55

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

NUMBER_8

Constant 
public static const NUMBER_8:uint = 56

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

NUMBER_9

Constant 
public static const NUMBER_9:uint = 57

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

NUMPAD

Constant 
public static const NUMPAD:uint = 21

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

NUMPAD_0

Constant 
public static const NUMPAD_0:uint = 96

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_1

Constant 
public static const NUMPAD_1:uint = 97

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_2

Constant 
public static const NUMPAD_2:uint = 98

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_3

Constant 
public static const NUMPAD_3:uint = 99

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_4

Constant 
public static const NUMPAD_4:uint = 100

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_5

Constant 
public static const NUMPAD_5:uint = 101

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_6

Constant 
public static const NUMPAD_6:uint = 102

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_7

Constant 
public static const NUMPAD_7:uint = 103

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_8

Constant 
public static const NUMPAD_8:uint = 104

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_9

Constant 
public static const NUMPAD_9:uint = 105

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_ADD

Constant 
public static const NUMPAD_ADD:uint = 107

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_DECIMAL

Constant 
public static const NUMPAD_DECIMAL:uint = 110

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_DIVIDE

Constant 
public static const NUMPAD_DIVIDE:uint = 111

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_ENTER

Constant 
public static const NUMPAD_ENTER:uint = 108

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_MULTIPLY

Constant 
public static const NUMPAD_MULTIPLY:uint = 106

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

NUMPAD_SUBTRACT

Constant 
public static const NUMPAD_SUBTRACT:uint = 109

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

O

Constant 
public static const O:uint = 79

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

P

Constant 
public static const P:uint = 80

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

PAGE_DOWN

Constant 
public static const PAGE_DOWN:uint = 34

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

PAGE_UP

Constant 
public static const PAGE_UP:uint = 33

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

PERIOD

Constant 
public static const PERIOD:uint = 190

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

Q

Constant 
public static const Q:uint = 81

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

QUOTE

Constant 
public static const QUOTE:uint = 222

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

R

Constant 
public static const R:uint = 82

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

RIGHT

Constant 
public static const RIGHT:uint = 39

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

RIGHTBRACKET

Constant 
public static const RIGHTBRACKET:uint = 221

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

S

Constant 
public static const S:uint = 83

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

SEMICOLON

Constant 
public static const SEMICOLON:uint = 186

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

SHIFT

Constant 
public static const SHIFT:uint = 16

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

SLASH

Constant 
public static const SLASH:uint = 191

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

SPACE

Constant 
public static const SPACE:uint = 32

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

STRING_BEGIN

Constant 
public static const STRING_BEGIN:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_BREAK

Constant 
public static const STRING_BREAK:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_CLEARDISPLAY

Constant 
public static const STRING_CLEARDISPLAY:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_CLEARLINE

Constant 
public static const STRING_CLEARLINE:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_DELETE

Constant 
public static const STRING_DELETE:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_DELETECHAR

Constant 
public static const STRING_DELETECHAR:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_DELETELINE

Constant 
public static const STRING_DELETELINE:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_DOWNARROW

Constant 
public static const STRING_DOWNARROW:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_END

Constant 
public static const STRING_END:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_EXECUTE

Constant 
public static const STRING_EXECUTE:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F1

Constant 
public static const STRING_F1:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F10

Constant 
public static const STRING_F10:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F11

Constant 
public static const STRING_F11:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F12

Constant 
public static const STRING_F12:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F13

Constant 
public static const STRING_F13:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F14

Constant 
public static const STRING_F14:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F15

Constant 
public static const STRING_F15:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F16

Constant 
public static const STRING_F16:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F17

Constant 
public static const STRING_F17:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F18

Constant 
public static const STRING_F18:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F19

Constant 
public static const STRING_F19:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F2

Constant 
public static const STRING_F2:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F20

Constant 
public static const STRING_F20:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F21

Constant 
public static const STRING_F21:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F22

Constant 
public static const STRING_F22:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F23

Constant 
public static const STRING_F23:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F24

Constant 
public static const STRING_F24:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F25

Constant 
public static const STRING_F25:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F26

Constant 
public static const STRING_F26:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F27

Constant 
public static const STRING_F27:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F28

Constant 
public static const STRING_F28:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F29

Constant 
public static const STRING_F29:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F3

Constant 
public static const STRING_F3:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F30

Constant 
public static const STRING_F30:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F31

Constant 
public static const STRING_F31:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F32

Constant 
public static const STRING_F32:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F33

Constant 
public static const STRING_F33:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F34

Constant 
public static const STRING_F34:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F35

Constant 
public static const STRING_F35:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F4

Constant 
public static const STRING_F4:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F5

Constant 
public static const STRING_F5:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F6

Constant 
public static const STRING_F6:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F7

Constant 
public static const STRING_F7:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F8

Constant 
public static const STRING_F8:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_F9

Constant 
public static const STRING_F9:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_FIND

Constant 
public static const STRING_FIND:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_HELP

Constant 
public static const STRING_HELP:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_HOME

Constant 
public static const STRING_HOME:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_INSERT

Constant 
public static const STRING_INSERT:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_INSERTCHAR

Constant 
public static const STRING_INSERTCHAR:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_INSERTLINE

Constant 
public static const STRING_INSERTLINE:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_LEFTARROW

Constant 
public static const STRING_LEFTARROW:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_MENU

Constant 
public static const STRING_MENU:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_MODESWITCH

Constant 
public static const STRING_MODESWITCH:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_NEXT

Constant 
public static const STRING_NEXT:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_PAGEDOWN

Constant 
public static const STRING_PAGEDOWN:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_PAGEUP

Constant 
public static const STRING_PAGEUP:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_PAUSE

Constant 
public static const STRING_PAUSE:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_PREV

Constant 
public static const STRING_PREV:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_PRINT

Constant 
public static const STRING_PRINT:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_PRINTSCREEN

Constant 
public static const STRING_PRINTSCREEN:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_REDO

Constant 
public static const STRING_REDO:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_RESET

Constant 
public static const STRING_RESET:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_RIGHTARROW

Constant 
public static const STRING_RIGHTARROW:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_SCROLLLOCK

Constant 
public static const STRING_SCROLLLOCK:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_SELECT

Constant 
public static const STRING_SELECT:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_STOP

Constant 
public static const STRING_STOP:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_SYSREQ

Constant 
public static const STRING_SYSREQ:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_SYSTEM

Constant 
public static const STRING_SYSTEM:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_UNDO

Constant 
public static const STRING_UNDO:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_UPARROW

Constant 
public static const STRING_UPARROW:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

STRING_USER

Constant 
public static const STRING_USER:String = ""

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

AIR-only 

T

Constant 
public static const T:uint = 84

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

TAB

Constant 
public static const TAB:uint = 9

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

U

Constant 
public static const U:uint = 85

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

UP

Constant 
public static const UP:uint = 38

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

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

AIR-only 

V

Constant 
public static const V:uint = 86

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

W

Constant 
public static const W:uint = 87

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

X

Constant 
public static const X:uint = 88

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

Y

Constant 
public static const Y:uint = 89

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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

AIR-only 

Z

Constant 
public static const Z:uint = 90

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0

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