Frame 1
ifFrameLoaded (53) {
gotoAndStop (3);
}
loaded = int(getBytesLoaded() / 220) + "%";
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Frame 18
function init() {
Btns._visible = false;
seq = new Array();
tempSeq = new Array();
compTurn = false;
}
function check(num) {
thisNum = Number(tempSeq.shift());
if (thisNum != num) {
init();
UL.gotoAndPlay(10);
gotoAndPlay (19);
tellTarget (thisNum) {
nextFrame();
};
Snd.gotoAndPlay(10);
return(undefined);
}
if (tempSeq.length == 0) {
Btns._visible = false;
UL.gotoAndPlay(1);
score++;
gotoAndPlay (53);
}
tellTarget (num) {
if (_currentframe == 1) {
_root.Snd.gotoAndPlay((2 * num) + 2);
play();
} else {
return(undefined);
}
};
}
score = 0;
init();
gotoAndPlay (53);
Frame 50
score = 0;
var l = 0;
while (l < 4) {
tellTarget (l) {
gotoAndStop (1);
};
l++;
}
Frame 53
if (compTurn) {
if (tempSeq.length) {
thisNum = Number(tempSeq.shift());
Snd.gotoAndPlay((2 * thisNum) + 2);
tellTarget (thisNum) {
play();
};
} else {
compTurn = false;
tempSeq = seq.slice();
stop();
Btns._visible = true;
}
} else {
seq.push(Math.floor(4 * Math.random()));
tempSeq = seq.slice();
compTurn = true;
}
Frame 57
if (19 < score) {
gotoAndPlay (53);
}
Frame 58
if (14 < score) {
gotoAndPlay (53);
}
Frame 60
if (9 < score) {
gotoAndPlay (53);
}
Frame 62
if (4 < score) {
gotoAndPlay (53);
}
Frame 64
gotoAndPlay (53);
Symbol 9 Button
on (release) {
gotoAndPlay (4);
}
Symbol 14 Button
on (release) {
getURL ("http://www.neave.com/webgames/", "_blank");
}
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 5
if (14 < _root.score) {
gotoAndStop (1);
}
Symbol 21 MovieClip Frame 6
if (9 < _root.score) {
gotoAndStop (1);
}
Symbol 21 MovieClip Frame 8
if (4 < _root.score) {
gotoAndStop (1);
}
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 5
if (14 < _root.score) {
gotoAndStop (1);
}
Symbol 28 MovieClip Frame 6
if (9 < _root.score) {
gotoAndStop (1);
}
Symbol 28 MovieClip Frame 8
if (4 < _root.score) {
gotoAndStop (1);
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 5
if (14 < _root.score) {
gotoAndStop (1);
}
Symbol 33 MovieClip Frame 6
if (9 < _root.score) {
gotoAndStop (1);
}
Symbol 33 MovieClip Frame 8
if (4 < _root.score) {
gotoAndStop (1);
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 5
if (14 < _root.score) {
gotoAndStop (1);
}
Symbol 37 MovieClip Frame 6
if (9 < _root.score) {
gotoAndStop (1);
}
Symbol 37 MovieClip Frame 8
if (4 < _root.score) {
gotoAndStop (1);
}
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 9
gotoAndStop (1);
Symbol 40 MovieClip Frame 44
gotoAndStop (1);
Symbol 41 Button
on (press, keyPress "r") {
_root.check(3);
}
Symbol 42 Button
on (press, keyPress "g") {
_root.check(0);
}
Symbol 43 Button
on (press, keyPress "b") {
_root.check(2);
}
Symbol 44 Button
on (press, keyPress "y") {
_root.check(1);
}
Symbol 47 Button
on (release) {
gotoAndStop (1);
}
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 3
stop();
Symbol 55 MovieClip Frame 5
stop();
Symbol 55 MovieClip Frame 7
stop();
Symbol 55 MovieClip Frame 9
stop();