Package | mx.events |
Class | public class FlexEvent |
Inheritance | FlexEvent Event Object |
Subclasses | ActiveContentEvent, ActiveDataEvent, AssetActionEvent, AssetEvent, AssetFocusEvent, LetterDataChangeEvent, LibraryEvent, LibraryInsertEvent, TextEditEvent |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
More examples
Learn more
Method | Defined By | ||
---|---|---|---|
Constructor. | FlexEvent | ||
Duplicates an instance of an Event subclass. | Event | ||
A utility function for implementing the toString() method in custom
ActionScript 3.0 Event classes. | Event | ||
Indicates whether an object has a specified property defined. | Object | ||
Checks whether the preventDefault() method has been called on the event. | Event | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Cancels an event's default behavior if that behavior can be canceled. | Event | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Prevents processing of any event listeners in the current node and any subsequent nodes in
the event flow. | Event | ||
Prevents processing of any event listeners in nodes subsequent to the current node in the
event flow. | Event | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns a string containing all the properties of the Event object. | Event | ||
Returns the primitive value of the specified object. | Object |
Constant | Defined By | ||
---|---|---|---|
ADD : String = "add" [static]
The FlexEvent.ADD constant defines the value of the
type property of the event object for an add event. | FlexEvent | ||
ADD_FOCUS_MANAGER : String = "addFocusManager" [static]
The FlexEvent.ADD_FOCUS_MANAGER constant defines the value of the
type property of the event object for an addFocusManager event. | FlexEvent | ||
APPLICATION_COMPLETE : String = "applicationComplete" [static]
The FlexEvent.APPLICATION_COMPLETE constant defines the value of the
type property of the event object for a applicationComplete event. | FlexEvent | ||
BACK_KEY_PRESSED : String = "backKeyPressed" [static]
The FlexEvent.BACK_KEY_PRESSED constant defines the value of the
type property of the event object for a backKeyPressed event. | FlexEvent | ||
BUTTON_DOWN : String = "buttonDown" [static]
The FlexEvent.BUTTON_DOWN constant defines the value of the
type property of the event object for a buttonDown event. | FlexEvent | ||
CHANGE_END : String = "changeEnd" [static]
The FlexEvent.CHANGE_END constant defines the value of the
type property of the event object for a changeEnd event. | FlexEvent | ||
CHANGE_START : String = "changeStart" [static]
The FlexEvent.CHANGE_START constant defines the value of the
type property of the event object for a changeStart event. | FlexEvent | ||
CHANGING : String = "changing" [static]
The FlexEvent.CHANGING constant defines the value of the
type property of the event object for a changing event. | FlexEvent | ||
CONTENT_CREATION_COMPLETE : String = "contentCreationComplete" [static]
The FlexEvent.CONTENT_CREATION_COMPLETE constant defines the value of the
type property of the event object for a contentCreationComplete event. | FlexEvent | ||
CREATION_COMPLETE : String = "creationComplete" [static]
The FlexEvent.CREATION_COMPLETE constant defines the value of the
type property of the event object for a creationComplete event. | FlexEvent | ||
CURSOR_UPDATE : String = "cursorUpdate" [static]
The FlexEvent.CURSOR_UPDATE constant defines the value of the
type property of the event object for a cursorUpdate event. | FlexEvent | ||
DATA_CHANGE : String = "dataChange" [static]
The FlexEvent.DATA_CHANGE constant defines the value of the
type property of the event object for a dataChange event. | FlexEvent | ||
ENTER : String = "enter" [static]
The FlexEvent.ENTER constant defines the value of the
type property of the event object for a enter event. | FlexEvent | ||
ENTER_FRAME : String = "flexEventEnterFrame" [static]
The FlexEvent.ENTER_FRAME constant defines the value of the
type property of the event object for an Event.ENTER_FRAMER event. | FlexEvent | ||
ENTER_STATE : String = "enterState" [static]
The FlexEvent.ENTER_STATE constant defines the value of the
type property of the event object for a enterState event. | FlexEvent | ||
EXIT_STATE : String = "exitState" [static]
The FlexEvent.EXIT_STATE constant defines the value of the
type property of the event object for a exitState event. | FlexEvent | ||
FLEX_WINDOW_ACTIVATE : String = "flexWindowActivate" [static]
The FlexEvent.FLEX_WINDOW_ACTIVATE constant defines the value of the
type property of the event object for a flexWindowActivate
event. | FlexEvent | ||
FLEX_WINDOW_DEACTIVATE : String = "flexWindowDeactivate" [static]
The FlexEvent.FLEX_WINDOW_DEACTIVATE constant defines the value of the
type property of the event object for a flexWindowDeactivate
event. | FlexEvent | ||
HIDE : String = "hide" [static]
The FlexEvent.HIDE constant defines the value of the
type property of the event object for a hide event. | FlexEvent | ||
IDLE : String = "idle" [static]
The FlexEvent.IDLE constant defines the value of the
type property of the event object for a idle event. | FlexEvent | ||
INIT_COMPLETE : String = "initComplete" [static]
Dispatched when a Flex application finishes initialization. | FlexEvent | ||
INITIALIZE : String = "initialize" [static]
The FlexEvent.INITIALIZE constant defines the value of the
type property of the event object for a initialize event. | FlexEvent | ||
INIT_PROGRESS : String = "initProgress" [static]
Dispatched when the Flex application completes an initialization phase,
as defined by calls to the measure(), commitProperties(),
or updateDisplayList() methods. | FlexEvent | ||
INVALID : String = "invalid" [static]
The FlexEvent.INVALID constant defines the value of the
type property of the event object for a invalid event. | FlexEvent | ||
LOADING : String = "loading" [static]
The FlexEvent.LOADING constant defines the value of the
type property of the event object for a loading event. | FlexEvent | ||
MENU_KEY_PRESSED : String = "menuKeyPressed" [static]
The FlexEvent.MENU_KEY_PRESSED constant defines the value of the
type property of the event object for a menuKeyPressed event. | FlexEvent | ||
MUTED_CHANGE : String = "mutedChange" [static]
The FlexEvent.MUTED_CHANGE constant defines the value of the
type property of the event object for a mutedChange event. | FlexEvent | ||
NAVIGATOR_STATE_LOADING : String = "navigatorStateLoading" [static]
The FlexEvent.NAVIGATOR_STATE_LOADING constant defines the value of the
type property of the event object for a navigatorStateLoading event. | FlexEvent | ||
NAVIGATOR_STATE_SAVING : String = "navigatorStateSaving" [static]
The FlexEvent.NAVIGATOR_STATE_SAVING constant defines the value of the
type property of the event object for a navigatorStateSaving event. | FlexEvent | ||
PREINITIALIZE : String = "preinitialize" [static]
The FlexEvent.PREINITIALIZE constant defines the value of the
type property of the event object for a preinitialize event. | FlexEvent | ||
READY : String = "ready" [static]
The FlexEvent.READY constant defines the value of the
type property of the event object for a ready
event. | FlexEvent | ||
REMOVE : String = "remove" [static]
The FlexEvent.REMOVE constant defines the value of the
type property of the event object for an remove event. | FlexEvent | ||
RENDER : String = "flexEventRender" [static]
The FlexEvent.RENDER constant defines the value of the
type property of the event object for an Event.RENDER event. | FlexEvent | ||
REPEAT : String = "repeat" [static]
The FlexEvent.REPEAT constant defines the value of the
type property of the event object for a repeat event. | FlexEvent | ||
REPEAT_END : String = "repeatEnd" [static]
The FlexEvent.REPEAT_END constant defines the value of the
type property of the event object for a repeatEnd event. | FlexEvent | ||
REPEAT_START : String = "repeatStart" [static]
The FlexEvent.REPEAT_START constant defines the value of the
type property of the event object for a repeatStart event. | FlexEvent | ||
SELECTION_CHANGE : String = "selectionChange" [static]
The FlexEvent.SELECTION_CHANGE constant defines the value of the
type property of the event object for a selectionChange event. | FlexEvent | ||
SHOW : String = "show" [static]
The FlexEvent.SHOW constant defines the value of the
type property of the event object for a show event. | FlexEvent | ||
STATE_CHANGE_COMPLETE : String = "stateChangeComplete" [static]
The FlexEvent.STATE_CHANGE_COMPLETE constant defines the value of the
type property of the event object for a stateChangeComplete event. | FlexEvent | ||
STATE_CHANGE_INTERRUPTED : String = "stateChangeInterrupted" [static]
The FlexEvent.STATE_CHANGE_INTERRUPTED constant defines the value of the
type property of the event object for a stateChangeInterrupted event. | FlexEvent | ||
TRANSFORM_CHANGE : String = "transformChange" [static]
The FlexEvent.TRANSFORM_CHANGE constant defines the value of the
type property of the event object for a transformChange event. | FlexEvent | ||
TRANSITION_END : String = "transitionEnd" [static]
The FlexEvent.TRANSITION_END constant defines the value of the
type property of the event object for a transitionEnd event. | FlexEvent | ||
TRANSITION_START : String = "transitionStart" [static]
The FlexEvent.TRANSITION_START constant defines the value of the
type property of the event object for a transitionStart event. | FlexEvent | ||
UPDATE_COMPLETE : String = "updateComplete" [static]
The FlexEvent.UPDATE_COMPLETE constant defines the value of the
type property of the event object for a updateComplete event. | FlexEvent | ||
URL_CHANGED : String = "urlChanged" [static]
The FlexEvent.URL_CHANGED constant defines the value of the
type property of the event object for a urlChanged event. | FlexEvent | ||
VALID : String = "valid" [static]
The FlexEvent.VALID constant defines the value of the
type property of the event object for a valid event. | FlexEvent | ||
VALUE_COMMIT : String = "valueCommit" [static]
The FlexEvent.VALUE_COMMIT constant defines the value of the
type property of the event object for a valueCommit
event. | FlexEvent |
FlexEvent | () | Constructor |
public function FlexEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Constructor.
Parameterstype:String — The event type; indicates the action that caused the event.
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up
the display list hierarchy.
| |
cancelable:Boolean (default = false ) — Specifies whether the behavior
associated with the event can be prevented.
|
ADD | Constant |
public static const ADD:String = "add"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.ADD
constant defines the value of the
type
property of the event object for an add
event.
This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
ADD_FOCUS_MANAGER | Constant |
public static const ADD_FOCUS_MANAGER:String = "addFocusManager"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The FlexEvent.ADD_FOCUS_MANAGER
constant defines the value of the
type
property of the event object for an addFocusManager
event.
This event is dispatched from an IFocusManagerContainer when its focusManager
is assigned.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
APPLICATION_COMPLETE | Constant |
public static const APPLICATION_COMPLETE:String = "applicationComplete"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.APPLICATION_COMPLETE
constant defines the value of the
type
property of the event object for a applicationComplete
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
BACK_KEY_PRESSED | Constant |
public static const BACK_KEY_PRESSED:String = "backKeyPressed"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10, AIR 2.5 |
The FlexEvent.BACK_KEY_PRESSED
constant defines the value of the
type
property of the event object for a backKeyPressed
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | true |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
BUTTON_DOWN | Constant |
public static const BUTTON_DOWN:String = "buttonDown"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.BUTTON_DOWN
constant defines the value of the
type
property of the event object for a buttonDown
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
CHANGE_END | Constant |
public static const CHANGE_END:String = "changeEnd"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The FlexEvent.CHANGE_END
constant defines the value of the
type
property of the event object for a changeEnd
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
CHANGE_START | Constant |
public static const CHANGE_START:String = "changeStart"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The FlexEvent.CHANGE_START
constant defines the value of the
type
property of the event object for a changeStart
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
CHANGING | Constant |
public static const CHANGING:String = "changing"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The FlexEvent.CHANGING
constant defines the value of the
type
property of the event object for a changing
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
CONTENT_CREATION_COMPLETE | Constant |
public static const CONTENT_CREATION_COMPLETE:String = "contentCreationComplete"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.1 |
The FlexEvent.CONTENT_CREATION_COMPLETE
constant defines the value of the
type
property of the event object for a contentCreationComplete
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
CREATION_COMPLETE | Constant |
public static const CREATION_COMPLETE:String = "creationComplete"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.CREATION_COMPLETE
constant defines the value of the
type
property of the event object for a creationComplete
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
CURSOR_UPDATE | Constant |
public static const CURSOR_UPDATE:String = "cursorUpdate"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.CURSOR_UPDATE
constant defines the value of the
type
property of the event object for a cursorUpdate
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
DATA_CHANGE | Constant |
public static const DATA_CHANGE:String = "dataChange"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.DATA_CHANGE
constant defines the value of the
type
property of the event object for a dataChange
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
ENTER | Constant |
public static const ENTER:String = "enter"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.ENTER
constant defines the value of the
type
property of the event object for a enter
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
ENTER_FRAME | Constant |
public static const ENTER_FRAME:String = "flexEventEnterFrame"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.ENTER_FRAME
constant defines the value of the
type
property of the event object for an Event.ENTER_FRAMER
event.
Adding a listener to ENTER_FRAME on the SystemManager
will add a listener for
the Event.ENTER_FRAME event on the stage
, if access if allowed,
or the SystemManager
if access the the stage
is not allowed.
The listener should expect to receive Event.ENTER_FRAME events.
ENTER_STATE | Constant |
public static const ENTER_STATE:String = "enterState"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.ENTER_STATE
constant defines the value of the
type
property of the event object for a enterState
event.
This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
EXIT_STATE | Constant |
public static const EXIT_STATE:String = "exitState"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.EXIT_STATE
constant defines the value of the
type
property of the event object for a exitState
event.
This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
FLEX_WINDOW_ACTIVATE | Constant |
public static const FLEX_WINDOW_ACTIVATE:String = "flexWindowActivate"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The FlexEvent.FLEX_WINDOW_ACTIVATE
constant defines the value of the
type
property of the event object for a flexWindowActivate
event.
Similar to the flash.events.AIREvent.WINDOW_ACTIVATE except it is dispatched
in both Flash and AIR when a Flex window or popup is activated. This event is
dispatched from the focusManager managing
focus in that container.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
FLEX_WINDOW_DEACTIVATE | Constant |
public static const FLEX_WINDOW_DEACTIVATE:String = "flexWindowDeactivate"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The FlexEvent.FLEX_WINDOW_DEACTIVATE
constant defines the value of the
type
property of the event object for a flexWindowDeactivate
event.
Similar to the flash.events.AIREvent.FLEX_WINDOW_DEACTIVATE except it is dispatched
in both Flash and AIR when a Flex Window or popup is deactivated. This event is
dispatched from the focusManager managing
focus in that container.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
HIDE | Constant |
public static const HIDE:String = "hide"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.HIDE
constant defines the value of the
type
property of the event object for a hide
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
IDLE | Constant |
public static const IDLE:String = "idle"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.IDLE
constant defines the value of the
type
property of the event object for a idle
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
INIT_COMPLETE | Constant |
public static const INIT_COMPLETE:String = "initComplete"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Dispatched when a Flex application finishes initialization. You use this event when creating a custom download progress bar.
This event is always dispatched once by the Preloader class, and is the last event that the Preloader dispatches. When this event is dispatched, the event listener should dispatch an Event.COMPLETE event.
A download progress bar must dispatch a complete
event after it has received an init_complete
event.
The complete
event informs the Preloader that the
download progress bar has completed all operations and can be dismissed.
A download progress bar can perform additional tasks,
such as playing an animation, after receiving
an init_complete
event, and before dispatching
the complete
event. Dispatching the complete
event should be the last action of the download progress bar.
The FlexEvent.INIT_COMPLETE constant defines the value of the
type
property of the event object for a initComplete
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
Related API Elements
INIT_PROGRESS | Constant |
public static const INIT_PROGRESS:String = "initProgress"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Dispatched when the Flex application completes an initialization phase,
as defined by calls to the measure()
, commitProperties()
,
or updateDisplayList()
methods.
This event describes the progress of the application in the initialization phase.
You use this event when creating a custom download progress bar.
The FlexEvent.INIT_PROGRESS constant defines the value of the
type
property of the event object for a initProgress
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
Related API Elements
INITIALIZE | Constant |
public static const INITIALIZE:String = "initialize"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.INITIALIZE
constant defines the value of the
type
property of the event object for a initialize
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
INVALID | Constant |
public static const INVALID:String = "invalid"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.INVALID
constant defines the value of the
type
property of the event object for a invalid
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
LOADING | Constant |
public static const LOADING:String = "loading"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.LOADING
constant defines the value of the
type
property of the event object for a loading
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
Related API Elements
MENU_KEY_PRESSED | Constant |
public static const MENU_KEY_PRESSED:String = "menuKeyPressed"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10.1, AIR 2.5 |
The FlexEvent.MENU_KEY_PRESSED
constant defines the value of the
type
property of the event object for a menuKeyPressed
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | true |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
MUTED_CHANGE | Constant |
public static const MUTED_CHANGE:String = "mutedChange"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The FlexEvent.MUTED_CHANGE
constant defines the value of the
type
property of the event object for a mutedChange
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
NAVIGATOR_STATE_LOADING | Constant |
public static const NAVIGATOR_STATE_LOADING:String = "navigatorStateLoading"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10.1, AIR 2.5 |
The FlexEvent.NAVIGATOR_STATE_LOADING
constant defines the value of the
type
property of the event object for a navigatorStateLoading
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | true |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
NAVIGATOR_STATE_SAVING | Constant |
public static const NAVIGATOR_STATE_SAVING:String = "navigatorStateSaving"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10.1, AIR 2.5 |
The FlexEvent.NAVIGATOR_STATE_SAVING
constant defines the value of the
type
property of the event object for a navigatorStateSaving
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | true |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
PREINITIALIZE | Constant |
public static const PREINITIALIZE:String = "preinitialize"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.PREINITIALIZE
constant defines the value of the
type
property of the event object for a preinitialize
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
READY | Constant |
public static const READY:String = "ready"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10, AIR 1.1 |
The FlexEvent.READY
constant defines the value of the
type
property of the event object for a ready
event. This event is dispatched by the BitmapImage and spark Image
classes to denote that the assigned image source has fully loaded.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
returnValue | null |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myImage.addEventListener() to register an event listener,
myImage 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. |
Type | FlexEvent.READY |
REMOVE | Constant |
public static const REMOVE:String = "remove"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.REMOVE
constant defines the value of the
type
property of the event object for an remove
event.
This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
RENDER | Constant |
public static const RENDER:String = "flexEventRender"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.RENDER
constant defines the value of the
type
property of the event object for an Event.RENDER
event.
Adding a listener on the SystemManager
will add a listener for FlexEvent.RENDER
events on the stage
or the SystemManager
if the application does not have
access to the stage
. The listener will also generate an Event.RENDER event. The
listener function should expect to receive Event.RENDER events.
REPEAT | Constant |
public static const REPEAT:String = "repeat"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.REPEAT
constant defines the value of the
type
property of the event object for a repeat
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
REPEAT_END | Constant |
public static const REPEAT_END:String = "repeatEnd"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.REPEAT_END
constant defines the value of the
type
property of the event object for a repeatEnd
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
REPEAT_START | Constant |
public static const REPEAT_START:String = "repeatStart"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.REPEAT_START
constant defines the value of the
type
property of the event object for a repeatStart
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
SELECTION_CHANGE | Constant |
public static const SELECTION_CHANGE:String = "selectionChange"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.SELECTION_CHANGE
constant defines the value of the
type
property of the event object for a selectionChange
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
SHOW | Constant |
public static const SHOW:String = "show"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.SHOW
constant defines the value of the
type
property of the event object for a show
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
STATE_CHANGE_COMPLETE | Constant |
public static const STATE_CHANGE_COMPLETE:String = "stateChangeComplete"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10, AIR 2.5 |
The FlexEvent.STATE_CHANGE_COMPLETE
constant defines the value of the
type
property of the event object for a stateChangeComplete
event.
This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
STATE_CHANGE_INTERRUPTED | Constant |
public static const STATE_CHANGE_INTERRUPTED:String = "stateChangeInterrupted"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10, AIR 2.5 |
The FlexEvent.STATE_CHANGE_INTERRUPTED
constant defines the value of the
type
property of the event object for a stateChangeInterrupted
event.
This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
TRANSFORM_CHANGE | Constant |
public static const TRANSFORM_CHANGE:String = "transformChange"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.TRANSFORM_CHANGE
constant defines the value of the
type
property of the event object for a transformChange
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
TRANSITION_END | Constant |
public static const TRANSITION_END:String = "transitionEnd"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10, AIR 2.5 |
The FlexEvent.TRANSITION_END
constant defines the value of the
type
property of the event object for a transitionEnd
event.
This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
TRANSITION_START | Constant |
public static const TRANSITION_START:String = "transitionStart"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10, AIR 2.5 |
The FlexEvent.TRANSITION_START
constant defines the value of the
type
property of the event object for a transitionStart
event.
This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
UPDATE_COMPLETE | Constant |
public static const UPDATE_COMPLETE:String = "updateComplete"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.UPDATE_COMPLETE
constant defines the value of the
type
property of the event object for a updateComplete
event.
This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
URL_CHANGED | Constant |
public static const URL_CHANGED:String = "urlChanged"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.URL_CHANGED
constant defines the value of the
type
property of the event object for a urlChanged
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
Related API Elements
VALID | Constant |
public static const VALID:String = "valid"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.VALID
constant defines the value of the
type
property of the event object for a valid
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
VALUE_COMMIT | Constant |
public static const VALUE_COMMIT:String = "valueCommit"
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The FlexEvent.VALUE_COMMIT
constant defines the value of the
type
property of the event object for a valueCommit
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton 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. |
Thu Dec 6 2018, 01:12 PM -08:00