| Package | com.alexomara.ane.AIRControl.events |
| Class | public class AIRControlEvent |
| Inheritance | AIRControlEvent flash.events.Event |
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| Constant | Defined By | ||
|---|---|---|---|
| CONTROLLER_ATTACH : String = AIRControlEvent.controllerAttach [static]
Dispatched on controller attach. | AIRControlEvent | ||
| CONTROLLER_DETACH : String = AIRControlEvent.controllerDetach [static]
Dispatched on controller detach. | AIRControlEvent | ||
| controller | property |
controller:AIRControlController [read-only] The controller that dispatched the event.
public function get controller():AIRControlController| controllerIndex | property |
controllerIndex:uint [read-only] The index of the controller that dispatched the event.
public function get controllerIndex():uint| AIRControlEvent | () | Constructor |
public function AIRControlEvent(type:String, controller:AIRControlController, controllerIndex:uint)Creates a new AIRControlEvent object.
Parameterstype: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.
|
| clone | () | method |
override public function clone():EventCreates a new AIRControlEvent object with all the original properties.
ReturnsEvent — An exact duplicate of the current event.
|
| CONTROLLER_ATTACH | Constant |
public static const CONTROLLER_ATTACH:String = AIRControlEvent.controllerAttachDispatched on controller attach.
| CONTROLLER_DETACH | Constant |
public static const CONTROLLER_DETACH:String = AIRControlEvent.controllerDetachDispatched on controller detach.