Packageorg.apache.flex.events
Classpublic class Event
InheritanceEvent Inheritance flash.events.Event
Subclasses CustomEvent, DetailEvent, ProgressEvent, ValueChangeEvent, ValueEvent

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

This class simply wraps flash.events.Event so that no flash packages are needed on the JS side. At runtime, this class is not always the event object that is dispatched. In most cases we are dispatching DOMEvents instead, so as long as you don't actually check the typeof(event) it will work



Public Methods
 MethodDefined By
  
Event(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
Event
  
Create a copy/clone of the Event object.
Event
Public Constants
 ConstantDefined By
  CHANGE : String = change
[static]
Event
  COMPLETE : String = complete
[static]
Event
Constructor Detail
Event()Constructor
public function Event(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Constructor.

Parameters
type:String — The name of the event.
 
bubbles:Boolean (default = false) — Whether the event bubbles.
 
cancelable:Boolean (default = false) — Whether the event can be canceled.
Method Detail
cloneEvent()method
public function cloneEvent():Event

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Create a copy/clone of the Event object.

Returns
Event
Constant Detail
CHANGEConstant
public static const CHANGE:String = change

COMPLETEConstant 
public static const COMPLETE:String = complete