Frame 1
var lnum = Math.ceil((28 * _root.getBytesLoaded()) / _root.getBytesTotal());
_root.loader.gotoAndStop(lnum);
Instance of Symbol 79 MovieClip in Frame 1
onClipEvent (load) {
this.onRelease = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Instance of Symbol 82 MovieClip in Frame 1
onClipEvent (load) {
this.onRelease = function () {
getURL ("http://www.superflashbros.net", "_blank");
};
}
Frame 2
var lnum = Math.ceil((28 * _root.getBytesLoaded()) / _root.getBytesTotal());
_root.loader.gotoAndStop(lnum);
if (_root.getBytesLoaded() != _root.getBytesTotal()) {
_root.gotoAndPlay(1);
}
Frame 11
stop();
Instance of Symbol 101 MovieClip in Frame 11
onClipEvent (load) {
saved = SharedObject.getLocal("jamesx");
if (!saved.data.unlocked) {
this._alpha = 50;
this.b1.enabled = false;
this.b2.enabled = false;
}
}
Instance of Symbol 94 MovieClip in Frame 12
onClipEvent (load) {
this.onRollOver = function () {
gotoAndStop (13);
};
this.onRollOut = function () {
gotoAndStop (12);
};
this.onRelease = function () {
Zebra.max_x = 9400;
stopAllSounds();
_root.replay = true;
_root.gotoAndPlay("main_game");
};
}
Frame 1055
stop();
Instance of Symbol 219 MovieClip "timer" in Frame 1055
onClipEvent (load) {
function addScore() {
_root.score = _root.score + 100;
}
function hurtScore() {
_root.score = _root.score - 100;
}
start_time = getTimer();
min = 0;
min_up = false;
ended = false;
_root.score = 0;
display_score = 0;
}
onClipEvent (enterFrame) {
now = getTimer();
time = 100000 - (now - start_time);
secs = Math.round(time / 1000);
if (secs < 60) {
min = 0;
}
if ((secs == 0) && (min == 0)) {
}
if (secs > 59) {
min = 1;
secs = secs - 60;
}
if (secs > 59) {
min = 2;
secs = secs - 60;
}
if ((secs == 0) && (min == 0)) {
_root.level.zebra.endGame();
ended = true;
_visible = false;
}
if (secs < 10) {
secs = "0" + secs;
}
display = (min + ":") + secs;
if (!ended) {
this.txt.text = display;
}
if (_root.score < 0) {
_root.score = 0;
}
if (display_score != _root.score) {
if (display_score > _root.score) {
speed = -20;
} else if (display_score < _root.score) {
speed = 20;
}
display_score = display_score + speed;
}
display = Math.round(display_score);
if (Math.round(display_score) < 10000) {
display = "0" + display;
}
if (Math.round(display_score) < 1000) {
display = "0" + display;
}
if (Math.round(display_score) < 100) {
display = "0" + display;
}
if (Math.round(display_score) < 10) {
display = "0" + display;
}
this.stxt.text = display;
}
Instance of Symbol 221 MovieClip in Frame 1055
onClipEvent (load) {
if (!_root.replay) {
stop();
}
}
Frame 1056
stop();
Instance of Symbol 233 MovieClip "timer" in Frame 1056
onClipEvent (load) {
function hurtScore() {
_root.level.zebra.speed_x = _root.level.zebra.speed_x * 0.8;
}
function addScore() {
_root.level.zebra.speed_x = _root.level.zebra.speed_x * 1.1;
_root.level.zebra.speed_y = -7;
}
ended = false;
started = false;
rate = 20;
this.onEnterFrame = function () {
if (!started) {
if (_root.level.zebra._x >= 1500) {
if (_root.level.zebra.swinging) {
_root.level.zebra.jumpOff();
}
_root.level.zebra.checkInput = function () {
};
_root.level.zebra.in_left = false;
_root.level.zebra.in_right = false;
_root.level.zebra.in_up = false;
_root.level.zebra.off_up = true;
_root.level.beam.gotoAndStop(2);
started = true;
}
}
if (ended) {
e_count = 0;
this.onEnterFrame = function () {
if ((e_count++) > 20) {
_root.goto = "long_jump";
_root.final_score = Number(m_distance);
_root.gotoAndStop("score");
}
};
}
if (started && (!ended)) {
distance = _root.level.zebra._x - 1500;
m_distance = distance / rate;
m_distance = Math.round(m_distance * 100) / 100;
if (Number(m_distance) < 10) {
m_distance = "0" + m_distance;
}
if (Number(m_distance) < 100) {
m_distance = "0" + m_distance;
}
m_distance = m_distance + "";
if (m_distance.length < 5) {
m_distance = m_distance + ".00";
} else if (m_distance.length < 6) {
m_distance = m_distance + "0";
}
display = m_distance + "m";
this.txt.text = display;
if (_root.level.zebra.speed_x < 1E-6) {
ended = true;
}
}
};
}
Instance of Symbol 221 MovieClip in Frame 1056
onClipEvent (load) {
this.gotoAndPlay(2);
}
Frame 1057
stop();
Instance of Symbol 241 MovieClip "timer" in Frame 1057
onClipEvent (load) {
function hurtScore() {
start_time = start_time - 1000;
}
min = 0;
ended = false;
started = false;
this.onEnterFrame = function () {
if (!started) {
if (_root.level.zebra._x >= 400) {
_root.level.beam.gotoAndStop(2);
start_time = getTimer();
started = true;
}
}
if (started && (!ended)) {
now = getTimer();
time = now - start_time;
secs = Math.round(time / 1000);
hsecs = Math.round(time / 10) - (Math.round(time / 1000) * 100);
if (hsecs < 0) {
hsecs = hsecs + 100;
}
if (hsecs < 10) {
hsecs = "0" + hsecs;
}
if (secs < 10) {
secs = "0" + secs;
}
display = (secs + ".") + hsecs;
this.txt.text = display;
if (Number(display) >= 100) {
if (_root.level.zebra.swinging) {
_root.level.zebra.jumpOff();
}
_root.level.zebra.checkInput = function () {
};
_root.level.zebra.in_left = false;
_root.level.zebra.in_right = false;
_root.level.zebra.in_up = false;
_root.level.zebra.off_up = true;
this.txt.text = 99.99;
_root.final_score = 99.99;
_root.goto = "time_attack";
ended = true;
}
if (_root.level.zebra._x >= 4500) {
if (_root.level.zebra.swinging) {
_root.level.zebra.jumpOff();
}
_root.level.zebra.checkInput = function () {
};
_root.level.zebra.in_left = false;
_root.level.zebra.in_right = false;
_root.level.zebra.in_up = false;
_root.level.zebra.off_up = true;
_root.final_score = Number(display);
_root.goto = "time_attack";
_root.level.beam2.gotoAndStop(2);
ended = true;
}
if (ended) {
e_count = 0;
this.onEnterFrame = function () {
if ((e_count++) > 15) {
_root.gotoAndStop("score");
}
};
}
}
};
}
onClipEvent (enterFrame) {
}
Instance of Symbol 221 MovieClip in Frame 1057
onClipEvent (load) {
this.gotoAndPlay(2);
}
Frame 1058
stopAllSounds();
replay = true;
saved = SharedObject.getLocal("jamesx");
saved.data.unlocked = true;
saved.data.flush();
stop();
Instance of Symbol 244 MovieClip in Frame 1058
onClipEvent (load) {
score.text = _root.final_score;
if (_root.goto == "long_jump") {
score.text = _root.final_score + "m";
}
}
Instance of Symbol 253 MovieClip in Frame 1058
onClipEvent (load) {
if (_root.submitted) {
this.gotoAndStop(3);
}
}
Frame 1059
stop();
Instance of Symbol 244 MovieClip in Frame 1059
onClipEvent (load) {
score.text = _root.final_score;
if (_root.goto == "long_jump") {
score.text = _root.final_score + "m";
}
}
Instance of Symbol 277 MovieClip "scoretable" in Frame 1059
onClipEvent (load) {
__top10_send__ = new LoadVars();
__top10_receive__ = new LoadVars();
__top10_url_1__ = "http://www.armorbot.com/flashcomm";
__top10_url_2__ = "/top10_b";
if (_root.goto == "long_jump") {
__top10_send__.hid = 527;
__top10_send__.kid = "IBATIC";
} else if (_root.goto == "time_attack") {
__top10_send__.hid = 529;
__top10_send__.kid = "HDODCN";
} else if (_root.goto == "main_game") {
__top10_send__.hid = 531;
__top10_send__.kid = "ADSNZY";
}
__top10_send__.sendAndLoad(__top10_url_1__ + __top10_url_2__, __top10_receive__, "POST");
__top10_receive__.onLoad = function (success) {
if (success) {
_root.scoretable.gotoAndStop(2);
i = 1;
while (i < 6) {
_root.scoretable["n" + i].text = __top10_receive__["name" + i];
_root.scoretable["s" + i].text = Number(__top10_receive__["score" + i]) / 100;
i++;
}
} else {
_root.scoretable.gotoAndStop(3);
}
};
}
Symbol 5 MovieClip [crumb] Frame 1
#initclip 9
Object.registerClass("crumb", Crumb);
#endinitclip
Symbol 27 MovieClip Frame 17
if (this == _parent.flame) {
_parent._visible = false;
}
Symbol 28 MovieClip [pudding] Frame 1
#initclip 6
Object.registerClass("pudding", Pudding);
#endinitclip
Symbol 28 MovieClip [pudding] Frame 9
gotoAndPlay (1);
Symbol 28 MovieClip [pudding] Frame 11
stop();
Symbol 32 MovieClip [cookie_clip] Frame 1
#initclip 7
Object.registerClass("cookie_clip", Biscuit);
#endinitclip
stop();
Symbol 61 MovieClip [Jamesmain] Frame 1
#initclip 8
Object.registerClass("Jamesmain", Zebra);
#endinitclip
stop();
Symbol 68 MovieClip Frame 1
stop();
Symbol 280 MovieClip [__Packages.Pudding] Frame 0
class Pudding extends MovieClip
{
var onEnterFrame;
function Pudding () {
super();
onEnterFrame = function () {
if (((this._x + this._parent._x) < -40) || ((this._x + this._parent._x) > 640)) {
this._visible = false;
} else {
this._visible = true;
}
if ((this._visible && (this.hitTest(this._parent.zebra.hit))) && (this._currentframe < 10)) {
_root.timer.hurtScore();
this.gotoAndPlay(10);
this.onEnterFrame = function () {
this.gotoAndPlay(10);
};
}
};
}
}
Symbol 281 MovieClip [__Packages.Biscuit] Frame 0
class Biscuit extends MovieClip
{
var gotoAndStop, onEnterFrame;
function Biscuit () {
super();
var _local6 = Math.ceil(Math.random() * 3);
gotoAndStop(_local6);
onEnterFrame = function () {
if (((this._x + this._parent._x) < -40) || ((this._x + this._parent._x) > 640)) {
this._visible = false;
} else {
this._visible = true;
}
if (this._visible && (this.hitTest(this._parent.zebra))) {
_root.timer.addScore();
var _local3 = 0;
while (_local3 < 6) {
var _local4 = this._parent.attachMovie("crumb", "crumb" + _local3, this._parent.getNextHighestDepth());
_local4._x = this._parent.zebra._x + (this._parent.zebra._xscale / 5);
_local4._y = this._parent.zebra._y - 10;
_local3++;
}
this._visible = false;
this.onEnterFrame = null;
}
};
}
}
Symbol 282 MovieClip [__Packages.Zebra] Frame 0
class Zebra extends MovieClip
{
var onEnterFrame, _parent, _x, _xscale, gotoAndStop, _y, _rotation;
function Zebra () {
super();
onEnterFrame = function () {
this.moveFreely();
};
}
function endGame() {
if (swinging) {
in_air = true;
swinging = false;
}
for (var _local3 in _parent) {
if ((_parent[_local3] instanceof Pudding) || (_parent[_local3] instanceof Biscuit)) {
_parent[_local3].onEnterFrame = function () {
};
}
}
_parent.tank._x = _x - 430;
_parent.tank._y = 290;
_parent.tank._visible = true;
_xscale = 100;
game_ended = true;
onEnterFrame = function () {
this.moveFreely();
this._parent.tank._x = this._parent.tank._x + 3;
if (this._parent.tank._x > (this._x - 100)) {
this.accelerateY(-12);
this.onEnterFrame = function () {
this.moveY();
this.gotoAndStop(4);
this.accelerateY(0.5);
this._parent.tank._x = this._parent.tank._x + 3;
if (this._parent.tank._x > this._x) {
this._parent.tank._x = this._x;
this.onEnterFrame = function () {
this.accelerateY(0.5);
this.moveY();
if ((this.speed_y > 0) && (this._y > 200)) {
this._x = this._parent.tank._x - 5;
this._y = this._parent.tank._y - 86;
this.onEnterFrame = function () {
this._parent.tank._x = this._parent.tank._x + 3;
this._y = ((this._parent.tank._y - 86) + 113.9) - this._parent.tank._height;
this._x = this._parent.tank._x - 5;
if ((this._parent.tank._x + this._parent._x) > 700) {
_root.replay = true;
_root.goto = "main_game";
_root.final_score = _root.score;
_root.gotoAndStop("score");
}
};
}
};
}
};
}
};
}
function checkInput() {
in_left = Key.isDown(37);
in_right = Key.isDown(39);
if (in_right && (!in_left)) {
facing_right = true;
_xscale = 100;
} else if (in_left && (!in_right)) {
facing_right = false;
_xscale = -100;
}
if (Key.isDown(38)) {
if (off_up) {
in_up = true;
off_up = false;
} else {
in_up = false;
}
} else {
off_up = true;
in_up = false;
}
}
function moveFreely() {
_parent.stars._visible = false;
if (in_air) {
if (game_ended) {
speed_x = speed_x * 0.9;
}
speed_x = speed_x * 0.995;
if (jumping) {
gotoAndStop(4);
} else {
if ((_y < 210) || (speed_y < 0)) {
_rotation = _rotation + (12 * spin_direction);
} else {
_rotation = _rotation * 0.8;
}
gotoAndStop(5);
}
}
accelerateY(0.5);
if (!game_ended) {
checkInput();
if (in_left) {
accelerateX(-2);
if (!in_air) {
gotoAndStop(2);
}
}
if (in_right) {
accelerateX(2);
if (!in_air) {
gotoAndStop(2);
}
}
if (in_up) {
if (in_air) {
if (_y > 0) {
startSwinging();
}
} else {
jump();
}
}
}
if (((!in_air) && (!in_left)) && (!in_right)) {
gotoAndStop(1);
}
moveX();
moveY();
}
function startSwinging() {
if (facing_right) {
var _local4 = 150;
} else {
var _local4 = -150;
}
anchor_x = _x + _local4;
anchor_y = 0;
var _local3 = _x - anchor_x;
var _local2 = _y - anchor_y;
angle = (180 * Math.atan2(_local3, _local2)) / Math.PI;
star_length = Math.sqrt((_local3 * _local3) + (_local2 * _local2));
speed_angle = speed_x / 4;
swinging = true;
in_air = false;
jumping = false;
onEnterFrame = function () {
this.swing();
};
}
function jump() {
jumping = true;
in_air = true;
accelerateY(-12);
_y = _y - 3;
}
function swing() {
gotoAndStop(3);
accelerateAngle((anchor_x - _x) / (star_length * 2));
checkInput();
if (in_left) {
accelerateAngle(-0.05);
}
if (in_right) {
accelerateAngle(0.05);
}
if ((!in_right) && (!in_left)) {
deccelerateAngle();
}
if (in_up) {
jumpOff();
}
last_x = _x;
last_y = _y;
moveAngle();
_rotation = (-angle) - (_xscale * 0.6);
moveToAngle(angle);
_parent.stars._visible = true;
_parent.stars._x = _x;
_parent.stars._y = _y;
_parent.stars._rotation = -angle;
}
function jumpOff() {
in_air = true;
swinging = false;
speed_x = _x - last_x;
if (speed_x > 20) {
speed_x = 20;
} else if (speed_x < -20) {
speed_x = -20;
}
speed_y = (_y - last_y) - 5;
if (speed_x > 0) {
spin_direction = -1;
} else {
spin_direction = 1;
}
onEnterFrame = function () {
this.moveFreely();
};
}
function moveToAngle(p_angle) {
var _local2 = star_length + (Math.abs(speed_angle) * 5);
_parent.stars._yscale = (100 * _local2) / star_length;
_x = anchor_x + (_local2 * Math.sin((Math.PI * p_angle) / 180));
_y = anchor_y + (_local2 * Math.cos((Math.PI * p_angle) / 180));
if ((_x < 30) || (_x > (max_x - 10))) {
jumpOff();
}
groundTest();
cameraFollow();
}
function moveX() {
if (((_x + speed_x) >= 20) && ((_x + speed_x) <= max_x)) {
_x = _x + speed_x;
} else {
if (_x > 2000) {
_x = max_x;
} else {
_x = 20;
}
speed_x = 0;
}
groundTest();
cameraFollow();
}
function moveY() {
_y = _y + speed_y;
groundTest();
}
function moveAngle() {
angle = angle + speed_angle;
}
function groundTest() {
if (_parent.ground.hitTest((_x + _parent._x) - 10, (_y + _parent._y) + 20, true)) {
var _local2 = 0;
while (_local2 < 20) {
if (!_parent.ground.hitTest((_x + _parent._x) - 10, ((_y + _parent._y) - _local2) + 20, true)) {
speed_y = 0;
_rotation = 0;
_y = (_y - _local2) + 1;
in_air = false;
swinging = false;
off_up = true;
jumping = false;
deccelerateX();
if (!game_ended) {
onEnterFrame = function () {
this.moveFreely();
};
}
break;
}
_local2 = _local2 + 0.2;
}
}
}
function deccelerateX() {
if (speed_x > 0.5) {
speed_x = speed_x - 0.4;
} else if (speed_x < -0.5) {
speed_x = speed_x + 0.4;
} else {
gotoAndStop(1);
speed_x = 0;
}
}
function deccelerateAngle() {
if (speed_angle > 0.3) {
speed_angle = speed_angle - (10 / star_length);
} else if (speed_angle < -0.3) {
speed_angle = speed_angle + (10 / star_length);
}
}
function accelerateX(p_accel) {
if (p_accel > 0) {
if (speed_x <= max_speed_x) {
speed_x = speed_x + p_accel;
}
} else if (speed_x >= (-max_speed_x)) {
speed_x = speed_x + p_accel;
}
}
function accelerateY(p_accel) {
if ((speed_y <= max_speed_y) && (speed_y >= (-max_speed_y))) {
speed_y = speed_y + p_accel;
}
if (speed_y > max_speed_y) {
speed_y = max_speed_y;
}
if (speed_y < (-max_speed_y)) {
speed_y = -max_speed_y;
}
}
function accelerateAngle(p_accel) {
if ((speed_angle <= max_speed_angle) && (speed_angle >= (-max_speed_angle))) {
speed_angle = speed_angle + p_accel;
}
if (speed_angle > max_speed_angle) {
speed_angle = max_speed_angle;
}
if (speed_angle < (-max_speed_angle)) {
speed_angle = -max_speed_angle;
}
}
function cameraFollow() {
_parent._x = _parent._x - (((_x + _parent._x) - 275) / 6);
if (_parent._x >= 0) {
_parent._x = 0;
} else if (_parent._x <= ((-max_x) + 580)) {
_parent._x = (-max_x) + 580;
} else {
_root.sky1._x = _root.sky1._x - (((_x + _parent._x) - 275) / 12);
_root.sky2._x = _root.sky2._x - (((_x + _parent._x) - 275) / 15);
}
if (_y < 0) {
_root.sky1._visible = false;
_root.sky2._visible = false;
_parent._y = 300;
_root.bg._y = 300;
if (!poofing) {
_parent.poof._x = _x;
_parent.poof._y = -32;
_parent.poof._yscale = 240;
_parent.poof.gotoAndPlay(1);
poofing = true;
}
} else {
if (poofing) {
_parent.poof._x = _x;
_parent.poof._y = 37;
_parent.poof._yscale = -240;
_parent.poof.gotoAndPlay(1);
poofing = false;
}
_root.sky1._visible = true;
_root.sky2._visible = true;
_parent._y = 0;
_root.bg._y = 0;
}
}
static var max_x = 9400;
var game_ended = false;
var spin_direction = 1;
var poofing = false;
var jumping = false;
var facing_right = true;
var swinging = false;
var in_air = true;
var anchor_x = 0;
var anchor_y = 0;
var star_length = 0;
var speed_x = 0;
var speed_y = 0;
var last_x = 0;
var last_y = 0;
var speed_angle = 0;
var angle = 0;
var in_left = false;
var in_right = false;
var in_up = false;
var off_left = true;
var off_right = true;
var off_up = true;
static var max_speed_x = 3;
static var max_speed_y = 10;
static var max_speed_angle = 12;
}
Symbol 283 MovieClip [__Packages.Crumb] Frame 0
class Crumb extends MovieClip
{
var _xscale, _yscale, gotoAndStop, onEnterFrame, _parent, _x, _y;
function Crumb () {
super();
_xscale = 20 + (Math.random() * 60);
_yscale = 20 + (Math.random() * 60);
speed_x = (Math.random() * 4) - 2;
speed_y = (-Math.random()) * 6;
speed_angle = (Math.random() * 20) - 10;
var _local3 = Math.ceil(Math.random() * 3);
gotoAndStop(_local3);
onEnterFrame = function () {
if (((this._x + this._parent._x) < 0) || ((this._x + this._parent._x) > 600)) {
this.removeMovieClip();
}
this.accelerateY(0.8);
this.moveX();
this.moveY();
this._rotation = this._rotation + this.speed_angle;
};
}
function groundTest() {
if (_parent.ground.hitTest(_x + _parent._x, _y + _parent._y, true)) {
var _local2 = 0;
while (_local2 < 20) {
if (!_parent.ground.hitTest(_x + _parent._x, (_y + _parent._y) - _local2, true)) {
speed_y = speed_y * -0.4;
_y = (_y - _local2) + speed_y;
deccelerateX();
if ((speed_y < 1) && (speed_y > -1)) {
onEnterFrame = function () {
if (((this._x + this._parent._x) < 0) || ((this._x + this._parent._x) > 600)) {
this.removeMovieClip();
}
this._alpha = this._alpha - 4;
if (this._alpha < 5) {
this.removeMovieClip();
}
};
}
break;
}
_local2 = _local2 + 0.2;
}
}
}
function deccelerateX() {
if (speed_x > 0.5) {
speed_x = speed_x - 0.4;
} else if (speed_x < -0.5) {
speed_x = speed_x + 0.4;
} else {
speed_x = 0;
}
}
function accelerateY(p_accel) {
if ((speed_y <= max_speed_y) && (speed_y >= (-max_speed_y))) {
speed_y = speed_y + p_accel;
}
if (speed_y > max_speed_y) {
speed_y = max_speed_y;
}
if (speed_y < (-max_speed_y)) {
speed_y = -max_speed_y;
}
}
function moveX() {
_x = _x + speed_x;
groundTest();
}
function moveY() {
_y = _y + speed_y;
groundTest();
}
var speed_x = 0;
var speed_y = 0;
var speed_angle = 0;
static var max_speed_x = 3;
static var max_speed_y = 10;
}
Symbol 284 MovieClip [__Packages.ab20] Frame 0
class ab20
{
function ab20 () {
}
static function fr(str, find, replace, limit) {
var _local2 = str;
var _local3;
var _local4;
var _local9;
if (!(typeof(find) === "string")) {
if (replace === undefined) {
replace = [""];
} else if (typeof(replace) === "string") {
replace = [replace];
}
} else {
find = [find];
replace = [replace];
}
_local9 = find.length;
var _local1 = 0;
var _local5 = 0;
while (_local1 < _local9) {
while (_local4 = _local2.indexOf(find[_local1]) , !(_local4 === -1)) {
if ((!(limit === undefined)) && (_local5 >= limit)) {
break;
}
_local3 = new Array(_local2.substring(0, _local4), _local2.substr(_local4, find[_local1].length), _local2.substr(_local4 + find[_local1].length));
_local3[1] = ((replace[_local1] === undefined) ? "" : (replace[_local1]));
_local2 = (_local3[0] + _local3[1]) + _local3[2];
_local5++;
}
_local1++;
_local5 = 0;
}
return(_local2);
}
static function encodeNum(num) {
var _local11 = getTimer();
var _local6 = ["aZ", "Zy", "Zx"];
var _local7 = ["zH", "jY", "uH"];
var _local4 = ["Ah", "Xh", "hO"];
var _local5 = ["Ub", "Bu", "Cb"];
var _local8 = ["Qc", "Pc", "Pe"];
var _local9 = ["Ei", "Ie", "Ef"];
var _local3 = ["Fk", "kG", "Kg"];
var _local13 = ["Jl", "Lm", "Mn"];
var _local12 = ["No", "Np", "Qp"];
var _local2 = ["Rs", "St", "Sw"];
var _local14 = random(3);
num = String(num);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
if (_local14 == 1) {
num = fr(num, "5", _local8[0]);
} else {
num = fr(num, "5", _local8[random(3)]);
}
num = fr(num, "4", _local9[random(3)]);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "2", _local13[random(3)]);
num = fr(num, "1", _local12[random(3)]);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
var _local10 = getTimer() - _local11;
num = (num + "Dd") + _local10;
return(num);
}
static function encodeStr8bytes(str) {
var _local1 = 0;
var _local4 = str.length;
var _local3 = "%";
var _local2 = ["%", "$", "#", "@"];
while (_local1 < _local4) {
_local3 = _local3 + (str.charCodeAt(_local1) + _local2[random(_local2.length)]);
_local1++;
}
return(_local3);
}
static function decodeStr8bytes(str) {
str = ("PIE" + str) + "PIE";
str = fr(str, "%", "D");
str = fr(str, "$", "D");
str = fr(str, "#", "D");
str = fr(str, "@", "D");
str = fr(str, "PIED", "");
str = fr(str, "DPIE", "");
var _local3 = str.split("D");
var _local4 = "";
var _local1 = 0;
var _local5 = _local3.length;
while (_local1 < _local5) {
_local4 = _local4 + String(String.fromCharCode(_local3[_local1]));
_local1++;
}
return(_local4);
}
static function decodeNum(str) {
var _local2 = ["aZ", "Zy", "Zx", "zH", "jY", "uH", "Ah", "Xh", "hO", "Ub", "Bu", "Cb", "Qc", "Pc", "Pe", "Ei", "Ie", "Ef", "Fk", "kG", "Kg", "Jl", "Lm", "Mn", "No", "Np", "Qp", "Rs", "St", "Sw"];
str = String(str);
str = str.split("Dd");
str = str[0];
str = fr(str, _local2[0], "9");
str = fr(str, _local2[1], "9");
str = fr(str, _local2[2], "9");
str = fr(str, _local2[3], "8");
str = fr(str, _local2[4], "8");
str = fr(str, _local2[5], "8");
str = fr(str, _local2[6], "7");
str = fr(str, _local2[7], "7");
str = fr(str, _local2[8], "7");
str = fr(str, _local2[9], "6");
str = fr(str, _local2[10], "6");
str = fr(str, _local2[11], "6");
str = fr(str, _local2[12], "5");
str = fr(str, _local2[13], "5");
str = fr(str, _local2[14], "5");
str = fr(str, _local2[15], "4");
str = fr(str, _local2[16], "4");
str = fr(str, _local2[17], "4");
str = fr(str, _local2[18], "3");
str = fr(str, _local2[19], "3");
str = fr(str, _local2[20], "3");
str = fr(str, _local2[21], "2");
str = fr(str, _local2[22], "2");
str = fr(str, _local2[23], "2");
str = fr(str, _local2[24], "1");
str = fr(str, _local2[25], "1");
str = fr(str, _local2[26], "1");
str = fr(str, _local2[27], "0");
str = fr(str, _local2[28], "0");
str = fr(str, _local2[29], "0");
var _local3 = Number(str);
return(_local3);
}
}
Instance of Symbol 79 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
this.onRelease = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Instance of Symbol 82 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
this.onRelease = function () {
getURL ("http://www.superflashbros.net", "_blank");
};
}
Symbol 94 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 95 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onRelease = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Instance of Symbol 94 MovieClip in Symbol 95 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onRelease = function () {
Zebra.max_x = 9400;
if (!_root.replay) {
_root.gotoAndPlay("tutorial");
} else {
_root.gotoAndPlay("main_game");
}
};
}
Instance of Symbol 94 MovieClip in Symbol 95 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onRelease = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Instance of Symbol 94 MovieClip in Symbol 95 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onRelease = function () {
getURL ("http://www.superflashbros.net", "_blank");
};
}
Instance of Symbol 94 MovieClip "b1" in Symbol 101 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onRelease = function () {
Zebra.max_x = 4780;
_root.gotoAndPlay("long_jump");
};
}
Instance of Symbol 94 MovieClip "b2" in Symbol 101 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
gotoAndStop (2);
};
this.onRollOut = function () {
gotoAndStop (1);
};
this.onRelease = function () {
Zebra.max_x = 4780;
_root.gotoAndPlay("time_attack");
};
}
Symbol 191 MovieClip Frame 16
stop();
Instance of Symbol 214 MovieClip "tank" in Symbol 215 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 221 MovieClip Frame 2707
stop();
Symbol 227 MovieClip Frame 1
stop();
Instance of Symbol 223 MovieClip "bpost" in Symbol 231 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.fpost._x = 1500 + ((_parent._x + 1225) / 4);
this._x = 1500 - ((_parent._x + 1225) / 4);
_parent.beam._x = _x;
_parent.beam._xscale = _parent.fpost._x - _x;
}
onClipEvent (load) {
_parent.fpost._x = 1500 + ((_parent._x + 1225) / 4);
this._x = 1500 - ((_parent._x + 1225) / 4);
_parent.beam._x = _x;
_parent.beam._xscale = _parent.fpost._x - _x;
}
Instance of Symbol 223 MovieClip "bpost" in Symbol 239 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.fpost._x = 400 + ((_parent._x + 125) / 4);
this._x = 400 - ((_parent._x + 125) / 4);
_parent.beam._x = _x;
_parent.beam._xscale = _parent.fpost._x - _x;
}
onClipEvent (load) {
_parent.fpost._x = 400 + ((_parent._x + 125) / 4);
this._x = 400 - ((_parent._x + 125) / 4);
_parent.beam._x = _x;
_parent.beam._xscale = _parent.fpost._x - _x;
}
Instance of Symbol 235 MovieClip in Symbol 239 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.fpost2._x = 4500 + ((_parent._x + 4225) / 4);
this._x = 4500 - ((_parent._x + 4225) / 4);
_parent.beam2._x = _x;
_parent.beam2._xscale = _parent.fpost2._x - _x;
}
onClipEvent (load) {
_parent.fpost2._x = 4500 + ((_parent._x + 4225) / 4);
this._x = 4500 - ((_parent._x + 4225) / 4);
_parent.beam2._x = _x;
_parent.beam2._xscale = _parent.fpost2._x - _x;
}
Symbol 250 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 1
stop();
Instance of Symbol 250 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
send_score = new LoadVars();
send_score.x = ab20.encodeNum(_root.final_score * 100);
if (_root.goto == "long_jump") {
send_score.c = 527;
send_score.v = "IBATIC";
} else if (_root.goto == "time_attack") {
send_score.c = 529;
send_score.v = "HDODCN";
} else if (_root.goto == "main_game") {
send_score.c = 531;
send_score.v = "ADSNZY";
}
send_score.onLoad = function () {
_root.gotoAndStop("table");
_parent.gotoAndStop(3);
};
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
_root.submitted = true;
send_score.z = _parent.name_in.text;
send_score.sendAndLoad("http://armorbot.com/s_b", send_score, "POST");
_parent.gotoAndStop(2);
};
}
Instance of Symbol 94 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
stopAllSounds();
_root.submitted = false;
_root.gotoAndPlay(_root.goto);
};
}
Instance of Symbol 94 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Instance of Symbol 94 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
stopAllSounds();
_root.gotoAndPlay("table");
};
}
Instance of Symbol 94 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
stopAllSounds();
_root.submitted = false;
_root.gotoAndPlay("main");
};
}
Symbol 277 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
if (_root.goto == "long_jump") {
getURL ("http://armorbot.com/mytable/?id=527", "_blank");
} else if (_root.goto == "time_attack") {
getURL ("http://armorbot.com/mytable/?id=529", "_blank");
} else if (_root.goto == "main_game") {
getURL ("http://armorbot.com/mytable/?id=531", "_blank");
}
};
}
Instance of Symbol 94 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
_root.gotoAndPlay("score");
};
}