PrimaryFeather/Starling-Framework — Issue #51: Resize event width and height don't match stage.stageWidth and stage.height
Author: mrpenguin
Created: 2011-11-17 22:40:27+00:00
State: open

With the following function:
private function event_stage_resize(event:ResizeEvent):void {
trace(event.width + " " + this.stage.width + " " + this.stage.stageWidth);
}

I get completely different values for each. The event.width actually matches the stage width and height. I have no idea where the values come from for stage.width (it increases but doesn't actually match the size of the stage). The stage.stageWidth value never changes from its original value. This is an unexpected behavior. In Flash, the stage.stageWidth will always reflect the actual size of the stage.