grazie mille
ma ricevo cmq un errore
questo:
ReferenceError: Error #1069: Impossibile trovare la proprietà yMax su flash.geom.Rectangle e nessun valore predefinito presente.
codice:private function loadInit(t) { try { t= Bitmap(MyMc.content); t.smoothing = true; if ((stage.stageWidth / stage.stageHeight) > t.width/t.height) { t.height = stage.stageWidth / (t.width/t.height); t.width=stage.stageWidth; } else { t.width = stage.stageHeight / (t.height/t.width); t.height=stage.stageHeight; } if (t.getBounds(t.parent).yMax<stage.stageHeight) { t._y-=t.getBounds(t.parent).yMax-stage.stageHeight; } if (t.getBounds(t.parent).xMax<stage.stageWidth) { t.x-=t.getBounds(t.parent).xMax-stage.stageWidth; } } catch (err) { trace(err); } }![]()

Rispondi quotando