Instance of Symbol 8 MovieClip in Frame 1
//component parameters
onClipEvent (initialize) {
mantan = 50;
secText = "";
speedText = "";
}
Frame 5
gotoAndPlay (4);
Symbol 8 MovieClip Frame 1
_parent.stop();
_soundbuftime = 0;
start = getTimer();
moku_b = (_parent.getBytesTotal() * mantan) / 100;
this.loadField._visible = this.fieldView;
this.onEnterFrame = function () {
progre = this._parent.getBytesLoaded() / this.moku_b;
progre = ((progre >= 1) ? 1 : (progre));
this.body._xscale = Math.round(progre * 100);
this.cap._x = this.body._x + this.body._width;
var now = getTimer();
var keika = (now - start);
var sokudo = (this._parent.getBytesLoaded() / keika);
this._parent[this.speedText].text = Math.ceil(sokudo * 10) / 10;
var yosou = (this.moku_b / sokudo);
var nokori = ((this.moku_b - this._parent.getBytesLoaded()) / sokudo);
this._parent[this.secText].text = Math.ceil(nokori / 1000);
if (progre >= 1) {
this._parent.gotoAndPlay("start");
}
};