Packagecom.alexomara.ane.AIRControl.events
Classpublic class AIRControlEvent
InheritanceAIRControlEvent Inheritance flash.events.Event

The event class for all events dispatched by the main AIRControl class.



Public Properties
 PropertyDefined By
  controller : AIRControlController
[read-only] The controller that dispatched the event.
AIRControlEvent
  controllerIndex : uint
[read-only] The index of the controller that dispatched the event.
AIRControlEvent
Public Methods
 MethodDefined By
  
AIRControlEvent(type:String, controller:AIRControlController, controllerIndex:uint)
Creates a new AIRControlEvent object.
AIRControlEvent
  
clone():Event
[override] Creates a new AIRControlEvent object with all the original properties.
AIRControlEvent
Public Constants
 ConstantDefined By
  CONTROLLER_ATTACH : String = AIRControlEvent.controllerAttach
[static] Dispatched on controller attach.
AIRControlEvent
  CONTROLLER_DETACH : String = AIRControlEvent.controllerDetach
[static] Dispatched on controller detach.
AIRControlEvent
Property Detail
controllerproperty
controller:AIRControlController  [read-only]

The controller that dispatched the event.


Implementation
    public function get controller():AIRControlController
controllerIndexproperty 
controllerIndex:uint  [read-only]

The index of the controller that dispatched the event.


Implementation
    public function get controllerIndex():uint
Constructor Detail
AIRControlEvent()Constructor
public function AIRControlEvent(type:String, controller:AIRControlController, controllerIndex:uint)

Creates a new AIRControlEvent object.

Parameters
type:String — The type of event being dispatched.
 
controller:AIRControlController — The controller that dispatched the event.
 
controllerIndex:uint — The index of the controller that dispatched the event.
Method Detail
clone()method
override public function clone():Event

Creates a new AIRControlEvent object with all the original properties.

Returns
Event — An exact duplicate of the current event.
Constant Detail
CONTROLLER_ATTACHConstant
public static const CONTROLLER_ATTACH:String = AIRControlEvent.controllerAttach

Dispatched on controller attach.

CONTROLLER_DETACHConstant 
public static const CONTROLLER_DETACH:String = AIRControlEvent.controllerDetach

Dispatched on controller detach.