Packageandromeda.events
Classpublic class ActionEvent
InheritanceActionEvent Inheritance BasicEvent Inheritance flash.events.Event
SubclassesTransitionEvent

The ActionEvent is notify by all the objects who implements the Action interface.



Public Properties
 PropertyDefined by
 Inheritedcontext : *
Returns the optional context of this event.
BasicEvent
  info : *
[read-only] (read-only) Returns the info object of this event.
ActionEvent
 Inheritedtarget : Object
Returns the event target.
BasicEvent
 InheritedtimeStamp : Number
Returns the timestamp of the event.
BasicEvent
 Inheritedtype : String
Returns the type of event.
BasicEvent
Public Methods
 MethodDefined by
  
ActionEvent(type:String, target:Object = null, info:Boolean = null, context:Boolean = null, bubbles:Number = false, cancelable:* = false, time:* = 0)
Creates a new ActionEvent instance.
ActionEvent
  
clone():Event
Returns the shallow copy of this object.
ActionEvent
 Inherited
dispatch(channel:String = null):void
Dispatch the event with the global event flow.
BasicEvent
 Inherited
Returns the optional context of this event.
BasicEvent
  
getInfo():*
Returns the info object of this event.
ActionEvent
 Inherited
getTarget():Object
Returns the event target.
BasicEvent
 Inherited
getTimeStamp():Number
Returns the timestamp of the event.
BasicEvent
 Inherited
getType():String
Returns the type of event.
BasicEvent
 Inherited
setContext(context:*):void
Sets the optional context object of this event.
BasicEvent
  
setInfo(oInfo:*):void
Sets the info object of this event.
ActionEvent
 Inherited
setTarget(target:Object):void
Sets the event target.
BasicEvent
 Inherited
setType(type:String):void
Sets the event type of this event.
BasicEvent
 Inherited
toString():String
Returns the string representation of this event.
BasicEvent
Protected Methods
 MethodDefined by
 Inherited
setTimeStamp(time:Number):void
Sets the timestamp of the event (used this method only in internal in the Event class).
BasicEvent
Public Constants
 ConstantDefined by
  CHANGE : String = "onChanged"
[static] The name of the event when the process is changed.
ActionEvent
  CLEAR : String = "onCleared"
[static] The name of the event when the process is cleared.
ActionEvent
  FINISH : String = "onFinished"
[static] The name of the event when the process is finished.
ActionEvent
  INFO : String = "onInfo"
[static] The name of the event when the process info is changed.
ActionEvent
  LOOP : String = "onLooped"
[static] The name of the event when the process is looped.
ActionEvent
  PAUSE : String = "onPaused"
[static] The name of the event when the process is in pause.
ActionEvent
  PROGRESS : String = "onProgress"
[static] The name of the event when the process is in progress.
ActionEvent
  RESUME : String = "onResumed"
[static] The name of the event when the process is resumed.
ActionEvent
  START : String = "onStarted"
[static] The name of the event when the process is started.
ActionEvent
  STOP : String = "onStopped"
[static] The name of the event when the process is stopped.
ActionEvent
  TIMEOUT : String = "onTimeOut"
[static] The name of the event when the process is cleared.
ActionEvent
Property detail
infoproperty
info:*  [read-only]

(read-only) Returns the info object of this event.

Implementation
    public function get info():*
Constructor detail
ActionEvent()constructor
public function ActionEvent(type:String, target:Object = null, info:Boolean = null, context:Boolean = null, bubbles:Number = false, cancelable:* = false, time:* = 0)

Creates a new ActionEvent instance.

Parameters
type:String — the string type of the instance.
 
target:Object (default = null) — the target of the event.
 
info:Boolean (default = null) — The information object of this event.
 
context:Boolean (default = null) — the optional context object of the event.
 
bubbles:Number (default = false) — indicates if the event is a bubbling event.
 
cancelable:* (default = false) — indicates if the event is a cancelable event.
 
time:* (default = 0) — this optional parameter is used in the eden deserialization to copy the timestamp value of this event.
Method detail
clone()method
public override function clone():Event

Returns the shallow copy of this object.

Returns
Event — the shallow copy of this object.
getInfo()method 
public function getInfo():*

Returns the info object of this event.

Returns
* — the info object of this event.
setInfo()method 
public function setInfo(oInfo:*):void

Sets the info object of this event.

Parameters
oInfo:*
Constant detail
CHANGEconstant
public static const CHANGE:String = "onChanged"

The name of the event when the process is changed.

CLEARconstant 
public static const CLEAR:String = "onCleared"

The name of the event when the process is cleared.

FINISHconstant 
public static const FINISH:String = "onFinished"

The name of the event when the process is finished.

INFOconstant 
public static const INFO:String = "onInfo"

The name of the event when the process info is changed.

LOOPconstant 
public static const LOOP:String = "onLooped"

The name of the event when the process is looped.

PAUSEconstant 
public static const PAUSE:String = "onPaused"

The name of the event when the process is in pause.

PROGRESSconstant 
public static const PROGRESS:String = "onProgress"

The name of the event when the process is in progress.

RESUMEconstant 
public static const RESUME:String = "onResumed"

The name of the event when the process is resumed.

STARTconstant 
public static const START:String = "onStarted"

The name of the event when the process is started.

STOPconstant 
public static const STOP:String = "onStopped"

The name of the event when the process is stopped.

TIMEOUTconstant 
public static const TIMEOUT:String = "onTimeOut"

The name of the event when the process is cleared.