salve a tutti![]()
ho un preload che carica su un movie target (tramite il loadMovie) un swf estreno. il problema che l'swf "parte" prima che il loader sia la 100%, è come se fosse in streaming.
il codice è questo:
1°fotogramma del preloader:
il clip barra_mc:codice:_root.target_mc.loadMovie("intro_interval.swf"); _root.barra_mc.mask_mc._width=1;
Qualcuno sa darmi una risposta?codice:onClipEvent (enterFrame) { car = _root.target_mc.getBytesLoaded(); tot = _root.target_mc.getBytesTotal(); perc = (car/tot)*100; _root.my_txt.text = "loading: "+Math.round(perc)+"% caricato"; _root.barra_mc.mask_mc._width = perc; }
grazie in anticipo