public static const FOCUS_KEY_DOWN:String = "focusKeyDown"
The FocusKeyEvent.FOCUS_KEY_DOWN constant defines the value of the
type property of the event object for a focusKeyDown event.
The properties of the event object have the following values:
| Property | Value |
bubbles | false |
cancelable | false |
charCode | The character code value of the key pressed or released. |
keyCode | The key code value of the key pressed or released. |
keyLocation | The location of the key on the keyboard. |
ctrlKey | true if the Control key is active; false if it is inactive. |
altKey | false, reserved |
shiftKey | true if the Shift key is active; false if it is inactive. |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
public static const FOCUS_KEY_UP:String = "focusKeyUp"
The FocusKeyEvent.FOCUS_KEY_UP constant defines the value of the
type property of the event object for a focusKeyUp event.
The properties of the event object have the following values:
| Property | Value |
bubbles | false |
cancelable | false |
charCode | The character code value of the key pressed or released. |
keyCode | The key code value of the key pressed or released. |
keyLocation | The location of the key on the keyboard. |
ctrlKey | true if the Control key is active; false if it is inactive. |
altKey | false, reserved |
shiftKey | true if the Shift key is active; false if it is inactive. |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
comp.addEventListener() to register an event listener,
comp is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |