EventButton
| Kind of class: | class |
|---|---|
| Inherits from: | EventMovieClip < MovieClip |
| Known subclasses: | |
| Author: | Stephan Bezoen |
| Classpath: | org.asapframework.ui.buttons.EventButton |
| File last modified: | Monday, 09 October 2006, 00:41:07 |
Default button, will automatically make the nearest LocalController listen to its events. Unregisters with LocalController on unload.
Events broadcasted to listeners:
- EventButtonEvent with type:
ON_ROLLOVER- (null)
- EventButtonEvent with type:
ON_ROLLOUT- (null)
- EventButtonEvent with type:
ON_PRESS- (null)
- EventButtonEvent with type:
ON_RELEASE- (null)
Summary
Constructor
Instance properties
- hitArea_mc : MovieClip
- mController : LocalController
- mSendEventOnRoll : Boolean
- mSendEventOnPress : Boolean
Instance properties inherited from EventMovieClip
Instance methods
- setSendEventOnRoll (inSend:Boolean) : Void
- setSendEventOnPress (inSend:Boolean) : Void
- toString : String
Event handlers
- onRollOver : Void
- onDragOver : Void
- onRollOut : Void
- onDragOut : Void
- onPress : Void
- onRelease : Void
- onReleaseOutside : Void
- onLoad : Void
- onUnload : Void
Constructor
EventButton
function EventButton (
)
Instance properties
hitArea_mc
private hitArea_mc:MovieClip
(read)
mController
mSendEventOnPress
private mSendEventOnPress:Boolean = false
(read)
mSendEventOnRoll
private mSendEventOnRoll:Boolean = false
(read)
Instance methods
setSendEventOnPress
function setSendEventOnPress (
inSend:Boolean) : Void
setSendEventOnRoll
function setSendEventOnRoll (
inSend:Boolean) : Void
toString
function toString (
) : String
Event handlers
onDragOut
function onDragOut (
) : Void
onDragOver
function onDragOver (
) : Void
onLoad
private function onLoad (
) : Void
onPress
function onPress (
) : Void
Events broadcasted to listeners:
- EventButtonEvent with type:
ON_PRESS- (null)
onRelease
function onRelease (
) : Void
Events broadcasted to listeners:
- EventButtonEvent with type:
ON_RELEASE- (null)
onReleaseOutside
function onReleaseOutside (
) : Void
onRollOut
function onRollOut (
) : Void
Events broadcasted to listeners:
- EventButtonEvent with type:
ON_ROLLOUT- (null)
onRollOver
function onRollOver (
) : Void
Events broadcasted to listeners:
- EventButtonEvent with type:
ON_ROLLOVER- (null)
onUnload
private function onUnload (
) : Void