Frame 1
function Lbar() {
if (getBytesLoaded() >= getBytesTotal()) {
play();
clearInterval(loaderInt);
}
fill_MC._xscale = (getBytesLoaded() / getBytesTotal()) * 100;
}
stop();
loaderInt = setInterval(Lbar, 10);
siteLoader.loadMovie("tabby_flash.swf");
loadingBar._xscale = 1;
loadingBar.onEnterFrame = function () {
kBytesLoaded = this._parent.finaltabby.getBytesLoaded() / 1024;
kBytesTotal = this._parent.finaltabby.getBytesTotal() / 1024;
percentage = Math.round((kBytesLoaded / kBytesTotal) * 100);
this._xscale = percentage;
if (percentage == 99) {
delete this.onEnterFrame;
}
};
Frame 2
stop();
this.back.onRelease = function () {
prevFrame();
};
this.forward.onRelease = function () {
nextFrame();
};
stopAllSounds();
Frame 3
stop();
this.back.onRelease = function () {
prevFrame();
};
this.forward.onRelease = function () {
nextFrame();
};
stopAllSounds();
siteLoader.loadMovie("tabby_flash.swf");
loadingBar._xscale = 1;
loadingBar.onEnterFrame = function () {
kBytesLoaded = this._parent.finaltabby.getBytesLoaded() / 1024;
kBytesTotal = this._parent.finaltabby.getBytesTotal() / 1024;
percentage = Math.round((kBytesLoaded / kBytesTotal) * 100);
this._xscale = percentage;
if (percentage == 99) {
delete this.onEnterFrame;
}
};
Frame 4
stop();
this.back.onRelease = function () {
prevFrame();
};
this.forward.onRelease = function () {
nextFrame();
};
stopAllSounds();