Frame 1
stopAllSounds();
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.bar.gotoAndStop(percentLoaded);
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
Instance of Symbol 24 MovieClip "ball" in Frame 1
onClipEvent (load) {
vel_y = -1;
}
onClipEvent (enterFrame) {
vel_y--;
this._y = this._y - vel_y;
if (this._y >= 250) {
vel_y = 20;
_parent.bar._rotation = -5;
}
this._x = this._x - speed;
}
Instance of Symbol 24 MovieClip "ball" in Frame 1
onClipEvent (load) {
vel_y = -1;
}
onClipEvent (enterFrame) {
vel_y--;
this._y = this._y - vel_y;
if (this._y >= 250) {
vel_y = 20;
_parent.bar._rotation = 5;
}
this._x = this._x - speed;
}
Frame 2
if (_root.percentLoaded == 100) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
stop();
Instance of Symbol 33 MovieClip "agmove" in Frame 3
on (release) {
getURL ("http://www.armorgames.com/", _blank);
}
Frame 5
stop();
Frame 6
stop();
stopAllSounds();
bgSound = new Sound(this);
bgSound.attachSound("damusic");
bgSound.start(0, 99);
gpause = true;
Frame 7
function nextlvl() {
write = false;
level = level + 1;
if (level >= 31) {
nextFrame();
}
box.removeMovieClip();
box2.removeMovieClip();
box4.removeMovieClip();
ball.restart = true;
ball._x = 100;
ball._y = 100;
levels.gotoAndStop(level);
}
stop();
var gpause = false;
z = 0;
while (z < 4) {
duplicateMovieClip (ball, "b" + z, 4 - z);
_root["b" + z].z = z;
if (z == 3) {
_root.ball.swapDepths(5);
}
z++;
}
_root.onMouseDown = function () {
xpoint = _xmouse;
ypoint = _ymouse;
write = true;
};
_root.onMouseUp = function () {
write = false;
timer = 0;
timer2 = 0;
};
stop();
var ptimer = 0;
var timer = 0;
var timer2 = 0;
var line = 0;
var line2 = 0;
var scoreline = 0;
var scoreplusthing = 0;
var level = 1;
var deaths = 0;
var edown = false;
_root.createEmptyMovieClip("border1", -2);
border1.lineStyle(30, 0, 100);
border1.lineTo(Stage.width, 0);
border1.lineTo(Stage.width, Stage.height);
border1.lineTo(0, Stage.height);
border1.lineTo(0, 0);
border1.lineStyle(20, 6710886, 100);
border1.lineTo(Stage.width, 0);
border1.lineTo(Stage.width, Stage.height);
border1.lineTo(0, Stage.height);
border1.lineTo(0, 0);
border1.lineStyle(10, 161061273, 100);
border1.lineTo(Stage.width, 0);
border1.lineTo(Stage.width, Stage.height);
border1.lineTo(0, Stage.height);
border1.lineTo(0, 0);
var ptimer2 = 200;
var p = 50;
_root.onEnterFrame = function () {
if (Key.isDown(2)) {
gpause = true;
}
if ((Key.isDown(13) && (!edown)) && (!gpause)) {
gpause = true;
edown = true;
} else if ((Key.isDown(13) && (!edown)) && (gpause)) {
gpause = false;
edown = true;
} else if (!Key.isDown(13)) {
edown = false;
}
if (!gpause) {
if (write) {
timer2++;
if (timer2 >= 30) {
write = false;
}
createEmptyMovieClip("box", 6);
createEmptyMovieClip("box2", 7);
createEmptyMovieClip("box4", 8);
with (box) {
moveTo(xpoint, ypoint);
lineStyle(30, 0, 100);
lineTo(_root._xmouse, _root._ymouse);
}
with (box4) {
moveTo(xpoint, ypoint);
lineStyle(10, 10066329, 100);
lineTo(_root._xmouse, _root._ymouse);
}
box2.moveTo(xpoint, ypoint);
box2.lineStyle(20, 6710886, 100);
box2.lineTo(_root._xmouse, _root._ymouse);
}
}
};
Instance of Symbol 211 MovieClip "levels" in Frame 7
onClipEvent (load) {
stop();
}
Instance of Symbol 216 MovieClip "ball" in Frame 7
onClipEvent (load) {
if (_name == "ball") {
var _x = 100;
var _y = 100;
var r = (ball._width / 2);
var xspeed = 0;
var yspeed = 3;
var array = new Array(360);
}
_xscale = _yscale;
var scale = _yscale;
var traction = false;
var superb = false;
var big = false;
var mini = false;
var doubleline = false;
var scale1 = _xscale;
var metalb = false;
}
onClipEvent (enterFrame) {
if (!_root.gpause) {
_visible = true;
if (_name == "ball") {
if (!_root.gpause) {
r = ((ball._width * scale) / 100) / 2;
_yscale = scale;
_xscale = scale;
(metalb ? ((metal._visible = true)) : ((metal._visible = false)));
(traction ? ((Key.isDown(32) ? ((spikes._visible = false)) : ((spikes._visible = true)))) : ((spikes._visible = false)));
(big ? ((scale = scale1 * 1.7)) : ((mini ? ((scale = scale1 * 0.5)) : ((scale = scale1)))));
(superb ? ((sball._visible = true)) : ((sball._visible = false)));
((_y <= -50) ? ((_parent.ballshower._visible = true)) : ((_parent.ballshower._visible = false)));
((yspeed >= (28 + ((28 * superb) / 4))) ? ((yspeed = 28 + ((28 * superb) / 4))) : 0);
((yspeed <= (-28 - ((28 * superb) / 4))) ? ((yspeed = -28 - ((28 * superb) / 4))) : 0);
i = 0;
while (i < 360) {
x = _x + (r * Math.cos((i / 180) * Math.PI));
y = _y - (r * Math.sin((i / 180) * Math.PI));
if (_parent.levels.portal.hitTest(x + xspeed, y + yspeed, true)) {
if (!phit) {
_root.nextlvl();
}
phit = true;
} else if (this.hitTest(_root.levels.ta) || (this.hitTest(_root.levels.tb))) {
} else if (_root.levels.bounces.hitTest(x + xspeed, y + yspeed, true)) {
} else if (_root.levels.hitTest(x + xspeed, y + yspeed, true) && (!restart)) {
if (!phit) {
_y = 100;
_x = 100;
_root.deaths++;
restart = true;
phit = true;
}
} else {
phit = false;
}
if ((_root.box.hitTest(x, y, true) || (_root.box3.hitTest(x, y, true))) || (_root.levels.bounces.hitTest(x, y, true))) {
array[i] = 1;
xval = x;
yval = y;
if (!_root.levels.bounces.hitTest(x, y, true)) {
_root.write = false;
}
} else {
array[i] = 0;
}
if ((_root.border1.hitTest(x, y, true) || (_x < 0)) || (_x > Stage.width)) {
if (spikes._visible == false) {
((_y >= 570) ? ((yspeed = -3)) : (((_y <= 30) ? ((yspeed = 3)) : 0)));
if ((_y < 570) && (_y > 30)) {
((_x > 500) ? ((xspeed = -5)) : ((xspeed = 5)));
}
} else {
xspeed = 0;
yspeed = 0;
}
}
i = i + 5;
}
strt = (end = 0);
i = 0;
while (i < 360) {
(((!last) and array[i]) ? ((strt = i)) : 0);
((last and (!array[i])) ? ((end = i)) : 0);
last = array[i];
i = i + 5;
}
((strt > end) ? ((angle = ((strt + end) / 2) + 180)) : ((angle = (strt + end) / 2)));
(superb ? ((speed = 1.2 * Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)))) : ((speed = Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)))));
if (strt != end) {
if (_root.levels.bounces.hitTest(xval + xspeed, yval + yspeed, true)) {
xspeed = (((-speed) / speed) * 10) * Math.sin(((angle + 90) / 180) * Math.PI);
yspeed = (((-speed) / speed) * 10) * Math.cos(((angle + 90) / 180) * Math.PI);
} else {
xspeed = (((-speed) / speed) * 5) * Math.sin(((angle + 90) / 180) * Math.PI);
yspeed = (((-speed) / speed) * 5) * Math.cos(((angle + 90) / 180) * Math.PI);
}
}
_rotation = (_rotation + xspeed);
_y = (_y + yspeed);
_x = (_x + xspeed);
if (restart) {
_root.box.removeMovieClip();
_root.box2.removeMovieClip();
_root.box4.removeMovieClip();
_x = 100;
_y = 100;
r = ball._width / 2;
xspeed = 0;
yspeed = 3;
traction = false;
superb = false;
big = false;
mini = false;
doubleline = false;
metalb = false;
_rotation = 0;
angle = 0;
restart = false;
}
}
} else {
if (z == 0) {
_x = (_x + ((_root.ball._x - _x) / 2));
_y = (_y + ((_root.ball._y - _y) / 2));
_alpha = (_root.ball._alpha / 3);
_rotation = _root.ball._rotation;
} else {
_x = (_x + ((_root["b" + (z - 1)]._x - _x) / 2));
_y = (_y + ((_root["b" + (z - 1)]._y - _y) / 2));
_alpha = (_root["b" + (z - 1)]._alpha / 3);
_rotation = _root["b" + (z - 1)]._rotation;
}
_yscale = _root.ball._xscale;
_xscale = _root.ball._xscale;
r = ((_root.ball._width * scale) / 100) / 2;
(_root.ball.metalb ? ((metal._visible = true)) : ((metal._visible = false)));
(_root.ball.traction ? ((Key.isDown(32) ? ((spikes._visible = false)) : ((spikes._visible = true)))) : ((spikes._visible = false)));
(_root.ball.superb ? ((sball._visible = true)) : ((sball._visible = false)));
}
} else {
_visible = false;
}
}
Instance of Symbol 236 MovieClip in Frame 7
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.gpause) {
_visible = true;
} else {
_visible = false;
}
}
Frame 8
z = 0;
while (z < 4) {
_root["b" + z].removeMovieClip();
z++;
}
_root.ball.swapDepths(6452);
_root.ball.removeMovieClip();
_root.border1.removeMovieClip();
_root.box.removeMovieClip();
_root.box2.removeMovieClip();
_root.box4.removeMovieClip();
submit.onRelease = function () {
ab20_09 = new LoadVars();
ab20_09.z = namevar.text;
ab20_09.x = deaths;
ab20_09.c = 1232;
ab20_09.v = "OISFET";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
gotoAndStop ("MainMenu");
};
stop();
Frame 9
stop();
var gpause = false;
z = 0;
while (z < 4) {
duplicateMovieClip (ball, "b" + z, 66 - z);
_root["b" + z].z = z;
if (z == 3) {
_root.ball.swapDepths(5);
}
z++;
}
_root.onMouseDown = function () {
if (!gpause) {
xpoint = _xmouse;
ypoint = _ymouse;
write = true;
}
};
_root.onMouseUp = function () {
gamestart = true;
write = false;
timer = 0;
timer2 = 0;
hit = 0;
};
score = 0;
ptimer = 0;
timer = 0;
timer2 = 0;
hit = 0;
line = 0;
line2 = 0;
scoreline = 0;
scoreplusthing = 0;
ptimer2 = 200;
p = 50;
mainmenu = false;
_root.onEnterFrame = function () {
if (mainmenu) {
_root.gotoAndStop("MainMenu", 1);
}
if (Key.isDown(2)) {
gpause = true;
}
if (!gpause) {
if ((box.hitTest(ball) && (ball.yspeed >= 0)) && ((!hit) >= 1)) {
hit = hit + 1;
}
timer++;
if (timer >= 30) {
timer = 0;
removeMovieClip(box);
removeMovieClip(box2);
removeMovieClip(box4);
box3.removeMovieClip();
hit = 0;
}
(ball.superb ? ((extrab = true)) : ((extrab = false)));
if (extrab) {
duplicateMovieClip (box, "box3", 0);
box3._alpha = 0;
box3._y = box._y + 20;
box3._x = box._x;
} else {
box3.removeMovieClip();
}
if (ptimer2 > 0) {
ptimer2--;
oldp = p;
} else if (oldp == p) {
p++;
duplicateMovieClip (power, "power" + p, _root.getNextHighestDepth());
}
if (ptimer > 0) {
ptimer--;
} else if (ball[powerup]) {
ball[powerup] = false;
_root.ptimer2 = random(300) + 200;
}
if (write) {
gamestart = true;
timer2++;
if (timer2 >= 30) {
write = false;
}
createEmptyMovieClip("box", 2);
createEmptyMovieClip("box2", 3);
createEmptyMovieClip("box4", 4);
with (box) {
moveTo(xpoint, ypoint);
lineStyle(30, 0, 100);
lineTo(_root._xmouse, _root._ymouse);
}
with (box4) {
moveTo(xpoint, ypoint);
lineStyle(10, 10066329, 100);
lineTo(_root._xmouse, _root._ymouse);
}
box2.moveTo(xpoint, ypoint);
box2.lineStyle(20, 6710886, 100);
box2.lineTo(_root._xmouse, _root._ymouse);
}
}
if ((Key.isDown(13) && (!edown)) && (!gpause)) {
gpause = true;
edown = true;
} else if ((Key.isDown(13) && (!edown)) && (gpause)) {
gpause = false;
edown = true;
} else if (!Key.isDown(13)) {
edown = false;
}
};
Instance of Symbol 263 MovieClip "ring" in Frame 9
onClipEvent (load) {
this._x = random(Stage.width - this._width) + (this._width / 2);
this._y = random(Stage.height - this._height) + (this._height / 2);
}
Instance of Symbol 216 MovieClip "ball" in Frame 9
onClipEvent (load) {
swapDepths(10000);
var _x = 300;
var _y = -100;
var r = (ball._width / 2);
var xspeed = 0;
var yspeed = -5;
var gravity = 1;
var array = new Array(360);
var dupsgone = false;
_xscale = _yscale;
var scale = _yscale;
var traction = false;
var superb = false;
var big = false;
var mini = false;
var doubleline = false;
var metalb = false;
}
onClipEvent (enterFrame) {
if (!_root.gpause) {
_visible = true;
if (_name == "ball") {
r = ((ball._width * scale) / 100) / 2;
_yscale = scale;
_xscale = scale;
(metalb ? ((metal._visible = true)) : ((metal._visible = false)));
(traction ? ((Key.isDown(32) ? ((spikes._visible = false)) : ((spikes._visible = true)))) : ((spikes._visible = false)));
(big ? ((scale = 170)) : ((mini ? ((scale = 50)) : ((scale = 100)))));
(superb ? ((sball._visible = true)) : ((sball._visible = false)));
((_y <= -50) ? ((_parent.ballshower._visible = true)) : ((_parent.ballshower._visible = false)));
((yspeed >= (28 + ((28 * superb) / 2))) ? ((yspeed = 28 + ((28 * superb) / 2))) : 0);
((yspeed <= (-28 - ((28 * superb) / 2))) ? ((yspeed = -28 - ((28 * superb) / 2))) : 0);
i = 0;
while (i < 360) {
x = _x + (r * Math.cos((i / 180) * Math.PI));
y = _y - (r * Math.sin((i / 180) * Math.PI));
if (_root.ring.hitTest(x, y, true) && (!_root.ringhit)) {
_root.ring.gotoAndPlay(2);
g = 10;
i = 0;
while (i < 50) {
col = ["0x0000FF", "0x0066FF", "0xFF9900", "0x3366FF", "0x6699FF", "0x0099FF"];
g++;
_root.attachMovie("dsquare", "sq_" + g, g);
_root["sq_" + g]._x = this._x;
_root["sq_" + g]._y = this._y;
_root["sq_" + g]._rotation = random(360);
_root["sq_" + g]._alpha = random(71) + 30;
_root["sq_" + g]._xscale = random(71) + 30;
_root["sq_" + i]._yscale = random(71) + 30;
_root["sq_" + g].spd = random(8) + 2;
_root["sq_" + g].blah = col[random(col.length)];
_root["sq_" + g].onEnterFrame = function () {
if (!_root.gpause) {
new Color(this).setRGB(this.blah);
this._alpha = this._alpha - (this.spd + 2);
this._x = this._x - (this.spd * Math.cos((this._rotation * Math.PI) / 180));
this._y = this._y + (this.spd * Math.sin((this._rotation * Math.PI) / 180));
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
};
_root.ringhit = true;
i++;
}
}
if (_root.box.hitTest(x, y, true) || (_root.box3.hitTest(x, y, true))) {
array[i] = 1;
} else {
array[i] = 0;
}
if ((_root.border1.hitTest(x, y, true) || (_x < 0)) || (_x > Stage.width)) {
if (spikes._visible == false) {
((_x > 500) ? ((xspeed = -5)) : ((xspeed = 5)));
} else {
if (Key.isDown(38)) {
_y = (_y - 0.277777777777778);
}
if (Key.isDown(40)) {
_y = (_y + 0.277777777777778);
}
xspeed = 0;
yspeed = 0;
yspeed = yspeed - ((gravity * scale) / 100);
}
}
i = i + 5;
}
strt = 0;
end = 0;
i = 0;
while (i < 360) {
(((!last) and array[i]) ? ((strt = i)) : 0);
((last and (!array[i])) ? ((end = i)) : 0);
last = array[i];
i = i + 5;
}
((strt > end) ? ((angle = ((strt + end) / 2) + 180)) : ((angle = (strt + end) / 2)));
yspeed = yspeed + ((gravity * scale) / 100);
(superb ? ((speed = 1.5 * Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)))) : ((speed = 1.1 * Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)))));
if (strt != end) {
xspeed = (-speed) * Math.sin(((angle + 90) / 180) * Math.PI);
yspeed = (-speed) * Math.cos(((angle + 90) / 180) * Math.PI);
}
_rotation = (_rotation + xspeed);
_y = (_y + yspeed);
_x = (_x + xspeed);
((_y >= 650) ? (_root.nextFrame()) : 0);
} else {
if (z == 0) {
_x = _root.ball._x;
_y = _root.ball._y;
_alpha = (_root.ball._alpha / 3);
_rotation = _root.ball._rotation;
} else {
_x = _root["b" + (z - 1)]._x;
_y = _root["b" + (z - 1)]._y;
_alpha = (_root["b" + (z - 1)]._alpha / 3);
_rotation = _root["b" + (z - 1)]._rotation;
}
_yscale = _root.ball._xscale;
_xscale = _root.ball._xscale;
r = ((_root.ball._width * scale) / 100) / 2;
(_root.ball.metalb ? ((metal._visible = true)) : ((metal._visible = false)));
(_root.ball.traction ? ((Key.isDown(32) ? ((spikes._visible = false)) : ((spikes._visible = true)))) : ((spikes._visible = false)));
(_root.ball.superb ? ((sball._visible = true)) : ((sball._visible = false)));
}
} else {
_visible = false;
}
}
Instance of Symbol 267 MovieClip "ballshower" in Frame 9
onClipEvent (enterFrame) {
this._y = 50;
this._x = _parent.ball._x;
blah = Math.round(Math.abs(_parent.ball._y));
}
Instance of Symbol 288 MovieClip "power" in Frame 9
onClipEvent (load) {
if (_name != "power") {
_x = random(Stage.width);
_y = random(Stage.height / 2);
var choices = new Array("superb", "traction", "big", "mini", "metalb");
choice = choices[random(choices.length)];
this.gotoAndStop(choice);
_alpha = 0;
timer = 400;
}
}
onClipEvent (enterFrame) {
if (_name != "power") {
if (!_root.gpause) {
if (hit) {
this.gotoAndStop("hit");
} else {
if (timer > 0) {
timer--;
} else {
_root.ptimer2 = random(300) + 200;
}
if ((_alpha < 100) && (timer > 0)) {
_alpha = (_alpha + 4);
} else if (timer <= 0) {
_alpha = (_alpha - 4);
if (_alpha < 0) {
this.removeMovieClip();
}
}
}
if ((this.hitTest(_parent.ball) && (!hit)) && (_alpha > 80)) {
_root.powerup = choice;
_parent.ball[choice] = true;
hit = true;
_root.ptimer = (_root.mtime = 400);
}
}
}
}
Instance of Symbol 100 MovieClip "magnet1" in Frame 9
onClipEvent (load) {
timer = 0;
_x = 100;
_y = 100;
xspot = _x;
yspot = _y;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (!_root.gpause) {
if (_parent.ball.metalb) {
if (_alpha < 50) {
_alpha = (_alpha+1);
}
if (timer < 100) {
timer++;
_x = (_x + ((xspot - _x) / 15));
_y = (_y + ((yspot - _y) / 15));
} else {
xspot = random(Stage.width - 40) + 20;
yspot = random(Stage.height - 40) + 20;
timer = 0;
}
dist = Math.round(Math.sqrt(((_parent.ball._x - _x) * (_parent.ball._x - _x)) + ((_parent.ball._y - _y) * (_parent.ball._y - _y))));
blah = ((305 - dist) / dist) / 5;
if (dist < 300) {
((_parent.ball._x > _x) ? ((_parent.ball.xspeed = _parent.ball.xspeed - blah)) : ((_parent.ball.xspeed = _parent.ball.xspeed + blah)));
((_parent.ball._y > _y) ? ((_parent.ball.yspeed = _parent.ball.yspeed - blah)) : ((_parent.ball.yspeed = _parent.ball.yspeed + blah)));
}
} else if (_alpha > 0) {
_alpha = (_alpha-1);
}
}
}
Instance of Symbol 103 MovieClip "magnet" in Frame 9
onClipEvent (load) {
timer = 0;
_x = 450;
_y = 100;
xspot = _x;
yspot = _y;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (!_root.gpause) {
if (_parent.ball.metalb) {
if (_alpha < 50) {
_alpha = (_alpha+1);
}
if (timer < 100) {
timer++;
_x = (_x + ((xspot - _x) / 15));
_y = (_y + ((yspot - _y) / 15));
} else {
xspot = random(Stage.width - 40) + 20;
yspot = random(Stage.height - 40) + 20;
timer = 0;
}
dista = Math.round(Math.sqrt(((_parent.ball._x - _x) * (_parent.ball._x - _x)) + ((_parent.ball._y - _y) * (_parent.ball._y - _y))));
blah = ((305 - dista) / dista) / 5;
if (dista < 300) {
((_parent.ball._x > _x) ? ((_parent.ball.xspeed = _parent.ball.xspeed + blah)) : ((_parent.ball.xspeed = _parent.ball.xspeed - blah)));
((_parent.ball._y > _y) ? ((_parent.ball.yspeed = _parent.ball.yspeed + blah)) : ((_parent.ball.yspeed = _parent.ball.yspeed - blah)));
}
} else if (_alpha > 0) {
_alpha = (_alpha-1);
}
}
}
Instance of Symbol 236 MovieClip in Frame 9
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.gpause) {
_visible = true;
} else {
_visible = false;
}
}
Frame 10
z = 0;
while (z < 4) {
_root["b" + z].removeMovieClip();
z++;
}
_root.ball.swapDepths(6452);
_root.ball.removeMovieClip();
_root.border1.removeMovieClip();
_root.box.removeMovieClip();
_root.box2.removeMovieClip();
_root.box4.removeMovieClip();
submit.onRelease = function () {
ab20_09 = new LoadVars();
ab20_09.z = namevar.text;
ab20_09.x = score;
ab20_09.c = 1231;
ab20_09.v = "GZEWLC";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
gotoAndStop ("MainMenu");
};
stop();
Frame 11
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
Instance of Symbol 79 MovieClip in Frame 11
onClipEvent (load) {
vel_y = -1;
}
onClipEvent (enterFrame) {
vel_y--;
this._y = this._y - vel_y;
if (this._y >= 650) {
vel_y = 35;
}
}
Instance of Symbol 82 MovieClip in Frame 11
onClipEvent (load) {
vel_y = -1;
}
onClipEvent (enterFrame) {
vel_y--;
this._y = this._y - vel_y;
if (this._y >= 650) {
vel_y = 35;
}
}
Instance of Symbol 85 MovieClip in Frame 11
onClipEvent (load) {
vel_y = -1;
}
onClipEvent (enterFrame) {
vel_y--;
this._y = this._y - vel_y;
if (this._y >= 650) {
vel_y = 35;
}
}
Instance of Symbol 88 MovieClip in Frame 11
onClipEvent (load) {
vel_y = -1;
}
onClipEvent (enterFrame) {
vel_y--;
this._y = this._y - vel_y;
if (this._y >= 650) {
vel_y = 35;
}
}
Instance of Symbol 91 MovieClip in Frame 11
onClipEvent (load) {
vel_y = -1;
}
onClipEvent (enterFrame) {
vel_y--;
this._y = this._y - vel_y;
if (this._y >= 650) {
vel_y = 35;
}
}
Instance of Symbol 92 MovieClip in Frame 11
onClipEvent (load) {
vel_y = -1;
}
onClipEvent (enterFrame) {
vel_y--;
this._y = this._y - vel_y;
if (this._y >= 650) {
vel_y = 35;
}
}
Instance of Symbol 61 MovieClip in Frame 11
onClipEvent (load) {
vel_y = -1;
}
onClipEvent (enterFrame) {
vel_y--;
this._y = this._y - vel_y;
if (this._y >= 650) {
vel_y = 35;
}
}
Frame 12
stop();
_root.onMouseDown = function () {
xpoint = _xmouse;
ypoint = _ymouse;
write = true;
};
_root.onMouseUp = function () {
gamestart = true;
write = false;
timer = 0;
timer2 = 0;
hit = 0;
};
stop();
ptimer = 0;
timer = 0;
timer2 = 0;
hit = 0;
line = 0;
line2 = 0;
scoreline = 0;
scoreplusthing = 0;
_root.createEmptyMovieClip("border1", -2);
border1.lineStyle(30, 0, 100);
border1.moveTo(Stage.width, -150);
border1.lineTo(Stage.width, Stage.height + 150);
border1.moveTo(0, Stage.height + 150);
border1.lineTo(0, -150);
border1.lineStyle(20, 6710886, 100);
border1.moveTo(Stage.width, -150);
border1.lineTo(Stage.width, Stage.height + 150);
border1.moveTo(0, Stage.height + 150);
border1.lineTo(0, -150);
border1.lineStyle(10, 161061273, 100);
border1.moveTo(Stage.width, -150);
border1.lineTo(Stage.width, Stage.height + 150);
border1.moveTo(0, Stage.height + 150);
border1.lineTo(0, -150);
ptimer2 = 200;
p = 50;
_root.onEnterFrame = function () {
if ((box.hitTest(ball) && (ball.yspeed >= 0)) && ((!hit) >= 1)) {
hit = hit + 1;
}
timer++;
if (timer >= 30) {
timer = 0;
removeMovieClip(box);
removeMovieClip(box2);
removeMovieClip(box4);
box3.removeMovieClip();
hit = 0;
}
(ball.superb ? ((extrab = true)) : ((extrab = false)));
if (extrab) {
duplicateMovieClip (box, "box3", 0);
box3._alpha = 0;
box3._y = box._y + 20;
box3._x = box._x;
} else {
box3.removeMovieClip();
}
if (ptimer2 > 0) {
ptimer2--;
oldp = p;
} else if (oldp == p) {
p++;
duplicateMovieClip (power, "power" + p, _root.getNextHighestDepth());
}
if (ptimer > 0) {
ptimer--;
} else if (ball[powerup]) {
ball[powerup] = false;
_root.ptimer2 = random(300) + 200;
}
if (write) {
gamestart = true;
timer2++;
if (timer2 >= 30) {
write = false;
}
createEmptyMovieClip("box", 2);
createEmptyMovieClip("box2", 3);
createEmptyMovieClip("box4", 4);
with (box) {
moveTo(xpoint, ypoint);
lineStyle(30, 0, 100);
lineTo(_root._xmouse, _root._ymouse);
}
with (box4) {
moveTo(xpoint, ypoint);
lineStyle(10, 10066329, 100);
lineTo(_root._xmouse, _root._ymouse);
}
box2.moveTo(xpoint, ypoint);
box2.lineStyle(20, 6710886, 100);
box2.lineTo(_root._xmouse, _root._ymouse);
}
};
Instance of Symbol 216 MovieClip "ball" in Frame 12
onClipEvent (load) {
var _x = 300;
var _y = -100;
var r = (ball._width / 2);
var xspeed = 0;
var yspeed = -5;
var gravity = 1;
var array = new Array(360);
var dupsgone = false;
_xscale = _yscale;
var scale = _yscale;
var traction = false;
var superb = false;
var big = false;
var mini = false;
var doubleline = false;
var metalb = false;
}
onClipEvent (enterFrame) {
r = ((ball._width * scale) / 100) / 2;
_yscale = scale;
_xscale = scale;
(metalb ? ((metal._visible = true)) : ((metal._visible = false)));
(traction ? ((Key.isDown(32) ? ((spikes._visible = false)) : ((spikes._visible = true)))) : ((spikes._visible = false)));
(big ? ((scale = 170)) : ((mini ? ((scale = 50)) : ((scale = 100)))));
(superb ? ((sball._visible = true)) : ((sball._visible = false)));
((_y <= -50) ? ((_parent.ballshower._visible = true)) : ((_parent.ballshower._visible = false)));
((yspeed >= (28 + ((28 * superb) / 2))) ? ((yspeed = 28 + ((28 * superb) / 2))) : 0);
((yspeed <= (-28 - ((28 * superb) / 2))) ? ((yspeed = -28 - ((28 * superb) / 2))) : 0);
i = 0;
while (i < 360) {
x = _x + (r * Math.cos((i / 180) * Math.PI));
y = _y - (r * Math.sin((i / 180) * Math.PI));
((_root.box.hitTest(x, y, true) || (_root.box3.hitTest(x, y, true))) ? ((array[i] = 1)) : ((array[i] = 0)));
if ((_root.border1.hitTest(x, y, true) || (_x < 0)) || (_x > Stage.width)) {
if (spikes._visible == false) {
((_x > 500) ? ((xspeed = -5)) : ((xspeed = 5)));
} else {
xspeed = 0;
yspeed = 0;
yspeed = yspeed - ((gravity * scale) / 100);
}
}
i = i + 5;
}
strt = 0;
end = 0;
i = 0;
while (i < 360) {
(((!last) and array[i]) ? ((strt = i)) : 0);
((last and (!array[i])) ? ((end = i)) : 0);
last = array[i];
i = i + 5;
}
((strt > end) ? ((angle = ((strt + end) / 2) + 180)) : ((angle = (strt + end) / 2)));
yspeed = yspeed + ((gravity * scale) / 100);
(superb ? ((speed = 1.5 * Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)))) : ((speed = 1.1 * Math.sqrt((xspeed * xspeed) + (yspeed * yspeed)))));
if (strt != end) {
xspeed = (-speed) * Math.sin(((angle + 90) / 180) * Math.PI);
yspeed = (-speed) * Math.cos(((angle + 90) / 180) * Math.PI);
}
_rotation = (_rotation + xspeed);
_y = (_y + yspeed);
_x = (_x + xspeed);
((_y >= 650) ? ((yspeed = -50)) : 0);
}
Instance of Symbol 267 MovieClip "ballshower" in Frame 12
onClipEvent (enterFrame) {
this._y = 50;
this._x = _parent.ball._x;
blah = Math.round(Math.abs(_parent.ball._y));
}
Instance of Symbol 288 MovieClip "power" in Frame 12
onClipEvent (load) {
if (_name != "power") {
_x = random(Stage.width);
_y = random(Stage.height / 2);
var choices = new Array("superb", "traction", "big", "mini", "doubleline", "metalb");
choice = choices[random(choices.length)];
this.gotoAndStop(choice);
_alpha = 0;
timer = 400;
}
}
onClipEvent (enterFrame) {
if (_name != "power") {
if (hit) {
this.gotoAndStop("hit");
} else {
if (timer > 0) {
timer--;
} else {
_root.ptimer2 = random(300) + 200;
}
if ((_alpha < 100) && (timer > 0)) {
_alpha = (_alpha + 4);
} else if (timer <= 0) {
_alpha = (_alpha - 4);
if (_alpha < 0) {
this.removeMovieClip();
}
}
}
if ((this.hitTest(_parent.ball) && (!hit)) && (_alpha > 80)) {
_root.powerup = choice;
_parent.ball[choice] = true;
hit = true;
_root.ptimer = (_root.mtime = 400);
}
}
}
Instance of Symbol 100 MovieClip "magnet1" in Frame 12
onClipEvent (enterFrame) {
dist = Math.round(Math.sqrt(((_parent.ball._x - _x) * (_parent.ball._x - _x)) + ((_parent.ball._y - _y) * (_parent.ball._y - _y))));
blah = ((205 - dist) / dist) / 5;
if (dist < 200) {
if (_parent.ball.metalb) {
((_parent.ball._x > _x) ? ((_parent.ball.xspeed = _parent.ball.xspeed - blah)) : ((_parent.ball.xspeed = _parent.ball.xspeed + blah)));
((_parent.ball._y > _y) ? ((_parent.ball.yspeed = _parent.ball.yspeed - blah)) : ((_parent.ball.yspeed = _parent.ball.yspeed + blah)));
}
}
}
Instance of Symbol 103 MovieClip "magnet" in Frame 12
onClipEvent (enterFrame) {
dista = Math.round(Math.sqrt(((_parent.ball._x - _x) * (_parent.ball._x - _x)) + ((_parent.ball._y - _y) * (_parent.ball._y - _y))));
blah = ((205 - dista) / dista) / 5;
if (dista < 200) {
if (_parent.ball.metalb) {
((_parent.ball._x > _x) ? ((_parent.ball.xspeed = _parent.ball.xspeed + blah)) : ((_parent.ball.xspeed = _parent.ball.xspeed - blah)));
((_parent.ball._y > _y) ? ((_parent.ball.yspeed = _parent.ball.yspeed + blah)) : ((_parent.ball.yspeed = _parent.ball.yspeed - blah)));
}
}
}
Symbol 24 MovieClip Frame 1
stop();
Symbol 29 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 33 MovieClip Frame 148
_root.play();
Symbol 38 Button
on (release) {
nextFrame();
}
Symbol 48 MovieClip Frame 1
_root.stop();
Instance of Symbol 42 MovieClip in Symbol 48 MovieClip Frame 1
onClipEvent (load) {
_parent._x = (_parent._y = 0);
xTarget = Stage.width / 2;
yTarget = Stage.height / 2;
xSpeed = 0;
ySpeed = 0;
Mode = 1;
Speed = 10;
Stop = 1.1;
blarg = getTimer();
sprinkles._visible = true;
_parent.thing._alpha = 0;
_parent.thing._width = Stage.width;
_parent.thing._height = Stage.height;
_parent.thing._x = Stage.width / 2;
_parent.thing._y = Stage.height / 2;
}
onClipEvent (enterFrame) {
if (2700 < (getTimer() - blarg)) {
_parent.thing._alpha = _parent.thing._alpha + 5;
if (_parent.thing._alpha >= 100) {
_root.stopAllSounds();
_root.play();
}
}
_rotation = (_rotation + xSpeed);
_x = (_x + xSpeed);
_y = (_y + ySpeed);
xSpeed = xSpeed + ((xTarget - _x) / Speed);
ySpeed = ySpeed + ((yTarget - _y) / Speed);
xSpeed = xSpeed / Stop;
ySpeed = ySpeed / Stop;
}
onClipEvent (mouseDown) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Symbol 53 MovieClip Frame 92
stop();
_root.play();
Symbol 59 Button
on (release) {
gotoAndStop ("StoryMode");
}
Symbol 64 Button
on (release) {
gotoAndStop ("Structions");
}
Symbol 67 Button
on (release) {
getURL ("http://www.armorgames.com/", _blank);
}
Symbol 70 Button
on (release) {
gotoAndStop ("Classic");
}
Symbol 73 Button
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=1232", _blank);
}
Symbol 76 Button
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=1231", _blank);
}
Symbol 96 MovieClip Frame 1
onEnterFrame = function () {
dist = Math.round(Math.sqrt((((_parent._parent.ball._x - _parent._x) - _x) * ((_parent._parent.ball._x - _parent._x) - _x)) + (((_parent._parent.ball._y - _parent._y) - _y) * ((_parent._parent.ball._y - _parent._y) - _y))));
blah = ((205 - dist) / dist) / 10;
if (dist < 200) {
((_parent._parent.ball._x > (_x + _parent._x)) ? ((_parent._parent.ball.xspeed = _parent._parent.ball.xspeed - blah)) : ((_parent._parent.ball.xspeed = _parent._parent.ball.xspeed + blah)));
((_parent._parent.ball._y > (_y + _parent._y)) ? ((_parent._parent.ball.yspeed = _parent._parent.ball.yspeed - blah)) : ((_parent._parent.ball.yspeed = _parent._parent.ball.yspeed + blah)));
}
};
Instance of Symbol 95 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation+1);
}
Symbol 100 MovieClip Frame 1
onEnterFrame = function () {
if (_root.ball.metalb) {
dist = Math.round(Math.sqrt((((_parent._parent.ball._x - _parent._x) - _x) * ((_parent._parent.ball._x - _parent._x) - _x)) + (((_parent._parent.ball._y - _parent._y) - _y) * ((_parent._parent.ball._y - _parent._y) - _y))));
blah = ((205 - dist) / dist) / 15;
if (dist < 200) {
((_parent._parent.ball._x > (_x + _parent._x)) ? ((_parent._parent.ball.xspeed = _parent._parent.ball.xspeed - blah)) : ((_parent._parent.ball.xspeed = _parent._parent.ball.xspeed + blah)));
((_parent._parent.ball._y > (_y + _parent._y)) ? ((_parent._parent.ball.yspeed = _parent._parent.ball.yspeed - blah)) : ((_parent._parent.ball.yspeed = _parent._parent.ball.yspeed + blah)));
}
}
};
Symbol 103 MovieClip Frame 1
onEnterFrame = function () {
if (_root.ball.metalb) {
dist = Math.round(Math.sqrt((((_parent._parent.ball._x - _parent._x) - _x) * ((_parent._parent.ball._x - _parent._x) - _x)) + (((_parent._parent.ball._y - _parent._y) - _y) * ((_parent._parent.ball._y - _parent._y) - _y))));
blah = ((205 - dist) / dist) / 15;
if (dist < 200) {
((_parent._parent.ball._x < (_x + _parent._x)) ? ((_parent._parent.ball.xspeed = _parent._parent.ball.xspeed - blah)) : ((_parent._parent.ball.xspeed = _parent._parent.ball.xspeed + blah)));
((_parent._parent.ball._y < (_y + _parent._y)) ? ((_parent._parent.ball.yspeed = _parent._parent.ball.yspeed - blah)) : ((_parent._parent.ball.yspeed = _parent._parent.ball.yspeed + blah)));
}
}
};
Instance of Symbol 115 MovieClip "power1" in Symbol 211 MovieClip Frame 1
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.superb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 115 MovieClip "power1" in Symbol 211 MovieClip Frame 2
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.superb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 129 MovieClip "power1" in Symbol 211 MovieClip Frame 3
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.big = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 141 MovieClip "power1" in Symbol 211 MovieClip Frame 4
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.mini = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 115 MovieClip "power1" in Symbol 211 MovieClip Frame 5
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.superb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 159 MovieClip "power1" in Symbol 211 MovieClip Frame 6
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.metalb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 193 MovieClip "tb" in Symbol 211 MovieClip Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 193 MovieClip "ta" in Symbol 211 MovieClip Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 159 MovieClip "power1" in Symbol 211 MovieClip Frame 12
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.metalb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 193 MovieClip "ta" in Symbol 211 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 103 MovieClip "magnet" in Symbol 211 MovieClip Frame 13
onClipEvent (enterFrame) {
dista = Math.round(Math.sqrt(((_parent.ball._x - _x) * (_parent.ball._x - _x)) + ((_parent.ball._y - _y) * (_parent.ball._y - _y))));
blah = ((305 - dista) / dista) / 10;
if (dista < 300) {
((_parent.ball._x > _x) ? ((_parent.ball.xspeed = _parent.ball.xspeed + blah)) : ((_parent.ball.xspeed = _parent.ball.xspeed - blah)));
((_parent.ball._y > _y) ? ((_parent.ball.yspeed = _parent.ball.yspeed + blah)) : ((_parent.ball.yspeed = _parent.ball.yspeed - blah)));
}
}
Instance of Symbol 129 MovieClip "power1" in Symbol 211 MovieClip Frame 14
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.big = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 141 MovieClip "power1" in Symbol 211 MovieClip Frame 15
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.mini = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 159 MovieClip "power2" in Symbol 211 MovieClip Frame 17
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.metalb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 193 MovieClip "tb" in Symbol 211 MovieClip Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 193 MovieClip "ta" in Symbol 211 MovieClip Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 141 MovieClip "power1" in Symbol 211 MovieClip Frame 18
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.mini = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 159 MovieClip "power2" in Symbol 211 MovieClip Frame 19
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.metalb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 129 MovieClip "power1" in Symbol 211 MovieClip Frame 19
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.big = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 159 MovieClip "power1" in Symbol 211 MovieClip Frame 20
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.metalb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 141 MovieClip "power3" in Symbol 211 MovieClip Frame 20
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.big = false;
_root.ball.mini = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 129 MovieClip "power2" in Symbol 211 MovieClip Frame 20
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.big = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 193 MovieClip "ta" in Symbol 211 MovieClip Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 193 MovieClip "tb" in Symbol 211 MovieClip Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 159 MovieClip "power2" in Symbol 211 MovieClip Frame 21
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.metalb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 141 MovieClip "power1" in Symbol 211 MovieClip Frame 21
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.mini = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 159 MovieClip "power1" in Symbol 211 MovieClip Frame 24
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.metalb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 159 MovieClip "power2" in Symbol 211 MovieClip Frame 24
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.metalb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 193 MovieClip "ta" in Symbol 211 MovieClip Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 193 MovieClip "tb" in Symbol 211 MovieClip Frame 24
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 141 MovieClip "power1" in Symbol 211 MovieClip Frame 25
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.mini = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 129 MovieClip "power2" in Symbol 211 MovieClip Frame 25
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.big = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 159 MovieClip "power1" in Symbol 211 MovieClip Frame 26
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.metalb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 141 MovieClip "power2" in Symbol 211 MovieClip Frame 26
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.mini = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 193 MovieClip "ta" in Symbol 211 MovieClip Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 193 MovieClip "tb" in Symbol 211 MovieClip Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 159 MovieClip "power3" in Symbol 211 MovieClip Frame 27
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.metalb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 129 MovieClip "power2" in Symbol 211 MovieClip Frame 27
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.big = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 193 MovieClip "ta" in Symbol 211 MovieClip Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 193 MovieClip "tb" in Symbol 211 MovieClip Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 141 MovieClip "power2" in Symbol 211 MovieClip Frame 29
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.mini = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 159 MovieClip "power2" in Symbol 211 MovieClip Frame 30
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.metalb = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 129 MovieClip "power2" in Symbol 211 MovieClip Frame 30
onClipEvent (load) {
xspot = _x;
yspot = _y;
}
onClipEvent (enterFrame) {
if ((_root.ball._x == 100) && (_root.ball._y == 100)) {
_x = xspot;
_y = yspot;
} else {
if (this.hitTest(_root.ball)) {
_root.ball.restart = false;
hit = true;
} else {
hit = false;
}
if (hit) {
_root.ball.big = true;
hit = false;
_x = -1000;
}
}
}
Instance of Symbol 193 MovieClip "tb" in Symbol 211 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Instance of Symbol 193 MovieClip "ta" in Symbol 211 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
if (!hit) {
if (_name == "ta") {
_parent.tb.hit = true;
_root.ball._x = _parent.tb._x + _parent._x;
_root.ball._y = _parent.tb._y + _parent._y;
} else {
_parent.ta.hit = true;
_root.ball._x = _parent.ta._x + _parent._x;
_root.ball._y = _parent.ta._y + _parent._y;
}
}
hit = true;
_root.ball.restart = false;
} else {
hit = false;
}
}
Symbol 216 MovieClip Frame 1
stop();
Symbol 228 Button
on (release) {
z = 0;
while (z < 4) {
_root["b" + z].removeMovieClip();
z++;
}
_root.ball.swapDepths(6452);
_root.ball.removeMovieClip();
_root.border1.removeMovieClip();
_root.box.removeMovieClip();
_root.box2.removeMovieClip();
_root.box4.removeMovieClip();
_root.gotoAndStop("MainMenu");
}
Symbol 231 Button
on (release) {
_root._quality = "Low";
}
Symbol 233 Button
on (release) {
_root._quality = "High";
}
Symbol 235 Button
on (release) {
_root._quality = "Medium";
}
Symbol 242 Button
on (release) {
z = 0;
while (z < 4) {
_root["b" + z].removeMovieClip();
z++;
}
_root.ball.swapDepths(6452);
_root.ball.removeMovieClip();
_root.border1.removeMovieClip();
_root.box1.removeMovieClip();
_root.box2.removeMovieClip();
_root.box4.removeMovieClip();
_root.gotoAndStop("MainMenu");
}
Instance of Symbol 255 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (load) {
w = _width;
}
onClipEvent (enterFrame) {
_width = ((w * _root.ptimer) / _root.mtime);
}
Symbol 263 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 2
_root.score = _root.score + 100;
Symbol 263 MovieClip Frame 15
stop();
_root.ringhit = false;
_parent.ring._x = random(Stage.width - _parent.ring._width) + (_parent.ring._width / 2);
_parent.ring._y = random(Stage.height - _parent.ring._height) + (_parent.ring._height / 2);
gotoAndStop (1);
Symbol 287 MovieClip Frame 15
this._parent.removeMovieClip();
this._parent._x = -1000;
stop();
Symbol 297 Button
on (release) {
gotoAndStop ("MainMenu");
}
Symbol 307 Button
on (release) {
nextFrame();
}
Symbol 308 Button
on (release) {
gotoAndStop ("Structions");
}