//////////////////////////////////////////////////////////////////////////////// // // ADOBE SYSTEMS INCORPORATED // Copyright 2006-2007 Adobe Systems Incorporated // All Rights Reserved. // // NOTICE: Adobe permits you to use, modify, and distribute this file // in accordance with the terms of the license agreement accompanying it. // //////////////////////////////////////////////////////////////////////////////// package mx.events { import flash.events.Event; /** * The FlexEvent class represents the event object passed to * the event listener for many Flex events. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public class FlexEvent extends Event { include "../core/Version.as"; //-------------------------------------------------------------------------- // // Class constants // //-------------------------------------------------------------------------- /** * The FlexEvent.ADD constant defines the value of the * type property of the event object for an add 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.
* * @eventType add * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const ADD:String = "add"; /** * 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.
* * @eventType addFocusManager * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion Flex 4 */ public static const ADD_FOCUS_MANAGER:String = "addFocusManager"; /** * 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.
* * @eventType applicationComplete * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const APPLICATION_COMPLETE:String = "applicationComplete"; /** * 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.
* * @eventType buttonDown * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const BUTTON_DOWN:String = "buttonDown"; /** * 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.
* * @eventType changeEnd * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion Flex 4 */ public static const CHANGE_END:String = "changeEnd"; /** * 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.
* * @eventType changeStart * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion Flex 4 */ public static const CHANGE_START:String = "changeStart"; /** * 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.
* * @eventType changing * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion Flex 4 */ public static const CHANGING:String = "changing"; /** * 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.
* * @eventType creationComplete * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const CREATION_COMPLETE:String = "creationComplete"; /** * 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.
* * @eventType contentCreationComplete * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const CONTENT_CREATION_COMPLETE:String = "contentCreationComplete"; /** * 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.
* * @eventType cursorUpdate * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const CURSOR_UPDATE:String = "cursorUpdate"; /** * 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.
* * @eventType dataChange * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const DATA_CHANGE:String = "dataChange"; /** * 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.
* * @eventType enter * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const ENTER:String = "enter"; /** * 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. * * @eventType flexEventEnterFrame * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const ENTER_FRAME:String = "flexEventEnterFrame"; /** * The FlexEvent.ENTER_STATE constant defines the value of the * type property of the event object for a enterState 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.
* * @eventType enterState * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const ENTER_STATE:String = "enterState"; /** * The FlexEvent.EXIT_STATE constant defines the value of the * type property of the event object for a exitState 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.
* * @eventType exitState * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const EXIT_STATE:String = "exitState"; /** * 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.
* * @eventType flexWindowActivate * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion Flex 4 */ public static const FLEX_WINDOW_ACTIVATE:String = "flexWindowActivate"; /** * 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.
* * @eventType flexWindowDeactivate * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion Flex 4 */ public static const FLEX_WINDOW_DEACTIVATE:String = "flexWindowDeactivate"; /** * 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.
* * @eventType hide * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const HIDE:String = "hide"; /** * 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.
* * @eventType idle * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const IDLE:String = "idle"; /** * 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 mx.preloaders.DownloadProgressBar * @eventType initComplete * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const INIT_COMPLETE:String = "initComplete"; /** * 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 mx.preloaders.DownloadProgressBar * @eventType initProgress * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const INIT_PROGRESS:String = "initProgress"; /** * 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.
* * @eventType initialize * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const INITIALIZE:String = "initialize"; /** * 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.
* * @eventType invalid * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const INVALID:String = "invalid"; /** * 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.
* * @eventType loading * @see mx.modules.ModuleLoader * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const LOADING:String = "loading"; /** * 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.
* * @eventType mutedChange * * @langversion 3.0 * @playerversion Flash 10 * @playerversion AIR 1.5 * @productversion Flex 4 */ public static const MUTED_CHANGE:String = "mutedChange"; /** * @private */ public static const NEW_CHILD_APPLICATION:String = "newChildApplication"; /** * 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.
* * @eventType preinitialize * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const PREINITIALIZE:String = "preinitialize"; /** * @private */ public static const PRELOADER_DONE:String = "preloaderDone"; /** * @private */ public static const PRELOADER_DOC_FRAME_READY:String = "preloaderDocFrameReady"; /** * 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. * * @eventType flexEventRender * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const RENDER:String = "flexEventRender"; /** * The FlexEvent.REMOVE constant defines the value of the * type property of the event object for an remove 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.
* * @eventType remove * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const REMOVE:String = "remove"; /** * 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.
* * @eventType repeat * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const REPEAT:String = "repeat"; /** * 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.
* * @eventType repeatEnd * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const REPEAT_END:String = "repeatEnd"; /** * 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.
* * @eventType repeatStart * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const REPEAT_START:String = "repeatStart"; /** * 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.
* * @eventType deferredContentCreate * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const SELECTION_CHANGE:String = "selectionChange"; /** * 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.
* * @eventType show * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const SHOW:String = "show"; /** * 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.
* * @eventType transformChange * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const TRANSFORM_CHANGE:String = "transformChange"; /** * The FlexEvent.UPDATE_COMPLETE constant defines the value of the * type property of the event object for a updateComplete 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.
* * @eventType updateComplete * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const UPDATE_COMPLETE:String = "updateComplete"; /** * 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.
* * @eventType urlChanged * @see mx.modules.ModuleLoader * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const URL_CHANGED:String = "urlChanged"; /** * 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.
* * @eventType valid * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const VALID:String = "valid"; /** * 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.
* * @eventType valueCommit * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public static const VALUE_COMMIT:String = "valueCommit"; //-------------------------------------------------------------------------- // // Constructor // //-------------------------------------------------------------------------- /** * Constructor. * * @param type The event type; indicates the action that caused the event. * * @param bubbles Specifies whether the event can bubble up * the display list hierarchy. * * @param cancelable Specifies whether the behavior * associated with the event can be prevented. * * @langversion 3.0 * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Flex 3 */ public function FlexEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) { super(type, bubbles, cancelable); } //-------------------------------------------------------------------------- // // Overridden methods: Event // //-------------------------------------------------------------------------- /** * @private */ override public function clone():Event { return new FlexEvent(type, bubbles, cancelable); } } }