| Package | Description |
|---|---|
| flash.display | |
| flash.events | |
| flash.net | |
| playn.flash |
| Modifier and Type | Field and Description |
|---|---|
static EventType |
DisplayObject.ADDED
Dispatched when a display object is added to the display list.
|
static EventType |
DisplayObject.ADDED_TO_STAGE
Dispatched when a display object is added to the on stage display list,
either directly or through the addition of a sub tree in which the display
object is contained.
|
static EventType |
InteractiveObject.CLICK
Dispatched when a user presses and releases the main button of the
user's pointing device over the same InteractiveObject.
|
static EventType |
InteractiveObject.DOUBLECLICK
Dispatched when a user presses and releases the main button of a pointing
device twice in rapid succession over the same InteractiveObject when that
object's doubleClickEnabled flag is set to true.
|
static EventType |
DisplayObject.ENTERFRAME
Dispatched when the playhead is entering a new frame.
|
static EventType |
InteractiveObject.FOCUSIN
Dispatched after a display object gains focus.
|
static EventType |
InteractiveObject.FOCUSOUT
Dispatched after a display object loses focus.
|
static EventType |
InteractiveObject.KEYDOWN
Dispatched when the user presses a key.
|
static EventType |
InteractiveObject.KEYFOCUSCHANGE
Dispatched when the user presses a key.
|
static EventType |
InteractiveObject.KEYUP
Dispatched when the user releases a key.
|
static EventType |
InteractiveObject.MOUSEDOWN
Dispatched when a user presses the pointing device button over an InteractiveObject instance.
|
static EventType |
InteractiveObject.MOUSEFOCUSCHANGE
Dispatched when the user attempts to change focus by using a pointer device.
|
static EventType |
InteractiveObject.MOUSEMOVE |
static EventType |
InteractiveObject.MOUSEOUT
Dispatched when the user moves a pointing device away from an InteractiveObject instance.
|
static EventType |
InteractiveObject.MOUSEOVER
Dispatched when the user moves a pointing device over an InteractiveObject instance.
|
static EventType |
InteractiveObject.MOUSEUP
Dispatched when a user releases the pointing device button over an InteractiveObject instance.
|
static EventType |
InteractiveObject.MOUSEWHEEL
Dispatched when a user releases the pointing device button over an InteractiveObject instance.
|
static EventType |
DisplayObject.REMOVED
Dispatched when a display object is about to be removed from the display
list.
|
static EventType |
DisplayObject.REMOVED_FROM_STAGE
Dispatched when a display object is about to be removed from the display
list, either directly or through the removal of a sub tree in which the
display object is contained.
|
static EventType |
DisplayObject.RENDER
Dispatched when the display list is about to be updated and rendered.
|
static EventType |
InteractiveObject.ROLLOUT
Dispatched when the user moves a pointing device away from an InteractiveObject instance.
|
static EventType |
InteractiveObject.ROLLOVER
Dispatched when the user moves a pointing device over an InteractiveObject instance.
|
static EventType |
InteractiveObject.TABCENABLEDCHANGE
Dispatched when the object's tabEnabled flag changes.
|
static EventType |
InteractiveObject.TABCHILDRENCHANGE
Dispatched when the value of the object's tabChildren flag changes.
|
static EventType |
InteractiveObject.TABINDEXCHANGE
Dispatched when the value of the object's tabIndex property changes.
|
| Modifier and Type | Field and Description |
|---|---|
static EventType |
EventDispatcher.ACTIVATE
Dispatched when Flash Player or an AIR application gains operating system
focus and becomes active.
|
static EventType |
EventDispatcher.DEACTIVATE
Dispatched when Flash Player or an AIR application gains operating system
focus and becomes active.
|
| Modifier and Type | Method and Description |
|---|---|
EventType |
Event.getType()
The type of event.
|
static EventType |
EventType.make(String type) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Event> |
EventDispatcher.addEventListener(EventType type,
EventHandler<T> listener,
boolean useCapture,
int priority,
boolean useWeakReference)
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
|
boolean |
EventDispatcher.hasEventListener(EventType type)
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
|
void |
EventDispatcher.removeEventListener(EventType type,
EventHandler<?> listener,
boolean useCapture)
Removes a listener from the EventDispatcher object.
|
boolean |
EventDispatcher.willTrigger(EventType type)
Checks whether an event listener is registered with this EventDispatcher
object or any of its ancestors for the specified event type.
|
| Modifier and Type | Field and Description |
|---|---|
static EventType |
SharedObject.ASYNCERROR
Dispatched when an exception is thrown asynchronously — that is, from native asynchronous code.
|
static EventType |
SharedObject.NETSTATUS
Dispatched when a SharedObject instance is reporting its status or error condition.
|
static EventType |
SharedObject.SYNC
Dispatched when a remote shared object has been updated by the server.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
FlashPlatform.captureEvent(EventType eventType,
EventHandler<?> eventHandler) |
Copyright © 2013. All Rights Reserved.