| Package | system.events |
| Class | public class ActionEvent |
| Inheritance | ActionEvent BasicEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
![]() | context : *
Determinates the optional context of this event. | BasicEvent | |
| info : *
Indicates the info object of this event. | ActionEvent | ||
![]() | target : Object [override]
Indicates the custom event target. | BasicEvent | |
![]() | timeStamp : uint [read-only]
Indicates the timestamp of the event. | BasicEvent | |
![]() | type : String [override]
Returns the type of event. | BasicEvent | |
| Method | Defined By | ||
|---|---|---|---|
ActionEvent(type:String, target:Object = null, info:* = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = 0)
Creates a new ActionEvent instance. | ActionEvent | ||
clone():Event [override]
Returns the shallow copy of this object. | ActionEvent | ||
![]() | dispatch(channel:String = null):void
Dispatch the event with the global event flow. | BasicEvent | |
![]() | toString():String [override]
Returns the string representation of this event. | BasicEvent | |
| Constant | Defined By | ||
|---|---|---|---|
| CHANGE : String = change [static]
The name of the event when the process is changed. | ActionEvent | ||
| CLEAR : String = clear [static]
The name of the event when the process is cleared. | ActionEvent | ||
| FINISH : String = finish [static]
The name of the event when the process is finished. | ActionEvent | ||
| INFO : String = info [static]
The name of the event when the process info is changed. | ActionEvent | ||
| LOOP : String = loop [static]
The name of the event when the process is looped. | ActionEvent | ||
| PAUSE : String = pause [static]
The name of the event when the process is in pause. | ActionEvent | ||
| PROGRESS : String = progress [static]
The name of the event when the process is in progress. | ActionEvent | ||
| RESUME : String = resume [static]
The name of the event when the process is resumed. | ActionEvent | ||
| START : String = start [static]
The name of the event when the process is started. | ActionEvent | ||
| STOP : String = stop [static]
The name of the event when the process is stopped. | ActionEvent | ||
| TIMEOUT : String = timeout [static]
The name of the event when the process is cleared. | ActionEvent | ||
| info | property |
info:*Indicates the info object of this event.
public function get info():* public function set info(value:any):void| ActionEvent | () | Constructor |
public function ActionEvent(type:String, target:Object = null, info:* = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = 0)Creates a new ActionEvent instance.
Parameterstype:String — the string type of the instance.
| |
target:Object (default = null) — the target of the event.
| |
info:* (default = null) — The information object of this action event.
| |
context:* (default = null) — the optional context object of the event.
| |
bubbles:Boolean (default = false) — indicates if the event is a bubbling event.
| |
cancelable:Boolean (default = false) — indicates if the event is a cancelable event.
| |
time:Number (default = 0) — this optional parameter is used in the eden deserialization to copy the timestamp value of this event.
|
| clone | () | method |
override public function clone():EventReturns the shallow copy of this object.
ReturnsEvent — the shallow copy of this object.
|
| CHANGE | Constant |
public static const CHANGE:String = changeThe name of the event when the process is changed.
| CLEAR | Constant |
public static const CLEAR:String = clearThe name of the event when the process is cleared.
| FINISH | Constant |
public static const FINISH:String = finishThe name of the event when the process is finished.
| INFO | Constant |
public static const INFO:String = infoThe name of the event when the process info is changed.
| LOOP | Constant |
public static const LOOP:String = loopThe name of the event when the process is looped.
| PAUSE | Constant |
public static const PAUSE:String = pauseThe name of the event when the process is in pause.
| PROGRESS | Constant |
public static const PROGRESS:String = progressThe name of the event when the process is in progress.
| RESUME | Constant |
public static const RESUME:String = resumeThe name of the event when the process is resumed.
| START | Constant |
public static const START:String = startThe name of the event when the process is started.
| STOP | Constant |
public static const STOP:String = stopThe name of the event when the process is stopped.
| TIMEOUT | Constant |
public static const TIMEOUT:String = timeoutThe name of the event when the process is cleared.