Referenshandbok för ActionScript® 3.0 i Adobe® Flash®-plattformen
Hem  |  Dölj paket och klasslista |  Paket  |  Klasser  |  Nyheter  |  Index  |  Bilagor  |  Varför på engelska?
Filter: Hämtar data från servern ...
Hämtar data från servern ...
mx.events 

FlexEvent  - AS3 Flex

Paketmx.events
Klasspublic class FlexEvent
ArvFlexEvent Inheritance Event Inheritance Object
Underklasser ActiveContentEvent, ActiveDataEvent, AssetActionEvent, AssetEvent, AssetFocusEvent, LetterDataChangeEvent, LibraryEvent, LibraryInsertEvent, TextEditEvent

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: Flash Player 9, AIR 1.1

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



Publika egenskaper
 EgenskapDefinieras med
 Inheritedbubbles : Boolean
[skrivskyddad] indikerar om händelsen är en bubblande händelse.
Event
 Inheritedcancelable : Boolean
[skrivskyddad] Indikerar om beteendet som är kopplat till händelsen kan förhindras.
Event
 Inheritedconstructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans.
Object
 InheritedcurrentTarget : Object
[skrivskyddad] Det objekt som aktivt behandlar Event-objektet med en händelseavlyssnare.
Event
 InheritedeventPhase : uint
[skrivskyddad] Den nuvarande fasen i händelseflödet.
Event
 Inheritedtarget : Object
[skrivskyddad] Händelsens mål.
Event
 Inheritedtype : String
[skrivskyddad] Händelsens typ.
Event
Publika metoder
 MetodDefinieras med
  
FlexEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
FlexEvent
 Inherited
Skapar ett duplikat av en instans av en Event-underklass.
Event
 Inherited
formatToString(className:String, ... arguments):String
Ett verktyg som används för att implementera metoden toString() i de anpassade klasserna ActionScript 3.0.
Event
 Inherited
Anger om det finns en egenskap angiven för ett objekt.
Object
 Inherited
Kontrollerar om preventDefault()-metoden har anropats för händelsen.
Event
 Inherited
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter.
Object
 Inherited
Avbryter en händelses standardbeteende om det beteendet kan avbrytas.
Event
 Inherited
Anger om den angivna egenskapen finns och är uppräkningsbar.
Object
 Inherited
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder.
Object
 Inherited
Förhindrar behandling av händelsehanterare i den aktuella noden och alla noder som följer den aktuella noden i händelseflödet.
Event
 Inherited
Förhindrar behandling av händelsehanterare i noder som följer den aktuella noden i händelseflödet.
Event
 Inherited
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner.
Object
 Inherited
Returnerar en sträng som innehåller alla egenskaper i Event-objektet.
Event
 Inherited
Returnerar det angivna objektets primitiva värde.
Object
Publika konstanter
 KonstantDefinieras med
  ADD : String = "add"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] The FlexEvent.CHANGE_START constant defines the value of the type property of the event object for a changeStart event.
FlexEvent
  CHANGING : String = "changing"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] The FlexEvent.DATA_CHANGE constant defines the value of the type property of the event object for a dataChange event.
FlexEvent
  ENTER : String = "enter"
[statisk] The FlexEvent.ENTER constant defines the value of the type property of the event object for a enter event.
FlexEvent
  ENTER_FRAME : String = "flexEventEnterFrame"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] The FlexEvent.HIDE constant defines the value of the type property of the event object for a hide event.
FlexEvent
  IDLE : String = "idle"
[statisk] The FlexEvent.IDLE constant defines the value of the type property of the event object for a idle event.
FlexEvent
  INIT_COMPLETE : String = "initComplete"
[statisk] Dispatched when a Flex application finishes initialization.
FlexEvent
  INITIALIZE : String = "initialize"
[statisk] The FlexEvent.INITIALIZE constant defines the value of the type property of the event object for a initialize event.
FlexEvent
  INIT_PROGRESS : String = "initProgress"
