Frame 1
stop();
var MENU = new ContextMenu();
MENU.hideBuiltInItems();
MENU.builtInItems.quality = true;
_root.menu = MENU;
_root.onEnterFrame = function () {
var _local2 = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
loading.text = _local2;
if (_local2 == 100) {
play();
_root.onEnterFrame = null;
}
};
Frame 3
_root.stop();
Frame 4
stop();
Instance of Symbol 104 MovieClip in Frame 4
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Frame 5
_root.stop();
Frame 55
stop();
Frame 57
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
_root.scoreRes(true);
} else {
_root.scoreRes(false);
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
function scoreRes(t) {
if (t) {
_root.endM.score.gotoAndStop("suc");
} else {
_root.endM.score.gotoAndStop("fail");
}
}
function gameOver() {
_root.g.GOMC.play();
}
function gameOverComplete() {
play();
scoreMC.removeMovieClip();
GO = true;
}
function limit(num, min, max) {
return(Math.max(min, Math.min(num, max)));
}
function newSol() {
solNumSt++;
solNum++;
var _local1 = g.solHolder.attachMovie("solClip", "sol" + (solNumSt - 1), solNumSt - 1);
_local1.num = solNum - 1;
if (solNum > 2) {
var _local2 = solDist / (solNum - 2);
solDist = solDist + _local2;
solCenter = solCenter + (_local2 / 2);
}
_local1.targx = getSolPos(_local1.num, solDist, solNum);
_local1.dead = false;
_local1._y = solY;
_local1._x = W + 100;
_local1.onEnterFrame = solBrain;
}
function getSolPos(num, dist2, tot) {
if (tot == 1) {
return(solCenter);
}
var _local1 = dist2 / (tot - 1);
return((((-_local1) * ((tot - 1) / 2)) + (_local1 * num)) + solCenter);
}
function solBrain() {
this.targx = getSolPos(this.num, _root.solDist, _root.solNum);
this.xs = this.targx - this._x;
this.xs = limit(this.xs, -solSpeed, solSpeed);
this._x = this._x + this.xs;
}
function kill(sol) {
if (!sol.dead) {
sol.dead = true;
sol.play();
var _local1 = 0;
while (_local1 < solNumSt) {
var _local2 = g.solHolder["sol" + _local1];
if (_local2.num > sol.num) {
_local2.num--;
}
_local1++;
}
sol.onEnterFrame = null;
solNum--;
if (solNum == 1) {
solDist = 1;
_local1 = 0;
while (_local1 < solNumSt) {
sol = g.solHolder["sol" + _local1];
if (!sol.dead) {
solCenter = sol._x;
}
_local1++;
}
} else if (solNum == 0) {
gameOver();
}
}
}
function dropBomb(xp) {
var bomb = g.solHolder.attachMovie("bomb1", "bomb" + numBombs, numBombs + 1000);
bomb._y = -20;
bomb._x = xp;
bomb.ys = 0;
bomb.ac = true;
bomb.onEnterFrame = function () {
if (this.ac) {
bomb.ys = bomb.ys + _root.GRAV;
bomb._y = bomb._y + bomb.ys;
if (bomb._y > _root.bombGround) {
this.ac = false;
this.ys = 0;
this.play();
var _local4 = 0;
while (_local4 < _root.solNumSt) {
var _local3 = _root.g.solHolder["sol" + _local4];
if ((Math.abs(_local3._x - this._x) < bombRad) && (!_local3.dead)) {
kill(_local3);
}
_local4++;
}
}
}
};
numBombs++;
numBombs = numBombs % 250;
}
function bounceBomb() {
var bomb = g.solHolder.attachMovie("bomb3", "bomb" + numBombs, numBombs + 1000);
bomb._y = -20;
bomb._x = _root.W + 35;
bomb.xs = ((Math.random() * -1.6) - 0.4) * _root.bounceS;
bomb.ys = 0;
bomb.ac = true;
bomb.onEnterFrame = function () {
if (this.ac) {
((this._x < -50) ? (this.removeMovieClip()) : 0);
bomb.ys = bomb.ys + _root.GRAV;
bomb._x = bomb._x + bomb.xs;
bomb._y = bomb._y + bomb.ys;
bomb._rotation = bomb._rotation + bomb.xs;
if (bomb._y > _root.bombGround3) {
var _local4 = 0;
while (_local4 < _root.solNumSt) {
var _local3 = _root.g.solHolder["sol" + _local4];
if ((Math.abs(_local3._x - this._x) < bombRad) && (!_local3.dead)) {
kill(_local3);
this.ac = false;
this.ys = 0;
this.play();
}
_local4++;
}
if (this.ac) {
this._y = _root.bombGround3;
this.ys = this.ys * -0.975;
}
}
}
};
numBombs++;
numBombs = numBombs % 250;
}
function curveBomb(xp) {
}
stop();
var GO = false;
var GRAV = 0.75;
var W = 620;
var H = 400;
var Wlim = 200;
var Wlim2 = 45;
var numBombs = 0;
var bombGround = 340;
var bombGround = 340;
var bombGround3 = 360;
var bombRad = 40;
var bounceS = 4;
var solNumSt = 3;
var solNum = solNumSt;
var maxDist = (W - (Wlim / 2));
var minDist = 50;
var solDist = (minDist * solNum);
var solCenter = (W / 2);
var solY = 330;
var solSpeed = 12;
var distSpeed = 15;
var centSpeed = 8;
var nextBomb1 = 145;
var nextBomb3 = 350;
var nextSol = 500;
var nextSolC = nextSol;
var f = 0;
var score = 0;
var gameOverC = -1;
var s = false;
var k = false;
g.swapDepths(5);
scoreMC.swapDepths(10);
_root.onMouseDown = function () {
};
_root.onEnterFrame = function () {
if (!s) {
s = true;
g.gReady.play();
}
if (GO) {
score = Math.round(score);
var _local3 = 0;
while (_local3 < solNumSt) {
var _local2 = g.solHolder["sol" + _local3];
if (_local2) {
kill(_local2);
}
_local3++;
}
} else {
score = score + (solNum + ((100 + solDist) / (W + 100)));
trace(solNum + ((100 + solDist) / (W + 100)));
var _local5 = 5 - String(Math.round(score)).length;
var _local4 = "";
var _local3 = 0;
while (_local3 < _local5) {
_local4 = _local4 + "0";
_local3++;
}
_root.scoreMC.score_txt.text = ("Score: " + _local4) + Math.round(score);
f = f + 0.05;
gameOverC--;
if (gameOverC > -1) {
nextSolC = 1;
if (gameOverC == 0) {
gameOverComplete();
}
}
nextBomb1--;
nextBomb3--;
nextSolC--;
if (nextBomb1 < 0) {
dropBomb(Math.random() * W);
nextBomb1 = ((Math.random() * 0.5) + 0.5) * (2500000 / ((20000 + (f * f)) * 1.7));
}
if (nextBomb3 < 0) {
bounceBomb();
nextBomb3 = ((Math.random() * 0.5) + 0.5) * (6000000 / ((20000 + (f * f)) * 1.7));
}
if (nextSolC < 0) {
nextSolC = nextSol;
newSol();
}
if (Key.isDown(38)) {
solDist = solDist + distSpeed;
}
if (Key.isDown(40)) {
solDist = solDist - distSpeed;
}
solDist = limit(solDist, minDist * (solNum - 1), maxDist);
((solNum == 1) ? ((solDist = 0)) : 0);
if (Key.isDown(37)) {
solCenter = solCenter - centSpeed;
}
if (Key.isDown(39)) {
solCenter = solCenter + centSpeed;
}
if (getSolPos(0, solDist, solNum) < Wlim2) {
solCenter = Wlim2 + (solDist / 2);
}
if (getSolPos(solNum - 1, solDist, solNum) > (W - Wlim2)) {
solCenter = (W - Wlim2) - (solDist / 2);
}
}
};
var i = 0;
while (i < solNum) {
var sol = g.solHolder.attachMovie("solClip", "sol" + i, i);
sol.num = i;
sol.targx = getSolPos(i, solDist, solNum);
sol.dead = false;
sol._y = solY;
sol._x = sol.targx + W;
sol.onEnterFrame = solBrain;
i++;
}
Frame 58
stop();
endM.swapDepths(100);
endM.score.score_txt.text = score;
Frame 59
gotoAndStop ("game");
endM.removeMovieClip();
Frame 60
stop();
rankz_t10_send = new LoadVars();
rankz_t10_receive = new LoadVars();
rankz_t10_send.SU0249 = "MjU1N2olZSVhJW4lcw==";
rankz_t10_send.flashkey = "UENSRkdxVks=";
rankz_t10_receive.onLoad = function (success) {
if (success) {
_rankz_ar_ = rankz_t10_receive.top10.split("<u/*/u>");
i = 0;
while (i < _rankz_ar_.length) {
tempv = _rankz_ar_[i].split("</*/>");
_root["rankz_n" + (i + 1)].text = tempv[0];
_root["rankz_v" + (i + 1)].text = tempv[1];
i++;
}
} else {
trace("ERROR");
}
};
rankz_t10_send.sendAndLoad("http://rankz.armorbot.com/get/top10.php", rankz_t10_receive, "POST");
Symbol 26 MovieClip Frame 23
stop();
Symbol 27 MovieClip [bomb1] Frame 1
stop();
Symbol 27 MovieClip [bomb1] Frame 2
stop();
Symbol 29 MovieClip [bomb3] Frame 1
stop();
Symbol 29 MovieClip [bomb3] Frame 2
stop();
Symbol 84 MovieClip Frame 23
stop();
Symbol 85 MovieClip [solClip] Frame 1
stop();
Symbol 85 MovieClip [solClip] Frame 2
stop();
Symbol 92 Button
on (release) {
getURL ("http://www.armorgames.com/", _blank);
}
Symbol 261 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1] Frame 0
class ab3.rankz.Armor_Bot_30_En_AS1 extends Object
{
static var _CharsReverseLookup;
var _Armor_Bot_30_En_AS1Str, _Armor_Bot_30_En_AS1Count;
function Armor_Bot_30_En_AS1 () {
super();
}
static function Encode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.encodeArmor_Bot_30_En_AS1(str));
}
static function Decode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.decodeArmor_Bot_30_En_AS1(str));
}
static function StringReplaceAll(source, find, replacement) {
return(source.split(find).join(replacement));
}
static function InitReverseChars() {
_CharsReverseLookup = new Array();
var _local1 = 0;
while (_local1 < _Chars.length) {
_CharsReverseLookup[_Chars[_local1]] = _local1;
_local1++;
}
return(true);
}
static function UrlDecode(str) {
str = StringReplaceAll(str, "\\", " ");
str = unescape(str);
return(str);
}
static function UrlEncode(str) {
str = escape(str);
str = StringReplaceAll(str, "\\", "%2B");
str = StringReplaceAll(str, "%20", "+");
return(str);
}
function setArmor_Bot_30_En_AS1Str(str) {
_Armor_Bot_30_En_AS1Str = str;
_Armor_Bot_30_En_AS1Count = 0;
}
function readArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charCodeAt(_Armor_Bot_30_En_AS1Count) & 255;
_Armor_Bot_30_En_AS1Count++;
return(_local2);
}
function encodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(3);
var _local5 = 0;
var _local4 = false;
while ((!_local4) && (((_local2[0] = readArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[1] = readArmor_Bot_30_En_AS1();
_local2[2] = readArmor_Bot_30_En_AS1();
_local3 = _local3 + _Chars[_local2[0] >> 2];
if (_local2[1] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[0] << 4) & 48) | (_local2[1] >> 4)];
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[1] << 2) & 60) | (_local2[2] >> 6)];
_local3 = _local3 + _Chars[_local2[2] & 63];
} else {
_local3 = _local3 + _Chars[(_local2[1] << 2) & 60];
_local3 = _local3 + "=";
_local4 = true;
}
} else {
_local3 = _local3 + _Chars[(_local2[0] << 4) & 48];
_local3 = _local3 + "=";
_local3 = _local3 + "=";
_local4 = true;
}
_local5 = _local5 + 4;
if (_local5 >= 76) {
_local3 = _local3 + newline;
_local5 = 0;
}
}
return(_local3);
}
function readReverseArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
while (true) {
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charAt(_Armor_Bot_30_En_AS1Count);
_Armor_Bot_30_En_AS1Count++;
if (_CharsReverseLookup[_local2]) {
return(_CharsReverseLookup[_local2]);
}
if (_local2 == "A") {
return(0);
}
}
}
function ntos(n) {
var _local1 = n.toString(16);
if (_local1.length == 1) {
_local1 = "0" + _local1;
}
_local1 = "%" + _local1;
return(unescape(_local1));
}
function decodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(4);
var _local4 = false;
while (((!_local4) && (((_local2[0] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) && (((_local2[1] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[2] = readReverseArmor_Bot_30_En_AS1();
_local2[3] = readReverseArmor_Bot_30_En_AS1();
_local3 = _local3 + ntos(((_local2[0] << 2) & 255) | (_local2[1] >> 4));
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[1] << 4) & 255) | (_local2[2] >> 2));
if (_local2[3] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[2] << 6) & 255) | _local2[3]);
} else {
_local4 = true;
}
} else {
_local4 = true;
}
}
return(_local3);
}
function toHex(n) {
var _local4 = "";
var _local3 = true;
var _local1 = 32;
while (_local1 > 0) {
_local1 = _local1 - 4;
var _local2 = (n >> _local1) & 15;
if ((!_local3) || (_local2 != 0)) {
_local3 = false;
_local4 = _local4 + _Digits[_local2];
}
}
return(((_local4 == "") ? "0" : (_local4)));
}
function pad(str, len, pad) {
var _local2 = str;
var _local1 = str.length;
while (_local1 < len) {
_local2 = pad + _local2;
_local1++;
}
return(_local2);
}
function encodeHex(str) {
var _local4 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local4 = _local4 + pad(toHex(str.charCodeAt(_local2) & 255), 2, "0");
_local2++;
}
return(_local4);
}
function decodeHex(str) {
var _local5 = "";
var _local3 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local3 = _local3 + str.charAt(_local2);
if (_local3.length == 2) {
_local5 = _local5 + ntos(parseInt("0x" + _local3));
_local3 = "";
}
_local2++;
}
return(_local5);
}
static var _EndOfInput = -1;
static var _Chars = 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", "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", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/");
static var _CharsReverseLookupInited = InitReverseChars();
static var _Digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
}
Symbol 95 Button
on (release) {
play();
}
Symbol 104 MovieClip Frame 126
_root.nextFrame();
Symbol 108 MovieClip Frame 100
stop();
Symbol 110 Button
on (press) {
getURL ("http://www.claxor.com/", "_blank");
}
Symbol 128 MovieClip Frame 55
stop();
Symbol 129 MovieClip Frame 1
_parent.stop();
with (this) {
startTime = getTimer();
thisFPS = 40;
onEnterFrame = function () {
elapsed = getTimer() - startTime;
goFrame = Math.floor(elapsed / thisFPS);
if (goFrame > _totalframes) {
goFrame = _totalframes;
}
gotoAndStop(goFrame);
};
}
Symbol 129 MovieClip Frame 127
_parent.play();
delete this.onEnterFrame;
Symbol 161 Button
on (release) {
gotoAndStop ("highscores");
}
Symbol 165 Button
on (release) {
gotoAndStop ("instructions");
}
Symbol 168 Button
on (release) {
getURL ("http://www.armorgames.com/", _blank);
}
Symbol 173 Button
on (release) {
soundMC.gotoAndStop("stop");
}
Symbol 174 Button
on (release) {
soundMC.gotoAndStop("start");
}
Symbol 178 MovieClip Frame 1
stop();
Symbol 179 Button
on (release) {
getURL ("http://www.armorblog.com/", _blank);
}
Symbol 180 Button
on (release) {
soundMC.gotoAndStop("stop");
gotoAndStop ("game");
}
Symbol 191 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 69
_root.gameOverComplete();
Symbol 195 Button
on (release) {
_root.soundMC.gotoAndStop("stop");
}
Symbol 196 Button
on (release) {
_root.soundMC.gotoAndStop("start");
}
Symbol 203 MovieClip Frame 1
stop();
Symbol 208 Button
on (release) {
_root.g.removeMovieClip();
_root.score.removeMovieClip();
_root.play();
}
Symbol 213 Button
on (release) {
_root.g.removeMovieClip();
_root.score.removeMovieClip();
_root.gotoAndStop("highscores");
_root.endM.removeMovieClip();
}
Symbol 217 Button
on (release) {
var nameT = _root.endM.score.name_txt.text;
((nameT.length == 0) ? ((nameT = "Anonymous")) : 0);
bXlnYW1lX25hbWVfdmFyaWFibGU = nameT;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.score;
_root.__rankz_send__("MjU1N2olZSVhJW4lcw==", "UENSRkdxVks=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
trace(_root.score);
trace(nameT);
nextFrame();
}
Symbol 224 MovieClip Frame 1
stop();
Symbol 227 Button
on (release) {
prevFrame();
}
Symbol 229 Button
on (release) {
_root.g.removeMovieClip();
_root.score.removeMovieClip();
_root.prevFrame();
}