The KeyLocation class contains constants that indicate the location of a key on a keyboard or keyboard-like input device.
The KeyLocation constants are used within the keyLocation property of keyboard event objects.
Indicates that the active key is in the left key location (a key may have multiple possible locations).
Zh
表示激活的键在左侧键位置(此键可能有多个可能的位置)。
静态NUM_PAD
NUM_PAD:number = 3
En
Indicates that the active key is on the numeric keypad or activated by a virtual key corresponding to the numeric keypad.
<Note: This property is only valid in Flash mode.
Indicates that the active key is in the right key location (a key may have multiple possible locations).
Zh
表示激活的键在右侧键位置(此键可能有多个可能的位置)。
静态STANDARD
STANDARD:number = 0
En
Indicates that the active key does not distinguish between the left or right position,
nor does it distinguish whether it is located on the numeric keypad (or activated by a virtual key corresponding to the numeric keypad).
En
The
KeyLocation
class contains constants that indicate the location of a key on a keyboard or keyboard-like input device. TheKeyLocation
constants are used within thekeyLocation
property of keyboard event objects.Zh
KeyLocation
类包含表示键盘或类似键盘的输入设备上按键位置的常量。KeyLocation
常数用在键盘事件对象的keyLocation
属性中。