[statisk] Dispatched when the Flex application completes an initialization phase, as defined by calls to the measure(), commitProperties(), or updateDisplayList() methods.
FlexEvent
  INVALID : String = "invalid"
[statisk] The FlexEvent.INVALID constant defines the value of the type property of the event object for a invalid event.
FlexEvent
  LOADING : String = "loading"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] The FlexEvent.PREINITIALIZE constant defines the value of the type property of the event object for a preinitialize event.
FlexEvent
  READY : String = "ready"
[statisk] The FlexEvent.READY constant defines the value of the type property of the event object for a ready event.
FlexEvent
  REMOVE : String = "remove"
[statisk] The FlexEvent.REMOVE constant defines the value of the type property of the event object for an remove event.
FlexEvent
  RENDER : String = "flexEventRender"
[statisk] The FlexEvent.RENDER constant defines the value of the type property of the event object for an Event.RENDER event.
FlexEvent
  REPEAT : String = "repeat"
[statisk] The FlexEvent.REPEAT constant defines the value of the type property of the event object for a repeat event.
FlexEvent
  REPEAT_END : String = "repeatEnd"
[statisk] 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"
[statisk] 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"
[statisk] The FlexEvent.SELECTION_CHANGE constant defines the value of the type property of the event object for a selectionChange event.
FlexEvent
  SHOW : String = "show"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] 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"
[statisk] The FlexEvent.URL_CHANGED constant defines the value of the type property of the event object for a urlChanged event.
FlexEvent
  VALID : String = "valid"
[statisk] The FlexEvent.VALID constant defines the value of the type property of the event object for a valid event.
FlexEvent
  VALUE_COMMIT : String = "valueCommit"
[statisk] The FlexEvent.VALUE_COMMIT constant defines the value of the type property of the event object for a valueCommit event.
FlexEvent
Konstruktordetaljer

FlexEvent

()Konstruktor
public function FlexEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: Flash Player 9, AIR 1.1

Constructor.

Parametrar
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.
Konstantdetaljer

ADD

Konstant
public static const ADD:String = "add"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_MANAGER

Konstant 
public static const ADD_FOCUS_MANAGER:String = "addFocusManager"

Språkversion: ActionScript 3.0
Produktversion: Flex 4
Körningsmiljöversioner: 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_COMPLETE

Konstant 
public static const APPLICATION_COMPLETE:String = "applicationComplete"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_PRESSED

Konstant 
public static const BACK_KEY_PRESSED:String = "backKeyPressed"

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: 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_DOWN

Konstant 
public static const BUTTON_DOWN:String = "buttonDown"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_END

Konstant 
public static const CHANGE_END:String = "changeEnd"

Språkversion: ActionScript 3.0
Produktversion: Flex 4
Körningsmiljöversioner: 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_START

Konstant 
public static const CHANGE_START:String = "changeStart"

Språkversion: ActionScript 3.0
Produktversion: Flex 4
Körningsmiljöversioner: 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.

CHANGING

Konstant 
public static const CHANGING:String = "changing"

Språkversion: ActionScript 3.0
Produktversion: Flex 4
Körningsmiljöversioner: 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_COMPLETE

Konstant 
public static const CONTENT_CREATION_COMPLETE:String = "contentCreationComplete"

Språkversion: ActionScript 3.0
Produktversion: Flex 4
Körningsmiljöversioner: 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_COMPLETE

Konstant 
public static const CREATION_COMPLETE:String = "creationComplete"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_UPDATE

Konstant 
public static const CURSOR_UPDATE:String = "cursorUpdate"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_CHANGE

Konstant 
public static const DATA_CHANGE:String = "dataChange"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.

ENTER

Konstant 
public static const ENTER:String = "enter"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_FRAME

Konstant 
public static const ENTER_FRAME:String = "flexEventEnterFrame"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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

Konstant 
public static const ENTER_STATE:String = "enterState"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_STATE

Konstant 
public static const EXIT_STATE:String = "exitState"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_ACTIVATE

