AS3-自动缩放
import flash.display.Stage;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.frameRate = 24;
stage.addEventListener(Event.RESIZE,resize_handler);
function resize_handler(e:Event):void
{
mcPane.width = stage.stageWidth;
mcPane.height = stage.stageHeight;
}