Frame 1
function playSound(soundID, times, volume) {
var soundobject;
soundobject = new Sound();
soundobject.attachSound(soundID);
soundobject.setVolume(volume);
soundobject.start(0, times);
}
function dropNuke() {
_root.attachMovie("bomb", "bomb1", 9996);
bomb1._x = _xmouse;
bomb1._y = _ymouse;
}
function reflectiveBrick() {
if (brickReflecting == "no") {
nextDepth = nextDepth + 1;
_root.attachMovie("reflectiveBrick", "reflectiveBrick1", nextDepth);
reflectiveBrick1._x = _xmouse;
reflectiveBrick1._y = _ymouse;
}
}
function placePowerUp(nextDepth) {
nextDepth = nextDepth + 1;
powerUpMovie = powerUpList[random(4)];
_root.attachMovie(("" + powerUpMovie) + "", "powerUp" + nextDepth, nextDepth);
eval ("powerUp" + nextDepth)._x = _xmouse;
eval ("powerUp" + nextDepth)._y = _ymouse;
_root.nextDepth++;
}
function dropBrick(brickMovie, bricks, nextDepth) {
nextDepth = nextDepth + 1;
_root.attachMovie(("" + brickMovie) + "", "copy" + bricks, nextDepth);
eval ("copy" + bricks)._x = _xmouse;
eval ("copy" + bricks)._y = _ymouse;
bricksDropped++;
}
function updateBrickStatus() {
if (0 >= bricks) {
bricks = 0;
}
bricksLeft = bricks;
bricksLeft2 = bricks;
bricksLeftAlert = "";
showScore = score;
showScore2 = score;
enemies = enemyTotal;
enemies2 = enemyTotal;
accuracyValue = Math.round((TotalEnemiesHit / bricksDropped) * 100);
if (100 < accuracyValue) {
accuracyValue = 100;
}
if (bricksDropped == 0) {
accuracyValue = 0;
}
accuracy = accuracyValue + "%";
accuracy2 = accuracyValue + "%";
moreBricks = moreBricks;
reflectiveBricks = reflectiveBricks;
freeze = freeze;
nuke = nuke;
if (10 >= bricks) {
bricksLeftAlert = bricks;
bricksLeft = "";
}
}
function changeCursor(movieclip) {
Mouse.hide();
_root.attachMovie(movieclip, "customCursor", 9999);
if (((movieclip == "status2") or (movieclip == "arrow")) or (movieclip == "loading")) {
startDrag ("customCursor", true);
} else {
startDrag ("customCursor", true, 16, 16, 386, 316);
}
}
function menu() {
stopAllSounds();
if (customCursor) {
stopDrag();
_root.customCursor.removeMovieClip();
}
if (current == "play") {
gotoAndPlay (15);
} else if (current == "instructions") {
gotoAndPlay (11);
} else if (current == "highscores") {
gotoAndPlay (9);
} else if (current == "credits") {
gotoAndPlay (13);
} else if (current == "menu") {
gotoAndPlay (1);
} else {
gotoAndPlay (1);
}
}
function createEnemy(count) {
var i;
i = 1;
while (count >= i) {
newEnemy = enemyList[random(3)];
nextDepth = nextDepth + i;
_root.attachMovie(("" + newEnemy) + "", "enemy" + i, nextDepth);
i++;
}
}
function calculateRandom(min, max) {
return(Math.floor(Math.random() * ((max + 1) - min)) + min);
}
function attachText(text) {
Mouse.hide();
_root.customCursor.status = text;
}
bricks = 99;
finished = 0;
startBricks = bricks;
enemyTotal = 0;
bricksDropped = 0;
TotalEnemiesHit = 0;
totalEnemies = 0;
level = 0;
hit = 0;
score = 0;
nextDepth = 10;
moreBricks = 0;
reflectiveBricks = 0;
brickReflecting = "no";
reflectHitLimit = 8;
reflectHits = 0;
nuke = 0;
nuking = "no";
freeze = 0;
powerUpInterval = 50;
powerUpCheck = 20;
powerUpList = new Array("moreBricksPU", "freezePU", "reflectiveBrickPU", "nukePU");
brickList = new Array("redBrick", "blueBrick", "yellowBrick");
enemyList = new Array("orangeEnemy", "purpleEnemy", "greenEnemy");
if (customCursor) {
stopDrag();
_root.customCursor.removeMovieClip();
}
if (enemy1) {
enemy1.removeMovieClip();
}
if (enemy2) {
enemy2.removeMovieClip();
}
if (enemy3) {
enemy3.removeMovieClip();
}
if (enemy4) {
enemy4.removeMovieClip();
}
if (enemy5) {
enemy5.removeMovieClip();
}
if (enemy6) {
enemy6.removeMovieClip();
}
if (enemy7) {
enemy7.removeMovieClip();
}
if (enemy8) {
enemy8.removeMovieClip();
}
stopAllSounds();
play();
Frame 2
_root.changeCursor("loading");
Frame 3
play();
if (_framesloaded >= _totalframes) {
gotoAndPlay (7);
}
Frame 4
prevFrame();
Frame 7
stopDrag();
_root.customCursor.removeMovieClip();
stopAllSounds();
stop();
Frame 8
stop();
menu();
Frame 9
txtName = "";
if (enemy1) {
enemy1.removeMovieClip();
}
if (enemy2) {
enemy2.removeMovieClip();
}
if (enemy3) {
enemy3.removeMovieClip();
}
if (enemy4) {
enemy4.removeMovieClip();
}
if (enemy5) {
enemy5.removeMovieClip();
}
if (enemy6) {
enemy6.removeMovieClip();
}
if (enemy7) {
enemy7.removeMovieClip();
}
if (enemy8) {
enemy8.removeMovieClip();
}
stopDrag();
_root.customCursor.removeMovieClip();
stopAllSounds();
stop();
Frame 10
stop();
menu();
Frame 11
stop();
stopDrag();
_root.customCursor.removeMovieClip();
stopAllSounds();
Frame 12
stop();
menu();
Frame 13
stop();
stopDrag();
_root.customCursor.removeMovieClip();
stopAllSounds();
Frame 14
stop();
menu();
Frame 15
stopDrag();
_root.customCursor.removeMovieClip();
_root.changeCursor("arrow");
stopAllSounds();
stop();
_root.playSound("looper", 9999, 100);
difficulty = "";
movie = "";
hasPowerUp = "no";
whichPowerUp = ":";
whichDifficulty = ":";
whichMovie = ":";
Instance of Symbol 274 MovieClip in Frame 15
onClipEvent (load) {
this._alpha = 0;
playIt = "no";
}
onClipEvent (mouseMove) {
if (((_root.movie != "") and (_root.difficulty != "")) and (_root.hasPowerUp != "no")) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
_root.playSound("menutouch", 1, 100);
this._alpha = 100;
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
}
playIt = "yes";
}
} else {
this._alpha = 0;
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (((_root.movie != "") and (_root.difficulty != "")) and (_root.hasPowerUp != "no")) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.nextFrame();
}
}
}
Instance of Symbol 275 MovieClip "red" in Frame 15
onClipEvent (mouseMove) {
if (_root.movie == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
this._alpha = 100;
_root.playSound("red", 1, 100);
_root.whichMovie = ": red";
}
playIt = "no";
} else {
if (playIt == "no") {
_root.whichMovie = ":";
this._alpha = 50;
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (_root.movie == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_root.movie = "redBrick";
_root.whichMovie = ": red";
_root.red._alpha = 15;
_root.yellow._alpha = 15;
_root.blue._alpha = 15;
_root.random._alpha = 15;
this._alpha = 100;
}
}
}
Instance of Symbol 276 MovieClip "blue" in Frame 15
onClipEvent (mouseMove) {
if (_root.movie == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
this._alpha = 100;
_root.playSound("blue", 1, 100);
_root.whichMovie = ": blue";
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
_root.whichMovie = ":";
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (_root.movie == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_root.movie = "blueBrick";
_root.whichMovie = ": blue";
_root.red._alpha = 15;
_root.yellow._alpha = 15;
_root.blue._alpha = 15;
_root.random._alpha = 15;
this._alpha = 100;
}
}
}
Instance of Symbol 277 MovieClip "yellow" in Frame 15
onClipEvent (mouseMove) {
if (_root.movie == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
this._alpha = 100;
_root.playSound("yellow", 1, 100);
_root.whichMovie = ": yellow";
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
_root.whichMovie = ":";
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (_root.movie == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_root.movie = "yellowBrick";
_root.whichMovie = ": yellow";
_root.red._alpha = 15;
_root.yellow._alpha = 15;
_root.blue._alpha = 15;
_root.random._alpha = 15;
this._alpha = 100;
}
}
}
Instance of Symbol 278 MovieClip "random" in Frame 15
onClipEvent (mouseMove) {
if (_root.movie == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
this._alpha = 100;
_root.playSound("random", 1, 100);
_root.whichMovie = ": random";
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
_root.whichMovie = ":";
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (_root.movie == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_root.movie = "randomBrick";
_root.whichMovie = ": random";
_root.red._alpha = 15;
_root.yellow._alpha = 15;
_root.blue._alpha = 15;
_root.random._alpha = 15;
this._alpha = 100;
}
}
}
Instance of Symbol 283 MovieClip "orange" in Frame 15
onClipEvent (mouseMove) {
if (_root.difficulty == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
this._alpha = 100;
_root.playSound("effortless", 1, 100);
_root.whichDifficulty = ": effortless";
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
_root.whichDifficulty = ":";
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (_root.difficulty == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_root.difficulty = "easy";
_root.whichDifficulty = ": effortless";
_root.orange._alpha = 15;
_root.purple._alpha = 15;
_root.green._alpha = 15;
this._alpha = 100;
}
}
}
Instance of Symbol 284 MovieClip "purple" in Frame 15
onClipEvent (mouseMove) {
if (_root.difficulty == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
this._alpha = 100;
_root.playSound("medium", 1, 100);
_root.whichDifficulty = ": extreme";
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
_root.whichDifficulty = ":";
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (_root.difficulty == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_root.difficulty = "medium";
_root.whichDifficulty = ": extreme";
_root.orange._alpha = 15;
_root.purple._alpha = 15;
_root.green._alpha = 15;
this._alpha = 100;
}
}
}
Instance of Symbol 285 MovieClip "green" in Frame 15
onClipEvent (mouseMove) {
if (_root.difficulty == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
this._alpha = 100;
_root.playSound("hard", 1, 100);
_root.whichDifficulty = ": ultimate";
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
_root.whichDifficulty = ":";
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (_root.difficulty == "") {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_root.difficulty = "hard";
_root.whichDifficulty = ": ultimate";
_root.orange._alpha = 15;
_root.purple._alpha = 15;
_root.green._alpha = 15;
this._alpha = 100;
}
}
}
Instance of Symbol 286 MovieClip "menuReflect" in Frame 15
onClipEvent (mouseMove) {
if (_root.hasPowerUp == "no") {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
this._alpha = 100;
_root.playSound("menureflectiveBrick", 1, 100);
_root.whichPowerUp = ": reflective brick";
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
_root.whichPowerUp = ":";
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (_root.hasPowerUp == "no") {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_root.hasPowerUp = "yes";
_root.whichPowerUp = ": reflective brick";
_root.reflectiveBricks++;
_root.menuFreeze._alpha = 15;
_root.menuNuke._alpha = 15;
_root.menuReflect._alpha = 15;
_root.menuMore._alpha = 15;
this._alpha = 100;
}
}
}
Instance of Symbol 287 MovieClip "menuFreeze" in Frame 15
onClipEvent (mouseMove) {
if (_root.hasPowerUp == "no") {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
this._alpha = 100;
_root.playSound("menufreeze", 1, 100);
_root.whichPowerUp = ": freeze";
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
_root.whichPowerUp = ":";
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (_root.hasPowerUp == "no") {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_root.hasPowerUp = "yes";
_root.whichPowerUp = ": freeze";
_root.freeze++;
_root.menuFreeze._alpha = 15;
_root.menuNuke._alpha = 15;
_root.menuReflect._alpha = 15;
_root.menuMore._alpha = 15;
this._alpha = 100;
}
}
}
Instance of Symbol 288 MovieClip "menuMore" in Frame 15
onClipEvent (mouseMove) {
if (_root.hasPowerUp == "no") {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
this._alpha = 100;
_root.playSound("menumoreBricks", 1, 100);
_root.whichPowerUp = ": more bricks";
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
_root.whichPowerUp = ":";
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (_root.hasPowerUp == "no") {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_root.hasPowerUp = "yes";
_root.whichPowerUp = ": more bricks";
_root.moreBricks++;
_root.menuFreeze._alpha = 15;
_root.menuNuke._alpha = 15;
_root.menuReflect._alpha = 15;
_root.menuMore._alpha = 15;
this._alpha = 100;
}
}
}
Instance of Symbol 289 MovieClip "menuNuke" in Frame 15
onClipEvent (mouseMove) {
if (_root.hasPowerUp == "no") {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
this._alpha = 100;
_root.playSound("menunuke", 1, 100);
_root.whichPowerUp = ": nuke";
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
_root.whichPowerUp = ":";
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (_root.hasPowerUp == "no") {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_root.hasPowerUp = "yes";
_root.whichPowerUp = ": nuke";
_root.nuke++;
_root.menuFreeze._alpha = 15;
_root.menuNuke._alpha = 15;
_root.menuReflect._alpha = 15;
_root.menuMore._alpha = 15;
this._alpha = 100;
}
}
}
Frame 16
stop();
if ((movie == "") or (difficulty == "")) {
prevFrame();
} else {
nextFrame();
}
Frame 17
stop();
updateBrickStatus();
Instance of Symbol 150 MovieClip [begin] in Frame 17
onClipEvent (load) {
stopDrag();
_root.customCursor.removeMovieClip();
}
Frame 18
changeCursor("crosshair");
updateBrickStatus();
toggleHighQuality();
Frame 19
updateBrickStatus();
Frame 20
if (hit == level) {
if (level < 8) {
level++;
}
hit = 0;
createEnemy(level);
enemyTotal = level;
}
prevFrame();
play();
Frame 21
toggleHighQuality();
updateBrickStatus();
finished = 1;
moreBricks = 0;
reflectiveBricks = 0;
brickReflecting = "no";
reflectHitLimit = 8;
reflectHits = 0;
nuke = 0;
freeze = 0;
if (reflectiveBrick1) {
reflectiveBrick1.removeMovieClip();
}
stop();
Instance of Symbol 149 MovieClip [finish] in Frame 21
onClipEvent (load) {
stopAllSounds();
}
Frame 22
gotoAndPlay (1);
Frame 23
play();
if (_framesloaded >= _totalframes) {
gotoAndPlay (7);
} else {
percentVal = (_framesloaded / _totalframes) * 100;
percent = percentVal + "%";
setProperty("loader", _xscale , percentVal);
}
Frame 26
prevFrame();
Symbol 42 MovieClip Frame 10
stop();
Symbol 43 MovieClip Frame 10
stop();
Symbol 44 MovieClip [blueBrick] Frame 8
_root.playSound("drop", 1, 120);
Symbol 44 MovieClip [blueBrick] Frame 16
stop();
_root.brickDropping = "no";
removeMovieClip("");
Symbol 45 MovieClip [redBrick] Frame 8
_root.playSound("drop", 1, 120);
Symbol 45 MovieClip [redBrick] Frame 16
stop();
_root.brickDropping = "no";
removeMovieClip("");
Symbol 46 MovieClip [yellowBrick] Frame 8
_root.playSound("drop", 1, 120);
Symbol 46 MovieClip [yellowBrick] Frame 16
stop();
_root.brickDropping = "no";
removeMovieClip("");
Symbol 50 MovieClip Frame 10
stop();
Symbol 58 MovieClip [begin] Frame 1
stopAllSounds();
_root.playSound("beginSound", 1, 100);
if (_root.difficulty == "easy") {
_root.playSound("easyLoop", 9999, 100);
}
if (_root.difficulty == "medium") {
_root.playSound("mediumLoop", 9999, 100);
}
if (_root.difficulty == "hard") {
_root.playSound("hardLoop", 9999, 100);
}
Symbol 58 MovieClip [begin] Frame 10
_root.gotoAndPlay("load");
Symbol 63 MovieClip Frame 1
gotoAndPlay (2);
Symbol 63 MovieClip Frame 10
stop();
Symbol 65 MovieClip Frame 1
gotoAndPlay (2);
Symbol 65 MovieClip Frame 10
stop();
Symbol 67 MovieClip Frame 1
gotoAndPlay (2);
Symbol 67 MovieClip Frame 10
stop();
Symbol 68 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 71 MovieClip [finish] Frame 1
_root.playSound("finishSound", 1, 100);
today = new Date();
year = today.getFullYear();
month = today.getMonth() + 1;
day = today.getDate();
if (day < 10) {
day = "0" + day;
}
if (month < 10) {
month = "0" + month;
}
_root.txtDate = (((month + "/") + day) + "/") + year;
_root.txtAccuracy = _root.accuracy;
tempScore = _root.score;
if (_root.score < 1000) {
if (_root.score < 10) {
tempScore = "000" + _root.score;
} else if (_root.score < 100) {
tempScore = "00" + _root.score;
} else {
tempScore = "0" + _root.score;
}
}
tempAccuracy = _root.accuracyValue;
if (tempAccuracy < 100) {
if (tempAccuracy < 10) {
tempAccuracy = "00" + _root.accuracyValue;
} else {
tempAccuracy = "0" + _root.accuracyValue;
}
}
_root.txtScore = tempScore;
_root.txtRealScore = _root.score;
_root.txtAccuracy = tempAccuracy + "%";
_root.txtRealAccuracy = _root.accuracy;
if (_root.movie == "redBrick") {
_root.txtBrickColor = "red";
}
if (_root.movie == "blueBrick") {
_root.txtBrickColor = "blue";
}
if (_root.movie == "yellowBrick") {
_root.txtBrickColor = "yellow";
}
if (_root.movie == "randomBrick") {
_root.txtBrickColor = "random";
}
if (_root.difficulty == "easy") {
_root.txtDifficulty = "effortless";
}
if (_root.difficulty == "medium") {
_root.txtDifficulty = "extreme";
}
if (_root.difficulty == "hard") {
_root.txtDifficulty = "ultimate";
}
Symbol 71 MovieClip [finish] Frame 31
stop();
Instance of Symbol 68 MovieClip in Symbol 71 MovieClip [finish] Frame 31
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.gotoAndPlay("highscores");
}
}
Instance of Symbol 69 MovieClip in Symbol 71 MovieClip [finish] Frame 31
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.gotoAndPlay("highscores");
}
}
Instance of Symbol 70 MovieClip in Symbol 71 MovieClip [finish] Frame 31
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.gotoAndPlay("start");
}
}
Symbol 72 MovieClip [pointer2] Frame 1
play();
Symbol 72 MovieClip [pointer2] Frame 6
gotoAndPlay (1);
Symbol 73 MovieClip [pointer] Frame 6
gotoAndPlay (1);
Symbol 74 MovieClip [pointer] Frame 6
gotoAndPlay (1);
Symbol 76 MovieClip Frame 1
stop();
Symbol 78 MovieClip [crosshair] Frame 1
stop();
Instance of Symbol 77 MovieClip in Symbol 78 MovieClip [crosshair] Frame 1
onClipEvent (mouseDown) {
with (_root) {
if (0 < bricks) {
if (movie == "randomBrick") {
brickMovie = brickList[random(3)];
} else {
brickMovie = movie;
}
nextDepth = nextDepth + 1;
dropBrick(brickMovie, bricks, nextDepth);
nextDepth = nextDepth + 1;
if (_root.score >= _root.powerUpCheck) {
_root.placePowerUp(nextDepth);
_root.powerUpCheck = _root.powerUpCheck + _root.powerUpInterval;
}
bricks = bricks - 1;
} else {
_root.attachMovie("error", "error" + bricks, bricks);
eval ("error" + bricks)._x = _xmouse;
eval ("error" + bricks)._y = _ymouse;
_root.playSound("smack", 1, 100);
}
}
}
onClipEvent (mouseMove) {
with (_root) {
if (((finished == 0) and (bricks == 0)) and (nuking == "no")) {
if (brickReflecting == "yes") {
brickReflecting = "no";
reflectiveBrick1.removeMovieClip();
}
_root.score = _root.score + _root.accuracyValue;
gotoAndPlay("finish");
}
}
updateAfterEvent();
}
Symbol 86 MovieClip Frame 1
addScore2 = "+" + _parent.pointValue;
Symbol 86 MovieClip Frame 10
addScore2 = "+" + _parent.pointValue;
stop();
Symbol 99 MovieClip [orangeEnemy] Frame 1
stop();
newEnemyName = "orangeEnemy";
dead = "no";
Instance of Symbol 81 MovieClip "mosquito" in Symbol 99 MovieClip [orangeEnemy] Frame 1
onClipEvent (load) {
varName = 5;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (0 < _root.bricks) {
_root.score = _root.score + addScore;
_root.enemyTotal--;
_root.TotalEnemiesHit++;
_parent.gotoAndPlay("hit");
}
}
}
onClipEvent (load) {
function updateSize(deduct) {
if (0 < _root.bricks) {
_parent._xscale = _parent._xscale + deduct;
_parent._yscale = _parent._yscale + deduct;
} else if ((_parent._xscale != scale) and (_parent._yscale != scale)) {
_parent._xscale = scale;
_parent._yscale = scale;
}
}
if (_root.difficulty == "easy") {
if (_parent.newEnemyName == "orangeEnemy") {
addScore = 1;
}
if (_parent.newEnemyName == "purpleEnemy") {
addScore = 2;
}
if (_parent.newEnemyName == "greenEnemy") {
addScore = 3;
}
minX = 2;
maxX = 8;
minY = 2;
maxY = 8;
scale = 100;
takeAway = 10;
} else if (_root.difficulty == "medium") {
if (_parent.newEnemyName == "orangeEnemy") {
addScore = 4;
}
if (_parent.newEnemyName == "purpleEnemy") {
addScore = 5;
}
if (_parent.newEnemyName == "greenEnemy") {
addScore = 6;
}
minX = 6;
maxX = 18;
minY = 6;
maxY = 18;
scale = 80;
takeAway = 5;
} else if (_root.difficulty == "hard") {
if (_parent.newEnemyName == "orangeEnemy") {
addScore = 7;
}
if (_parent.newEnemyName == "purpleEnemy") {
addScore = 8;
}
if (_parent.newEnemyName == "greenEnemy") {
addScore = 9;
}
minX = 12;
maxX = 32;
minY = 12;
maxY = 32;
scale = 60;
takeAway = 2;
}
_parent.pointValue = addScore;
_root.totalEnemies++;
_parent._x = _root.calculateRandom(-200, 387);
_parent._y = _root.calculateRandom(-200, 317);
_parent._xscale = scale;
_parent._yscale = scale;
xStep = _root.calculateRandom(minX, maxX);
yStep = _root.calculateRandom(minY, maxY);
_root.playSound("alien", 1, 100);
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + ystep;
if ((_parent._xscale < 10) or (_parent._yscale < 10)) {
deduct = takeAway;
_parent._xscale = 10;
_parent._yscale = 10;
if (0 < _root.bricks) {
_root.playSound("steal", 1, 120);
_root.bricks--;
}
}
if ((_parent._xscale >= scale) or (_parent._yscale >= scale)) {
deduct = -takeAway;
}
if ((_parent._y < 15) and (ystep < 0)) {
ystep = -ystep;
updateSize(deduct);
} else if ((317 < _parent._y) and (0 < ystep)) {
ystep = -ystep;
updateSize(deduct);
}
if ((_parent._x < 15) and (xstep < 0)) {
xstep = -xstep;
updateSize(deduct);
} else if ((387 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
updateSize(deduct);
}
if (this.hitTest(_root.reflectiveBrick1)) {
if (0 < _root.bricks) {
_root.score = _root.score + addScore;
_root.enemyTotal--;
_root.reflectHits++;
_parent.gotoAndPlay("reflectHit");
} else {
_root.enemyTotal--;
_parent.gotoAndPlay("escape");
}
}
if (0 >= _root.bricks) {
if ((_parent._xscale != scale) and (_parent._yscale != scale)) {
_parent._xscale = scale;
_parent._yscale = scale;
}
_parent.gotoAndPlay("laugh");
}
}
Symbol 99 MovieClip [orangeEnemy] Frame 2
dead = "yes";
Instance of Symbol 82 MovieClip "mosquito" in Symbol 99 MovieClip [orangeEnemy] Frame 2
onClipEvent (load) {
varName = 5;
}
Symbol 99 MovieClip [orangeEnemy] Frame 10
_root.playSound("crunch", 1, 120);
dead = "yes";
Symbol 99 MovieClip [orangeEnemy] Frame 24
removeMovieClip("");
_root.hit++;
Instance of Symbol 82 MovieClip "mosquito" in Symbol 99 MovieClip [orangeEnemy] Frame 25
onClipEvent (load) {
varName = 5;
}
Symbol 99 MovieClip [orangeEnemy] Frame 33
_root.playSound("escape", 1, 100);
Symbol 99 MovieClip [orangeEnemy] Frame 38
removeMovieClip("");
_root.hit++;
Symbol 99 MovieClip [orangeEnemy] Frame 39
stop();
Instance of Symbol 88 MovieClip in Symbol 99 MovieClip [orangeEnemy] Frame 39
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (0 < _root.bricks) {
_root.TotalEnemiesHit++;
_root.enemyTotal--;
_parent.gotoAndPlay("freezeHit");
} else {
_root.enemyTotal--;
_parent.gotoAndPlay("escape");
}
}
}
onClipEvent (load) {
if (_parent._y < 15) {
_parent._y = 25;
} else if (317 < _parent._y) {
_parent._y = 300;
}
if (_parent._x < 15) {
_parent._x = 25;
} else if (387 < _parent._x) {
_parent._x = 370;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.reflectiveBrick1)) {
if (0 < _root.bricks) {
_root.score = _root.score + _parent.pointValue;
_root.enemyTotal--;
_root.reflectHits++;
_parent.gotoAndPlay("reflectFreezeHit");
} else {
_root.enemyTotal--;
_parent.gotoAndPlay("escape");
}
}
if (0 >= _root.bricks) {
if ((_parent._xscale != scale) and (_parent._yscale != scale)) {
_parent._xscale = scale;
_parent._yscale = scale;
}
_parent.gotoAndPlay("laugh");
}
}
Symbol 99 MovieClip [orangeEnemy] Frame 40
dead = "yes";
_root.score = _root.score + pointValue;
Symbol 99 MovieClip [orangeEnemy] Frame 49
_root.playSound("break", 1, 150);
dead = "yes";
Symbol 99 MovieClip [orangeEnemy] Frame 63
removeMovieClip("");
_root.hit++;
Symbol 99 MovieClip [orangeEnemy] Frame 64
_root.score = _root.score + pointValue;
_root.enemyTotal--;
dead = "yes";
Instance of Symbol 93 MovieClip in Symbol 99 MovieClip [orangeEnemy] Frame 64
onClipEvent (load) {
if (_parent._y < 15) {
_parent._y = 25;
} else if (317 < _parent._y) {
_parent._y = 300;
}
if (_parent._x < 15) {
_parent._x = 25;
} else if (387 < _parent._x) {
_parent._x = 370;
}
}
Symbol 99 MovieClip [orangeEnemy] Frame 75
removeMovieClip("");
_root.hit++;
Symbol 99 MovieClip [orangeEnemy] Frame 76
stop();
Instance of Symbol 98 MovieClip in Symbol 99 MovieClip [orangeEnemy] Frame 76
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.enemyTotal--;
_parent.gotoAndPlay("escape");
}
}
Symbol 108 MovieClip [greenEnemy] Frame 1
stop();
newEnemyName = "greenEnemy";
dead = "no";
Instance of Symbol 101 MovieClip in Symbol 108 MovieClip [greenEnemy] Frame 1
onClipEvent (load) {
varName = 5;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (0 < _root.bricks) {
_root.score = _root.score + addScore;
_root.enemyTotal--;
_root.TotalEnemiesHit++;
_parent.gotoAndPlay("hit");
}
}
}
onClipEvent (load) {
function updateSize(deduct) {
if (0 < _root.bricks) {
_parent._xscale = _parent._xscale + deduct;
_parent._yscale = _parent._yscale + deduct;
} else if ((_parent._xscale != scale) and (_parent._yscale != scale)) {
_parent._xscale = scale;
_parent._yscale = scale;
}
}
if (_root.difficulty == "easy") {
if (_parent.newEnemyName == "orangeEnemy") {
addScore = 1;
}
if (_parent.newEnemyName == "purpleEnemy") {
addScore = 2;
}
if (_parent.newEnemyName == "greenEnemy") {
addScore = 3;
}
minX = 2;
maxX = 8;
minY = 2;
maxY = 8;
scale = 100;
takeAway = 10;
} else if (_root.difficulty == "medium") {
if (_parent.newEnemyName == "orangeEnemy") {
addScore = 4;
}
if (_parent.newEnemyName == "purpleEnemy") {
addScore = 5;
}
if (_parent.newEnemyName == "greenEnemy") {
addScore = 6;
}
minX = 6;
maxX = 18;
minY = 6;
maxY = 18;
scale = 80;
takeAway = 5;
} else if (_root.difficulty == "hard") {
if (_parent.newEnemyName == "orangeEnemy") {
addScore = 7;
}
if (_parent.newEnemyName == "purpleEnemy") {
addScore = 8;
}
if (_parent.newEnemyName == "greenEnemy") {
addScore = 9;
}
minX = 12;
maxX = 32;
minY = 12;
maxY = 32;
scale = 60;
takeAway = 2;
}
_parent.pointValue = addScore;
_root.totalEnemies++;
_parent._x = _root.calculateRandom(-200, 387);
_parent._y = _root.calculateRandom(-200, 317);
_parent._xscale = scale;
_parent._yscale = scale;
xStep = _root.calculateRandom(minX, maxX);
yStep = _root.calculateRandom(minY, maxY);
_root.playSound("alien", 1, 100);
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + ystep;
if ((_parent._xscale < 10) or (_parent._yscale < 10)) {
deduct = takeAway;
_parent._xscale = 10;
_parent._yscale = 10;
if (0 < _root.bricks) {
_root.playSound("steal", 1, 120);
_root.bricks--;
}
}
if ((_parent._xscale >= scale) or (_parent._yscale >= scale)) {
deduct = -takeAway;
}
if ((_parent._y < 15) and (ystep < 0)) {
ystep = -ystep;
updateSize(deduct);
} else if ((317 < _parent._y) and (0 < ystep)) {
ystep = -ystep;
updateSize(deduct);
}
if ((_parent._x < 15) and (xstep < 0)) {
xstep = -xstep;
updateSize(deduct);
} else if ((387 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
updateSize(deduct);
}
if (this.hitTest(_root.reflectiveBrick1)) {
if (0 < _root.bricks) {
_root.score = _root.score + addScore;
_root.enemyTotal--;
_root.reflectHits++;
_parent.gotoAndPlay("reflectHit");
} else {
_root.enemyTotal--;
_parent.gotoAndPlay("escape");
}
}
if (0 >= _root.bricks) {
if ((_parent._xscale != scale) and (_parent._yscale != scale)) {
_parent._xscale = scale;
_parent._yscale = scale;
}
_parent.gotoAndPlay("laugh");
}
}
Symbol 108 MovieClip [greenEnemy] Frame 2
dead = "yes";
Instance of Symbol 102 MovieClip in Symbol 108 MovieClip [greenEnemy] Frame 2
onClipEvent (load) {
varName = 5;
}
Symbol 108 MovieClip [greenEnemy] Frame 10
_root.playSound("crunch", 1, 120);
dead = "yes";
Symbol 108 MovieClip [greenEnemy] Frame 24
removeMovieClip("");
_root.hit++;
Instance of Symbol 102 MovieClip in Symbol 108 MovieClip [greenEnemy] Frame 25
onClipEvent (load) {
varName = 5;
}
Symbol 108 MovieClip [greenEnemy] Frame 33
_root.playSound("escape", 1, 100);
Symbol 108 MovieClip [greenEnemy] Frame 38
removeMovieClip("");
_root.hit++;
Instance of Symbol 82 MovieClip in Symbol 108 MovieClip [greenEnemy] Frame 38
onClipEvent (load) {
varName = 5;
}
Symbol 108 MovieClip [greenEnemy] Frame 39
stop();
Instance of Symbol 88 MovieClip in Symbol 108 MovieClip [greenEnemy] Frame 39
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (0 < _root.bricks) {
_root.TotalEnemiesHit++;
_root.enemyTotal--;
_parent.gotoAndPlay("freezeHit");
} else {
_root.enemyTotal--;
_parent.gotoAndPlay("escape");
}
}
}
onClipEvent (load) {
if (_parent._y < 15) {
_parent._y = 25;
} else if (317 < _parent._y) {
_parent._y = 300;
}
if (_parent._x < 15) {
_parent._x = 25;
} else if (387 < _parent._x) {
_parent._x = 370;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.reflectiveBrick1)) {
if (0 < _root.bricks) {
_root.score = _root.score + _parent.pointValue;
_root.enemyTotal--;
_root.reflectHits++;
_parent.gotoAndPlay("reflectFreezeHit");
} else {
_root.enemyTotal--;
_parent.gotoAndPlay("escape");
}
}
if (0 >= _root.bricks) {
if ((_parent._xscale != scale) and (_parent._yscale != scale)) {
_parent._xscale = scale;
_parent._yscale = scale;
}
_parent.gotoAndPlay("laugh");
}
}
Symbol 108 MovieClip [greenEnemy] Frame 40
dead = "yes";
_root.score = _root.score + pointValue;
Symbol 108 MovieClip [greenEnemy] Frame 49
_root.playSound("break", 1, 150);
dead = "yes";
Symbol 108 MovieClip [greenEnemy] Frame 63
removeMovieClip("");
_root.hit++;
Symbol 108 MovieClip [greenEnemy] Frame 64
_root.score = _root.score + pointValue;
_root.enemyTotal--;
dead = "yes";
Instance of Symbol 93 MovieClip in Symbol 108 MovieClip [greenEnemy] Frame 64
onClipEvent (load) {
if (_parent._y < 15) {
_parent._y = 25;
} else if (317 < _parent._y) {
_parent._y = 300;
}
if (_parent._x < 15) {
_parent._x = 25;
} else if (387 < _parent._x) {
_parent._x = 370;
}
}
Symbol 108 MovieClip [greenEnemy] Frame 75
removeMovieClip("");
_root.hit++;
Symbol 108 MovieClip [greenEnemy] Frame 76
stop();
Instance of Symbol 107 MovieClip in Symbol 108 MovieClip [greenEnemy] Frame 76
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.enemyTotal--;
_parent.gotoAndPlay("escape");
}
}
Symbol 117 MovieClip [purpleEnemy] Frame 1
stop();
newEnemyName = "purpleEnemy";
dead = "no";
Instance of Symbol 110 MovieClip in Symbol 117 MovieClip [purpleEnemy] Frame 1
onClipEvent (load) {
varName = 5;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (0 < _root.bricks) {
_root.score = _root.score + addScore;
_root.enemyTotal--;
_root.TotalEnemiesHit++;
_parent.gotoAndPlay("hit");
}
}
}
onClipEvent (load) {
function updateSize(deduct) {
if (0 < _root.bricks) {
_parent._xscale = _parent._xscale + deduct;
_parent._yscale = _parent._yscale + deduct;
} else if ((_parent._xscale != scale) and (_parent._yscale != scale)) {
_parent._xscale = scale;
_parent._yscale = scale;
}
}
if (_root.difficulty == "easy") {
if (_parent.newEnemyName == "orangeEnemy") {
addScore = 1;
}
if (_parent.newEnemyName == "purpleEnemy") {
addScore = 2;
}
if (_parent.newEnemyName == "greenEnemy") {
addScore = 3;
}
minX = 2;
maxX = 8;
minY = 2;
maxY = 8;
scale = 100;
takeAway = 10;
} else if (_root.difficulty == "medium") {
if (_parent.newEnemyName == "orangeEnemy") {
addScore = 4;
}
if (_parent.newEnemyName == "purpleEnemy") {
addScore = 5;
}
if (_parent.newEnemyName == "greenEnemy") {
addScore = 6;
}
minX = 6;
maxX = 18;
minY = 6;
maxY = 18;
scale = 80;
takeAway = 5;
} else if (_root.difficulty == "hard") {
if (_parent.newEnemyName == "orangeEnemy") {
addScore = 7;
}
if (_parent.newEnemyName == "purpleEnemy") {
addScore = 8;
}
if (_parent.newEnemyName == "greenEnemy") {
addScore = 9;
}
minX = 12;
maxX = 32;
minY = 12;
maxY = 32;
scale = 60;
takeAway = 2;
}
_parent.pointValue = addScore;
_root.totalEnemies++;
_parent._x = _root.calculateRandom(-200, 387);
_parent._y = _root.calculateRandom(-200, 317);
_parent._xscale = scale;
_parent._yscale = scale;
xStep = _root.calculateRandom(minX, maxX);
yStep = _root.calculateRandom(minY, maxY);
_root.playSound("alien", 1, 100);
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + ystep;
if ((_parent._xscale < 10) or (_parent._yscale < 10)) {
deduct = takeAway;
_parent._xscale = 10;
_parent._yscale = 10;
if (0 < _root.bricks) {
_root.playSound("steal", 1, 120);
_root.bricks--;
}
}
if ((_parent._xscale >= scale) or (_parent._yscale >= scale)) {
deduct = -takeAway;
}
if ((_parent._y < 15) and (ystep < 0)) {
ystep = -ystep;
updateSize(deduct);
} else if ((317 < _parent._y) and (0 < ystep)) {
ystep = -ystep;
updateSize(deduct);
}
if ((_parent._x < 15) and (xstep < 0)) {
xstep = -xstep;
updateSize(deduct);
} else if ((387 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
updateSize(deduct);
}
if (this.hitTest(_root.reflectiveBrick1)) {
if (0 < _root.bricks) {
_root.score = _root.score + addScore;
_root.enemyTotal--;
_root.reflectHits++;
_parent.gotoAndPlay("reflectHit");
} else {
_root.enemyTotal--;
_parent.gotoAndPlay("escape");
}
}
if (0 >= _root.bricks) {
if ((_parent._xscale != scale) and (_parent._yscale != scale)) {
_parent._xscale = scale;
_parent._yscale = scale;
}
_parent.gotoAndPlay("laugh");
}
}
Symbol 117 MovieClip [purpleEnemy] Frame 2
dead = "yes";
Instance of Symbol 111 MovieClip in Symbol 117 MovieClip [purpleEnemy] Frame 2
onClipEvent (load) {
varName = 5;
}
Symbol 117 MovieClip [purpleEnemy] Frame 10
_root.playSound("crunch", 1, 120);
dead = "yes";
Symbol 117 MovieClip [purpleEnemy] Frame 24
removeMovieClip("");
_root.hit++;
Instance of Symbol 111 MovieClip in Symbol 117 MovieClip [purpleEnemy] Frame 25
onClipEvent (load) {
varName = 5;
}
Symbol 117 MovieClip [purpleEnemy] Frame 33
_root.playSound("escape", 1, 100);
Symbol 117 MovieClip [purpleEnemy] Frame 38
removeMovieClip("");
_root.hit++;
Instance of Symbol 82 MovieClip in Symbol 117 MovieClip [purpleEnemy] Frame 38
onClipEvent (load) {
varName = 5;
}
Symbol 117 MovieClip [purpleEnemy] Frame 39
stop();
Instance of Symbol 88 MovieClip in Symbol 117 MovieClip [purpleEnemy] Frame 39
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (0 < _root.bricks) {
_root.TotalEnemiesHit++;
_root.enemyTotal--;
_parent.gotoAndPlay("freezeHit");
} else {
_root.enemyTotal--;
_parent.gotoAndPlay("escape");
}
}
}
onClipEvent (load) {
if (_parent._y < 15) {
_parent._y = 25;
} else if (317 < _parent._y) {
_parent._y = 300;
}
if (_parent._x < 15) {
_parent._x = 25;
} else if (387 < _parent._x) {
_parent._x = 370;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.reflectiveBrick1)) {
if (0 < _root.bricks) {
_root.score = _root.score + _parent.pointValue;
_root.enemyTotal--;
_root.reflectHits++;
_parent.gotoAndPlay("reflectFreezeHit");
} else {
_root.enemyTotal--;
_parent.gotoAndPlay("escape");
}
}
if (0 >= _root.bricks) {
if ((_parent._xscale != scale) and (_parent._yscale != scale)) {
_parent._xscale = scale;
_parent._yscale = scale;
}
_parent.gotoAndPlay("laugh");
}
}
Symbol 117 MovieClip [purpleEnemy] Frame 40
dead = "yes";
_root.score = _root.score + pointValue;
Symbol 117 MovieClip [purpleEnemy] Frame 49
_root.playSound("break", 1, 150);
dead = "yes";
Symbol 117 MovieClip [purpleEnemy] Frame 63
removeMovieClip("");
_root.hit++;
Symbol 117 MovieClip [purpleEnemy] Frame 64
_root.score = _root.score + pointValue;
_root.enemyTotal--;
dead = "yes";
Instance of Symbol 93 MovieClip in Symbol 117 MovieClip [purpleEnemy] Frame 64
onClipEvent (load) {
if (_parent._y < 15) {
_parent._y = 25;
} else if (317 < _parent._y) {
_parent._y = 300;
}
if (_parent._x < 15) {
_parent._x = 25;
} else if (387 < _parent._x) {
_parent._x = 370;
}
}
Symbol 117 MovieClip [purpleEnemy] Frame 75
removeMovieClip("");
_root.hit++;
Symbol 117 MovieClip [purpleEnemy] Frame 76
stop();
Instance of Symbol 116 MovieClip in Symbol 117 MovieClip [purpleEnemy] Frame 76
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.enemyTotal--;
_parent.gotoAndPlay("escape");
}
}
Symbol 120 MovieClip [reflectiveBrick] Frame 11
_root.playSound("ricochet", 1, 100);
Symbol 120 MovieClip [reflectiveBrick] Frame 12
stop();
Instance of Symbol 119 MovieClip in Symbol 120 MovieClip [reflectiveBrick] Frame 12
onClipEvent (load) {
minX = 20;
maxX = 30;
minY = 20;
maxY = 30;
xStep = _root.calculateRandom(minX, maxX);
yStep = _root.calculateRandom(minY, maxY);
_root.brickReflecting = "yes";
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + ystep;
if ((_parent._y < 15) and (ystep < 0)) {
ystep = -ystep;
} else if ((317 < _parent._y) and (0 < ystep)) {
ystep = -ystep;
}
if ((_parent._x < 15) and (xstep < 0)) {
xstep = -xstep;
} else if ((387 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
}
if (_root.reflectHits >= _root.reflectHitLimit) {
_root.brickReflecting = "no";
_root.reflectHits = 0;
_parent.gotoAndPlay("crumble");
}
}
Symbol 120 MovieClip [reflectiveBrick] Frame 25
removeMovieClip("");
Symbol 124 MovieClip [bomb] Frame 12
_root.playSound("nuke", 1, 100);
Symbol 124 MovieClip [bomb] Frame 24
if (_root.enemy1 && (_root.enemy1.dead != "yes")) {
_root.enemy1.gotoAndPlay("nuke");
}
if (_root.enemy2 && (_root.enemy2.dead != "yes")) {
_root.enemy2.gotoAndPlay("nuke");
}
if (_root.enemy3 && (_root.enemy3.dead != "yes")) {
_root.enemy3.gotoAndPlay("nuke");
}
if (_root.enemy4 && (_root.enemy4.dead != "yes")) {
_root.enemy4.gotoAndPlay("nuke");
}
if (_root.enemy5 && (_root.enemy5.dead != "yes")) {
_root.enemy5.gotoAndPlay("nuke");
}
if (_root.enemy6 && (_root.enemy6.dead != "yes")) {
_root.enemy6.gotoAndPlay("nuke");
}
if (_root.enemy7 && (_root.enemy7.dead != "yes")) {
_root.enemy7.gotoAndPlay("nuke");
}
if (_root.enemy8 && (_root.enemy8.dead != "yes")) {
_root.enemy8.gotoAndPlay("nuke");
}
Symbol 124 MovieClip [bomb] Frame 29
stop();
_root.nuking = "no";
removeMovieClip("");
Symbol 128 MovieClip [freezePU] Frame 12
stop();
Instance of Symbol 127 MovieClip in Symbol 128 MovieClip [freezePU] Frame 12
onClipEvent (load) {
xStep = 20;
yStep = 0;
}
onClipEvent (enterFrame) {
if ((_root.bricks == 0) or (_root.score == 0)) {
_parent.removeMovieClip();
}
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + ystep;
if ((_parent._y < 15) and (ystep < 0)) {
ystep = -ystep;
} else if ((317 < _parent._y) and (0 < ystep)) {
ystep = -ystep;
}
if ((_parent._x < 15) and (xstep < 0)) {
xstep = -xstep;
} else if ((387 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_parent.gotoAndPlay("hit");
}
}
Symbol 128 MovieClip [freezePU] Frame 24
_root.freeze++;
_root.playSound("menufreeze", 1, 100);
Symbol 128 MovieClip [freezePU] Frame 30
removeMovieClip("");
Symbol 132 MovieClip [moreBricksPU] Frame 12
stop();
Instance of Symbol 131 MovieClip in Symbol 132 MovieClip [moreBricksPU] Frame 12
onClipEvent (load) {
xStep = 20;
yStep = 0;
}
onClipEvent (enterFrame) {
if ((_root.bricks == 0) or (_root.score == 0)) {
_parent.removeMovieClip();
}
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + ystep;
if ((_parent._y < 15) and (ystep < 0)) {
ystep = -ystep;
} else if ((317 < _parent._y) and (0 < ystep)) {
ystep = -ystep;
}
if ((_parent._x < 15) and (xstep < 0)) {
xstep = -xstep;
} else if ((387 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_parent.gotoAndPlay("hit");
}
}
Symbol 132 MovieClip [moreBricksPU] Frame 24
_root.moreBricks++;
_root.playSound("menumoreBricks", 1, 100);
Symbol 132 MovieClip [moreBricksPU] Frame 30
removeMovieClip("");
Symbol 136 MovieClip [nukePU] Frame 12
stop();
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip [nukePU] Frame 12
onClipEvent (load) {
xStep = 20;
yStep = 0;
}
onClipEvent (enterFrame) {
if ((_root.bricks == 0) or (_root.score == 0)) {
_parent.removeMovieClip();
}
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + ystep;
if ((_parent._y < 15) and (ystep < 0)) {
ystep = -ystep;
} else if ((317 < _parent._y) and (0 < ystep)) {
ystep = -ystep;
}
if ((_parent._x < 15) and (xstep < 0)) {
xstep = -xstep;
} else if ((387 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_parent.gotoAndPlay("hit");
}
}
Symbol 136 MovieClip [nukePU] Frame 24
_root.nuke++;
_root.playSound("menunuke", 1, 100);
Symbol 136 MovieClip [nukePU] Frame 30
removeMovieClip("");
Symbol 140 MovieClip [reflectiveBrickPU] Frame 12
stop();
Instance of Symbol 139 MovieClip in Symbol 140 MovieClip [reflectiveBrickPU] Frame 12
onClipEvent (load) {
xStep = 20;
yStep = 0;
}
onClipEvent (enterFrame) {
if ((_root.bricks == 0) or (_root.score == 0)) {
_parent.removeMovieClip();
}
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + ystep;
if ((_parent._y < 15) and (ystep < 0)) {
ystep = -ystep;
} else if ((317 < _parent._y) and (0 < ystep)) {
ystep = -ystep;
}
if ((_parent._x < 15) and (xstep < 0)) {
xstep = -xstep;
} else if ((387 < _parent._x) and (0 < xstep)) {
xstep = -xstep;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_parent.gotoAndPlay("hit");
}
}
Symbol 140 MovieClip [reflectiveBrickPU] Frame 24
_root.reflectiveBricks++;
_root.playSound("menureflectiveBrick", 1, 100);
Symbol 140 MovieClip [reflectiveBrickPU] Frame 30
removeMovieClip("");
Symbol 143 MovieClip [arrow] Frame 1
stop();
Symbol 149 MovieClip [finish] Frame 1
_root.playSound("finishSound", 1, 100);
today = new Date();
year = today.getFullYear();
month = today.getMonth() + 1;
day = today.getDate();
if (day < 10) {
day = "0" + day;
}
if (month < 10) {
month = "0" + month;
}
_root.txtDate = (((month + "/") + day) + "/") + year;
_root.txtAccuracy = _root.accuracy;
tempScore = _root.score;
if (_root.score < 1000) {
if (_root.score < 10) {
tempScore = "000" + _root.score;
} else if (_root.score < 100) {
tempScore = "00" + _root.score;
} else {
tempScore = "0" + _root.score;
}
}
tempAccuracy = _root.accuracyValue;
if (tempAccuracy < 100) {
if (tempAccuracy < 10) {
tempAccuracy = "00" + _root.accuracyValue;
} else {
tempAccuracy = "0" + _root.accuracyValue;
}
}
_root.txtScore = tempScore;
_root.txtRealScore = _root.score;
_root.txtAccuracy = tempAccuracy + "%";
_root.txtRealAccuracy = _root.accuracy;
if (_root.movie == "redBrick") {
_root.txtBrickColor = "red";
}
if (_root.movie == "blueBrick") {
_root.txtBrickColor = "blue";
}
if (_root.movie == "yellowBrick") {
_root.txtBrickColor = "yellow";
}
if (_root.movie == "randomBrick") {
_root.txtBrickColor = "random";
}
if (_root.difficulty == "easy") {
_root.txtDifficulty = "effortless";
}
if (_root.difficulty == "medium") {
_root.txtDifficulty = "extreme";
}
if (_root.difficulty == "hard") {
_root.txtDifficulty = "ultimate";
}
Symbol 149 MovieClip [finish] Frame 31
stop();
Instance of Symbol 68 MovieClip in Symbol 149 MovieClip [finish] Frame 31
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.gotoAndPlay("highscores");
}
}
Instance of Symbol 69 MovieClip in Symbol 149 MovieClip [finish] Frame 31
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.gotoAndPlay("highscores");
}
}
Instance of Symbol 70 MovieClip in Symbol 149 MovieClip [finish] Frame 31
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.gotoAndPlay("start");
}
}
Symbol 150 MovieClip [begin] Frame 1
stopAllSounds();
_root.playSound("beginSound", 1, 100);
if (_root.difficulty == "easy") {
_root.playSound("easyLoop", 9999, 100);
}
if (_root.difficulty == "medium") {
_root.playSound("mediumLoop", 9999, 100);
}
if (_root.difficulty == "hard") {
_root.playSound("hardLoop", 9999, 100);
}
Symbol 150 MovieClip [begin] Frame 10
_root.gotoAndPlay("load");
Symbol 162 MovieClip Frame 1
time1 = int(getTimer() / 1000);
Symbol 162 MovieClip Frame 2
percentType = 0;
b_loaded = _root.getBytesLoaded();
b_total = _root.getBytesTotal();
time = (getTimer() / 1000) - time1;
bps = b_loaded / time;
b_left = b_total - b_loaded;
s_left = Math.ceil(b_left / bps);
min = Math.floor(s_left / 60);
min = Math.round(min);
if (min >= 1) {
s_left = s_left - Math.floor(min * 60);
s_left = Math.round(s_left);
if (s_left < 10) {
s_left = "0" + s_left;
}
} else {
min = "0";
if (s_left < 10) {
s_left = "0" + s_left;
}
}
timeleft = (min + ":") + s_left;
bit_rate = int(bps) + "bps";
percent = (b_loaded / b_total) * 100;
_root.bar._xscale = percent;
if (percentType == 0) {
percentVal = Math.round(percent) + "%";
} else {
percentVal = percent + "%";
}
Symbol 162 MovieClip Frame 3
prevFrame();
Symbol 165 MovieClip Frame 1
gotoAndPlay (2);
Symbol 165 MovieClip Frame 17
stop();
Symbol 166 MovieClip Frame 1
gotoAndPlay (2);
Symbol 166 MovieClip Frame 17
stop();
Symbol 167 MovieClip Frame 1
gotoAndPlay (2);
Symbol 167 MovieClip Frame 17
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 190 Button
on (keyPress "<Down>") {
if (current == "play") {
play._alpha = 50;
position._y = instructions._y;
instructions._alpha = 100;
current = "instructions";
_root.current = current;
_root.playSound("menutouch", 1, 100);
} else if (current == "instructions") {
instructions._alpha = 50;
position._y = highscores._y;
highscores._alpha = 100;
current = "highscores";
_root.current = current;
_root.playSound("menutouch", 1, 100);
} else if (current == "highscores") {
highscores._alpha = 50;
position._y = credits._y;
credits._alpha = 100;
current = "credits";
_root.current = current;
_root.playSound("menutouch", 1, 100);
} else if (current == "credits") {
credits._alpha = 50;
position._y = play._y;
play._alpha = 100;
current = "play";
_root.current = current;
_root.playSound("menutouch", 1, 100);
}
}
on (keyPress "<Up>") {
if (current == "credits") {
credits._alpha = 50;
position._y = highscores._y;
highscores._alpha = 100;
current = "highscores";
_root.current = current;
_root.playSound("menutouch", 1, 100);
} else if (current == "highscores") {
highscores._alpha = 50;
position._y = instructions._y;
instructions._alpha = 100;
current = "instructions";
_root.current = current;
_root.playSound("menutouch", 1, 100);
} else if (current == "instructions") {
instructions._alpha = 50;
position._y = play._y;
play._alpha = 100;
current = "play";
_root.current = current;
_root.playSound("menutouch", 1, 100);
} else if (current == "play") {
play._alpha = 50;
position._y = credits._y;
credits._alpha = 100;
current = "credits";
_root.current = current;
_root.playSound("menutouch", 1, 100);
}
}
on (keyPress "<Enter>") {
_root.nextFrame();
}
Symbol 194 MovieClip Frame 11
_parent.removeMovieClip();
stop();
Symbol 195 MovieClip Frame 1
Mouse.hide();
Symbol 195 MovieClip Frame 9
_root.playSound("drop", 1, 200);
Symbol 195 MovieClip Frame 11
_root.playSound("wind", 1, 100);
Symbol 195 MovieClip Frame 18
_root.playSound("title", 1, 100);
Instance of Symbol 182 MovieClip "play" in Symbol 195 MovieClip Frame 18
onClipEvent (load) {
selected = "play";
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.nextFrame();
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("menuselect", 1, 100);
}
}
onClipEvent (mouseMove) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (this.playIt == "yes") {
_root.playSound("menutouch", 1, 100);
}
this.playIt = "no";
_parent.position._y = this._y;
_parent.current = selected;
_root.current = _parent.current;
} else {
this.playIt = "yes";
}
if (_parent.current == selected) {
this._alpha = 100;
} else {
this._alpha = 50;
}
updateAfterEvent();
}
Instance of Symbol 184 MovieClip "instructions" in Symbol 195 MovieClip Frame 18
onClipEvent (load) {
selected = "instructions";
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.nextFrame();
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("menuselect", 1, 100);
}
}
onClipEvent (mouseMove) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (this.playIt == "yes") {
_root.playSound("menutouch", 1, 100);
}
this.playIt = "no";
_parent.position._y = this._y;
_parent.current = selected;
_root.current = _parent.current;
} else {
this.playIt = "yes";
}
if (_parent.current == selected) {
this._alpha = 100;
} else {
this._alpha = 50;
}
updateAfterEvent();
}
Instance of Symbol 186 MovieClip "highscores" in Symbol 195 MovieClip Frame 18
onClipEvent (load) {
selected = "highscores";
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.nextFrame();
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("menuselect", 1, 100);
}
}
onClipEvent (mouseMove) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (this.playIt == "yes") {
_root.playSound("menutouch", 1, 100);
}
this.playIt = "no";
_parent.position._y = this._y;
_parent.current = selected;
_root.current = _parent.current;
} else {
this.playIt = "yes";
}
if (_parent.current == selected) {
this._alpha = 100;
} else {
this._alpha = 50;
}
updateAfterEvent();
}
Instance of Symbol 188 MovieClip "credits" in Symbol 195 MovieClip Frame 18
onClipEvent (load) {
selected = "credits";
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.nextFrame();
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("menuselect", 1, 100);
}
}
onClipEvent (mouseMove) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (this.playIt == "yes") {
_root.playSound("menutouch", 1, 100);
}
this.playIt = "no";
_parent.position._y = this._y;
_parent.current = selected;
_root.current = _parent.current;
} else {
this.playIt = "yes";
}
if (_parent.current == selected) {
this._alpha = 100;
} else {
this._alpha = 50;
}
updateAfterEvent();
}
Symbol 195 MovieClip Frame 29
stop();
_root.changeCursor("arrow");
_root.playSound("looper", 9999, 100);
current = "play";
_root.current = current;
Symbol 206 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 1
stop();
Instance of Symbol 206 MovieClip in Symbol 210 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
submitted = 0;
playIt = "no";
keyPressedList = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z");
keyPressedListUpper = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z");
maxLength = 17;
maxLength--;
}
onClipEvent (mouseMove) {
if ((((((_root.txtName != "") and (_root.txtBrickColor != "")) and (_root.txtDifficulty != "")) and (_root.txtAccuracy != "")) and (_root.score != 0)) and (submitted == 0)) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
_root.playSound("menutouch", 1, 100);
this._alpha = 100;
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (((((_root.txtName != "") and (_root.txtBrickColor != "")) and (_root.txtDifficulty != "")) and (_root.txtAccuracy != "")) and (_root.txtScore != 0)) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (submitted == 0) {
_root.playSound("alien", 1, 100);
getURL (((((((((((((((("http://www.mikereid.net/cgi-bin/brickdrop.cgi?action=submit&txtRealScore=" + _root.txtRealScore) + "&txtName=") + _root.txtName) + "&txtBrickColor=") + _root.txtBrickColor) + "&txtDifficulty=") + _root.txtDifficulty) + "&txtScore=") + _root.txtScore) + "&txtRealAccuracy=") + _root.txtRealAccuracy) + "&txtAccuracy=") + _root.txtAccuracy) + "&txtDate=") + _root.txtDate) + "", "_blank", "POST");
submitted = 1;
_root.submitted = 1;
} else {
_root.playSound("error", 1, 100);
}
}
}
}
onClipEvent (keyDown) {
keyPressed = Key.getAscii();
keyPressedCode = Key.getCode();
if ((((((_root.txtBrickColor != "") and (_root.txtDifficulty != "")) and (_root.txtAccuracy != "")) and (_root.score != 0)) and (submitted == 0)) and (_root.all == 1)) {
if ((keyPressed >= 65) and (90 >= keyPressed)) {
keyPressed = keyPressed - 65;
keyPressed = keyPressedListUpper[keyPressed];
if (maxLength >= _root.txtName.length) {
_root.txtName = _root.txtName + keyPressed;
}
} else if ((keyPressed >= 97) and (122 >= keyPressed)) {
keyPressed = keyPressed - 97;
keyPressed = keyPressedList[keyPressed];
if (maxLength >= _root.txtName.length) {
_root.txtName = _root.txtName + keyPressed;
}
} else if ((keyPressed >= 48) and (57 >= keyPressed)) {
keyPressed = keyPressed - 48;
keyPressed.toString();
if (maxLength >= _root.txtName.length) {
_root.txtName = _root.txtName + keyPressed;
}
} else if ((keyPressedCode >= 96) and (105 >= keyPressedCode)) {
keyPressedCode = keyPressedCode - 96;
keyPressedCode.toString();
if (maxLength >= _root.txtName.length) {
_root.txtName = _root.txtName + keyPressedCode;
}
} else if (keyPressedCode == 8) {
tempTxtName = "";
x = 0;
while ((_root.txtName.length - 2) >= x) {
tempTxtName = tempTxtName + _root.txtName.charAt(x);
x++;
}
_root.txtName = tempTxtName;
}
}
updateAfterEvent();
}
Symbol 215 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 9
_root.playSound("drop", 1, 200);
Symbol 217 MovieClip Frame 11
_root.playSound("wind", 1, 100);
Symbol 217 MovieClip Frame 18
_root.playSound("highscores", 1, 100);
Instance of Symbol 202 MovieClip "menu" in Symbol 217 MovieClip Frame 18
onClipEvent (load) {
selected = "menu";
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.nextFrame();
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("menuselect", 1, 100);
}
}
onClipEvent (mouseMove) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (this.playIt == "yes") {
_root.playSound("menutouch", 1, 100);
}
this.playIt = "no";
_parent.position._y = this._y;
_parent.current = selected;
_root.current = _parent.current;
} else {
this.playIt = "yes";
}
if (_parent.current == selected) {
this._alpha = 100;
} else {
this._alpha = 50;
}
updateAfterEvent();
}
Symbol 217 MovieClip Frame 29
stop();
_root.changeCursor("arrow");
_root.playSound("looper", 9999, 100);
current = "menu";
_root.current = current;
_root.all = 0;
Instance of Symbol 210 MovieClip in Symbol 217 MovieClip Frame 29
onClipEvent (load) {
this._alpha = 0;
playIt = "yes";
}
onClipEvent (mouseMove) {
if ((((_root.txtBrickColor != "") and (_root.txtDifficulty != "")) and (_root.txtAccuracy != "")) and (_root.score != 0)) {
if (playIt == "yes") {
this._alpha = 100;
_root.all = 1;
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 0;
}
playIt = "yes";
}
updateAfterEvent();
}
Instance of Symbol 213 MovieClip in Symbol 217 MovieClip Frame 29
onClipEvent (load) {
this._alpha = 50;
clicked = 0;
playIt = "no";
}
onClipEvent (mouseMove) {
if (clicked == 0) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
_root.playSound("menutouch", 1, 100);
this._alpha = 100;
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
}
playIt = "yes";
}
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (clicked == 0) {
_root.playSound("alien", 1, 100);
getURL ("http://www.mikereid.net/cgi-bin/brickdrop.cgi?action=view&page=1", "_blank");
clicked = 1;
_root.clicked = 1;
} else {
_root.playSound("error", 1, 100);
}
}
}
Instance of Symbol 215 MovieClip "submitComplete" in Symbol 217 MovieClip Frame 29
onClipEvent (load) {
this._alpha = 0;
_root.submitted = 0;
}
onClipEvent (mouseMove) {
if (_root.submitted == 1) {
this._alpha = 100;
}
}
Instance of Symbol 216 MovieClip "viewComplete" in Symbol 217 MovieClip Frame 29
onClipEvent (load) {
this._alpha = 0;
_root.clicked = 0;
}
onClipEvent (mouseMove) {
if (_root.clicked == 1) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Symbol 225 Button
on (keyPress "<Down>") {
if (current == "play") {
play._alpha = 50;
position._y = menu._y;
menu._alpha = 100;
current = "menu";
_root.current = current;
_root.playSound("menutouch", 1, 100);
} else if (current == "menu") {
menu._alpha = 50;
position._y = play._y;
play._alpha = 100;
current = "play";
_root.current = current;
_root.playSound("menutouch", 1, 100);
}
}
on (keyPress "<Up>") {
if (current == "play") {
play._alpha = 50;
position._y = menu._y;
menu._alpha = 100;
current = "menu";
_root.current = current;
_root.playSound("menutouch", 1, 100);
} else if (current == "menu") {
menu._alpha = 50;
position._y = play._y;
play._alpha = 100;
current = "play";
_root.current = current;
_root.playSound("menutouch", 1, 100);
}
}
on (keyPress "<Enter>") {
_root.nextFrame();
}
Symbol 249 MovieClip Frame 1
stop();
stop();
Instance of Symbol 227 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 50;
playIt = "no";
}
onClipEvent (mouseMove) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
_root.playSound("menutouch", 1, 100);
this._alpha = 100;
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
}
playIt = "yes";
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_parent.nextFrame();
}
}
Symbol 249 MovieClip Frame 2
stop();
stop();
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 2
onClipEvent (load) {
this._alpha = 50;
playIt = "no";
}
onClipEvent (mouseMove) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (playIt == "yes") {
_root.playSound("menutouch", 1, 100);
this._alpha = 100;
}
playIt = "no";
} else {
if (playIt == "no") {
this._alpha = 50;
}
playIt = "yes";
}
updateAfterEvent();
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("alien", 1, 100);
_parent.prevFrame();
}
}
Symbol 249 MovieClip Frame 3
stop();
Symbol 249 MovieClip Frame 4
stop();
Symbol 249 MovieClip Frame 5
stop();
Symbol 249 MovieClip Frame 6
stop();
Symbol 249 MovieClip Frame 7
stop();
Symbol 249 MovieClip Frame 8
stop();
Symbol 249 MovieClip Frame 9
stop();
Symbol 249 MovieClip Frame 10
stop();
stop();
Symbol 250 MovieClip Frame 9
_root.playSound("drop", 1, 200);
Symbol 250 MovieClip Frame 11
_root.playSound("wind", 1, 100);
Symbol 250 MovieClip Frame 18
_root.playSound("instructions", 1, 100);
Instance of Symbol 182 MovieClip "play" in Symbol 250 MovieClip Frame 18
onClipEvent (load) {
selected = "play";
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.nextFrame();
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("menuselect", 1, 100);
}
}
onClipEvent (mouseMove) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (this.playIt == "yes") {
_root.playSound("menutouch", 1, 100);
}
this.playIt = "no";
_parent.position._y = this._y;
_parent.current = selected;
_root.current = _parent.current;
} else {
this.playIt = "yes";
}
if (_parent.current == selected) {
this._alpha = 100;
} else {
this._alpha = 50;
}
updateAfterEvent();
}
Instance of Symbol 202 MovieClip "menu" in Symbol 250 MovieClip Frame 18
onClipEvent (load) {
selected = "menu";
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.nextFrame();
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("menuselect", 1, 100);
}
}
onClipEvent (mouseMove) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (this.playIt == "yes") {
_root.playSound("menutouch", 1, 100);
}
this.playIt = "no";
_parent.position._y = this._y;
_parent.current = selected;
_root.current = _parent.current;
} else {
this.playIt = "yes";
}
if (_parent.current == selected) {
this._alpha = 100;
} else {
this._alpha = 50;
}
updateAfterEvent();
}
Symbol 250 MovieClip Frame 29
stop();
_root.changeCursor("arrow");
_root.playSound("looper", 9999, 100);
current = "play";
_root.current = current;
Symbol 266 MovieClip Frame 9
_root.playSound("drop", 1, 200);
Symbol 266 MovieClip Frame 11
_root.playSound("wind", 1, 100);
Symbol 266 MovieClip Frame 18
_root.playSound("credits", 1, 100);
Instance of Symbol 182 MovieClip "play" in Symbol 266 MovieClip Frame 18
onClipEvent (load) {
selected = "play";
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.nextFrame();
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("menuselect", 1, 100);
}
}
onClipEvent (mouseMove) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (this.playIt == "yes") {
_root.playSound("menutouch", 1, 100);
}
this.playIt = "no";
_parent.position._y = this._y;
_parent.current = selected;
_root.current = _parent.current;
} else {
this.playIt = "yes";
}
if (_parent.current == selected) {
this._alpha = 100;
} else {
this._alpha = 50;
}
updateAfterEvent();
}
Instance of Symbol 202 MovieClip "menu" in Symbol 266 MovieClip Frame 18
onClipEvent (load) {
selected = "menu";
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.nextFrame();
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.playSound("menuselect", 1, 100);
}
}
onClipEvent (mouseMove) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (this.playIt == "yes") {
_root.playSound("menutouch", 1, 100);
}
this.playIt = "no";
_parent.position._y = this._y;
_parent.current = selected;
_root.current = _parent.current;
} else {
this.playIt = "yes";
}
if (_parent.current == selected) {
this._alpha = 100;
} else {
this._alpha = 50;
}
updateAfterEvent();
}
Symbol 266 MovieClip Frame 29
stop();
_root.changeCursor("arrow");
_root.playSound("looper", 9999, 100);
current = "play";
_root.current = current;
Symbol 273 MovieClip Frame 12
stop();
Symbol 293 Button
on (keyPress "q") {
toggleHighQuality();
}
on (keyPress "r") {
if (0 < _root.reflectiveBricks) {
if (_root.brickReflecting == "no") {
_root.playSound("reflect", 1, 100);
_root.reflectiveBricks--;
_root.reflectiveBrick();
} else {
_root.playSound("buzzer", 1, 100);
}
} else {
_root.playSound("buzzer", 1, 100);
}
}
on (keyPress "f") {
if ((0 < _root.freeze) and (_root.enemies >= 1)) {
_root.playSound("freezeSound", 1, 100);
_root.freeze--;
if (_root.enemy1 && (_root.enemy1.dead != "yes")) {
_root.enemy1.gotoAndPlay("freeze");
}
if (_root.enemy2 && (_root.enemy2.dead != "yes")) {
_root.enemy2.gotoAndPlay("freeze");
}
if (_root.enemy3 && (_root.enemy3.dead != "yes")) {
_root.enemy3.gotoAndPlay("freeze");
}
if (_root.enemy4 && (_root.enemy4.dead != "yes")) {
_root.enemy4.gotoAndPlay("freeze");
}
if (_root.enemy5 && (_root.enemy5.dead != "yes")) {
_root.enemy5.gotoAndPlay("freeze");
}
if (_root.enemy6 && (_root.enemy6.dead != "yes")) {
_root.enemy6.gotoAndPlay("freeze");
}
if (_root.enemy7 && (_root.enemy7.dead != "yes")) {
_root.enemy7.gotoAndPlay("freeze");
}
if (_root.enemy8 && (_root.enemy8.dead != "yes")) {
_root.enemy8.gotoAndPlay("freeze");
}
} else {
_root.playSound("buzzer", 1, 100);
}
}
on (keyPress "n") {
if (0 < _root.nuke) {
if (_root.nuking == "no") {
_root.dropNuke();
_root.nuking = "yes";
_root.nuke--;
} else {
_root.playSound("buzzer", 1, 100);
}
} else {
_root.playSound("buzzer", 1, 100);
}
}
on (keyPress "m") {
if (0 < _root.moreBricks) {
_root.playSound("collect", 1, 100);
_root.bricks = _root.bricks + 5;
_root.moreBricks--;
} else {
_root.playSound("buzzer", 1, 100);
}
}
Symbol 318 MovieClip Frame 1
stop();