Konstant 
public static const FLEX_WINDOW_ACTIVATE:String = "flexWindowActivate"

Språkversion: ActionScript 3.0
Produktversion: Flex 4
Körningsmiljöversioner: 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_DEACTIVATE

Konstant 
public static const FLEX_WINDOW_DEACTIVATE:String = "flexWindowDeactivate"

Språkversion: ActionScript 3.0
Produktversion: Flex 4
Körningsmiljöversioner: 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.

HIDE

Konstant 
public static const HIDE:String = "hide"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.

IDLE

Konstant 
public static const IDLE:String = "idle"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_COMPLETE

Konstant 
public static const INIT_COMPLETE:String = "initComplete"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.

Relaterade API-element

INIT_PROGRESS

Konstant 
public static const INIT_PROGRESS:String = "initProgress"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.

Relaterade API-element

INITIALIZE

Konstant 
public static const INITIALIZE:String = "initialize"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.

INVALID

Konstant 
public static const INVALID:String = "invalid"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.

LOADING

Konstant 
public static const LOADING:String = "loading"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.

Relaterade API-element

MENU_KEY_PRESSED

Konstant 
public static const MENU_KEY_PRESSED:String = "menuKeyPressed"

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: 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_CHANGE

Konstant 
public static const MUTED_CHANGE:String = "mutedChange"

Språkversion: ActionScript 3.0
Produktversion: Flex 4
Körningsmiljöversioner: 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_LOADING

Konstant 
public static const NAVIGATOR_STATE_LOADING:String = "navigatorStateLoading"

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: 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_SAVING

Konstant 
public static const NAVIGATOR_STATE_SAVING:String = "navigatorStateSaving"

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: 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.

PREINITIALIZE

Konstant 
public static const PREINITIALIZE:String = "preinitialize"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.

READY

Konstant 
public static const READY:String = "ready"

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: 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

REMOVE

Konstant 
public static const REMOVE:String = "remove"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.

RENDER

Konstant 
public static const RENDER:String = "flexEventRender"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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

Konstant 
public static const REPEAT:String = "repeat"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_END

Konstant 
public static const REPEAT_END:String = "repeatEnd"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_START

Konstant 
public static const REPEAT_START:String = "repeatStart"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_CHANGE

Konstant 
public static const SELECTION_CHANGE:String = "selectionChange"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.

SHOW

Konstant 
public static const SHOW:String = "show"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_COMPLETE

Konstant 
public static const STATE_CHANGE_COMPLETE:String = "stateChangeComplete"

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: 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_INTERRUPTED

Konstant 
public static const STATE_CHANGE_INTERRUPTED:String = "stateChangeInterrupted"

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: 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_CHANGE

Konstant 
public static const TRANSFORM_CHANGE:String = "transformChange"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_END

Konstant 
public static const TRANSITION_END:String = "transitionEnd"

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: 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_START

Konstant 
public static const TRANSITION_START:String = "transitionStart"

Språkversion: ActionScript 3.0
Produktversion: Flex 4.5
Körningsmiljöversioner: 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_COMPLETE

Konstant 
public static const UPDATE_COMPLETE:String = "updateComplete"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_CHANGED

Konstant 
public static const URL_CHANGED:String = "urlChanged"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.

Relaterade API-element

VALID

Konstant 
public static const VALID:String = "valid"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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_COMMIT

Konstant 
public static const VALUE_COMMIT:String = "valueCommit"

Språkversion: ActionScript 3.0
Produktversion: Flex 3
Körningsmiljöversioner: 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.





[ X ]Varför på engelska?
Innehåll i Referenshandbok för ActionScript 3.0 i Adobe Flash-plattformen är på engelska

Det är inte alla delar av Referenshandbok för ActionScript 3.0 i Adobe Flash-plattformen som översätts till alla språk. Om ett språkelement inte översätts visas det på engelska. Klassen ga.controls.HelpBox översätts till exempel inte till något språk. I den svenska versionen av referenshandboken visas därför klassen ga.controls.HelpBox på engelska.