Combined Code
frame 2 {
function startMovie() {
if (getBytesLoaded() == getBytesTotal()) {
preloader._visible = false;
gotoAndPlay(3);
} 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(3);
};
startMovie();
}
movieClip 5 {
}
movieClip 6 {
}
movieClip 7 {
}
movieClip 9 {
}
movieClip 11 {
}
movieClip 15 {
}
// unknown tag 88 length 94
movieClip 19 {
}
frame 3 {
stop();
}
button 23 {
on (release) {
gotoAndStop(4);
}
}
frame 4 {
stop();
}
button 31 {
on (release) {
gotoAndStop('casual');
}
}
button 33 {
on (release) {
gotoAndStop('portal1');
}
}
button 35 {
on (release) {
gotoAndStop('naked1');
}
}
frame 9 {
stop();
}
button 40 {
on (release) {
gotoAndStop('portal2');
}
}
frame 14 {
stop();
}
button 43 {
on (release) {
gotoAndStop('portal2');
}
}
button 44 {
on (release) {
gotoAndStop('naked2');
}
}
button 45 {
on (release) {
gotoAndStop('portal1');
}
}
frame 19 {
stop();
}
button 48 {
on (release) {
gotoAndStop('naked2');
}
}
frame 24 {
stop();
}
button 51 {
on (release) {
gotoAndStop('naked1');
}
}