Packageorg.apache.flex.events
Classpublic class CustomEvent
InheritanceCustomEvent Inheritance Event Inheritance flash.events.Event
Subclasses ItemAddedEvent, ItemClickedEvent, ItemRemovedEvent

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

MXML auto-imports flash.events.Event which then requires full qualification to use org.apache.flex.events.Event. Use CustomEvent to skip all that extra typing.



Public Methods
 MethodDefined By
  
CustomEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
CustomEvent
 Inherited
Create a copy/clone of the Event object.
Event
Public Constants
 ConstantDefined By
 InheritedCHANGE : String = change
[static]
Event
 InheritedCOMPLETE : String = complete
[static]
Event
Constructor Detail
CustomEvent()Constructor
public function CustomEvent(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.