MyController
| Kind of class: | class |
|---|---|
| Inherits from: | LocalController |
| Author: | Martijn de Visser |
| Classpath: | controllers.MyController |
| File last modified: | Monday, 06 November 2006, 08:09:14 |
This demo accompanies the HowTo "How to create a new Flash application with the ASAP Framework" on asapframework.org:
http://asapframework.org/wiki/bin/view/ASAP/CreateABasicApplication
http://asapframework.org/wiki/bin/view/ASAP/CreateABasicApplication
Summary
Class methods
Class methods
main
static function main (
inTimeline:MovieClip) : Void
The "main" entry point.
Usage:
You call this method from the mTimeline to instantiate your controller like this:
import controllers.MyController; MyController.main(this);
Instance methods
toString
function toString (
) : String
Shows the class name.
Event handlers
onEventButtonPress
function onEventButtonPress (
e:EventButtonEvent) : Void
This event is automatically fired by all buttons based on EventButton if
setSendEventOnPress has been set to 'true': myButton.setSendEventOnPress(true);onEventButtonRelease
function onEventButtonRelease (
e:EventButtonEvent) : Void
This event is automatically fired by all buttons based on EventButton.
onEventButtonRollOut
function onEventButtonRollOut (
e:EventButtonEvent) : Void
This event is automatically fired by all buttons based on EventButton if
setSendEventOnRoll has been set to 'true': myButton.setSendEventOnRoll(true);onEventButtonRollOver
function onEventButtonRollOver (
e:EventButtonEvent) : Void
This event is automatically fired by all buttons based on EventButton if
setSendEventOnRoll has been set to 'true': myButton.setSendEventOnRoll(true);