Ciao a tutti io ho il seguente problema:
ho fatto un filmato preloader per caricare un swf esterno fullscreen e tutto funziona tranne una cosa....
In explorer (ff e safari tutto ok) mi succede una cosa strana e cioè al primo colpo mi carica due movieclip centrati se invece faccio aggiorna sul browser me li sposta a sinistra (x=0) come se non prendesse più il x=Stage.width/2. PERCHE'!!!!?!!??!!?
ecco il codice con cui mi carico i due clip di caricamento:
codice:
Stage.scaleMode = "noScale";
Stage.align = "TL";
Stage.showMenu = false;
import mx.transitions.Tween;
import mx.transitions.easing.*;
CLIP1._visible=false;
CLIP2._visible=false;
var somma_f:Number=0;
ContenitoreSwfEsterno._x=0;
ContenitoreSwfEsterno._y=0;
my_mc = new MovieClipLoader();
preload = new Object();
my_mc.addListener(preload);
preload.onLoadStart = function(targetMC) {
CLIP1._x=Stage.width/2;
CLIP1._y=200;
CLIP2._x=Stage.width/2-8;
CLIP2._y=350;
CLIP1._visible=true;
CLIP2._visible=true;
CLIP2.play();
};
preload.onLoadProgress = function(targetMC, lBytes, tBytes) {
somma_f = Math.round((lBytes/tBytes)*100);
}
preload.onLoadComplete = function(targetMC) {
if (CLIP2._currentframe==665)
{
ContenitoreSwfEsterno.gotoAndPlay(2);
}
};
my_mc.loadClip("fla/SwfEsterno.swf", "base");
Non capisco se sono io che sbaglio o cosa.... AIUTO!!!