PackageAndrograde
Classpublic class APIButton
InheritanceAPIButton Inheritance flash.display.Sprite

...



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined by
  
APIButton(_x:int, _y:int, display:DisplayObject, click:Function)
APIButton
Property detail
BRIGHTNESS_SELECTEDproperty
public var BRIGHTNESS_SELECTED:Number

The brightness of this button when it's selected

COLOR_BGproperty 
public var COLOR_BG:uint

The color for this button's background

COLOR_BORDERproperty 
public var COLOR_BORDER:uint

The color of this button's border

enabledproperty 
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
PADDINGXproperty 
public var PADDINGX:Number
PADDINGYproperty 
public var PADDINGY:Number
selectedproperty 
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

button_enable
Constructor detail
APIButton()constructor
public function APIButton(_x:int, _y:int, display:DisplayObject, click:Function)Parameters
_x:int
 
_y:int
 
display:DisplayObject
 
click:Function