| Package | spark.components.supportClasses |
| Class | public class InteractionStateDetector |
| Inheritance | InteractionStateDetector flash.events.EventDispatcher |
| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.5 |
| Runtime Versions : | Flash Player 10.1, AIR 2.5 |
As the state changes, if the transition should play, the playTransitions.
See also
| Property | Defined By | ||
|---|---|---|---|
| state : String [read-only]
Returns the state of the component
Possible values are:
InteractionState.UP
InteractionState.DOWN
InteractionState.OVER
| InteractionStateDetector | ||
| Method | Defined By | ||
|---|---|---|---|
InteractionStateDetector(component:UIComponent)
Constructor
| InteractionStateDetector | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched after the state has changed. | InteractionStateDetector | |||
| state | property |
state:String [read-only] | Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.5 |
| Runtime Versions : | Flash Player 10.1, AIR 2.5 |
Returns the state of the component
Possible values are:
This property can be used as the source for data binding.
public function get state():StringSee also
| InteractionStateDetector | () | Constructor |
public function InteractionStateDetector(component:UIComponent)| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.5 |
| Runtime Versions : | Flash Player 10.1, AIR 2.5 |
Constructor
Parameterscomponent:UIComponent — The UIComponent to detect the up/over/down state on.
The event listeners are attached to this object.
|
| change | Event |
flash.events.Eventflash.events.Event.CHANGE| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.5 |
| Runtime Versions : | Flash Player 10.1, AIR 2.5 |
Dispatched after the state has changed.