Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Public Properties
Property | Defined By | ||
---|---|---|---|
currentState : String
The current view state. | IStateClient | ||
states : Array
The set of view state objects. | IStateClient2 | ||
transitions : Array
The set of view state transitions. | IStateClient2 |
Public Methods
Method | Defined By | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | IEventDispatcher | ||
Dispatches an event into the event flow. | IEventDispatcher | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | ||
Determines whether the specified state has been defined on this
UIComponent. | IStateClient2 | ||
Removes a listener from the EventDispatcher object. | IEventDispatcher | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher |
Property Detail
states | property |
transitions | property |
Method Detail
hasState | () | method |
public function hasState(stateName:String):Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Determines whether the specified state has been defined on this UIComponent.
Parameters
stateName:String — The name of the state being checked.
|
Boolean — Whether or not the specified state has been defined
|
Thu Dec 6 2018, 01:12 PM -08:00