Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
CustomEvent

Package | org.apache.flex.events
Class | public class CustomEvent
Inheritance | CustomEvent Event 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
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | CustomEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) Constructor. | CustomEvent
|  | cloneEvent():Event Create a copy/clone of the Event object. | Event

Public Constants
Hide Inherited Public Constants
Show Inherited Public Constants

| Constant | Defined By
--- | --- | ---
|  | CHANGE : String = change [static] | Event
|  | COMPLETE : 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.

Mon Sep 5 2016, 07:19 AM -07:00