YO drydo,
this script has never falied me....
onClipEvent (enterFrame) {
_root.preloader.bar._xscal
siteLoaded = int((loaded_bytes/total_by
// bytes
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
// frames
frame_loaded = _root._framesloaded;
frame_total = _root._totalframes;
// kilo bytes
totalkb = int(total_bytes/1024) add "KB";
loadedkb = int(loaded_bytes/1024) add "KB";
remaining_kb = int(remaining_bytes/1024);
remainingkb = int(remaining_kb) add "KB";
percent_done = int((loaded_bytes/total_by
// time
time = getTimer()/1000;
// speed
speed = loaded_bytes/time;
bits = speed/1024;
Kbps = Math.round(bits*10)/10 add "KB/S";
// time remaining
kbyteCounter = (total_bytes-loaded_bytes)
loadRate = (loaded_bytes/1024)/time;
timeCounter = kbyteCounter/loadRate;
minutes = Math.floor(timeCounter/60)
seconds = Math.round((timeCounter/60
time_remaining = minutes+" min "+seconds+" sec";
// timeelapsed
minute = Math.floor(time/60);
second = Math.round((time/60-minute
time_elapsed = minute+" min "+second+" sec";
if (total_bytes == loaded_bytes) {
_root.gotoAndStop(2);
}
}
Has a few more features......not sure who to give the glory to found it in a clip a while ago.....
neway good luck
Main Topics
Browse All Topics





by: squarebracketPosted on 2005-11-09 at 05:04:23ID: 15255613
"It almost like its still loading in the majority of the elements on the second scene before it actual does anything."
Are you using linkage Export for Actionscript on any of your symbols? Any symbols that have this option checked will be loaded before frame 1 of your movie.
You could try making the preloader a stand alone movie that loads the main movie into itself.
dAN