Frame 1
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
percent_done = int((loaded_bytes / total_bytes) * 100) + " %";
var perc = ((loaded_bytes / total_bytes) * 100);
setProperty("progress", _xscale , perc);
time = (getTimer() / 1000) - teit_1;
bps = loaded_bytes / time;
bytes_left = total_bytes - loaded_bytes;
leftsek = Math.ceil(bytes_left / bps);
min = Math.floor(leftsek / 60);
if (min >= 1) {
leftsek = leftsek - Math.floor(min * 60);
if (leftsek < 10) {
}
} else {
min = "0";
if (leftsek < 10) {
}
}
bits = bps / 1024;
Frame 3
if (loaded_bytes == total_bytes) {
} else {
gotoAndPlay (1);
}