Código ActionScript :
import flash.display.StageScaleMode; import flash.display.StageAlign; import flash.events.Event; stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; stage.addEventListener(Event.RESIZE, resizeHandler); function resizeHandler(event:Event):void { pagina.width = stage.stageWidth; pagina.height = stage.stageHeight; }