Frame 1
stop();
onEnterFrame = function () {
LB = getBytesLoaded();
TB = getBytesTotal();
PC = (LB / TB) * 100;
loaderbar.setbar(PC);
if ((TB > 4) && (PC == 100)) {
delete onEnterFrame;
gotoAndPlay ("begin");
}
};
mySound = new Sound();
mySound.setVolume(100);
du_start = getTimer();
CID = "us_us-viz_zatch-bell-flash";
flashaction = "\u00A0zatchbell.games.boingboingfolgore";
loadMovieNum ((((("http://server-us.imrworldwide.com/cgi-bin/count?cid=" add CID) add "&url=") add flashaction) add "&rnd=") add Math.ceil(Math.random() * 100000000), 100);
trace(flashaction);
function resetValues() {
depth = 1;
index = 1;
end_dance = 0;
scoreMultiplier = 0;
energyBar._xscale = 100;
if (soundMov._currentframe != 2) {
mySound.setVolume(100);
}
song.gotoAndStop(1);
}
function resetScore() {
score = 0;
}
function initArrow(arrowType) {
arrowHolder.attachMovie("arrow", "arrow" + depth, depth, {myName:arrowType, num:depth});
depth++;
}
function readArray() {
if (index < (arrowArray.length + 1)) {
switch (Number(arrowArray[index - 1])) {
case 1 :
initArrow("left");
my_color.setTransform(transformPink);
break;
case 2 :
initArrow("down");
my_color.setTransform(transformYellow);
break;
case 3 :
initArrow("up");
my_color.setTransform(transformMango);
break;
case 4 :
initArrow("right");
my_color.setTransform(transformPurple);
break;
case 5 :
initArrow("left");
initArrow("down");
break;
case 6 :
initArrow("left");
initArrow("up");
break;
case 7 :
initArrow("right");
initArrow("down");
break;
case 8 :
initArrow("right");
initArrow("up");
break;
case 9 :
initArrow("left");
initArrow("right");
break;
case 10 :
initArrow("up");
initArrow("down");
case 0 :
}
index++;
}
if ((!btnDown) && (!dancer.active)) {
dancer.gotoAndPlay("groove");
}
}
function addScore(type) {
missRate = 5;
switch (type) {
case "perfect" :
scoreMultiplier++;
var _local1 = Math.floor(scoreMultiplier / 4);
score = score + (((_local1 * _local1) + 1) * 300);
hitTxt.gotoAndPlay("perfect");
break;
case "good" :
scoreMultiplier = 0;
_local1 = Math.floor(scoreMultiplier / 4);
score = score + (((_local1 * _local1) + 1) * 100);
hitTxt.gotoAndPlay("good");
break;
case "miss" :
scoreMultiplier = 0;
hitTxt.gotoAndPlay("miss");
if (energyBar._xscale > 0) {
energyBar._xscale = energyBar._xscale - missRate;
if (energyBar._xscale < 20) {
gradient.play();
}
} else {
gameOver();
}
}
}
function endGame() {
my_color.setTransform(transformMango);
stopAllSounds();
song.gotoAndStop(1);
gotoAndPlay ("nextRound");
}
function gameOver() {
my_color.setTransform(transformMango);
stopAllSounds();
song.gotoAndStop(1);
bg.gotoAndStop(1);
gotoAndPlay ("gameOver");
}
function fadeOut() {
if (mySound.getVolume() > 0) {
mySound.setVolume(mySound.getVolume() - 5);
} else {
clearInterval(fadeInterval);
}
trace("fading");
}
var keyListener = new Object();
as = "(";
record = false;
keyListener.onKeyDown = function () {
if (Key.isDown(37) && (Key.isDown(38))) {
btn_left = 1;
btn_up = 1;
dancer.gotoAndPlay("boing");
dancer._xscale = 100;
if (record) {
trace((as = as + "6,"));
}
} else if (Key.isDown(37) && (Key.isDown(40))) {
btn_left = 1;
btn_down = 1;
dancer.gotoAndPlay("bend");
dancer._xscale = 100;
if (record) {
trace((as = as + "5,"));
}
} else if (Key.isDown(37) && (Key.isDown(39))) {
btn_left = 1;
btn_right = 1;
dancer.gotoAndPlay("twirl");
if (record) {
trace((as = as + "9,"));
}
} else if (Key.isDown(39) && (Key.isDown(38))) {
btn_right = 1;
btn_up = 1;
dancer.gotoAndPlay("boing");
dancer._xscale = -100;
if (record) {
trace((as = as + "8,"));
}
} else if (Key.isDown(39) && (Key.isDown(40))) {
btn_right = 1;
btn_down = 1;
dancer.gotoAndPlay("bend");
dancer._xscale = -100;
if (record) {
trace((as = as + "7,"));
}
} else if (Key.isDown(38) && (Key.isDown(40))) {
btn_up = 1;
btn_down = 1;
dancer.gotoAndPlay("bow");
if (record) {
trace((as = as + "10,"));
}
} else if (Key.isDown(37)) {
btn_left = 1;
dancer.gotoAndPlay("chicken");
dancer._xscale = 100;
if (record) {
trace((as = as + "1,"));
}
} else if (Key.isDown(38)) {
btn_up = 1;
dancer.gotoAndPlay("fly");
if (record) {
trace((as = as + "3,"));
}
} else if (Key.isDown(40)) {
btn_down = 1;
dancer.gotoAndPlay("grope");
if (record) {
trace((as = as + "2,"));
}
} else if (Key.isDown(39)) {
btn_right = 1;
dancer.gotoAndPlay("chicken");
dancer._xscale = 100;
if (record) {
trace((as = as + "4,"));
}
}
btnDown = 1;
};
keyListener.onKeyUp = function () {
switch (Key.getCode()) {
case 37 :
btn_left = 0;
break;
case 40 :
btn_down = 0;
break;
case 38 :
btn_up = 0;
break;
case 39 :
btn_right = 0;
}
btnDown = 0;
};
Key.addListener(keyListener);
ArrowClass = function () {
this.selectArrow();
this.setSpeed();
};
ArrowClass.prototype = new MovieClip();
ArrowClass.prototype.selectArrow = function () {
switch (this.myName) {
case "left" :
this._rotation = -90;
this.indexNum._rotation = 90;
break;
case "down" :
this._rotation = 180;
this.indexNum._rotation = -180;
break;
case "up" :
break;
case "right" :
this._rotation = 90;
this.indexNum._rotation = -90;
}
this._x = _root[this.myName + "Marker"]._x;
this._y = floor;
this.hitState = 1;
};
ArrowClass.prototype.onEnterFrame = function () {
this.moveArrow();
};
ArrowClass.prototype.moveArrow = function () {
if (this._y > ceiling) {
this._y = this._y - arrowRate;
this.checkHit();
} else {
addScore("miss");
if (end_dance) {
if (energyBar._xscale > 0) {
endGame();
} else {
gameOver();
}
}
this.removeMovieClip();
}
};
ArrowClass.prototype.checkHit = function () {
if (this.bigHit.hitTest(_root[this.myName + "Marker"].bigHit)) {
if (this.hitState) {
if (_root["btn_" + this.myName]) {
if (this.hitMC.hitTest(_root[this.myName + "Marker"].hitMC)) {
addScore("perfect");
} else {
addScore("good");
}
_root[this.myName + "Marker"].gotoAndPlay("flash");
if (end_dance) {
if (energyBar._xscale > 0) {
endGame();
} else {
gameOver();
}
}
this.removeMovieClip();
}
}
}
};
Object.registerClass("arrow", ArrowClass);
song1_stage1 = new Array(1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 2, 3, 2, 3, 2, 3, 2, 1, 4, 1, 4, 1, 4, 1, 4);
trace("song1_stage1.length " + song1_stage1.length);
song1_stage2 = new Array(1, 1, 4, 4, 1, 1, 4, 4, 1, 4, 1, 4, 1, 4, 1, 1, 1, 1, 4, 4, 4, 4, 1, 4, 1, 4, 1, 4, 1, 1, 4, 4, 1, 1, 4, 4, 1, 1, 4, 4, 1, 4, 1, 4, 1, 4, 1, 1, 1, 1);
trace("song1_stage2.length " + song1_stage2.length);
song1_stage3 = new Array(1, 1, 4, 4, 1, 1, 4, 4, 1, 4, 1, 4, 1, 4, 1, 1, 1, 1, 4, 4, 4, 4, 1, 4, 1, 4, 1, 4, 1, 1, 4, 4, 1, 1, 4, 4, 1, 1, 4, 4, 1, 4, 1, 4, 1, 4, 1, 1, 1, 1, 4, 4, 4, 4, 1, 4, 1, 4, 1, 4, 1, 1, 4, 4, 1, 1, 4, 4, 1, 1, 4, 4, 1, 4, 1, 4);
trace("song1_stage3.length " + song1_stage3.length);
song2_stage1 = new Array(5, 5, 7, 7, 1, 5, 4, 7, 1, 5, 4, 7, 1, 5, 4, 7, 1, 6, 3, 8, 3, 6, 8, 8, 6, 6, 4, 8, 1, 4, 8, 2, 7, 5, 5, 4, 7, 5, 5, 4, 7, 1, 5, 7, 4, 5, 5, 4, 8, 6, 6, 4, 8, 3, 8, 3, 8, 4, 7, 2, 7, 1, 5, 4, 7, 6, 6, 4, 8, 4, 8, 6, 6, 4, 8, 2, 5, 3, 2, 5);
trace("song2_stage1.length " + song2_stage1.length);
song2_stage2 = new Array(5, 5, 7, 7, 1, 5, 4, 7, 1, 5, 4, 7, 1, 5, 4, 7, 1, 6, 3, 8, 3, 6, 8, 8, 6, 6, 4, 8, 1, 4, 8, 2, 7, 5, 5, 4, 7, 5, 5, 4, 7, 1, 5, 7, 4, 5, 5, 4, 8, 6, 6, 4, 8, 3, 8, 3, 8, 4, 7, 2, 7, 1, 5, 4, 7, 6, 6, 4, 8, 4, 8, 6, 6, 4, 8, 2, 5, 3, 2, 5, 5, 5, 7, 7, 1, 5, 4, 7, 1, 5, 4, 7, 1, 5, 4, 7, 1, 6, 3, 3, 3);
trace("song2_stage2.length " + song2_stage2.length);
song2_stage3 = new Array(5, 5, 7, 7, 1, 5, 4, 7, 1, 5, 4, 7, 1, 5, 4, 7, 1, 6, 3, 8, 3, 6, 8, 8, 6, 6, 4, 8, 1, 4, 8, 2, 7, 5, 5, 4, 7, 5, 5, 4, 7, 1, 5, 7, 4, 5, 5, 4, 8, 6, 6, 4, 8, 3, 8, 3, 8, 4, 7, 2, 7, 1, 5, 4, 7, 6, 6, 4, 8, 4, 8, 6, 6, 4, 8, 2, 5, 3, 2, 5, 5, 5, 7, 7, 1, 5, 4, 7, 1, 5, 4, 7, 1, 5, 4);
trace("song2_stage3.length " + song2_stage3.length);
song3_stage1 = new Array(1, 1, 4, 4, 2, 2, 3, 3, 1, 4, 3, 2, 1, 9, 4, 9, 10, 10, 3, 10, 1, 6, 3, 8, 1, 5, 4, 7, 1, 6, 4, 8, 1, 5, 4, 8, 1, 9, 10, 10, 1, 3, 2, 4, 1, 3, 2, 1, 5, 3, 4, 8, 4, 8, 4, 8, 2, 1, 3, 1, 6, 5, 5, 4, 7, 7, 2, 5, 10, 1, 9, 2, 8, 8, 1, 8, 8, 5, 5, 5, 1, 6, 6, 6, 3, 8, 6, 5, 4, 5, 5, 4, 4, 9, 9, 1, 1, 5, 5, 1, 1, 5, 4, 4, 9, 9, 7, 7, 8, 8, 9, 9, 9, 4, 9, 5, 1, 2, 7, 2, 2, 10, 9, 9, 2, 7, 5, 4, 9, 6, 2, 7, 7, 7, 6, 6, 6, 8, 8, 4, 4, 4, 9, 6, 5, 5, 5, 4, 4, 1, 4, 4, 4, 4, 1, 5, 5, 7, 4);
trace("song3_stage1.length " + song3_stage1.length);
song3_stage2 = new Array(6, 6, 3, 8, 3, 6, 4, 8, 3, 6, 3, 6, 4, 7, 2, 5, 4, 7, 2, 5, 4, 7, 5, 5, 6, 6, 3, 8, 1, 6, 9, 9, 10, 3, 9, 9, 2, 10, 4, 9, 2, 10, 3, 4, 3, 2, 4, 1, 3, 8, 6, 6, 8, 8, 1, 6, 4, 8, 4, 8, 4, 8, 4, 7, 2, 7, 5, 5, 2, 7, 1, 9, 4, 8, 4, 7, 4, 9, 2, 7, 3, 4, 3, 4, 2, 1, 3, 2, 4, 9, 4, 8, 4, 8, 4, 8, 4, 8, 8, 8, 3, 2, 10, 2, 10, 2, 10, 6, 6, 10, 10, 3, 8, 4, 8, 4, 8, 3, 4, 4, 4, 8, 1, 1, 1, 9, 4, 8, 4, 8, 4, 4, 8, 8, 2, 10, 2, 10, 2, 10, 4, 9, 4, 9, 4, 9, 1, 9, 4, 9, 4, 9, 1, 9, 4, 9, 3, 6, 2, 1, 6, 3, 3, 4, 1, 3, 3, 1, 6, 1, 6, 1, 6, 1, 5, 1, 5, 3, 6, 6, 6, 4, 9, 4, 9, 4, 9, 9, 9);
trace("song3_stage2.length " + song3_stage2.length);
song3_stage3 = new Array(6, 6, 3, 8, 3, 6, 4, 8, 3, 6, 3, 6, 4, 7, 2, 5, 4, 7, 2, 5, 4, 7, 5, 5, 6, 6, 3, 8, 1, 6, 9, 9, 10, 3, 9, 9, 2, 10, 4, 9, 2, 10, 3, 4, 3, 2, 4, 1, 3, 8, 6, 6, 8, 8, 1, 6, 4, 8, 4, 8, 4, 8, 4, 7, 2, 7, 5, 5, 2, 7, 1, 9, 4, 8, 4, 7, 4, 9, 2, 7, 3, 4, 3, 4, 2, 1, 3, 2, 4, 9, 4, 8, 4, 8, 4, 8, 4, 8, 8, 8, 3, 2, 10, 2, 10, 2, 10, 6, 6, 10, 10, 3, 8, 4, 8, 4, 8, 3, 4, 4, 4, 8, 1, 1, 1, 9, 4, 8, 4, 8, 4, 4, 8, 8, 2, 10, 2, 10, 2, 10, 4, 9, 4, 9, 4, 9, 1, 9, 4, 9, 4, 9, 1, 9, 4, 9, 3, 6, 2, 1, 6, 3, 3, 4, 1, 3, 3, 1, 6, 1, 6, 1, 6, 1, 5, 1, 5, 3, 6, 6, 6, 4, 9, 4, 9, 4, 9, 9, 9, 6, 6, 3, 8, 3, 6, 4, 8, 3, 6, 3, 6, 4, 7, 2, 5, 4, 7, 2, 5, 4, 7, 5, 5, 6, 6, 3, 8, 1, 6, 9, 9, 10, 3, 9, 9, 2, 10, 4, 9, 2, 10, 3, 4, 3, 2, 4, 1, 3, 8, 6, 6, 8, 8, 1, 6, 4, 8, 4, 8, 4, 8, 4, 7, 2, 7, 5, 5, 2);
trace("song3_stage3.length " + song3_stage3.length);
Frame 4
music.gotoAndStop(2);
my_color = new Color(bg);
transformReset = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
transformPink = {ra:100, rb:255, ga:-50, gb:255, ba:100, bb:0, aa:100, ab:0};
transformYellow = {ra:50, rb:255, ga:50, gb:125, ba:50, bb:0, aa:100, ab:0};
transformPurple = {ra:-100, rb:255, ga:100, gb:-75, ba:100, bb:255, aa:100, ab:0};
transformMango = {ra:100, rb:69, ga:50, gb:100, ba:-100, bb:0, aa:100, ab:0};
Frame 31
stop();
Frame 56
stop();
Frame 58
resetScore();
if (music._currentframe == 1) {
music.gotoAndStop(2);
}
Frame 72
stop();
index = 0;
Frame 76
music.gotoAndStop(1);
resetValues();
song.gotoAndStop(songChoice + 1);
stage = "STAGE" + stageNum;
ceiling = 0;
floor = 500;
frameRate = 31;
trace("arrowRate = " + arrowRate);
trace("BPM = " + BPM);
Frame 123
stop();
Frame 147
stop();
Frame 173
stop();
scoretable.filename = "scores/boing.sco";
scoretable.scoresize = 10;
scoretable.action = "VIEW";
scoretable.viewtype = "FLASH";
scoretable.loadVariables("scores.php?R=" + random(9999), "POST");
music.gotoAndStop(2);
Frame 178
stop();
Symbol 13 Button
on (release) {
_parent.mySound.setVolume(0);
nextFrame();
}
Symbol 14 Button
on (release) {
_parent.mySound.setVolume(100);
prevFrame();
}
Symbol 17 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 1
function setbar(PC) {
mask._xscale = 100 - PC;
mask._x = 169 - mask._width;
}
Symbol 32 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 2
stop();
Symbol 49 Button
on (release) {
my_color.setTransform(transformReset);
gotoAndPlay ("start");
}
Symbol 50 Button
on (release) {
my_color.setTransform(transformYellow);
gotoAndPlay ("instructions");
}
Symbol 51 Button
on (release) {
gotoAndPlay ("instructions");
}
Symbol 52 Button
on (release) {
gotoAndPlay ("playGame");
}
Symbol 55 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 45
gotoAndPlay (2);
Symbol 79 Button
on (release) {
BPM = 145;
songChoice = 1;
if (!_root.debug) {
stageNum = 1;
}
arrowArray = song1_stage1;
arrowRate = 5;
my_color.setTransform(transformReset);
stopAllSounds();
gotoAndPlay ("game");
bg.gotoAndStop(1);
}
on (rollOver) {
song1.square.flower.play();
}
on (rollOut) {
song1.square.flower.gotoAndStop(1);
}
Symbol 80 Button
on (rollOver) {
song2.square.flower.play();
}
on (rollOut) {
song2.square.flower.gotoAndStop(1);
}
on (release) {
_root.BPM = 165;
songChoice = 2;
if (!_root.debug) {
stageNum = 4;
}
arrowArray = song2_stage1;
arrowRate = 8;
my_color.setTransform(transformPink);
stopAllSounds();
gotoAndPlay ("game");
bg.gotoAndStop(2);
}
Symbol 81 Button
on (release) {
_root.BPM = 190;
songChoice = 3;
if (!_root.debug) {
stageNum = 7;
}
arrowArray = song3_stage1;
arrowRate = 11;
my_color.setTransform(transformPurple);
stopAllSounds();
gotoAndPlay ("game");
bg.gotoAndStop(3);
}
on (rollOver) {
song3.square.flower.play();
}
on (rollOut) {
song3.square.flower.gotoAndStop(1);
}
Symbol 86 Button
on (release) {
resetValues();
my_color.setTransform(transformReset);
gotoAndPlay ("start");
}
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
active = 1;
Symbol 135 MovieClip Frame 21
gotoAndPlay ("groove");
active = 0;
Symbol 135 MovieClip Frame 27
active = 1;
Symbol 135 MovieClip Frame 41
gotoAndPlay ("groove");
active = 0;
Symbol 135 MovieClip Frame 47
active = 1;
Symbol 135 MovieClip Frame 61
gotoAndPlay ("groove");
active = 0;
Symbol 135 MovieClip Frame 67
active = 1;
Symbol 135 MovieClip Frame 81
gotoAndPlay ("groove");
active = 0;
Symbol 135 MovieClip Frame 86
active = 1;
Symbol 135 MovieClip Frame 100
gotoAndPlay ("groove");
active = 0;
Symbol 135 MovieClip Frame 106
active = 1;
Symbol 135 MovieClip Frame 120
gotoAndPlay ("groove");
active = 0;
Symbol 135 MovieClip Frame 125
active = 1;
Symbol 135 MovieClip Frame 144
gotoAndPlay ("groove");
active = 0;
Symbol 135 MovieClip Frame 148
active = 1;
Symbol 135 MovieClip Frame 163
gotoAndPlay ("groove");
active = 0;
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 16
gotoAndStop (1);
Symbol 142 MovieClip Frame 31
gotoAndStop (1);
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 6
gotoAndPlay (2);
Symbol 156 Button
on (keyPress "<Space>") {
keyframeArray[i] = this._currentframe;
trace(keyframeArray.toString());
i++;
}
Symbol 157 MovieClip Frame 1
i = 0;
var keyframeArray = new Array();
var keyframeArray1 = new Array(226, 279, 334, 387, 442, 496, 549, 602, 655, 708, 762, 816, 871, 925, 980, 1034, 1088, 1141, 1195, 1248, 1303, 1357, 1410, 1464, 1516, 1570, 1624, 1678, 1732, 1787, 1842, 1896);
var keyframeArray2 = new Array(227, 279, 333, 386, 442, 470, 496, 547, 602, 653, 682, 709, 736, 763, 789, 816, 830, 844, 871, 926, 980, 1006, 1034, 1060, 1090, 1139, 1195, 1247, 1302, 1316, 1331, 1347, 1359, 1385, 1412, 1451, 1463, 1515, 1571, 1624, 1651, 1678, 1692, 1706, 1733, 1787, 1841, 1868, 1896, 1922);
var keyframeArray3 = new Array(226, 239, 253, 265, 278, 307, 322, 334, 346, 360, 374, 386, 414, 443, 455, 467, 480, 495, 523, 549, 589, 601, 656, 709, 762, 816, 830, 844, 870, 899, 912, 925, 952, 967, 980, 1006, 1021, 1034, 1060, 1089, 1113, 1142, 1168, 1196, 1222, 1247, 1275, 1303, 1316, 1331, 1344, 1357, 1385, 1410, 1450, 1463, 1517, 1542, 1570, 1597, 1624, 1650, 1677, 1692, 1705, 1732, 1760, 1774, 1788, 1815, 1828, 1841, 1868, 1883, 1896, 1922);
trace("key1 = " + keyframeArray1.length);
trace("key2 = " + keyframeArray2.length);
trace("key3 = " + keyframeArray3.length);
start_music_frame = 150;
minus_frame = this["keyframeArray" + _root.stageNum][0] - start_music_frame;
this.onEnterFrame = function () {
keyframe_num = this["keyframeArray" + _root.stageNum][i] - minus_frame;
if (this._currentframe == keyframe_num) {
_root.readArray();
i++;
}
};
Symbol 157 MovieClip Frame 1942
_root.endGame();
Symbol 159 Button
on (keyPress "<Space>") {
keyframeArray[i] = this._currentframe;
trace(keyframeArray.toString());
i++;
}
Symbol 160 MovieClip Frame 1
i = 0;
var keyframeArray = new Array();
var keyframeArray4 = new Array(179, 202, 227, 250, 274, 295, 319, 342, 364, 385, 408, 430, 452, 472, 497, 520, 543, 568, 591, 634, 656, 681, 703, 724, 748, 769, 791, 814, 839, 861, 883, 905, 926, 948, 973, 995, 1017, 1040, 1064, 1085, 1106, 1129, 1151, 1174, 1196, 1220, 1242, 1266, 1286, 1311, 1334, 1357, 1378, 1401, 1424, 1448, 1470, 1492, 1514, 1538, 1559, 1583, 1604, 1628, 1649, 1675, 1698, 1721, 1743, 1766, 1788, 1810, 1830, 1854, 1876, 1899, 1920, 1943, 1966, 1989, 2010, 2035, 2060);
var keyframeArray6 = new Array(182, 203, 226, 239, 252, 274, 290, 318, 339, 364, 381, 399, 411, 420, 431, 454, 470, 500, 521, 544, 566, 588, 624, 645, 668, 692, 713, 725, 743, 757, 781, 802, 815, 834, 848, 872, 894, 907, 924, 939, 961, 984, 998, 1014, 1031, 1052, 1074, 1087, 1104, 1120, 1143, 1165, 1178, 1196, 1211, 1233, 1255, 1268, 1285, 1300, 1322, 1345, 1371, 1391, 1414, 1436, 1459, 1481, 1504, 1527, 1539, 1557, 1573, 1594, 1617, 1630, 1647, 1663, 1684, 1708, 1721, 1738, 1754, 1775, 1799, 1807, 1828, 1844, 1865, 1889, 1901, 1917, 1935, 1957, 1978, 1992, 2009, 2024, 2045, 2055, 2059);
var keyframeArray5 = new Array(180, 196, 227, 248, 273, 289, 318, 340, 364, 377, 408, 429, 453, 468, 499, 518, 544, 566, 589, 635, 652, 667, 689, 712, 725, 742, 757, 780, 802, 815, 833, 847, 870, 893, 906, 924, 939, 960, 983, 997, 1014, 1029, 1051, 1074, 1087, 1105, 1119, 1141, 1165, 1178, 1196, 1211, 1232, 1255, 1268, 1285, 1302, 1322, 1345, 1369, 1376, 1393, 1415, 1437, 1461, 1482, 1504, 1527, 1540, 1557, 1572, 1594, 1617, 1642, 1663, 1684, 1707, 1732, 1753, 1777, 1799, 1811, 1827, 1844, 1864, 1888, 1902, 1919, 1934, 1955, 1979, 1992, 2010, 2025, 2045);
trace("key4 = " + keyframeArray4.length);
trace("key5 = " + keyframeArray5.length);
trace("key6 = " + keyframeArray6.length);
start_music_frame = 130;
minus_frame = this["keyframeArray" + _root.stageNum][0] - start_music_frame;
this.onEnterFrame = function () {
keyframe_num = this["keyframeArray" + _root.stageNum][i] - minus_frame;
if (this._currentframe == keyframe_num) {
_root.readArray();
i++;
}
};
Symbol 160 MovieClip Frame 2102
_root.endGame();
Symbol 162 Button
on (keyPress "<Space>") {
keyframeArray[i] = this._currentframe;
trace(keyframeArray.toString());
i++;
}
Symbol 163 MovieClip Frame 1
i = 0;
var keyframeArray = new Array();
var keyframeArray7 = new Array(81, 99, 122, 140, 161, 180, 200, 219, 239, 260, 280, 299, 320, 341, 360, 380, 401, 420, 440, 460, 479, 499, 518, 538, 558, 578, 598, 617, 637, 657, 676, 696, 717, 736, 754, 774, 796, 815, 1030, 1047, 1067, 1086, 1108, 1125, 1148, 1166, 1188, 1206, 1227, 1246, 1267, 1286, 1307, 1326, 1348, 1366, 1386, 1405, 1425, 1444, 1464, 1483, 1504, 1523, 1544, 1563, 1584, 1602, 1622, 1642, 1663, 1681, 1700, 1720, 1742);
var keyframeArray9 = new Array(83, 93, 103, 114, 124, 133, 143, 154, 163, 172, 182, 192, 202, 212, 222, 230, 241, 261, 281, 300, 319, 340, 361, 381, 401, 411, 420, 430, 440, 450, 460, 470, 479, 495, 510, 521, 540, 559, 569, 579, 588, 599, 610, 621, 628, 636, 655, 677, 698, 716, 731, 743, 764, 775, 787, 797, 1029, 1039, 1049, 1060, 1069, 1079, 1090, 1099, 1110, 1117, 1128, 1138, 1148, 1156, 1169, 1178, 1189, 1199, 1209, 1219, 1226, 1238, 1247, 1258, 1265, 1277, 1287, 1297, 1304, 1317, 1326, 1336, 1346, 1356, 1366, 1374, 1386, 1396, 1405, 1412, 1427, 1437, 1443, 1456, 1466, 1476, 1486, 1496, 1506, 1513, 1525, 1534, 1544, 1552, 1564, 1574, 1584, 1591, 1604, 1614, 1622, 1634, 1643, 1654, 1661, 1678, 1692, 1710, 1721, 1732, 83, 93, 103, 114, 124, 133, 143, 154, 163, 172, 182, 192, 202, 212, 222, 230, 241, 261, 281, 300, 319, 340, 361, 381, 401, 411, 420, 430, 440, 450, 460, 470, 479, 495, 510, 521, 540, 559, 569, 579, 588, 599, 610, 621, 628, 636, 655, 677, 698, 716, 731, 743, 764, 775, 787, 797, 1029, 1039, 1049, 1060, 1069, 1079, 1090, 1099, 1110, 1117, 1128, 1138, 1148, 1156, 1169, 1178, 1189, 1199, 1209, 1219, 1226, 1238, 1247, 1258, 1265, 1277, 1287, 1297, 1304, 1317, 1326, 1336, 1346, 1356, 1366, 1374, 1386, 1396, 1405, 1412, 1427, 1437, 1443, 1456, 1466, 1476, 1486, 1496, 1506, 1513, 1525, 1534, 1544, 1552, 1564, 1574, 1584, 1591, 1604, 1614, 1622, 1634, 1643, 1654, 1661, 1678, 1692, 1710, 1721, 1732, 1743);
var keyframeArray8 = new Array(85, 102, 122, 141, 162, 182, 202, 222, 242, 254, 264, 283, 292, 302, 321, 331, 341, 361, 371, 381, 392, 411, 430, 449, 469, 479, 497, 510, 520, 540, 550, 559, 574, 588, 598, 637, 647, 666, 686, 698, 708, 717, 733, 748, 765, 776, 797, 1029, 1049, 1069, 1088, 1109, 1127, 1148, 1166, 1176, 1185, 1199, 1209, 1227, 1238, 1247, 1259, 1268, 1288, 1308, 1326, 1337, 1346, 1365, 1387, 1406, 1426, 1443, 1456, 1465, 1481, 1496, 1504, 1519, 1534, 1545, 1559, 1574, 1582, 1594, 1615, 1621, 1639, 1654, 1664, 1677, 1692, 1712, 1723, 1734, 1743);
trace("key7 = " + keyframeArray7.length);
trace("key8 = " + keyframeArray8.length);
trace("key9 = " + keyframeArray9.length);
start_music_frame = 45;
minus_frame = this["keyframeArray" + _root.stageNum][0] - start_music_frame;
this.onEnterFrame = function () {
keyframe_num = this["keyframeArray" + _root.stageNum][i] - minus_frame;
if (this._currentframe == keyframe_num) {
_root.readArray();
i++;
}
};
Symbol 163 MovieClip Frame 1889
_root.endGame();
Symbol 164 MovieClip Frame 1
stop();
Symbol 172 Button
on (release) {
if (songChoice == 1) {
if (arrowArray == song1_stage1) {
arrowArray = song1_stage2;
stageNum = 2;
} else if (arrowArray == song1_stage2) {
arrowArray = song1_stage3;
stageNum = 3;
} else if (arrowArray == song1_stage3) {
BPM = 165;
arrowMultiplier = 6;
my_color.setTransform(transformPink);
stopAllSounds();
arrowArray = song2_stage1;
songChoice = 2;
bg.gotoAndStop(2);
stageNum = 4;
}
} else if (songChoice == 2) {
if (arrowArray == song2_stage1) {
arrowArray = song2_stage2;
stageNum = 5;
} else if (arrowArray == song2_stage2) {
arrowArray = song2_stage3;
stageNum = 6;
} else if (arrowArray == song2_stage3) {
BPM = 190;
arrowMultiplier = 4;
my_color.setTransform(transformPurple);
stopAllSounds();
arrowArray = song3_stage1;
songChoice = 3;
bg.gotoAndStop(3);
stageNum = 7;
}
} else if (songChoice == 3) {
if (arrowArray == song3_stage1) {
arrowArray = song3_stage2;
stageNum = 8;
} else if (arrowArray == song3_stage2) {
arrowArray = song3_stage3;
stageNum = 9;
} else if (arrowArray == song3_stage3) {
gameOver();
}
}
gotoAndPlay ("game");
}
Symbol 197 Button
on (release) {
resetValues();
my_color.setTransform(transformReset);
gotoAndPlay ("start");
}
Symbol 206 Button
on (release) {
scoretable.filename = "scores/boing.sco";
scoretable.scoresize = 10;
scoretable.action = "WRITE_SCORE_FILE";
scoretable.viewtype = "FLASH";
scoretable.winname = name;
scoretable.winscore = score;
scoretable.loadVariables("scores.php?R=" + random(9999), "POST");
gotoAndStop ("scoreEntered");
}