Combined Code
// unknown tag 88 length 105
movieClip 9 {
}
instance image2 of movieClip 9 {
onClipEvent (load) {
total = _parent.getBytesTotal();
oxxx = this._x;
}
onClipEvent (enterFrame) {
loaded = _parent.getBytesLoaded();
pct = Math.floor((loaded / total) * 100);
this._x = Math.floor(oxxx + pct * 4);
}
}
movieClip 11 {
}
// unknown tag 88 length 178
movieClip 19 {
}
instance mcPreloader2 of movieClip 19 {
onClipEvent (load) {
myBytesTotal = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
myBytesLoaded = _root.getBytesLoaded();
percent = int((myBytesLoaded / myBytesTotal) * 100);
percent_txt.text = percent + '%';
t = getTimer();
speed_txt.text = 'Speed:' + Math.round((myBytesLoaded / t) * 100) / 100 + ' K/s';
timeLoaded = Math.round(t / 1000);
timeRemain = Math.round(((myBytesTotal - myBytesLoaded) / myBytesLoaded) * timeLoaded);
timeRemain = Math.round(timeRemain / 60) + ':' + Math.round(timeRemain % 60);
timeLoaded = Math.round(timeLoaded / 60) + ':' + Math.round(timeLoaded % 60);
ur_txt.text = 'Used:' + timeLoaded + ' ' + 'Remain:' + timeRemain;
ofbytes_txt.text = myBytesLoaded + 'bytes';
totalbyte_txt.text = myBytesTotal + 'bytes';
if (myBytesLoaded == myBytesTotal) {
this.stop();
}
}
}
movieClip 21 {
}
movieClip 22 {
}
instance preloader_mc of movieClip 22 {
onClipEvent (load) {
total = _parent.getBytesTotal();
_parent.stop();
barra._xscale = 0;
}
onClipEvent (enterFrame) {
loaded = _parent.getBytesLoaded();
pct = Math.floor((loaded / total) * 100);
barra._xscale = pct;
if (pct eq 100) {
_parent.play();
} else {
gotoAndPlay(10);
}
}
}
movieClip 24 {
}
frame 45 {
stop();
}