Packagesystem.events
Classpublic class ActionEvent
InheritanceActionEvent Inheritance BasicEvent Inheritance flash.events.Event

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



Public Properties
 PropertyDefined By
 Inheritedcontext : *
Determinates the optional context of this event.
BasicEvent
  info : *
Indicates the info object of this event.
ActionEvent
 Inheritedtarget : Object
[override] Indicates the custom event target.
BasicEvent
 InheritedtimeStamp : uint
[read-only] Indicates the timestamp of the event.
BasicEvent
 Inheritedtype : String
[override] Returns the type of event.
BasicEvent
Public Methods
 MethodDefined 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
 Inherited
dispatch(channel:String = null):void
Dispatch the event with the global event flow.
BasicEvent
 Inherited
toString():String
[override] Returns the string representation of this event.
BasicEvent
Protected Methods
 MethodDefined By
 Inherited
setTimeStamp(time:uint = 0):void
Sets the timestamp of the event (used this method only in internal in the Event class).
BasicEvent
Public Constants
 ConstantDefined 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
Property Detail
infoproperty
info:*

Indicates the info object of this event.


Implementation
    public function get info():*
    public function set info(value:any):void
Constructor Detail
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.

Parameters
type: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.
Method Detail
clone()method
override public function clone():Event

Returns the shallow copy of this object.

Returns
Event — the shallow copy of this object.
Constant Detail
CHANGEConstant
public static const CHANGE:String = change

The name of the event when the process is changed.

CLEARConstant 
public static const CLEAR:String = clear

The name of the event when the process is cleared.

FINISHConstant 
public static const FINISH:String = finish

The name of the event when the process is finished.

INFOConstant 
public static const INFO:String = info

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

LOOPConstant 
public static const LOOP:String = loop

The name of the event when the process is looped.

PAUSEConstant 
public static const PAUSE:String = pause

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

PROGRESSConstant 
public static const PROGRESS:String = progress

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

RESUMEConstant 
public static const RESUME:String = resume

The name of the event when the process is resumed.

STARTConstant 
public static const START:String = start

The name of the event when the process is started.

STOPConstant 
public static const STOP:String = stop

The name of the event when the process is stopped.

TIMEOUTConstant 
public static const TIMEOUT:String = timeout

The name of the event when the process is cleared.