EventStage

Kind of class:class
Inherits from:EventDispatcher < CoreObject
Version:12/20/06
Author:Aaron Clinger
Classpath:org.casaframework.stage.EventStage
File last modified:Wednesday, 07 March 2007, 14:18:41
Dispatches stage "onResize" event to observers. Should be used instead of Stage.addListener.
Example:
function onResize(stageWidth:Number, stageHeight:Number):Void {
    trace("Stage resized to " + stageWidth + " wide by " + stageHeight + " tall.");
}

var stageInstance:EventStage = EventStage.getInstance();
this.stageInstance.addEventObserver(this, EventStage.EVENT_RESIZE);
Events broadcast to listeners:
onResize = function (stageWidth:Number, stageHeight:Number) {}

Summary

Class properties
Instance properties
Instance properties inherited from EventDispatcher
Instance properties inherited from CoreObject
Class methods

Class properties

EVENT_RESIZE

static EVENT_RESIZE:String = 'onResize'
(read,write)

Class methods

getInstance

static function getInstance (
Returns:
EventStage instance.