Access keys

MenuController

Kind of class: class
Inherits from: LocalController
Classpath: controllers.MenuController
File last modified: Monday, 06 November 2006, 08:09:11

Summary

Class methods
Instance methods
Event handlers

Class methods

main

static function main (
inTimeline:MovieClip) : Void

Instance methods

update

function update (
) : Void
Retrieves the current state from State and selects the corresponding button.

Event handlers

onEventButtonRelease

function onEventButtonRelease (
inEvent:EventButtonEvent) : Void
Events sent by SimpleButton instances (because SimpleButton is a subclass of EventButton, events are automatically received in the LocalController, without manually subscribing to each EventButton).
Changes the clicked button state and passes the new (requested) state to StateManager.