![]() | ![]() |


Definition at line 10 of file Button.as.
Public Member Functions | |
| function get | Enabled () |
| function set | Enabled (aValue:Boolean) |
| function get | Selected () |
| function set | Selected (aValue:Boolean) |
| function get | TrackClick () |
| function set | TrackClick (aValue:Boolean) |
| function | playRollOver () |
| function | playRollOut () |
| function | click () |
| function | disable () |
| function | enable () |
| function | select () |
| function | unselect () |
Package Functions | |
| function | Button () |
| function | onRelease () |
| function | onRollOver () |
| function | onDragOver () |
| function | onRollOut () |
| function | onDragOut () |
| function | onPress () |
| function | onOver () |
Private Member Functions | |
| function | playLabel (aLabel:String) |
| function | stopPlaying () |
| function | getLabelForCurrentState () |
| function | startTransitonToState (aNewButtonState:String, aNewMouseState:String) |
Private Attributes | |
| var | mLastStopedFrame:Number |
| var | mLastPlayedLabel:String |
| var | mButtonState:String |
| var | mMouseState:String |
| var | mEnabled:Boolean |
| var | mSelected: Boolean |
| var | mTrackClick: Boolean = true |
Static Private Attributes | |
| static var | OFF:String = "off" |
| static var | ON:String = "on" |
| static var | OFF_DISABLE:String = "offDisable" |
| static var | ON_DISABLE:String = "onDisable" |
| static var | ROLL:String = "Roll" |
| static var | DOWN:String = "Down" |
| static var | NORMAL:String = "" |
| function set gugga.components.Button.Enabled | ( | aValue:Boolean | ) |
| function set gugga.components.Button.Selected | ( | aValue:Boolean | ) |
| function set gugga.components.Button.TrackClick | ( | aValue:Boolean | ) |
| function gugga.components.Button.onRelease | ( | ) | [package] |
Reimplemented in gugga.components.CommandButton, gugga.components.LinkButton, and gugga.navigation.NavigationButton.
Definition at line 80 of file Button.as.
References gugga.common.UIComponentEx.dispatchEvent().
Here is the call graph for this function:

| function gugga.components.Button.onRollOver | ( | ) | [package] |
Reimplemented in gugga.navigation.DropDownMenuItemTitle.
Definition at line 96 of file Button.as.
References gugga.common.UIComponentEx.dispatchEvent().
Here is the call graph for this function:

| function gugga.components.Button.onRollOut | ( | ) | [package] |
Reimplemented in gugga.navigation.DropDownMenuItemTitle.
Definition at line 107 of file Button.as.
References gugga.common.UIComponentEx.dispatchEvent().
Here is the call graph for this function:

| function gugga.components.Button.onPress | ( | ) | [package] |
Definition at line 118 of file Button.as.
References gugga.common.UIComponentEx.dispatchEvent().
Here is the call graph for this function:

| function gugga.components.Button.playLabel | ( | aLabel:String | ) | [private] |
The reasnos why the movie doesn't play are: 1) There is no label aLabel 2) mLastStopedFrame is equal to the aLabel frame. This solves the problem with gotoAndPlay function which works as following: If gotoAndPlay is called for current frame it doesn't execute the source code in timeline for this frame and that's why if there is stopPlaying() on it the movie will not stopPlaying().
| function gugga.components.Button.stopPlaying | ( | ) | [private] |
| function gugga.components.Button.getLabelForCurrentState | ( | ) | [private] |
| function gugga.components.Button.startTransitonToState | ( | aNewButtonState:String | , | |
| aNewMouseState:String | ||||
| ) | [private] |
var gugga.components.Button.OFF [static, private] |
var gugga.components.Button.ON [static, private] |
var gugga.components.Button.OFF_DISABLE [static, private] |
var gugga.components.Button.ON_DISABLE [static, private] |
var gugga.components.Button.ROLL [static, private] |
var gugga.components.Button.DOWN [static, private] |
var gugga.components.Button.NORMAL [static, private] |
var gugga.components.Button.mLastStopedFrame [private] |
var gugga.components.Button.mLastPlayedLabel [private] |
var gugga.components.Button.mButtonState [private] |
var gugga.components.Button.mMouseState [private] |
var gugga.components.Button.mEnabled [private] |
var gugga.components.Button.mSelected [private] |
var gugga.components.Button.mTrackClick [private] |
1.5.2