| Property | Defined by | ||
|---|---|---|---|
| BRIGHTNESS_SELECTED : Number
The brightness of this button when it's selected
| APIButton | ||
| COLOR_BG : uint
The color for this button's background
| APIButton | ||
| COLOR_BORDER : uint
The color of this button's border
| APIButton | ||
| enabled : Boolean
Enables/disables a button (makes it usable or not usable)
| APIButton | ||
| PADDINGX : Number | APIButton | ||
| PADDINGY : Number | APIButton | ||
| selected : Boolean
Makes a button look like it's selected / unselected
The button must be enabled first
| APIButton | ||
| Method | Defined by | ||
|---|---|---|---|
|
APIButton(_x:int, _y:int, display:DisplayObject, click:Function)
| APIButton | ||
| BRIGHTNESS_SELECTED | property |
public var BRIGHTNESS_SELECTED:NumberThe brightness of this button when it's selected
| COLOR_BG | property |
public var COLOR_BG:uintThe color for this button's background
| COLOR_BORDER | property |
public var COLOR_BORDER:uintThe color of this button's border
| enabled | property |
enabled:Boolean [read-write]Enables/disables a button (makes it usable or not usable)
Implementation public function get enabled():Boolean
public function set enabled(value:Boolean):void
| PADDINGX | property |
public var PADDINGX:Number
| PADDINGY | property |
public var PADDINGY:Number
| selected | property |
selected:Boolean [read-write]Makes a button look like it's selected / unselected The button must be enabled first
Implementation public function get selected():Boolean
public function set selected(value:Boolean):void
See also
| APIButton | () | constructor |
public function APIButton(_x:int, _y:int, display:DisplayObject, click:Function)Parameters
_x:int |
|
_y:int |
|
display:DisplayObject |
|
click:Function |