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

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

The class for AIRControlController button 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
--- | --- | ---
|  | down : Boolean The current state of the button, true if down, false if up. | AIRControlControllerButton

Public Methods

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

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | AIRControlControllerEvent.buttonChange | Dispatched on button state change. | AIRControlControllerButton

Property Detail

down | property

`down:Boolean`

The current state of the button, true if down, false if up.

Implementation
`public function get down():Boolean`
`public function set down(value:Boolean):void`
Constructor Detail

AIRControlControllerButton | () | Constructor

`public function AIRControlControllerButton()`

Creates a new AIRControlControllerButton object.

Event Detail

AIRControlControllerEvent.buttonChange | Event

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

Dispatched on button state change.

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