AIRControl - Adobe AIR Game Controller Native Extension - API Documentation | All Packages | All Classes | Index | Frames No Frames |
AIRControlControllerAxis

Package | com.alexomara.ane.AIRControl.controllers.elements
Class | public class AIRControlControllerAxis
Inheritance | AIRControlControllerAxis AIRControlControllerElement flash.events.EventDispatcher

The class for AIRControlController axis elements.

This class is used for controller elements which are created automatically and should not be instantiated manually.

See also

com.alexomara.ane.AIRControl.controllers.AIRControlController

Public Properties

| Property | Defined By
--- | --- | ---
|  | position : Number The current position of the axis as a floating point number from -1 to 1. | AIRControlControllerAxis

Public Methods

| Method | Defined By
--- | --- | ---
|  | AIRControlControllerAxis() Creates a new AIRControlControllerAxis object. | AIRControlControllerAxis

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | AIRControlControllerEvent.axisChange | Dispatched on axis state change. | AIRControlControllerAxis

Property Detail

position | property

`position:Number`

The current position of the axis as a floating point number from -1 to 1.

Implementation
`public function get position():Number`
`public function set position(value:Number):void`
Constructor Detail

AIRControlControllerAxis | () | Constructor

`public function AIRControlControllerAxis()`

Creates a new AIRControlControllerAxis object.

Event Detail

AIRControlControllerEvent.axisChange | Event

Event Object Type: `com.alexomara.ane.AIRControl.events.AIRControlControllerEvent`
AIRControlControllerEvent.type property = `com.alexomara.ane.AIRControl.events.AIRControlControllerEvent`

Dispatched on axis state change.

Mon Jul 22 2013, 09:56 PM -04:00