Instance of Symbol 8 MovieClip in Frame 1
onClipEvent (load) {
_root.loader.loadAdaptive("luckystarOP2.kib ", "_root.holder");
}
Symbol 5 MovieClip Frame 1
function loadAdaptive(url, target) {
this.target = target;
this.once = false;
loadMovie (url, target);
this.gotoAndPlay("calculate");
}
stop();
Symbol 5 MovieClip Frame 6
bufferFactor = 1.1;
totalBytes = eval (this.target).getBytesTotal();
totalFrames = eval (this.target)._totalframes;
currentFrame = eval (this.target)._currentframe;
loadedBytes = eval (this.target).getBytesLoaded();
loadedFrames = eval (this.target)._framesloaded;
leftBytes = totalBytes - loadedBytes;
s = totalFrames / currentFrame;
_level0.bar.bar2._width = Math.round((_level0.bar.bar_orig._width / totalBytes) * loadedBytes);
_root.bar._x = eval (this.target)._width * 0.05;
_root.bar._y = eval (this.target)._height / 2;
_root.bar._width = Math.round(eval (this.target)._width * 0.9);
_root.bar._height = Math.round(eval (this.target)._height * 0.15);
percentOfSWFLoaded = Math.round((100 / totalBytes) * loadedBytes) + "% Loading...";
if (Math.round((100 / totalBytes) * loadedBytes) < 10) {
tellTarget ("_root.holder") {
gotoAndStop (1);
};
_root.holder._alpha = 0;
}
if (Math.round((100 / totalBytes) * loadedBytes) == 100) {
_root.holder._alpha = 100;
percentOfSWFLoaded = "";
_root.bar._width = 0;
_root.bar._height = 0;
}
if ((95 < Math.round((100 / totalBytes) * loadedBytes)) and (Math.round((100 / totalBytes) * loadedBytes) < 100)) {
tellTarget ("_root.holder") {
play();
};
_root.holder._alpha = 100;
percentOfSWFLoaded = "";
_root.bar._width = 0;
_root.bar._height = 0;
}
if (95 >= Math.round((100 / totalBytes) * loadedBytes)) {
tellTarget ("_root.holder") {
stop();
stopAllSounds();
};
}
Symbol 5 MovieClip Frame 7
gotoAndPlay(_currentframe - 1);
Symbol 14 MovieClip Frame 1