Packagemx.events
Classpublic class FlexEvent
InheritanceFlexEvent Inheritance flash.events.Event

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The FlexEvent class represents the event object passed to the event listener for many Flex events.



Public Methods
 MethodDefined By
  
FlexEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
FlexEvent
Public Constants
 ConstantDefined 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
Constructor Detail
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.

Parameters
type: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.
Constant Detail
ADDConstant
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_MANAGERConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_COMPLETEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_PRESSEDConstant 
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:

PropertyValue
bubblesfalse
cancelabletrue
currentTargetThe 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.
targetThe 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_DOWNConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_ENDConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_STARTConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

CHANGINGConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_COMPLETEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_COMPLETEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_UPDATEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_CHANGEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

ENTERConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_FRAMEConstant 
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_STATEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_STATEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_ACTIVATEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_DEACTIVATEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

HIDEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

IDLEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_COMPLETEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

See also

INIT_PROGRESSConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

See also

INITIALIZEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

INVALIDConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

LOADINGConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

See also

MENU_KEY_PRESSEDConstant 
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:

PropertyValue
bubblesfalse
cancelabletrue
currentTargetThe 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.
targetThe 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_CHANGEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_LOADINGConstant 
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:

PropertyValue
bubblesfalse
cancelabletrue
currentTargetThe 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.
targetThe 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_SAVINGConstant 
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:

PropertyValue
bubblesfalse
cancelabletrue
currentTargetThe 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.
targetThe 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.

PREINITIALIZEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

READYConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
returnValuenull
currentTargetThe 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.
targetThe 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.
TypeFlexEvent.READY

REMOVEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

RENDERConstant 
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.

REPEATConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_ENDConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_STARTConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_CHANGEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

SHOWConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_COMPLETEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_INTERRUPTEDConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_CHANGEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_ENDConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_STARTConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_COMPLETEConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_CHANGEDConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.

See also

VALIDConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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_COMMITConstant 
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.