Combined Code
movieClip 2 sfx_Start {
}
frame 1 {
stop();
}
movieClip 54 {
}
movieClip 56 {
}
instance loadingBar of movieClip 56 {
onClipEvent (load) {
_root.loadingBar._xscale = 100;
percent = 0;
}
onClipEvent (enterFrame) {
percent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.loadingBar._xscale = 100 - percent;
if (percent >= 100) {
_root.gotoAndPlay(3);
} else {
_root.stop();
}
}
}
// unknown tag 88 length 106
frame 3 {
function moon() {
getURL('https://mega.nz/file/5100yCLC#Zvt3IQHqBj3-S34iDQV3lB-qmkUJviC0xZgb_vs_2jQ', '');
}
function biowebsite() {
getURL('https://projectbrick.github.io/mata-nui-online-game/', '');
}
var myMenu = new ContextMenu();
var sauce = new ContextMenuItem('Opening music - Tanaka + Aoki, "Fly Me To The Moon! II", track 11 (click)', moon);
var bionicle = new ContextMenuItem('All good animation stolen from the Bionicle Mata Nui game (click)', biowebsite);
myMenu.customItems.push(sauce, bionicle);
_root.menu = myMenu;
}
frame 103 {
current = new Sound();
current.attachSound('opening');
current.start();
}
// unknown tag 88 length 217
movieClip 80 {
}
movieClip 81 {
}
movieClip 88 {
}
movieClip 131 {
}
movieClip 140 {
}
movieClip 141 {
}
movieClip 148 {
}
movieClip 149 {
frame 329 {
gotoAndPlay(1);
}
}
movieClip 154 {
frame 222 {
gotoAndPlay(1);
}
}
movieClip 155 {
}
movieClip 159 {
}
movieClip 164 {
}
movieClip 167 {
}
movieClip 168 {
}
movieClip 173 {
}
movieClip 174 {
}
movieClip 179 {
}
movieClip 182 {
}
movieClip 183 {
}
movieClip 188 {
}
movieClip 191 {
}
movieClip 192 {
}
movieClip 197 {
}
movieClip 200 {
}
movieClip 201 {
}
movieClip 206 {
}
movieClip 209 {
}
movieClip 210 {
}
// unknown tag 88 length 194
movieClip 214 {
frame 1 {
StopBtn._visible = false;
FXstart._visible = false;
jukebox = 0;
moon01 = new Sound();
moon01.attachSound('track1');
moon02 = new Sound();
moon02.attachSound('track2');
moon03 = new Sound();
moon03.attachSound('track3');
moon04 = new Sound();
moon04.attachSound('track4');
moon05 = new Sound();
moon05.attachSound('opening');
birds = new Sound();
birds.attachSound('sfx');
FXstop.onRelease = function () {
_root.stop('sfx');
birds.stop('sfx');
FXstart._visible = true;
this._visible = false;
};
FXstart.onRelease = function () {
birds.start(0, 999);
this._visible = false;
FXstop._visible = true;
};
PlayBtn.onRelease = function () {
_root.current.stop('opening');
StopBtn._visible = true;
if (jukebox >= 5) {
jukebox = 0;
}
if (jukebox == 0) {
moon05.stop('opening');
moon01.start('track1');
playing = true;
which_title = 'Arr. Toshiyuki Omori, perf. "CLAIRE" Littley';
}
if (jukebox == 1) {
moon01.stop('track1');
moon02.start('track2');
playing = true;
which_title = 'Arr. Toshiyuki Omori, perf. Yoko Takahashi (Acid Bossa version)';
}
if (jukebox == 2) {
moon02.stop('track2');
moon03.start('tack3');
playing = true;
which_title = 'Arr. Tony Orly, perf. Aya[nami?] (Aya Bossa Techno version)';
}
if (jukebox == 3) {
moon03.stop('track3');
moon04.start('track4');
playing = true;
which_title = 'Arr. Kohei Tanaka & Nozomi Aoki, perf. Maki Kimura & Columbia Orchestra';
}
if (jukebox == 4) {
moon04.stop('track4');
moon05.start('opening');
which_title = 'Arr. Kohei Tanaka & Nozomi Aoki, perf. Jun Fukamachi';
}
jukebox += 1;
which_arrangement = 'Playing arrangement ' + [jukebox] + ' of 5';
};
StopBtn.onRelease = function () {
moon01.stop('track1');
moon02.stop('track2');
moon03.stop('track3');
moon04.stop('track4');
moon05.stop('opening');
which_arrangement = '';
which_title = '';
};
}
}
frame 494 {
function arrow() {
jukeArrow.gotoAndPlay(2);
}
stop();
var jukebox = new ContextMenuItem('Can you find the secret jukebox?', arrow);
myMenu.customItems.push(jukebox);
_root.menu = myMenu;
}
movieClip 216 {
frame 1 {
stop();
this.visible = false();
}
frame 2 {
this.visible = true();
}
}
frame 495 {
stopAllSounds();
}
movieClip 224 {
}
movieClip 227 {
}
movieClip 235 {
}
movieClip 285 {
}
// unknown tag 88 length 282
movieClip 330 {
}
frame 846 {
stop();
BUTTon.onRelease = function () {
gotoAndStop(870);
};
Look.onRelease = function () {
gotoAndStop(847);
};
ReiSlap.onRelease = function () {
gotoAndStop(895);
};
}
frame 847 {
stop();
Beach.onRelease = function () {
gotoAndPlay(848);
};
Movie.onRelease = function () {
gotoAndPlay(495);
};
}
frame 869 {
gotoAndPlay(920);
}
frame 870 {
stop();
Beach.onRelease = function () {
gotoAndPlay(871);
};
Movie.onRelease = function () {
gotoAndPlay(495);
};
}
frame 893 {
gotoAndPlay(920);
}
frame 895 {
stop();
Beach.onRelease = function () {
gotoAndPlay(896);
};
Movie.onRelease = function () {
gotoAndPlay(495);
};
}
frame 1053 {
stop();
}
frame 1054 {
gotoAndPlay(495);
}