| Property | Defined by | ||
|---|---|---|---|
| BLUE : int = 2 [static]
| GuiButton | ||
| channel : SoundChannel [static]
| GuiButton | ||
| clickSound : Sound [static]
| GuiButton | ||
| depressed : Boolean = false | GuiButton | ||
| ORANGE : int = 4 [static]
| GuiButton | ||
| PINK : int = 3 [static]
| GuiButton | ||
| PLAY : int = 5 [static]
| GuiButton | ||
| PURPLE : int = 0 [static]
| GuiButton | ||
| RED : int = 1 [static]
| GuiButton | ||
| rolloverSound : Sound [static]
| GuiButton | ||
| X : int = 6 [static]
| GuiButton | ||
| Method | Defined by | ||
|---|---|---|---|
|
GuiButton(text:String, xPos:Number, yPos:Number, w:Number, h:Number, clickListener:Function, colour:int, format:TextFormat = null, addCheckbox:Boolean = false, checkboxSelected:Boolean = false)
| GuiButton | ||
|
blueButtonBase():BitmapAsset
[static]
| GuiButton | ||
|
blueButtonClick():BitmapAsset
[static]
| GuiButton | ||
|
blueButtonRoll():BitmapAsset
[static]
| GuiButton | ||
|
orangeButtonBase():BitmapAsset
[static]
| GuiButton | ||
|
orangeButtonClick():BitmapAsset
[static]
| GuiButton | ||
|
orangeButtonRoll():BitmapAsset
[static]
| GuiButton | ||
|
pinkButtonBase():BitmapAsset
[static]
| GuiButton | ||
|
pinkButtonClick():BitmapAsset
[static]
| GuiButton | ||
|
pinkButtonRoll():BitmapAsset
[static]
| GuiButton | ||
|
playButtonBase():BitmapAsset
[static]
| GuiButton | ||
|
playButtonClick():BitmapAsset
[static]
| GuiButton | ||
|
playButtonRoll():BitmapAsset
[static]
| GuiButton | ||
|
purpleButtonBase():BitmapAsset
[static]
| GuiButton | ||
|
purpleButtonClick():BitmapAsset
[static]
| GuiButton | ||
|
purpleButtonRoll():BitmapAsset
[static]
| GuiButton | ||
|
redButtonBase():BitmapAsset
[static]
| GuiButton | ||
|
redButtonClick():BitmapAsset
[static]
| GuiButton | ||
|
redButtonRoll():BitmapAsset
[static]
| GuiButton | ||
|
SetState(down:Boolean):void
| GuiButton | ||
|
xButtonBase():BitmapAsset
[static]
| GuiButton | ||
|
xButtonClick():BitmapAsset
[static]
| GuiButton | ||
|
xButtonRoll():BitmapAsset
[static]
| GuiButton | ||
| BLUE | property |
public static var BLUE:int = 2
| channel | property |
public static var channel:SoundChannel
| clickSound | property |
public static var clickSound:Sound
| depressed | property |
public var depressed:Boolean = false
| ORANGE | property |
public static var ORANGE:int = 4
| PINK | property |
public static var PINK:int = 3
| PLAY | property |
public static var PLAY:int = 5
| PURPLE | property |
public static var PURPLE:int = 0
| RED | property |
public static var RED:int = 1
| rolloverSound | property |
public static var rolloverSound:Sound
| X | property |
public static var X:int = 6
| GuiButton | () | constructor |
public function GuiButton(text:String, xPos:Number, yPos:Number, w:Number, h:Number, clickListener:Function, colour:int, format:TextFormat = null, addCheckbox:Boolean = false, checkboxSelected:Boolean = false)Parameters
text:String |
|
xPos:Number |
|
yPos:Number |
|
w:Number |
|
h:Number |
|
clickListener:Function |
|
colour:int |
|
format:TextFormat (default = null) |
|
addCheckbox:Boolean (default = false) |
|
checkboxSelected:Boolean (default = false) |
| blueButtonBase | () | method |
public static function blueButtonBase():BitmapAsset
Returns
BitmapAsset |
| blueButtonClick | () | method |
public static function blueButtonClick():BitmapAsset
Returns
BitmapAsset |
| blueButtonRoll | () | method |
public static function blueButtonRoll():BitmapAsset
Returns
BitmapAsset |
| orangeButtonBase | () | method |
public static function orangeButtonBase():BitmapAsset
Returns
BitmapAsset |
| orangeButtonClick | () | method |
public static function orangeButtonClick():BitmapAsset
Returns
BitmapAsset |
| orangeButtonRoll | () | method |
public static function orangeButtonRoll():BitmapAsset
Returns
BitmapAsset |
| pinkButtonBase | () | method |
public static function pinkButtonBase():BitmapAsset
Returns
BitmapAsset |
| pinkButtonClick | () | method |
public static function pinkButtonClick():BitmapAsset
Returns
BitmapAsset |
| pinkButtonRoll | () | method |
public static function pinkButtonRoll():BitmapAsset
Returns
BitmapAsset |
| playButtonBase | () | method |
public static function playButtonBase():BitmapAsset
Returns
BitmapAsset |
| playButtonClick | () | method |
public static function playButtonClick():BitmapAsset
Returns
BitmapAsset |
| playButtonRoll | () | method |
public static function playButtonRoll():BitmapAsset
Returns
BitmapAsset |
| purpleButtonBase | () | method |
public static function purpleButtonBase():BitmapAsset
Returns
BitmapAsset |
| purpleButtonClick | () | method |
public static function purpleButtonClick():BitmapAsset
Returns
BitmapAsset |
| purpleButtonRoll | () | method |
public static function purpleButtonRoll():BitmapAsset
Returns
BitmapAsset |
| redButtonBase | () | method |
public static function redButtonBase():BitmapAsset
Returns
BitmapAsset |
| redButtonClick | () | method |
public static function redButtonClick():BitmapAsset
Returns
BitmapAsset |
| redButtonRoll | () | method |
public static function redButtonRoll():BitmapAsset
Returns
BitmapAsset |
| SetState | () | method |
public function SetState(down:Boolean):voidParameters
down:Boolean |
| xButtonBase | () | method |
public static function xButtonBase():BitmapAsset
Returns
BitmapAsset |
| xButtonClick | () | method |
public static function xButtonClick():BitmapAsset
Returns
BitmapAsset |
| xButtonRoll | () | method |
public static function xButtonRoll():BitmapAsset
Returns
BitmapAsset |