public var state:String
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 2.5 |
The current state of the application.
public function StateChangeEvent(type:String, state:String, bubbles:Boolean = true, cancelable:Boolean = false)
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 2.5 |
Creates a StateChangeEvent
event.
Parameters | type:String |
|
| state:String |
|
| bubbles:Boolean (default = true )
|
|
| cancelable:Boolean (default = false )
|
override public final function clone():Event
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 2.5 |
Duplicates an instance of a StateChangeEvent
class.
Returns a new StateChangeEvent
object that is a copy of the original instance of
the StateChangeEvent
object. You do not normally call clone()
; the
EventDispatcher
class calls it automatically when you redispatch an event—that is,
when you call dispatchEvent(event)
from a handler that is handling event.
The new StateChangeEvent
object includes all the properties of the original.
Returns | Event — A new StateChangeEvent object that is identical to the original.
|
override public final function toString():String
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 2.5 |
Returns a String
containing all the properties of the event, StateChangeEvent
.
Returnspublic static const STATE_CHANGE:String = stateChange
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 2.5 |
The StateChangeEvent.STATE_CHANGE
constant defines the value of the type property
of an stateChange
event object.
This event is dispatched when an application activity state change has occured.
This event has the following properties in addition to standard event properties:
Property | Value |
---|
state | String value representing the current application activity state. |
See also