Frame 1
function goToThisURL() {
getURL (linkURL, "_blank");
}
var linkURL = "http://www.google.com";
var linkText = "Link Text";
var myMenu = new ContextMenu();
var nohax = new ContextMenuItem("Dont Hack", goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
Frame 2
function goToThisURL() {
getURL (linkURL, "_blank");
}
var linkURL = "http://www.google.com";
var linkText = "Link Text";
var myMenu = new ContextMenu();
var nohax = new ContextMenuItem("Dont Hack", goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
stop();
Frame 3
function goToThisURL() {
getURL (linkURL, "_blank");
}
var linkURL = "http://www.google.com";
var linkText = "Link Text";
var myMenu = new ContextMenu();
var nohax = new ContextMenuItem("Dont Hack", goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
stop();
Instance of Symbol 74 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.lives < 2) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 74 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.lives < 3) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 74 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.lives < 4) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 74 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.lives < 5) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 74 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.lives < 1) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 98 MovieClip "hero_mc" in Frame 3
onClipEvent (load) {
_root.lives = 5;
_root.invincible = false;
_root.diffmult = 3;
}
onClipEvent (keyUp) {
this.gotoAndStop("idle");
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x = this._x - 8;
}
if (Key.isDown(39)) {
this._x = this._x + 8;
}
if (_root.walls1.hitTest(getBounds(_root).xMin, _y, true)) {
this._x = this._x - 10;
}
if (_root.walls1.hitTest(getBounds(_root).xMax, _y, true)) {
this._x = this._x + 10;
}
if (_root.lives < 1) {
_root.posx = this._x;
_root.posy = this._y;
_root.gotoAndStop("end");
_root.score = _root.gametime;
}
}
Instance of Symbol 101 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.lives < 6) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 103 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.lives < 6) {
this._visible = false;
} else {
this.lifetxt.text = _root.lives - 5;
this._visible = true;
}
}
Instance of Symbol 128 MovieClip in Frame 3
onClipEvent (load) {
starttime = getTimer();
_root.diffinc = 0;
_root.diffstart = 0;
}
onClipEvent (enterFrame) {
_root.gametime = (getTimer() - starttime) / 1000;
_root.diffinc = _root.gametime - _root.diffstart;
if (_root.diffinc > 20) {
_root.diffmult = _root.diffmult - 0.1;
_root.diffstart = _root.gametime;
}
this.counter.text = Math.floor(_root.gametime);
}
Instance of Symbol 131 MovieClip in Frame 3
onClipEvent (enterFrame) {
_root.diffcount.text = 31 - (_root.diffmult * 10);
}
Frame 4
if (_root.gametime < 60) {
_root.submit._visible = false;
}
scorecount.text = _root.gametime;
Instance of Symbol 74 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.lives < 1) {
this._visible = false;
}
}
Instance of Symbol 132 MovieClip in Frame 4
onClipEvent (enterFrame) {
this._x = _root.posx;
this._y = _root.posy;
}
Frame 5
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) {
_rankz_ar_ = par228.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");
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.plyrname;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.gametime;
__rankz_send__("Mjg1NmolZSVhJW4lcw==", "RmpXYVpxZ00=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
stop();
function goToThisURL() {
getURL (linkURL, "_blank");
}
var linkURL = "http://www.google.com";
var linkText = "Link Text";
var myMenu = new ContextMenu();
var nohax = new ContextMenuItem("Dont Hack", goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
Symbol 39 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 48 Button
on (release) {
_root.play();
}
Symbol 50 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 50 MovieClip Frame 2
gotoAndPlay (1);
Symbol 154 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 59 Button
on (release) {
gotoAndPlay ("frame1");
}
Instance of Symbol 69 MovieClip in Symbol 71 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero_mc)) {
if (_root.invincible == false) {
_root.lives = _root.lives - 1;
_root.hero_mc.gotoAndStop("blink");
_root.invincible == true;
}
}
}
Symbol 71 MovieClip Frame 30
counter = 0;
delay = Math.floor((random(24) + 6) * _root.diffmult);
Symbol 71 MovieClip Frame 31
counter++;
Symbol 71 MovieClip Frame 32
counter++;
if (counter < delay) {
gotoAndPlay ("emptyfrm");
}
Symbol 97 MovieClip Frame 9
wait = wait + 1;
if (wait == 6) {
_parent.gotoAndStop("idle");
}
Symbol 98 MovieClip Frame 1
stop();
_root.invincible = false;
Symbol 98 MovieClip Frame 2
_root.invincible = false;
Symbol 98 MovieClip Frame 3
_root.invincible = false;
Symbol 98 MovieClip Frame 4
_root.invincible = false;
Symbol 98 MovieClip Frame 5
_root.invincible = false;
Symbol 98 MovieClip Frame 6
stop();
_root.invincible = true;
Instance of Symbol 97 MovieClip in Symbol 98 MovieClip Frame 6
onClipEvent (load) {
this.wait = 0;
}
Symbol 110 MovieClip Frame 19
counter = 0;
delay = Math.floor((random(24) + 6) * _root.diffmult);
Symbol 110 MovieClip Frame 20
counter++;
Instance of Symbol 69 MovieClip in Symbol 110 MovieClip Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero_mc)) {
if (_root.invincible == false) {
_root.lives = _root.lives - 1;
_root.hero_mc.gotoAndStop("blink");
_root.invincible == true;
}
}
}
Symbol 110 MovieClip Frame 21
counter++;
if (counter < delay) {
gotoAndPlay ("emptyfrm1");
}
Symbol 110 MovieClip Frame 40
counter = 0;
delay = Math.floor((random(24) + 6) * _root.diffmult);
Symbol 110 MovieClip Frame 41
counter++;
Instance of Symbol 69 MovieClip in Symbol 110 MovieClip Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero_mc)) {
if (_root.invincible == false) {
_root.lives = _root.lives - 1;
_root.hero_mc.gotoAndStop("blink");
_root.invincible == true;
}
}
}
Symbol 110 MovieClip Frame 42
counter++;
if (counter < delay) {
gotoAndPlay ("emptyfrm2");
}
Symbol 118 MovieClip Frame 1
this._x = random(450) + 50;
Instance of Symbol 112 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero_mc)) {
if (_root.invincible == false) {
_root.hero_mc.gotoAndStop("blink");
_root.invincible == true;
}
}
}
Symbol 118 MovieClip Frame 30
counter = 0;
delay = random(100) + 60;
Instance of Symbol 112 MovieClip in Symbol 118 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero_mc)) {
if (_root.invincible == false) {
_root.lives = _root.lives + 1;
_root.hero_mc.gotoAndStop("blink");
_root.invincible == true;
}
}
}
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero_mc)) {
_root.lives = _root.lives + 1;
_root.hero_mc.gotoAndStop("blink");
_root.invincible == true;
_parent.gotoAndPlay("emptyfrm");
}
}
Symbol 118 MovieClip Frame 40
counter++;
Symbol 118 MovieClip Frame 41
counter++;
if (counter < delay) {
gotoAndPlay ("emptyfrm");
}
Symbol 125 MovieClip Frame 1
this._x = random(450) + 50;
Symbol 125 MovieClip Frame 30
counter = 0;
delay = Math.floor((random(60) + 40) * _root.diffmult);
Instance of Symbol 120 MovieClip in Symbol 125 MovieClip Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero_mc)) {
if (_root.invincible == false) {
_root.lives = _root.lives + 1;
_root.hero_mc.gotoAndStop("blink");
_root.invincible == true;
}
}
}
Instance of Symbol 124 MovieClip in Symbol 125 MovieClip Frame 31
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero_mc)) {
if (_root.invincible == false) {
_root.lives = _root.lives - 1;
_root.hero_mc.gotoAndStop("blink");
_root.invincible == true;
}
}
}
Symbol 125 MovieClip Frame 40
counter++;
Symbol 125 MovieClip Frame 41
counter++;
if (counter < delay) {
gotoAndPlay ("emptyfrm");
}
Symbol 140 Button
on (release) {
gotoAndPlay ("frame1");
}
Symbol 144 Button
on (release) {
_root.plyrname = _root.pname.text;
gotoAndPlay ("loscore");
}
Symbol 152 Button
on (release) {
getURL ("http://rankz.armorbot.com/survivalhero/", "_blank");
}