pre-loading counting can´t be seen when loading movie on line (but can when “ctl+enter” it on flash)
jan 12 2005
a new problem with the pre-loader :
when loading on line the counting percentage can´t be visualized ;
that´s strange because I´ve done in this particular movie
exactly like other flash movies (which work fine ) , but this one
doesn´t ;
the interesting of the matter is that when tested in flash streaming
(control + enter ) the percentage counting is there;
I`ve noticed another trouble , when loading some movies not too large , about 20 kbytes ,
the counting percentage cannot be seen until it reaches 60 or 70% ; there is not any
p.loading movie clip to lag the load ;
well , any hint ?
Cheers
the pl employed is the widely known:
…
totalK = getBytesTotal()/1000;
loadedK = getBytesLoaded()/1000;
remainingK = totalK-loadedK;
percentageK = Math.round((loadedK/totalK)*100);
setProperty (“bar”, _xscale, percentageK);
if (loadedK>=totalK && totalK != 0) {
gotoAndPlay (3);
}
…