Class template.StageManager

Description

This class is used to do the basic stage event handling for the template.

The following events are dispatched by this class:

StageResized - dispatched when the stage is resized.

Field Index

addEventListener, dispatchEvent, removeEventListener

Method Index

new StageManager()
onResize()

Constructor Detail

StageManager

public function StageManager(target:MovieClip)

The constructor. Sets the stage align mode to "TL" (Top Left) and the scaleMode to "noScale". Also adds the passed movieclip to the stage's listeners list.

Parameters

target- the movieclip

Field Detail

addEventListener

public addEventListener:Function

removeEventListener

public removeEventListener:Function

dispatchEvent

public dispatchEvent:Function

Method Detail

onResize

public function onResize()

Stage listener.