Combined Code
frame 1 {
var frameRate = 30;
var frameLabelToJump = 'start';
var securityBuffer = 10;
var initialSamples = 30;
stop();
loadBar_mc._xscale = 0;
var startTime = new Date();
loadBar_mc.onEnterFrame = function () {
if (_root.getBytesTotal() > 4 && _root._totalframes > 1) {
--initialSamples;
var v5 = _root.getBytesLoaded() / _root.getBytesTotal();
var v4 = new Date();
if (v4.getTime() == startTime.getTime()) {
return undefined;
}
var v3 = Math.ceil(v5 * _root._totalframes) / frameRate;
var v9 = _root._totalframes / frameRate - v3;
var v6 = (v4.getTime() - startTime.getTime()) / 1000;
var v7 = v3 / v6;
var v8 = v9 * (1 / v7);
if (v8 < v3 + securityBuffer && initialSamples < 0) {
_root.gotoAndPlay(frameLabelToJump);
} else {
this._xscale = v5 * 100;
}
}
};
}
movieClip 3 {
}
movieClip 6 {
}
frame 5272 {
stop();
}
button 61 {
on (release) {
getURL('toons.html', '');
}
}
button 62 {
on (release) {
gotoAndPlay('start');
}
}