estoy haciendo una pagina web y he consguido que se ajuste al tamaño de la pantalla, pero pierdo parte del escenario si la pantalla es más pequeña que el escenario y no me salen los scrallbars. ¿saben alguna solucion?
Les dejo el Actionscript que utilicé.
Gracias
Código ActionScript :
var myStage:Stage =this.stage; myStage.scaleMode = StageScaleMode.NO_SCALE; myStage.align = StageAlign.TOP_LEFT; function resizeDisplay(e:Event):void{ var swfWidth:int = myStage.stageWidth; Object(this).fons.width = swfWidth; } myStage.addEventListener(Event.RESIZE, resizeDisplay); function initialDisplay(e:Event):void{ var swfWidth:int = myStage.stageWidth; var swfHeight:int = myStage.stageHeight; Object(this).fons.width = swfWidth; Object(this).fons.height = swfHeight; } addEventListener(Event.ENTER_FRAME, initialDisplay);