套件 | mx.events |
類別 | public class FlexEvent |
繼承 | FlexEvent Event Object |
子類別 | ActiveContentEvent, ActiveDataEvent, AssetActionEvent, AssetEvent, AssetFocusEvent, LetterDataChangeEvent, LibraryEvent, LibraryInsertEvent, TextEditEvent |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
方法 | 定義自 | ||
---|---|---|---|
Constructor. | FlexEvent | ||
複製 Event 子類別的實體。 | Event | ||
公用程式函數,可用來實作自訂 ActionScript 3.0 Event 類別中的 toString() 方法。 | Event | ||
指出物件是否有已定義的指定屬性。 | Object | ||
檢查是否已經對事件呼叫 preventDefault() 方法。 | Event | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
如果可以取消事件的預設行為指令,則取消該行為指令。 | Event | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
避免處理事件流程中,目前節點以及任何後續節點中的任何事件偵聽程式。 | Event | ||
避免處理接續在事件流程中的目前節點之後,後續節點中的任何事件偵聽程式。 | Event | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
傳回包含 Event 物件所有屬性的字串。 | Event | ||
會傳回指定之物件的基本值。 | Object |
常數 | 定義自 | ||
---|---|---|---|
ADD : String = "add" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
The FlexEvent.CHANGE_START constant defines the value of the
type property of the event object for a changeStart event. | FlexEvent | ||
CHANGING : String = "changing" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
The FlexEvent.DATA_CHANGE constant defines the value of the
type property of the event object for a dataChange event. | FlexEvent | ||
ENTER : String = "enter" [靜態]
The FlexEvent.ENTER constant defines the value of the
type property of the event object for a enter event. | FlexEvent | ||
ENTER_FRAME : String = "flexEventEnterFrame" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
The FlexEvent.HIDE constant defines the value of the
type property of the event object for a hide event. | FlexEvent | ||
IDLE : String = "idle" [靜態]
The FlexEvent.IDLE constant defines the value of the
type property of the event object for a idle event. | FlexEvent | ||
INIT_COMPLETE : String = "initComplete" [靜態]
Dispatched when a Flex application finishes initialization. | FlexEvent | ||
INITIALIZE : String = "initialize" [靜態]
The FlexEvent.INITIALIZE constant defines the value of the
type property of the event object for a initialize event. | FlexEvent | ||
INIT_PROGRESS : String = "initProgress" [靜態]
Dispatched when the Flex application completes an initialization phase,
as defined by calls to the measure(), commitProperties(),
or updateDisplayList() methods. | FlexEvent | ||
INVALID : String = "invalid" [靜態]
The FlexEvent.INVALID constant defines the value of the
type property of the event object for a invalid event. | FlexEvent | ||
LOADING : String = "loading" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
The FlexEvent.PREINITIALIZE constant defines the value of the
type property of the event object for a preinitialize event. | FlexEvent | ||
READY : String = "ready" [靜態]
The FlexEvent.READY constant defines the value of the
type property of the event object for a ready
event. | FlexEvent | ||
REMOVE : String = "remove" [靜態]
The FlexEvent.REMOVE constant defines the value of the
type property of the event object for an remove event. | FlexEvent | ||
RENDER : String = "flexEventRender" [靜態]
The FlexEvent.RENDER constant defines the value of the
type property of the event object for an Event.RENDER event. | FlexEvent | ||
REPEAT : String = "repeat" [靜態]
The FlexEvent.REPEAT constant defines the value of the
type property of the event object for a repeat event. | FlexEvent | ||
REPEAT_END : String = "repeatEnd" [靜態]
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" [靜態]
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" [靜態]
The FlexEvent.SELECTION_CHANGE constant defines the value of the
type property of the event object for a selectionChange event. | FlexEvent | ||
SHOW : String = "show" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
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" [靜態]
The FlexEvent.URL_CHANGED constant defines the value of the
type property of the event object for a urlChanged event. | FlexEvent | ||
VALID : String = "valid" [靜態]
The FlexEvent.VALID constant defines the value of the
type property of the event object for a valid event. | FlexEvent | ||
VALUE_COMMIT : String = "valueCommit" [靜態]
The FlexEvent.VALUE_COMMIT constant defines the value of the
type property of the event object for a valueCommit
event. | FlexEvent |
FlexEvent | () | 建構函式 |
public function FlexEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructor.
參數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.
|
ADD | 常數 |
public static const ADD:String = "add"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const ADD_FOCUS_MANAGER:String = "addFocusManager"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | 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 | 常數 |
public static const APPLICATION_COMPLETE:String = "applicationComplete"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const BACK_KEY_PRESSED:String = "backKeyPressed"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | 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 | 常數 |
public static const BUTTON_DOWN:String = "buttonDown"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const CHANGE_END:String = "changeEnd"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | 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 | 常數 |
public static const CHANGE_START:String = "changeStart"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | 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 | 常數 |
public static const CHANGING:String = "changing"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | 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 | 常數 |
public static const CONTENT_CREATION_COMPLETE:String = "contentCreationComplete"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | 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 | 常數 |
public static const CREATION_COMPLETE:String = "creationComplete"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const CURSOR_UPDATE:String = "cursorUpdate"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const DATA_CHANGE:String = "dataChange"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const ENTER:String = "enter"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const ENTER_FRAME:String = "flexEventEnterFrame"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const ENTER_STATE:String = "enterState"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const EXIT_STATE:String = "exitState"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const FLEX_WINDOW_ACTIVATE:String = "flexWindowActivate"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | 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 | 常數 |
public static const FLEX_WINDOW_DEACTIVATE:String = "flexWindowDeactivate"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | 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 | 常數 |
public static const HIDE:String = "hide"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const IDLE:String = "idle"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const INIT_COMPLETE:String = "initComplete"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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. |
相關 API 元素
INIT_PROGRESS | 常數 |
public static const INIT_PROGRESS:String = "initProgress"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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. |
相關 API 元素
INITIALIZE | 常數 |
public static const INITIALIZE:String = "initialize"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const INVALID:String = "invalid"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const LOADING:String = "loading"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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. |
相關 API 元素
MENU_KEY_PRESSED | 常數 |
public static const MENU_KEY_PRESSED:String = "menuKeyPressed"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | 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 | 常數 |
public static const MUTED_CHANGE:String = "mutedChange"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | 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 | 常數 |
public static const NAVIGATOR_STATE_LOADING:String = "navigatorStateLoading"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | 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 | 常數 |
public static const NAVIGATOR_STATE_SAVING:String = "navigatorStateSaving"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | 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 | 常數 |
public static const PREINITIALIZE:String = "preinitialize"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const READY:String = "ready"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | 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 | 常數 |
public static const REMOVE:String = "remove"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const RENDER:String = "flexEventRender"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const REPEAT:String = "repeat"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const REPEAT_END:String = "repeatEnd"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const REPEAT_START:String = "repeatStart"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const SELECTION_CHANGE:String = "selectionChange"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const SHOW:String = "show"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const STATE_CHANGE_COMPLETE:String = "stateChangeComplete"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | 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 | 常數 |
public static const STATE_CHANGE_INTERRUPTED:String = "stateChangeInterrupted"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | 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 | 常數 |
public static const TRANSFORM_CHANGE:String = "transformChange"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const TRANSITION_END:String = "transitionEnd"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | 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 | 常數 |
public static const TRANSITION_START:String = "transitionStart"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | 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 | 常數 |
public static const UPDATE_COMPLETE:String = "updateComplete"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const URL_CHANGED:String = "urlChanged"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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. |
相關 API 元素
VALID | 常數 |
public static const VALID:String = "valid"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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 | 常數 |
public static const VALUE_COMMIT:String = "valueCommit"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | 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. |
Tue Jun 12 2018, 03:47 PM Z