Combined Code
frame 1 {
function startMovie() {
if (getBytesLoaded() == getBytesTotal()) {
preloader._visible = false;
gotoAndPlay(2);
} else {
startLoad(this);
}
}
function startLoad(Clip) {
preload = setInterval(assessLoad, 100, Clip, endPreload);
preloader._visible = true;
preloader.preloader_bar._xscale = 0;
}
preloader.preloader_bar._xscale = 0;
preloader._visible = false;
stop();
assessLoad = function (Clip, endPreLoad) {
var v1 = Clip.getBytesLoaded() / 1024;
var v3 = Clip.getBytesTotal() / 1024;
var v2 = Math.floor((v1 / v3) * 100);
preloader.preloader_bar._xscale = v2;
preloader.pct_loaded.htmlText = v2 + '%';
if (v1 / v3 == 1 && v1 > 1) {
endPreLoad();
}
};
endPreload = function () {
clearInterval(preload);
gotoAndPlay(2);
};
startMovie();
}
movieClip 4 {
}
movieClip 5 {
}
movieClip 6 {
}
movieClip 8 {
}
movieClip 12 {
}
movieClip 14 {
}
movieClip 16 {
}
frame 20 {
stop();
}
button 22 {
on (release) {
gotoAndStop(21);
}
}
movieClip 24 {
}
movieClip 25 {
}
movieClip 27 {
}
movieClip 28 {
}
movieClip 30 {
}
movieClip 32 {
}
movieClip 36 {
}
movieClip 37 {
}
movieClip 39 {
}
movieClip 40 {
}
movieClip 42 {
}
movieClip 44 {
}
movieClip 46 {
}
movieClip 48 {
}
movieClip 50 {
}
movieClip 51 {
}
movieClip 53 {
}
movieClip 55 {
}
movieClip 57 {
}
movieClip 59 {
}
movieClip 61 {
}
movieClip 64 {
}
movieClip 68 {
}
movieClip 74 {
}
movieClip 75 {
}
movieClip 77 {
}
movieClip 79 {
}
movieClip 81 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 85 {
}
movieClip 87 {
}
movieClip 88 {
}
movieClip 89 {
}