mi sto impazzendo con il ridimensionamento... caricatore altro non è che un UILoader questo è il mio codice ma non capisco come posso far sì che il filmato mi segue il ridimensionamento senza mostrarmi le fastidiose bande... ecco qua:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
caricatore.width = stage.stageWidth;
caricatore.height = stage.stageHeight;
caricatore.x = 0;
caricatore.y = 0;
stage.addEventListener(Event.RESIZE, onResize);
var proporzione = caricatore.width/caricatore.height;//ooo
function onResize(event:Event):void {
caricatore.width = stage.stageWidth;
caricatore.height = stage.stageWidth/proporzione;
}
if (caricatore.height < stage.stageHeight ) {
caricatore.height = stage.stageHeight;
caricatore.width = stage.stageHeight*proporzione;
}
stop();