2009-09-18

Progressionでステージのサイズを取得する

public function IndexScene() {
 progression.stage.addEventListener(Event.RESIZE, onResizeFunc);
}

private function onResizeFunc(event:Event):void {
 trace(progression.container.stage.stageWidth);
 trace(progression.container.stage.stageHeight);
}

No comments:

Post a Comment