is that code repeatedly executing?
It is established as a loop.
This code is on frame one of the actions layer in my fla file:
totalBytes = Math.round(getBytesTotal() / 1024);
loadedBytes = Math.round(getBytesLoaded() / 1024);
percentDone = Math.round((loadedBytes / totalBytes) * 100);
if (_root._framesloaded >= _root._totalframes)
This code is on frame 2 of my actions layer:
When the "if" conditions are met, the timeline jumps to "start" which is a label on frame 3 of my timeline. This breaks it out of the loop and begins playing all of the preloaded swf file.
1 person found this helpful
getBytesTotal() reports the uncompressed file size of your swf.
I'll just set it as a percent. I don't want people to think they need to wait for 3+ megs to download when they are really only downloading 1.38 megs.
Thank you, as always, for your help kglad!