Frame 95
stop();
Frame 100
stop();
name_txt.restrict = "a-z 0-9.:\\-@";
Selection.setFocus(name_txt);
Selection.setSelection(name_txt.length, name_txt.length);
ok_btn.onRelease = function () {
if (name_txt.length > 0) {
_root.game_so.data.playerName = name_txt.text;
}
Body = "Check out Switchit - at www.kwikgames.com/switchit.htm\n\n" + Body;
loadVariablesNum ("http://www.kwikgames.com/cgi/flashemail.php", 0, "POST");
nextFrame();
};
ok_btn.onKeyDown = function () {
if (Key.getCode() == 13) {
Key.removeListener(ok_btn);
this.onRelease();
}
};
Key.addListener(ok_btn);
Frame 101
stop();
Frame 102
loadMovie ("http://www.kwikgames.com/adverts/switchit_ad.swf", _root.comp);
Frame 115
stop();
Frame 116
function initialise() {
grid = new Array(25);
i = 0;
while (i < 25) {
grid[i + 1] = false;
i++;
}
switches = 0;
level = 1;
score = 0;
completeLevel = new Sound();
completeLevel.attachSound("completeLevel");
droop = new Sound();
droop.attachSound("droop");
droop.setVolume(50);
completeLevel.setVolume(35);
}
function setLights() {
i = 0;
while (i < 25) {
light = "tile" + (i + 1);
if (grid[i + 1] == false) {
_root[light].gotoAndStop(1);
} else {
_root[light].gotoAndStop(2);
}
i++;
}
}
function swap(which) {
if (grid[which] == true) {
grid[which] = false;
} else {
grid[which] = true;
}
}
function switched(which) {
switches++;
droop.start();
doSwaps(which);
}
function doSwaps(which) {
swap(which);
if (which == 1) {
swap(which + 1);
swap(which + 5);
} else if (which == 5) {
swap(which - 1);
swap(which + 5);
} else if (which == 21) {
swap(which + 1);
swap(which - 5);
} else if (which == 25) {
swap(which - 1);
swap(which - 5);
} else if (((which == 2) || (which == 3)) || (which == 4)) {
swap(which - 1);
swap(which + 1);
swap(which + 5);
} else if (((which == 22) || (which == 23)) || (which == 24)) {
swap(which - 1);
swap(which + 1);
swap(which - 5);
} else if (((which == 6) || (which == 11)) || (which == 16)) {
swap(which - 5);
swap(which + 1);
swap(which + 5);
} else if (((which == 10) || (which == 15)) || (which == 20)) {
swap(which - 1);
swap(which - 5);
swap(which + 5);
} else {
swap(which - 1);
swap(which + 1);
swap(which - 5);
swap(which + 5);
}
setLights();
allout = true;
i = 1;
while (i < 26) {
if (grid[i]) {
allout = false;
}
i++;
}
if (allout) {
completeLevel.start();
pause();
nextFrame();
}
}
function solve() {
i = 0;
while (i++) {
if (grid[i + 1]) {
swap(i + 6);
}
i < 25;
}
}
function restartTimer() {
hours = "00";
minutes = "00";
seconds = "00";
milli = "00";
buttonPressTime = (getTimer() / 1000) - pauseLength;
pause();
}
function pause() {
pauseTime = getTimer() / 1000;
timing = false;
}
function unpause() {
unpauseTime = getTimer() / 1000;
pauseLength = (unpauseTime - pauseTime) + pauseLength;
timing = true;
}
_root.onEnterFrame = function () {
totalTime = (getTimer() / 1000) - pauseLength;
goTime = totalTime - buttonPressTime;
if (timing) {
hours = Math.floor(goTime / 3600);
minutes = Math.floor(((goTime / 3600) - hours) * 60);
seconds = Math.floor(((((goTime / 3600) - hours) * 60) - minutes) * 60);
milli = Math.floor((gotime - ((seconds + (minutes * 60)) + (hours * 3600))) * 100);
if (seconds < 10) {
seconds = "0" + seconds;
}
if (minutes < 10) {
minutes = "0" + minutes;
}
if (hours < 10) {
hours = "0" + hours;
}
if (milli < 10) {
milli = "0" + milli;
}
scores = score;
if (score < 100000) {
scores = "0" + scores;
}
if (score < 10000) {
scores = "0" + scores;
}
if (score < 1000) {
scores = "0" + scores;
}
if (score < 100) {
scores = "0" + scores;
}
if (score < 10) {
scores = "0" + scores;
}
}
};
pausebutton.onRelease = function () {
pause();
unpausebutton._visible = 1;
pausebutton._visible = 0;
};
reset.onRelease = function () {
restartTimer();
pausebutton._visible = 0;
unpausebutton._visible = 1;
};
initialise();
Frame 117
gotoAndStop (145);
stop();
Frame 125
madeChange = false;
while (!madeChange) {
if (grid[startSolve]) {
doSwaps(StartSolve + 5);
madeChange = true;
}
startSolve++;
if (startSolve == 20) {
madeChange = true;
}
}
Frame 130
function checkSolved() {
allOut = true;
i = 1;
while (i < 26) {
if (grid[i]) {
allOut = false;
}
i++;
}
if (allOut) {
trace("allout");
gotoAndStop (117);
} else {
if ((((grid[21] && (grid[22])) && (!grid[23])) && (grid[24])) && (grid[25])) {
doSwaps(3);
} else if (((((!grid[21]) && (grid[22])) && (grid[23])) && (!grid[24])) && (grid[25])) {
doSwaps(1);
} else if ((((grid[21] && (!grid[22])) && (grid[23])) && (grid[24])) && (!grid[25])) {
doSwaps(5);
} else if (((((!grid[21]) && (!grid[22])) && (grid[23])) && (grid[24])) && (grid[25])) {
doSwaps(4);
} else if ((((grid[21] && (grid[22])) && (grid[23])) && (!grid[24])) && (!grid[25])) {
doSwaps(2);
} else if (((((!grid[21]) && (grid[22])) && (!grid[23])) && (grid[24])) && (!grid[25])) {
doSwaps(1);
doSwaps(4);
} else if ((((grid[21] && (!grid[22])) && (!grid[23])) && (!grid[24])) && (grid[25])) {
doSwaps(1);
doSwaps(2);
}
startSolve = 1;
solveThrough = true;
gotoAndPlay (135);
}
}
if (startSolve < 20) {
gotoAndPlay (125);
} else if (solveThrough == false) {
checkSolved();
} else {
trace(solveThrough);
gotoAndStop (117);
}
Frame 140
gotoAndPlay (125);
Frame 145
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
doSwaps(1);
doSwaps(5);
doSwaps(21);
doSwaps(25);
}
restart();
restartTimer();
unpause();
Frame 147
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
doSwaps(17);
doSwaps(9);
doSwaps(5);
doSwaps(21);
doSwaps(13);
}
restart();
Frame 149
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
doSwaps(21);
doSwaps(5);
doSwaps(21);
doSwaps(13);
doSwaps(7);
doSwaps(13);
doSwaps(12);
}
doSwaps(15);
restart();
Frame 151
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
doSwaps(19);
doSwaps(7);
doSwaps(5);
doSwaps(21);
doSwaps(13);
doSwaps(11);
doSwaps(15);
}
restart();
Frame 153
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
doSwaps(7);
doSwaps(8);
doSwaps(9);
doSwaps(12);
doSwaps(13);
doSwaps(14);
doSwaps(17);
doSwaps(18);
doSwaps(19);
}
restart();
Frame 155
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[1] = true;
grid[5] = true;
grid[6] = true;
grid[7] = true;
grid[9] = true;
grid[10] = true;
grid[13] = true;
grid[18] = true;
grid[16] = true;
grid[21] = true;
grid[23] = true;
grid[24] = true;
setLights();
}
restart();
Frame 157
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
i = 1;
while (i < 26) {
grid[i] = true;
i++;
}
setLights();
}
restart();
Frame 159
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
i = 1;
while (i < 14) {
grid[i] = true;
i++;
}
setLights();
}
restart();
Frame 161
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
i = 1;
while (i < 11) {
grid[i] = true;
i++;
}
i = 16;
while (i < 26) {
grid[i] = true;
i++;
}
setLights();
}
restart();
Frame 163
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[1] = true;
grid[5] = true;
grid[7] = true;
grid[9] = true;
grid[13] = true;
grid[17] = true;
grid[19] = true;
grid[21] = true;
grid[25] = true;
setLights();
}
restart();
Frame 165
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[13] = true;
setLights();
}
restart();
Frame 167
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
i = 1;
while (i < 26) {
grid[i] = true;
i = i + 2;
}
setLights();
}
restart();
Frame 169
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
i = 1;
while (i < 6) {
grid[i] = true;
i++;
}
grid[23] = true;
setLights();
}
restart();
Frame 171
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[12] = true;
grid[13] = true;
grid[14] = true;
setLights();
}
restart();
Frame 173
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[1] = true;
grid[2] = true;
grid[3] = true;
grid[4] = true;
grid[5] = true;
grid[6] = true;
grid[10] = true;
grid[11] = true;
grid[15] = true;
grid[16] = true;
grid[20] = true;
grid[21] = true;
grid[22] = true;
grid[23] = true;
grid[24] = true;
grid[25] = true;
setLights();
}
restart();
Frame 175
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[1] = true;
grid[5] = true;
grid[6] = true;
grid[10] = true;
grid[11] = true;
grid[15] = true;
grid[16] = true;
grid[20] = true;
grid[21] = true;
grid[25] = true;
setLights();
}
restart();
Frame 177
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[2] = true;
grid[3] = true;
grid[4] = true;
grid[12] = true;
grid[13] = true;
grid[14] = true;
grid[22] = true;
grid[23] = true;
grid[24] = true;
setLights();
}
restart();
Frame 179
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[1] = true;
grid[13] = true;
grid[25] = true;
setLights();
}
restart();
Frame 181
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
i = 6;
while (i < 11) {
grid[i] = true;
i++;
}
grid[13] = true;
grid[21] = true;
grid[22] = true;
grid[23] = true;
grid[24] = true;
grid[25] = true;
setLights();
}
restart();
Frame 183
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[2] = true;
grid[3] = true;
grid[7] = true;
grid[9] = true;
grid[11] = true;
grid[17] = true;
grid[18] = true;
grid[21] = true;
grid[25] = true;
setLights();
}
restart();
Frame 185
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[6] = true;
grid[7] = true;
grid[8] = true;
grid[9] = true;
grid[11] = true;
grid[22] = true;
grid[18] = true;
grid[21] = true;
grid[23] = true;
grid[25] = true;
setLights();
}
restart();
Frame 187
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
i = 1;
while (i < 14) {
grid[i] = true;
i++;
}
grid[1] = false;
grid[5] = false;
setLights();
}
restart();
Frame 189
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[7] = true;
grid[8] = true;
grid[9] = true;
grid[12] = true;
grid[14] = true;
grid[17] = true;
grid[18] = true;
grid[19] = true;
setLights();
}
restart();
Frame 191
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
i = 1;
while (i < 11) {
grid[i] = true;
i++;
}
i = 16;
while (i < 26) {
grid[i] = true;
i++;
}
grid[1] = false;
grid[5] = false;
grid[21] = false;
grid[25] = false;
setLights();
}
restart();
Frame 193
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[1] = true;
grid[2] = true;
grid[6] = true;
grid[7] = true;
grid[13] = true;
grid[17] = true;
grid[19] = true;
grid[21] = true;
grid[25] = true;
setLights();
}
restart();
Frame 195
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[6] = true;
grid[7] = true;
grid[8] = true;
grid[10] = true;
grid[13] = true;
grid[14] = true;
grid[16] = true;
grid[21] = true;
grid[25] = true;
grid[24] = true;
setLights();
}
restart();
Frame 197
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
i = 1;
while (i < 26) {
grid[i] = true;
i++;
}
grid[20] = false;
grid[12] = false;
grid[25] = false;
setLights();
}
restart();
Frame 199
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[6] = true;
grid[17] = true;
grid[24] = true;
grid[25] = true;
setLights();
}
restart();
Frame 201
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
i = 1;
while (i < 6) {
grid[i] = true;
i++;
}
grid[21] = true;
grid[24] = true;
setLights();
}
restart();
Frame 203
function restart() {
i = 1;
while (i < 26) {
grid[i] = false;
i++;
}
grid[4] = true;
grid[5] = true;
grid[7] = true;
grid[9] = true;
grid[11] = true;
grid[12] = true;
grid[16] = true;
grid[21] = true;
grid[25] = true;
setLights();
}
restart();
Frame 204
pause();
stop();
Frame 205
stop();
name_txt.restrict = "A-Z 0-9.:\\-";
name_txt.text = _root.game_so.data.playerName;
Selection.setFocus(name_txt);
Selection.setSelection(name_txt.length, name_txt.length);
ok_btn.onRelease = function () {
if (name_txt.length > 0) {
_root.game_so.data.playerName = name_txt.text;
}
_root.nextFrame();
};
ok_btn.onKeyDown = function () {
if (Key.getCode() == 13) {
Key.removeListener(ok_btn);
this.onRelease();
}
};
Key.addListener(ok_btn);
Frame 206
scores = 500;
stop();
showScores = function () {
var i = 10;
while (i > 0) {
var n = scoreboard_lv["name" + (page + i)];
var s = scoreboard_lv["score" + (page + i)];
var l_mc = this[("line" + i) + "_mc"];
l_mc.rank_txt.text = (page + i) + ".";
l_mc.name_txt.text = (n.length ? (n.toUpperCase()) : "-");
l_mc.score_txt.text = (s.length ? (s.addCommas()) : "-");
l_mc.rank_txt.textColor = (l_mc.name_txt.textColor = (l_mc.score_txt.textColor = ((game_so.data.playerName.length && (n.toUpperCase() == game_so.data.playerName.toUpperCase())) ? 3407616 : 16777215)));
l_mc._visible = true;
loading_mc._visible = false;
i--;
}
};
page = 0;
maxScore = 100;
scoreboard_lv = new LoadVars();
score = score;
if ((finalscore > 0) && (game_so.data.playerName.length > 0)) {
scoreboard_lv.score = score;
scoreboard_lv.name = game_so.data.playerName.toLowerCase();
}
scoreboard_lv.game = "switchit";
scoreboard_lv.sendAndLoad("http://www.kwikgames.com/cgi/games_score_text.php", scoreboard_lv, "POST");
scoreboard_lv.onLoad = function (success) {
if (success) {
if (Boolean(scoreboard_lv.success)) {
next_btn._visible = true;
if (scoreboard_lv.maxScore.length > 0) {
maxScore = Number(scoreboard_lv.maxScore);
}
showScores();
} else {
loading_mc.errorMsg = scoreboard_lv.errorMsg.toUpperCase();
loading_mc.gotoAndStop(2);
}
} else {
loading_mc.errorMsg = "COULD NOT ACCESS SCORES.";
loading_mc.gotoAndStop(2);
}
};
next_btn._visible = (last_btn._visible = false);
last_btn.onPress = function () {
page = page - 10;
if (page < 0) {
page = 0;
}
if (page < 10) {
last_btn._visible = false;
}
next_btn._visible = true;
showScores();
};
next_btn.onPress = function () {
page = page + 10;
if (page > maxScore) {
page = maxScore;
}
if (page > (maxScore - 20)) {
next_btn._visible = false;
}
last_btn._visible = true;
showScores();
};
newGame_btn.onRelease = function () {
gotoAndStop (117);
};
ufo_mc.dir = 1;
ufo_mc.onEnterFrame = function () {
if (!this._visible) {
this.dir = (int(rnd() * 2) * 2) - 1;
this._x = 250 - (this.dir * 300);
this._visible = true;
}
this._x = this._x + (this.dir * 3);
if ((this._x > 550) || (this._x < -50)) {
this._visible = false;
}
};
Frame 207
stop();
showScores = function () {
var i = 10;
while (i > 0) {
var n = scoreboard_lv["name" + (page + i)];
var s = scoreboard_lv["score" + (page + i)];
var l_mc = this[("line" + i) + "_mc"];
l_mc.rank_txt.text = (page + i) + ".";
l_mc.name_txt.text = (n.length ? (n.toUpperCase()) : "-");
l_mc.score_txt.text = (s.length ? (s.addCommas()) : "-");
l_mc.rank_txt.textColor = (l_mc.name_txt.textColor = (l_mc.score_txt.textColor = ((game_so.data.playerName.length && (n.toUpperCase() == game_so.data.playerName.toUpperCase())) ? 3407616 : 16777215)));
l_mc._visible = true;
loading_mc._visible = false;
i--;
}
};
page = 0;
maxScore = 100;
scoreboard_lv = new LoadVars();
if ((score > 0) && (game_so.data.playerName.length > 0)) {
scoreboard_lv.score = score;
scoreboard_lv.name = game_so.data.playerName.toLowerCase();
}
scoreboard_lv.game = "switchit";
scoreboard_lv.sendAndLoad("http://www.kwikgames.com/cgi/games_score_text.php", scoreboard_lv, "POST");
scoreboard_lv.onLoad = function (success) {
if (success) {
if (Boolean(scoreboard_lv.success)) {
next_btn._visible = true;
if (scoreboard_lv.maxScore.length > 0) {
maxScore = Number(scoreboard_lv.maxScore);
}
showScores();
} else {
loading_mc.errorMsg = scoreboard_lv.errorMsg.toUpperCase();
loading_mc.gotoAndStop(2);
}
} else {
loading_mc.errorMsg = "COULD NOT ACCESS SCORES.";
loading_mc.gotoAndStop(2);
}
};
score = 0;
next_btn._visible = (last_btn._visible = false);
last_btn.onPress = function () {
page = page - 10;
if (page < 0) {
page = 0;
}
if (page < 10) {
last_btn._visible = false;
}
next_btn._visible = true;
showScores();
};
next_btn.onPress = function () {
page = page + 10;
if (page > maxScore) {
page = maxScore;
}
if (page > (maxScore - 20)) {
next_btn._visible = false;
}
last_btn._visible = true;
showScores();
};
newGame_btn.onRelease = function () {
gotoAndStop (208);
};
ufo_mc.dir = 1;
ufo_mc.onEnterFrame = function () {
if (!this._visible) {
this.dir = (int(rnd() * 2) * 2) - 1;
this._x = 250 - (this.dir * 300);
this._visible = true;
}
this._x = this._x + (this.dir * 3);
if ((this._x > 550) || (this._x < -50)) {
this._visible = false;
}
};
Symbol 5 MovieClip [alien3] Frame 1
stop();
Symbol 5 MovieClip [alien3] Frame 3
gotoAndStop (1);
Symbol 37 Button
on (release) {
gotoAndPlay (116);
}
Symbol 43 Button
on (release) {
gotoAndStop (97);
}
Symbol 49 Button
on (release) {
gotoAndStop (100);
}
Symbol 51 Button
on (release) {
getURL ("http://www.kwikgames.com", _blank);
}
Symbol 57 Button
on (release) {
gotoAndPlay (102);
}
Symbol 64 Button
on (release) {
gotoAndStop (95);
}
Symbol 75 Button
on (release) {
loadVariablesNum ("http://www.kwikgames.com/cgi/flashemail.php", 0, "POST");
}
Symbol 85 Button
on (release) {
_root.switched(1);
}
Symbol 86 Button
on (release) {
_root.switched(1);
}
Symbol 88 Button
on (release) {
_root.switched(1);
}
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
stop();
Symbol 89 MovieClip Frame 3
stop();
Symbol 90 Button
on (release) {
_root.switched(2);
}
Symbol 91 Button
on (release) {
_root.switched(2);
}
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
stop();
Symbol 92 MovieClip Frame 3
gotoAndStop (1);
Symbol 93 Button
on (release) {
_root.switched(3);
}
Symbol 94 Button
on (release) {
_root.switched(3);
}
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
stop();
Symbol 95 MovieClip Frame 3
gotoAndStop (1);
Symbol 96 Button
on (release) {
_root.switched(4);
}
Symbol 97 Button
on (release) {
_root.switched(4);
}
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
stop();
Symbol 98 MovieClip Frame 3
gotoAndStop (1);
Symbol 99 Button
on (release) {
_root.switched(5);
}
Symbol 100 Button
on (release) {
_root.switched(5);
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();
Symbol 101 MovieClip Frame 3
gotoAndStop (1);
Symbol 102 Button
on (release) {
_root.switched(6);
}
Symbol 103 Button
on (release) {
_root.switched(6);
}
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
stop();
Symbol 104 MovieClip Frame 3
gotoAndStop (1);
Symbol 105 Button
on (release) {
_root.switched(7);
}
Symbol 106 Button
on (release) {
_root.switched(7);
}
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
stop();
Symbol 107 MovieClip Frame 3
gotoAndStop (1);
Symbol 108 Button
on (release) {
_root.switched(8);
}
Symbol 109 Button
on (release) {
_root.switched(8);
}
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 2
stop();
Symbol 110 MovieClip Frame 3
gotoAndStop (1);
Symbol 111 Button
on (release) {
_root.switched(9);
}
Symbol 112 Button
on (release) {
_root.switched(9);
}
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
stop();
Symbol 113 MovieClip Frame 3
gotoAndStop (1);
Symbol 114 Button
on (release) {
_root.switched(10);
}
Symbol 115 Button
on (release) {
_root.switched(10);
}
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 2
stop();
Symbol 116 MovieClip Frame 3
gotoAndStop (1);
Symbol 117 Button
on (release) {
_root.switched(11);
}
Symbol 118 Button
on (release) {
_root.switched(11);
}
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 2
stop();
Symbol 119 MovieClip Frame 3
gotoAndStop (1);
Symbol 120 Button
on (release) {
_root.switched(12);
}
Symbol 121 Button
on (release) {
_root.switched(12);
}
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 2
stop();
Symbol 122 MovieClip Frame 3
gotoAndStop (1);
Symbol 123 Button
on (release) {
_root.switched(13);
}
Symbol 124 Button
on (release) {
_root.switched(13);
}
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 2
stop();
Symbol 125 MovieClip Frame 3
gotoAndStop (1);
Symbol 126 Button
on (release) {
_root.switched(14);
}
Symbol 127 Button
on (release) {
_root.switched(14);
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 128 MovieClip Frame 3
gotoAndStop (1);
Symbol 129 Button
on (release) {
_root.switched(15);
}
Symbol 130 Button
on (release) {
_root.switched(15);
}
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 2
stop();
Symbol 131 MovieClip Frame 3
gotoAndStop (1);
Symbol 132 Button
on (release) {
_root.switched(16);
}
Symbol 133 Button
on (release) {
_root.switched(16);
}
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 2
stop();
Symbol 134 MovieClip Frame 3
gotoAndStop (1);
Symbol 135 Button
on (release) {
_root.switched(21);
}
Symbol 136 Button
on (release) {
_root.switched(21);
}
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
stop();
Symbol 137 MovieClip Frame 3
gotoAndStop (1);
Symbol 138 Button
on (release) {
_root.switched(17);
}
Symbol 139 Button
on (release) {
_root.switched(17);
}
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 140 MovieClip Frame 3
gotoAndStop (1);
Symbol 141 Button
on (release) {
_root.switched(22);
}
Symbol 142 Button
on (release) {
_root.switched(22);
}
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 2
stop();
Symbol 143 MovieClip Frame 3
gotoAndStop (1);
Symbol 144 Button
on (release) {
_root.switched(18);
}
Symbol 145 Button
on (release) {
_root.switched(18);
}
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
stop();
Symbol 146 MovieClip Frame 3
gotoAndStop (1);
Symbol 147 Button
on (release) {
_root.switched(23);
}
Symbol 148 Button
on (release) {
_root.switched(23);
}
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
stop();
Symbol 149 MovieClip Frame 3
gotoAndStop (1);
Symbol 150 Button
on (release) {
_root.switched(19);
}
Symbol 151 Button
on (release) {
_root.switched(19);
}
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 3
gotoAndStop (1);
Symbol 153 Button
on (release) {
_root.switched(20);
}
Symbol 154 Button
on (release) {
_root.switched(20);
}
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 2
stop();
Symbol 155 MovieClip Frame 3
gotoAndStop (1);
Symbol 156 Button
on (release) {
_root.switched(24);
}
Symbol 157 Button
on (release) {
_root.switched(24);
}
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
stop();
Symbol 158 MovieClip Frame 3
gotoAndStop (1);
Symbol 159 Button
on (release) {
_root.switched(25);
}
Symbol 160 Button
on (release) {
_root.switched(25);
}
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 2
stop();
Symbol 161 MovieClip Frame 3
gotoAndStop (1);
Symbol 184 Button
on (release) {
trace("test");
}
Symbol 185 Button
on (release) {
trace("test");
}
Symbol 190 Button
on (release) {
restart();
}
Symbol 191 Button
on (release) {
gotoAndStop (95);
}
Symbol 201 Button
on (release) {
_root.level++;
_root.switches = 0;
_root.restartTimer();
_root.unpause();
_root.nextFrame();
_root.nextFrame();
}
Symbol 202 Button
on (release) {
_root.level--;
_root.switches = 0;
_root.restartTimer();
_root.unpause();
_root.prevFrame();
_root.prevFrame();
}
Symbol 212 Button
on (release) {
_root.level++;
_root.switches = 0;
_root.restartTimer();
_root.unpause();
_root.nextFrame();
}
Symbol 225 MovieClip Frame 1
levelscore = _root.level * 50;
_root.score = _root.score + levelscore;
if (_root.minutes < 1) {
timebonus = (60 - _root.seconds) * 10;
_root.score = _root.score + timebonus;
}
if (_root.switches < 25) {
movebonus = (60 - _root.switches) * 5;
_root.score = _root.score + movebonus;
}
Symbol 225 MovieClip Frame 21
stop();
Symbol 238 Button
on (release) {
finalscore = scores;
gotoAndStop (205);
}
Symbol 261 MovieClip Frame 1
stop();
errorMsg = "";
i = 0;
alien_mc.onEnterFrame = function () {
i = i + 0.25;
i = i % 2;
this.gotoAndStop(i + 1);
};
Symbol 262 Button
on (release) {
gotoAndStop (95);
}