Frame 1
function createlib(num) {
i = 1;
while (num >= i) {
if (i == 1) {
this.snd = new Array();
}
this.snd[i] = new Sound(this);
this.snd[i].attachSound("sound_" + i);
i++;
}
}
soundLib.createLib = createLib;
soundLib.createLib(6);
indtast = new Array();
tal = new Array();
i = 0;
timer = 1;
v = 0;
o = 0;
t = 1;
flag = 0;
tast = 0;
f = 1;
error = 0;
u = 1;
intro = 1;
fast = 1;
sound = 1;
Frame 2
while (i < 999) {
tal[i] = Math.Round(Math.random() * 3) + 1;
i++;
}
Frame 3
tellTarget (u) {
gotoAndPlay (2);
};
Frame 6
u++;
if (4 < u) {
u = 1;
}
gotoAndPlay (3);
Frame 7
timercount = 0;
Frame 8
k = 1;
Frame 9
k++;
Frame 19
if (fast == 1) {
if (k < 5) {
gotoAndPlay (9);
}
}
Frame 20
fast = 0;
n = tal[f];
p = 1;
while (p < 6) {
if (n == p) {
soundLib.snd[p].start();
tellTarget (p) {
gotoAndPlay (2);
};
}
p++;
}
Frame 28
if (f < timer) {
if (timer < 5) {
gotoAndPlay (8);
}
if ((timer >= 5) && (timer < 10)) {
gotoAndPlay (12);
}
if (timer >= 10) {
gotoAndPlay (15);
}
if (timer >= 15) {
gotoAndPlay (18);
}
f++;
}
Frame 30
loop = 1;
intro = 1;
Frame 31
if (flag == 1) {
if (indtast[timer] == tal[loop]) {
loop++;
gotoAndPlay (33);
flag = 0;
} else {
soundLib.snd[6].start();
gotoAndPlay (41);
}
}
intro++;
Frame 32
if (intro < 200) {
gotoAndPlay (31);
} else {
soundLib.snd[6].start();
gotoAndPlay (41);
}
Frame 33
if (timer >= loop) {
gotoAndPlay (31);
} else {
gotoAndPlay (33);
}
Frame 34
k = 1;
Frame 35
k++;
Frame 39
if (k < 10) {
gotoAndPlay (35);
}
Frame 40
timer++;
timercount++;
if (timer < 999) {
f = 1;
gotoAndPlay (8);
} else {
stop();
}
Frame 41
u++;
Frame 44
setProperty(tal[loop], _xscale , 120);
setProperty(tal[loop], _alpha , 50);
Frame 48
setProperty(tal[loop], _xscale , 120);
setProperty(tal[loop], _yscale , 120);
Frame 51
setProperty(tal[loop], _xscale , 111.6);
setProperty(tal[loop], _alpha , 100);
if (u < 20) {
gotoAndPlay (41);
} else {
setProperty(tal[loop], _xscale , 111.6);
setProperty(tal[loop], _yscale , 112.6);
gotoAndPlay (1);
}
Symbol 20 MovieClip Frame 1
stop();
Symbol 20 MovieClip Frame 15
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 15
Symbol 32 Button
on (release) {
timercount = 0;
gotoAndPlay (8);
}
Symbol 33 Button
on (press) {
soundLib.snd[4].start();
indtast[timer] = 4;
flag = 1;
tast++;
intro = 1;
tellTarget (4) {
gotoAndPlay (2);
};
gotoAndPlay (31);
}
Symbol 34 Button
on (press) {
soundLib.snd[3].start();
indtast[timer] = 3;
flag = 1;
tast++;
intro = 1;
tellTarget (3) {
gotoAndPlay (2);
};
gotoAndPlay (31);
}
Symbol 35 Button
on (press) {
soundLib.snd[2].start();
indtast[timer] = 2;
flag = 1;
tast++;
intro = 1;
tellTarget (2) {
gotoAndPlay (2);
};
gotoAndPlay (31);
}
Symbol 36 Button
on (press) {
soundLib.snd[1].start();
indtast[timer] = 1;
flag = 1;
tast++;
intro = 1;
tellTarget (1) {
gotoAndPlay (2);
};
gotoAndPlay (31);
}
Symbol 38 Button
on (press) {
soundLib.snd[5].start();
indtast[timer] = 5;
flag = 1;
tast++;
intro = 1;
tellTarget (5) {
gotoAndPlay (2);
};
gotoAndPlay (31);
}