Access keys

EventButton

Kind of class: class
Inherits from: EventMovieClip < MovieClip
Known subclasses:
Author: Stephan Bezoen
Classpath: org.asapframework.ui.buttons.EventButton
File last modified: Sunday, 08 October 2006, 23:31:09
Default button, will automatically make the nearest LocalController listen to its events.
Unregisters with LocalController on unload.
Events broadcast to listeners:
EventButtonEvent with type: ON_ROLLOVER
EventButtonEvent with type: ON_ROLLOUT
EventButtonEvent with type: ON_PRESS
EventButtonEvent with type: ON_RELEASE

Constructor

EventButton

function EventButton (
)

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

onPress

function onPress (
) : Void
Events broadcast to listeners:
EventButtonEvent with type: ON_PRESS

onRelease

function onRelease (
) : Void
Events broadcast to listeners:
EventButtonEvent with type: ON_RELEASE

onReleaseOutside

function onReleaseOutside (
) : Void

onRollOut

function onRollOut (
) : Void
Events broadcast to listeners:
EventButtonEvent with type: ON_ROLLOUT

onRollOver

function onRollOver (
) : Void
Events broadcast to listeners:
EventButtonEvent with type: ON_ROLLOVER