Frame 1
function pressPlay() {
gotoAndPlay (15);
}
function endIntroAnim() {
gotoAndPlay (25);
}
function backToMenu() {
gotoAndPlay (1);
}
Frame 5
movieFile = "http://www.weebls-stuff.com/testy/monkeyplane/menu.swf";
loadMovie (movieFile, mc_holder);
mc_holder._visible = false;
var mc_sound = new Sound(mc_holder);
Frame 6
bTotal = Number(mc_holder.getBytesTotal());
bLoaded = Number(mc_holder.getBytesLoaded());
if ((bTotal > 0) && (bLoaded > 0)) {
px = Math.round((bLoaded / bTotal) * 100);
loadbar.gotoAndStop(px);
if (px < 99) {
mc_sound.setVolume(0);
mc_holder.gotoAndStop(1);
mc_holder._visible = false;
loadbar._visible = true;
} else {
loadbar._visible = false;
trace("Loaded");
mc_sound.setVolume(100);
mc_holder._visible = true;
mc_holder.gotoAndPlay(1);
gotoAndStop (10);
}
}
Instance of Symbol 13 MovieClip "loadbar" in Frame 6
onClipEvent (load) {
stop();
_visible = false;
}
Frame 7
gotoAndPlay (6);
Frame 15
movieFile = "http://www.weebls-stuff.com/testy/monkeyplane/intro.swf";
loadMovie (movieFile, mc_holder);
mc_holder._visible = false;
var mc_sound = new Sound(mc_holder);
Frame 16
bTotal = Number(mc_holder.getBytesTotal());
bLoaded = Number(mc_holder.getBytesLoaded());
if ((bTotal > 0) && (bLoaded > 0)) {
px = Math.round((bLoaded / bTotal) * 100);
loadbar.gotoAndStop(px);
if (px < 99) {
mc_sound.setVolume(0);
mc_holder.gotoAndStop(1);
mc_holder._visible = false;
loadbar._visible = true;
} else {
loadbar._visible = false;
trace("Loaded");
mc_sound.setVolume(100);
mc_holder._visible = true;
mc_holder.gotoAndPlay(1);
gotoAndStop (20);
}
}
Instance of Symbol 13 MovieClip "loadbar" in Frame 16
onClipEvent (load) {
stop();
_visible = false;
}
Frame 17
gotoAndPlay (16);
Frame 25
movieFile = "http://www.weebls-stuff.com/testy/monkeyplane/game.swf";
loadMovie (movieFile, mc_holder);
mc_holder._visible = false;
var mc_sound = new Sound(mc_holder);
Frame 26
bTotal = Number(mc_holder.getBytesTotal());
bLoaded = Number(mc_holder.getBytesLoaded());
if ((bTotal > 0) && (bLoaded > 0)) {
px = Math.round((bLoaded / bTotal) * 100);
loadbar.gotoAndStop(px);
if (px < 99) {
mc_sound.setVolume(0);
mc_holder.gotoAndStop(1);
mc_holder._visible = false;
loadbar._visible = true;
} else {
loadbar._visible = false;
trace("Loaded");
mc_sound.setVolume(100);
mc_holder._visible = true;
mc_holder.gotoAndPlay(1);
gotoAndStop (30);
}
}
Instance of Symbol 13 MovieClip "loadbar" in Frame 26
onClipEvent (load) {
stop();
_visible = false;
}
Frame 27
gotoAndPlay (26);
Symbol 9 MovieClip Frame 29
gotoAndPlay (1);