Ciao,

ho un .swf che pesa 312 k....
devo mettere prima un preload.

Le azioni del preload sono queste (lascio anche i commenti)

frame 1:

iStatus=0;
setProperty("pBar",_xscale,0);


frame2:

//un-comment the lines 3 to 5 below, to calculate the actual file size
//remember to COMMENT frame 3 line 3 if your going to use below
//iBytesTotal = _root.getBytesTotal();
//iBytesLoaded = _root.getBytesLoaded();
//iBytes = (iBytesLoaded/iBytesTotal)*100;

setProperty("pBar", _xscale, iBytes);
sStatus=iBytes add "%";


frame 3:

if (iBytes<100) {
//Comment line 3 below if your using the iBytesTotal and iBytesLoaded in frame 2 line 3 to 5
iBytes=iBytes+2;
gotoAndPlay(2);
} else {
gotoAndStop(4);
}


frame 4:

//Load your next action below

gotoAndStop(4);

Così funziona, ma come faccio a far scaricare il file prima che il preload finisca?

Grazie!!!