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 3 {
}
movieClip 6 {
}
movieClip 7 {
}
movieClip 8 {
}
movieClip 10 {
}
movieClip 12 {
}
// unknown tag 88 length 99
movieClip 16 {
}
movieClip 19 {
}
frame 2 {
stop();
}
button 23 {
on (release) {
gotoAndStop(3);
}
}
button 27 {
on (release) {
gotoAndStop(4);
}
}
button 30 {
on (release) {
gotoAndStop(5);
}
}
button 33 {
on (release) {
gotoAndStop(3);
}
}