EventStage
| Kind of class: | class |
|---|---|
| Inherits from: | EventDispatcher < CoreObject |
| Version: | 12/20/06 |
| Author: | Aaron Clinger |
| Classpath: | org.casaframework.stage.EventStage |
| File last modified: | Monday, 08 January 2007, 09:57:51 |
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
Instance methods
Instance methods inherited from EventDispatcher
Instance methods inherited from CoreObject
Class properties
EVENT_RESIZE
static EVENT_RESIZE:String = 'onResize'
(read,write)