Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
function __com_mochibot2__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("b7fa3ee1", this, 10301, true);
__com_mochibot2__("3f8a4165", this, 10301, true);
Stage.showMenu = false;
var decload;
var def = bar._xscale;
var i;
var wnvol = new Sound(soundwang);
playa._visible = false;
onEnterFrame = function () {
decload = getBytesLoaded() / getBytesTotal();
bar._xscale = decload * def;
textie.text = Math.floor(decload * 100) + "%";
if (decload == 1) {
delete hit;
textie._visible = false;
bar._xscale = def;
playa._visible = true;
playa.onPress = function () {
gotoAndStop (7);
};
delete onEnterFrame;
}
gotoAndStop (1);
stopAllSounds();
};
stop();
__top10_send__ = new LoadVars();
__top10_receive__ = new LoadVars();
__top10_url_1__ = "http://www.armorbot.com/flashcomm";
__top10_url_2__ = "/top10_b";
__top10_send__.hid = 734;
__top10_send__.kid = "FJMFON";
__top10_send__.sendAndLoad(__top10_url_1__ + __top10_url_2__, __top10_receive__, "POST");
__top10_receive__.onLoad = function (success) {
if (success) {
i = 1;
while (i < 11) {
_root[("_name" + i) + "_"].text = __top10_receive__["name" + i];
_root[("_score" + i) + "_"].text = __top10_receive__["score" + i];
i++;
}
} else {
_root.__err__.gotoAndStop(2);
}
};
Instance of Symbol 63 MovieClip in Frame 1
on (press) {
getURL ("http://www.armorgames.com/", "_blank");
}
Frame 2
stop();
if (debugmr) {
gotoAndStop (4);
}
Frame 4
function minor() {
var pwr1 = new Sound(_root);
pwr1.attachSound("zpower1");
pwr1.onSoundComplete = function () {
delete pwr1;
};
pwr1.start(0.1);
if ((Math.random() < (0.4 + (dist * 0.0001))) && (sndhold == undefined)) {
var cheer = new Sound(this.createEmptyMovieClip("sndhold", 1350));
cheer.attachSound("power" + Math.ceil(Math.random() * 14));
cheer.onSoundComplete = function () {
sndhold.removeMovieClip();
delete cheer;
};
cheer.start();
}
powery.play();
counts[1]++;
if (dist < 500) {
bmp1.draw(_root);
}
if (spd < 20) {
score = score + 50;
spd = spd + 5;
if (spd > 20) {
spd = 20;
}
}
}
function major() {
var pwr2 = new Sound(_root);
pwr2.attachSound("zpower2");
pwr2.onSoundComplete = function () {
delete pwr2;
};
pwr2.start(0.1);
if ((Math.random() < (0.8 + (dist * 0.00015))) && (sndhold == undefined)) {
var cheer = new Sound(this.createEmptyMovieClip("sndhold", 1350));
cheer.attachSound("power" + Math.ceil(Math.random() * 14));
cheer.onSoundComplete = function () {
sndhold.removeMovieClip();
delete cheer;
};
cheer.start();
}
powery.play();
counts[2]++;
if (dist < 500) {
bmp1.draw(_root);
}
spd = spd + 10;
score = score + 75;
if (spd > 30) {
spd = 30;
}
}
function ringie() {
var rng = new Sound(_root);
rng.attachSound("zring" + Math.ceil(Math.random() * 5));
rng.onSoundComplete = function () {
delete rng;
};
rng.start();
if ((Math.random() < (0.005 + (dist * 2E-5))) && (sndhold == undefined)) {
var cheer = new Sound(this.createEmptyMovieClip("sndhold", 1350));
cheer.attachSound("power" + Math.ceil(Math.random() * 14));
cheer.onSoundComplete = function () {
sndhold.removeMovieClip();
delete cheer;
};
cheer.start();
}
counts[0]++;
if ((dist < 3000) && (Math.random() < 0.05)) {
bmp2.draw(_root);
}
spd = spd + 0.2;
score = score + 100;
}
function rockie() {
var rck = new Sound(_root);
rck.attachSound("zcrash" + Math.ceil(Math.random() * 3));
rck.onSoundComplete = function () {
delete rck;
};
rck.start(0.1);
if ((Math.random() < (0.5 + (dist * 5E-5))) && (sndhold == undefined)) {
var boo = new Sound(this.createEmptyMovieClip("sndhold", 1350));
boo.attachSound("crash" + Math.ceil(Math.random() * 10));
boo.onSoundComplete = function () {
sndhold.removeMovieClip();
delete boo;
};
boo.start();
}
counts[3]++;
spd = spd - 2;
cracker = true;
}
var fastsnd = new Sound(this.fsthl);
with (fastsnd) {
setVolume(0);
}
var slowsnd = new Sound(this.slwhl);
with (slowsnd) {
setVolume(50);
}
stop();
_quality = "MEDIUM";
var i = -1;
var kq;
var kw;
var tw = true;
var pwrtim = 400;
var rocktime = 100;
var kd = false;
var def = cbar.bar1._yscale;
var veraccel = 0;
var horaccel = 0;
var ang = 0;
var crash = false;
var spd = 0;
var grav = 0.8;
var launch = false;
var act = false;
var obcount = 0;
var hillh = new LoopingBG(this.hills, 0.5, -1);
var grassh = new LoopingBG(this.grass, 0.8, -1);
var cannonh = new SceneOb(this.cannon, 1, -1);
var guyhandl = new FlyGuy(guy, [50, 400, 50, 285], grav);
var score = 0;
var dist = 0;
var ringcount = 0;
var ringspray = false;
var ringtime = 80;
var ringy = 150;
var crashtime = 60;
var counts = [0, 0, 0, 0];
var rc = 0;
var rocktime = 100;
var cracker = false;
bmp1.draw(_root);
bmp2.draw(_root);
bmp3.draw(_root);
hills.swapDepths(2000);
grass.swapDepths(2001);
guy.swapDepths(4000);
cannon.swapDepths(8000);
sunb.swapDepths(100);
sung.swapDepths(2500);
cbars.swapDepths(14000);
cbar.swapDepths(14001);
guy._visible = false;
hills.cacheAsBitmap = true;
grass.cacheAsBitmap = true;
faster.stop();
ultra.stop();
clouds.stop();
cannon.barrel.stop();
cbars.bar1._yscale = (cbars.bar2._yscale = 0);
cbar._visible = false;
i = 0;
while (i < Math.ceil(Math.random() * 20)) {
clouds.duplicateMovieClip("cloud" + obcount, 700 + obcount);
this["cloud" + obcount].gotoAndStop(Math.ceil(Math.random() * 13));
this["cloud" + obcount]._x = Math.random() * 600;
this["cloud" + obcount]._y = (200 * Math.random()) * Math.random();
this["ohold" + obcount] = new SceneOb(this["cloud" + obcount], 0.6 + (Math.random() * 0.4), -1);
this["cloud" + obcount].swapDepths(700 + Math.round(this["ohold" + obcount].deep * 300));
obcount++;
obcount = obcount % 200;
i++;
}
i = 1;
onEnterFrame = function () {
if (Key.isDown(81) && (!kq)) {
if (_quality == "LOW") {
_quality = "MEDIUM";
} else {
_quality = "LOW";
}
kq = true;
} else if (!Key.isDown(81)) {
kq = false;
}
if (crash) {
if (fastsnd.getVolume() > 3) {
fastsnd.setVolume(fastsnd.getVolume() - 3);
} else {
fastsnd.stop();
}
if (slowsnd.getVolume() > 3) {
slowsnd.setVolume(slowsnd.getVolume() - 3);
} else {
slowsnd.stop();
}
guy.gotoAndStop(5);
crashtime--;
if (crashtime <= 0) {
stopAllSounds();
this.createEmptyMovieClip("fader", 15000);
fader._x = (fader._y = 0);
fader.beginFill(16777215, 100);
fader.moveTo(0, 0);
fader.lineTo(600, 0);
fader.lineTo(600, 300);
fader.lineTo(0, 300);
fader.lineTo(0, 0);
for (i in this) {
if ((typeof(this[i]) == "movieclip") && (this[i]._name != "fader")) {
this[i].removeMovieClip();
continue;
}
if (((((((i != "score") && (i != "dist")) && (i != "i")) && (i != "bmp1")) && (i != "bmp2")) && (i != "bmp3")) && (i != "counts")) {
delete this[i];
}
}
gotoAndStop (6);
delete eval (onEnterFrame());
} else if (crashtime == 50) {
bmp3.draw(_root);
} else if (crashtime == 59) {
var boo = new Sound(this.createEmptyMovieClip("sndhold", 1350));
boo.attachSound("crash" + Math.ceil(Math.random() * 10));
boo.onSoundComplete = function () {
sndhold.removeMovieClip();
delete boo;
};
boo.start();
}
} else if (!launch) {
if (ang == 0) {
cbars.bar1._yscale = cbars.bar1._yscale + (i * 4);
if (cbars.bar1._yscale > 100) {
i = -1;
cbars.bar1._yscale = 100;
} else if (cbars.bar1._yscale < 0) {
i = 1;
cbars.bar1._yscale = 0;
}
if ((!kd) && (Key.isDown(32))) {
kd = true;
ang = (cbars.bar1._yscale * 9) / 10;
}
cannon.barrel._rotation = 30 - ((cbars.bar1._yscale * 9) / 10);
} else {
cbars.bar2._yscale = cbars.bar2._yscale + (i * 4);
if (cbars.bar2._yscale > 100) {
i = -1;
cbars.bar2._yscale = 100;
} else if (cbars.bar2._yscale < 0) {
i = 1;
cbars.bar2._yscale = 0;
}
if ((!kd) && (Key.isDown(32))) {
kd = true;
spd = (cbars.bar2._yscale * 3) / 10;
launch = (guy._visible = true);
veraccel = spd * Math.sin((ang * 3.141593) / 180);
spd = spd * Math.cos((ang * 3.141593) / 180);
cannon.barrel.play();
cbar._visible = true;
cbars.removeMovieClip();
}
}
if (!Key.isDown(32)) {
kd = false;
}
} else if (!act) {
if (spd > 19) {
fastsnd.setVolume(50);
slowsnd.setVolume(0);
} else if (spd > 15) {
fastsnd.setVolume((spd - 15) * 12.5);
slowsnd.setVolume((19 - spd) * 12.5);
} else {
fastsnd.setVolume(0);
slowsnd.setVolume(50);
}
guy.fuel.gotoAndStop(1);
guy.gotoAndStop(6);
guy._rotation = guy._rotation + spd;
horaccel = Math.floor((250 - guy._x) * 0.1);
veraccel = veraccel - grav;
guy._x = guy._x + horaccel;
guy._y = guy._y - veraccel;
if ((veraccel < 0) && (guy._y > 50)) {
act = true;
}
if (spd < 10) {
cbar.bar1._yscale = (cbar.bar2._yscale = 0);
} else if (spd < 20) {
cbar.bar1._yscale = 0;
cbar.bar2._yscale = ((spd - 10) * def) * 0.1;
} else {
cbar.bar1._yscale = ((spd - 20) * def) * 0.1;
cbar.bar2._yscale = def;
}
dist = dist + (spd * 0.04);
cbar.dis.text = Math.floor(dist) + "m";
cbar.scr.text = score + "pts";
i = 0;
while (i <= 200) {
this["ohold" + i].transOb(spd * 0.06);
i++;
}
hillh.transOb(spd);
grassh.transOb(spd);
cannonh.transOb(spd);
} else {
spd = spd - (0.02 + ((spd > 20) * 0.08));
if (spd > 19) {
fastsnd.setVolume(50);
slowsnd.setVolume(0);
} else if (spd > 15) {
fastsnd.setVolume((spd - 15) * 12.5);
slowsnd.setVolume((19 - spd) * 12.5);
} else {
fastsnd.setVolume(0);
slowsnd.setVolume(50);
}
pwrtim = pwrtim - spd;
ringtime = ringtime - spd;
rocktime = rocktime - spd;
if (rocktime <= 0) {
rocktime = 100;
if ((Math.random() * 5000) < dist) {
rc++;
rc = rc % 20;
this["rock" + Math.ceil(Math.random() * 3)].duplicateMovieClip("rocky" + rc, 5500 + rc);
this["rocky" + rc]._x = 650;
this["rocky" + rc]._y = 30 + (Math.random() * 240);
this["rocky" + rc]._rotation = Math.random() * 360;
this["rocky" + rc].stop();
this["rocky" + rc].rotspd = 20 - (Math.random() * 40);
this["rockyh" + rc] = new PowerUp(this["rocky" + rc], 1, -1, guy, [[15, 0], [0, 15], [-15, 0], [0, -15]]);
}
}
if (ringtime <= 0) {
ringtime = 80;
if (!ringspray) {
ringspray = Math.random() > 0.5;
} else {
ringspray = Math.random() > 0.6;
ringcount++;
ringcount = ringcount % 20;
ring.duplicateMovieClip("ring" + ringcount, 5000 + ringcount);
this["ring" + ringcount]._x = 700;
if (ringy < 50) {
this["ring" + ringcount]._y = ringy + (Math.random() * 30);
ringy = this["ring" + ringcount]._y;
} else if (ringy > 220) {
this["ring" + ringcount]._y = ringy - (Math.random() * 30);
ringy = this["ring" + ringcount]._y;
} else {
this["ring" + ringcount]._y = (ringy - 30) + (Math.random() * 60);
ringy = this["ring" + ringcount]._y;
}
this["ring" + ringcount].stop();
this["ringh" + ringcount] = new PowerUp(this["ring" + ringcount], 1, -1, guy, [[0, 0], [0, 10], [0, -10]]);
}
}
i = 0;
while (i <= 20) {
this["rockyh" + i].transOb(spd);
this["rockyh" + i].pickCheck(rockie);
this["rocky" + i]._rotation = this["rocky" + i]._rotation + this["rocky" + i].rotspd;
i++;
}
i = 0;
while (i < 20) {
this["ringh" + i].transOb(spd);
this["ringh" + i].pickCheck(ringie);
i++;
}
if (pwrtim <= 0) {
pwrtim = 1000 + Math.round(dist);
if (Math.random() < 0.7) {
faster.duplicateMovieClip("powery", 6000);
powery._x = 650;
powery._y = 40 + (Math.random() * 220);
powery.stop();
power = new PowerUp(powery, 1, -1, guy, [[20, 20], [-20, 20], [-20, -20], [20, -20]]);
} else {
ultra.duplicateMovieClip("powery2", 6000);
powery2._x = 650;
powery2._y = 40 + (Math.random() * 220);
powery2.stop();
power2 = new PowerUp(powery2, 1, -1, guy, [[20, 20], [-20, 20], [-20, -20], [20, -20]]);
}
}
if (power.holder._name == "powery") {
power.transOb(spd);
power.pickCheck(minor);
}
if (power2.holder._name == "powery2") {
power2.transOb(spd);
power2.pickCheck(major);
}
if (spd < 10) {
guy.fuel.gotoAndStop(201);
} else if (spd <= 20) {
guy.fuel.gotoAndStop(401 - Math.ceil(spd * 20));
} else {
guy.fuel.gotoAndStop(1);
}
if (cracker) {
guy.gotoAndStop(7);
} else {
guy.gotoAndStop(((1 + (spd < 22)) + (spd < 15)) + (spd < 10));
}
guyhandl.upPos(spd);
if (Math.random() < (0.003 * spd)) {
if (Math.random() < 0.1) {
clouds.duplicateMovieClip("cloud" + obcount, 700 + obcount);
this["cloud" + obcount].gotoAndStop(Math.ceil(Math.random() * 13));
this["cloud" + obcount]._x = 600;
this["cloud" + obcount]._y = (200 * Math.random()) * Math.random();
this["cloud" + obcount].cacheAsBitmap = true;
this["ohold" + obcount] = new SceneOb(this["cloud" + obcount], 0.6 + (Math.random() * 0.4), -1);
this["cloud" + obcount].swapDepths(700 + Math.round(this["ohold" + obcount].deep * 300));
} else {
this["fgob" + Math.ceil(Math.random() * 27)].duplicateMovieClip("fore" + obcount, 9000 + obcount);
this["fore" + obcount]._y = 300 + (Math.random() * 100);
this["fore" + obcount]._x = 650;
this["fore" + obcount]._alpha = 50 + (50 * (!tw));
this["fore" + obcount].cacheAsBitmap = true;
this["ohold" + obcount] = new SceneOb(this["fore" + obcount], 4 + ((_y - 300) / 100), -1);
}
obcount++;
obcount = obcount % 200;
}
if (Key.isDown(87) && (!kw)) {
kw = true;
tw = !tw;
i = 0;
while (i <= 200) {
this["fore" + i]._alpha = 50 + (50 * (!tw));
i++;
}
} else if (!Key.isDown(87)) {
kw = false;
}
i = 0;
while (i <= 200) {
if (this["ohold" + i].holder == this["cloud" + i]) {
this["ohold" + i].transOb(spd * 0.06);
} else {
this["ohold" + i].transOb(spd * 2);
}
i++;
}
if (spd < 10) {
cbar.bar1._yscale = (cbar.bar2._yscale = 0);
} else if (spd < 20) {
cbar.bar1._yscale = 0;
cbar.bar2._yscale = ((spd - 10) * def) * 0.1;
} else {
cbar.bar1._yscale = ((spd - 20) * def) * 0.1;
cbar.bar2._yscale = def;
}
dist = dist + (spd * 0.04);
cbar.dis.text = Math.floor(dist) + "m";
cbar.scr.text = score + "pts";
hillh.transOb(spd);
grassh.transOb(spd);
cannonh.transOb(spd);
}
};
if (debugmr) {
gotoAndStop (6);
}
Frame 6
function remover() {
i = 0;
while (i <= 2) {
this["scrn" + i].removeMovieClip();
this["bmpmc" + i].removeMovieClip();
i++;
}
delete textfets;
stopAllSounds();
}
if (bmp1 == undefined) {
var bmp1 = new BitmapDataDebug(600, 300);
var bmp2 = new BitmapDataDebug(600, 300);
var bmp3 = new BitmapDataDebug(600, 300);
i = 1;
while (i <= 3) {
this["bmp" + i].draw(_root);
this.createEmptyMovieClip("bmpdebug" + i, 500 + i);
this["bmpdbug" + i]._x = (this["bmpdbug" + i]._y = 3000);
this["bmpdbug" + i].attachBitmap(this["bmp" + i]);
i++;
}
}
gmover.stop();
gmover.subm.stop();
_quality = "HIGH";
var textfets = new Array(new String(), new String(), new String(), new String(), new String(), new String(), new String());
if (score == 0) {
textfets[0] = "An abominable attempt. ";
textfets[2] = "not scoring a single point, ";
textfets[3] = "and the crowds are demmanding your head on a plate. ";
textfets[6] = "I wouldn't bother submitting this appaling score anywhere.";
} else if (score < 2000) {
textfets[0] = "A pathetic flight. ";
textfets[2] = ("gatheting only " + Math.round(score)) + " points, ";
textfets[3] = "and the crowds are disappointed. ";
textfets[6] = "If you really want to, you can submit your score to our system.";
} else if (score < 6000) {
textfets[0] = "A below average shot. ";
textfets[2] = ("obtaining a so-so " + Math.round(score)) + " points, ";
textfets[3] = "and at the very least the crowds enjoyed your landing. ";
textfets[6] = "Go ahead and submit your score to our system!";
} else if (score < 16000) {
textfets[0] = "A fair flight. ";
textfets[2] = ("picking up a smooth " + Math.round(score)) + " points, ";
textfets[3] = "and entertaining the crowd with your aerodynamical ability. ";
textfets[6] = "Please submit your score below!";
} else if (score < 30000) {
textfets[0] = "An awesome flight. ";
textfets[2] = ("grabbing a fantastic " + Math.round(score)) + " points, ";
textfets[3] = "and rousing the crowd into a spontaneous burst of applause! ";
textfets[6] = "You can submit this impressive score below.";
} else if (score < 75000) {
textfets[0] = "Excellent work! ";
textfets[2] = ("gather " + Math.round(score)) + " points, ";
textfets[3] = "and the crowds are wild! ";
textfets[6] = "Please feel free to submit your phenomenal score to our online table, and compete with athletes from the world over!";
} else {
textfets[0] = "A godly flight. ";
textfets[2] = ("like a bird, obtaining " + Math.round(score)) + " points, ";
textfets[3] = "and causing major riots in several medium sized cities! ";
textfets[6] = "You can submit this awesomely awesome score below, and compete with athletes from around the world!";
}
if (dist < 100) {
textfets[1] = "You flew less than 100m, ";
} else if (dist < 700) {
textfets[1] = ("Your flight just did reach a terrible " + Math.round(dist)) + "m, ";
} else if (dist < 1500) {
textfets[1] = ("You only managed to soar for a mere " + Math.round(dist)) + " metres, ";
} else if (dist < 3000) {
textfets[1] = ("You did put a fair " + Math.round(dist)) + "m behind you, ";
} else if (dist < 6000) {
textfets[1] = ("You managed to fly for a great total of " + Math.round(dist)) + "metres, ";
} else {
textfets[1] = ("You were unstoppable! You managed to shoot though " + Math.round(dist)) + "metres, ";
}
if (counts[0] == 0) {
textfets[4] = "You didn't fly though a single ring on your flight. ";
} else if (counts[0] < 20) {
textfets[4] = ((((("You only hit " + counts[0]) + " rings on your flight, backed with ") + counts[1]) + " minor and ") + counts[2]) + " major speed boosts. ";
} else {
textfets[4] = ((((("You shot through " + counts[0]) + " rings on your flight. Your use of power-ups was fair too - ") + counts[1]) + " minor and ") + counts[2]) + " major speed boosts in total. ";
}
if (counts[3] == 0) {
textfets[5] = "You didn't hit a single rock. ";
} else if (counts[3] < 5) {
textfets[5] = ("You only flew into " + counts[3]) + " rocks on your flight. ";
} else if (counts[3] < 20) {
textfets[5] = ("You were nailed by " + counts[3]) + " rocks, though. ";
} else if (counts[3] < 50) {
textfets[5] = ("It's a pity you flew into a few rocks - " + counts[3]) + " to be exact. ";
} else {
textfets[5] = ("You have amazing endurance. It's shocking that you could still fly after " + count[3]) + " rocks hit you! ";
}
this.gmover.summer.text = (((((String(textfets[0]) + String(textfets[1])) + String(textfets[2])) + String(textfets[3])) + String(textfets[4])) + String(textfets[5])) + String(textfets[6]);
i = 0;
while (i <= 2) {
this.createEmptyMovieClip("scrn" + i, (100 * i) + 1);
this["scrn" + i]._y = 35 + (i * 75);
this["scrn" + i]._x = 400 + ((i == 1) * 50);
this["scrn" + i].lineStyle(3, 0, 100);
this["scrn" + i].moveTo(0, 0);
this["scrn" + i].lineTo(100, 0);
this["scrn" + i].lineTo(100, 50);
this["scrn" + i].lineTo(0, 50);
this["scrn" + i].lineTo(0, 0);
this.createEmptyMovieClip("bmpmc" + i, 100 * i);
this["bmpmc" + i].attachBitmap(this["bmp" + (i + 1)], 1);
this["bmpmc" + i]._x = 400 + ((i == 1) * 50);
this["bmpmc" + i]._y = 35 + (i * 75);
this["bmpmc" + i]._xscale = (this["bmpmc" + i]._yscale = 16.667);
i++;
}
if (score < 8000) {
this.bad.nextFrame();
} else if (score < 16000) {
this.med.nextFrame();
} else {
this.gud.nextFrame();
}
crowd.start();
bmpmc0.onRollOver = function () {
scrn0._xscale = (scrn0._yscale = 200);
bmpmc0._xscale = (bmpmc0._yscale = 33.33);
bmpmc0._x = (scrn0._x = 350);
bmpmc0._y = (scrn0._y = 10);
};
bmpmc0.onRollOut = (bmpmc0.onReleaseOutside = function () {
scrn0._xscale = (scrn0._yscale = 100);
bmpmc0._xscale = (bmpmc0._yscale = 16.663);
bmpmc0._x = (scrn0._x = 400);
bmpmc0._y = (scrn0._y = 35);
});
bmpmc1.onRollOver = function () {
scrn1._xscale = (scrn1._yscale = 200);
bmpmc1._xscale = (bmpmc1._yscale = 33.33);
bmpmc1._x = (scrn1._x = 400);
bmpmc1._y = (scrn1._y = 85);
};
bmpmc1.onRollOut = (bmpmc1.onReleaseOutside = function () {
scrn1._xscale = (scrn1._yscale = 100);
bmpmc1._xscale = (bmpmc1._yscale = 16.663);
bmpmc1._x = (scrn1._x = 450);
bmpmc1._y = (scrn1._y = 110);
});
bmpmc2.onRollOver = function () {
scrn2._xscale = (scrn2._yscale = 200);
bmpmc2._xscale = (bmpmc2._yscale = 33.33);
bmpmc2._x = (scrn2._x = 350);
bmpmc2._y = (scrn2._y = 160);
};
bmpmc2.onRollOut = (bmpmc2.onReleaseOutside = function () {
scrn2._xscale = (scrn2._yscale = 100);
bmpmc2._xscale = (bmpmc2._yscale = 16.663);
bmpmc2._x = (scrn2._x = 400);
bmpmc2._y = (scrn2._y = 185);
});
gmover.cont.onPress = function () {
remover();
gotoAndStop (4);
};
gmover.mmen.onPress = function () {
remover();
gotoAndStop (2);
};
gmover.subm.onPress = function () {
var clicky2 = new Sound(_root);
clicky2.attachSound("zclick2");
clicky2.onSoundComplete = function () {
delete clicky2;
};
clicky2.start();
if (_root.gmover.namo.text.length < 3) {
_root.gmover.namo.text = "2+ chars needed";
} else if (((_root.gmover.namo.text.toLowerCase() != "--- name here ---") && (_root.gmover.namo.text.toLowerCase() != "2+ chars needed")) && (_root.gmover.subm._currentframe == 1)) {
ab20_09 = new LoadVars();
ab20_09.z = _root.gmover.namo.text;
ab20_09.x = _root.score;
ab20_09.c = 734;
ab20_09.v = "FJMFON";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
_root.gmover.subm.nextFrame();
getURL ("http://www.armorbot.com/mytable/?id=734", "_blank");
}
};
onEnterFrame = function () {
i = 0;
while (i <= 2) {
this["scrn" + i].removeMovieClip();
this["bmpmc" + i].removeMovieClip();
this.createEmptyMovieClip("scrn" + i, (100 * i) + 1);
this["scrn" + i]._y = 35 + (i * 75);
this["scrn" + i]._x = 400 + ((i == 1) * 50);
this["scrn" + i].lineStyle(3, 0, 100);
this["scrn" + i].moveTo(0, 0);
this["scrn" + i].lineTo(100, 0);
this["scrn" + i].lineTo(100, 50);
this["scrn" + i].lineTo(0, 50);
this["scrn" + i].lineTo(0, 0);
this.createEmptyMovieClip("bmpmc" + i, 100 * i);
this["bmpmc" + i].attachBitmap(this["bmp" + (i + 1)], 1);
this["bmpmc" + i]._x = 400 + ((i == 1) * 50);
this["bmpmc" + i]._y = 35 + (i * 75);
this["bmpmc" + i]._xscale = (this["bmpmc" + i]._yscale = 16.667);
bmpmc0.onRollOver = function () {
scrn0._xscale = (scrn0._yscale = 200);
bmpmc0._xscale = (bmpmc0._yscale = 33.33);
bmpmc0._x = (scrn0._x = 350);
bmpmc0._y = (scrn0._y = 10);
};
bmpmc0.onRollOut = (bmpmc0.onReleaseOutside = function () {
scrn0._xscale = (scrn0._yscale = 100);
bmpmc0._xscale = (bmpmc0._yscale = 16.663);
bmpmc0._x = (scrn0._x = 400);
bmpmc0._y = (scrn0._y = 35);
});
bmpmc1.onRollOver = function () {
scrn1._xscale = (scrn1._yscale = 200);
bmpmc1._xscale = (bmpmc1._yscale = 33.33);
bmpmc1._x = (scrn1._x = 400);
bmpmc1._y = (scrn1._y = 85);
};
bmpmc1.onRollOut = (bmpmc1.onReleaseOutside = function () {
scrn1._xscale = (scrn1._yscale = 100);
bmpmc1._xscale = (bmpmc1._yscale = 16.663);
bmpmc1._x = (scrn1._x = 450);
bmpmc1._y = (scrn1._y = 110);
});
bmpmc2.onRollOver = function () {
scrn2._xscale = (scrn2._yscale = 200);
bmpmc2._xscale = (bmpmc2._yscale = 33.33);
bmpmc2._x = (scrn2._x = 350);
bmpmc2._y = (scrn2._y = 160);
};
bmpmc2.onRollOut = (bmpmc2.onReleaseOutside = function () {
scrn2._xscale = (scrn2._yscale = 100);
bmpmc2._xscale = (bmpmc2._yscale = 16.663);
bmpmc2._x = (scrn2._x = 400);
bmpmc2._y = (scrn2._y = 185);
});
i++;
}
fader._alpha = fader._alpha - 4;
if (fader._alpha <= 0) {
fader.removeMovieClip();
delete onEnterFrame;
}
};
if (debugmr) {
stopAllSounds();
for (i in _root) {
if (typeof(this[i]) == "movieclip") {
this[i].removeMovieClip();
} else if ((((i != "debugmr") && (i != "bmp1")) && (i != "bmp2")) && (i != "bmp3")) {
delete this[i];
}
}
debugmr = false;
gotoAndStop (2);
}
Frame 7
var debugmr = true;
Instance of Symbol 418 MovieClip in Frame 7
on (press) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 419 MovieClip [__Packages.SceneOb] Frame 0
class SceneOb
{
var holder, deep, dir, sw;
function SceneOb (v1, v2, v3) {
holder = v1;
deep = v2;
dir = v3;
sw = Stage.width;
holder._xscale = (holder._yscale = 100 * deep);
}
function removeOb() {
holder.removeMovieClip();
}
function transOb(v4) {
holder._x = holder._x + ((dir * deep) * v4);
if (dir > 0) {
if (holder._x > (sw + holder._width)) {
removeOb();
}
} else if (dir < 0) {
if (holder._x < (-holder._width)) {
removeOb();
}
} else {
removeOb();
}
}
}
Symbol 420 MovieClip [__Packages.BitmapDataDebug] Frame 0
class BitmapDataDebug extends flash.display.BitmapData
{
function BitmapDataDebug (w1, h1) {
super(w1, h1);
}
}
Symbol 421 MovieClip [__Packages.FlyGuy] Frame 0
class FlyGuy
{
var holder, bounds, i, horaccel, veraccel, grav;
function FlyGuy (v1, v2, v3) {
holder = v1;
bounds = new Array(0, 0, 0, 0);
i = 0;
while (i < 4) {
bounds[i] = v2[i];
i++;
}
horaccel = 0;
veraccel = 0;
grav = v3;
}
function upPos(v4) {
horaccel = horaccel + (((Key.isDown(39) - Key.isDown(37)) * v4) * 0.1);
veraccel = veraccel + ((((Key.isDown(38) - Key.isDown(40)) * v4) * 0.1) - grav);
horaccel = horaccel * 0.9;
veraccel = veraccel * 0.9;
if ((holder._x < bounds[0]) && (horaccel < 0)) {
holder._x = bounds[0];
horaccel--;
} else if ((holder._x > bounds[1]) && (horaccel > 0)) {
holder._x = bounds[1];
horaccel++;
}
if ((holder._y < bounds[2]) && (veraccel > 0)) {
holder._y = bounds[2];
veraccel--;
}
holder._rotation = ((veraccel * -5) + horaccel) - 20;
holder._x = holder._x + horaccel;
holder._y = holder._y - veraccel;
if (holder._y > bounds[3]) {
_root.crash = true;
holder._y = bounds[3];
holder._rotation = 0;
}
}
}
Symbol 422 MovieClip [__Packages.PowerUp] Frame 0
class PowerUp extends SceneOb
{
var picker, sw, deep, holder, bound, i;
function PowerUp (v1, v2, v3, v4, v4b) {
super(v1, v2, v3);
picker = v4;
sw = Stage.width;
holder._xscale = (holder._yscale = 100 * deep);
bound = v4b;
}
function pickCheck(v5) {
i = 0;
while (i < bound.length) {
if (holder._currentframe == 1) {
if (picker.hitTest(holder._x + bound[i][0], holder._y - bound[i][1], true)) {
v5();
holder.gotoAndPlay(2);
}
}
i++;
}
}
}
Symbol 423 MovieClip [__Packages.LoopingBG] Frame 0
class LoopingBG
{
var holder, mid, sw, deep, dir, bnd;
function LoopingBG (v1, v2, v3) {
holder = v1;
mid = v1._width / 2;
sw = Stage.width;
deep = v2;
dir = v3;
bnd = getBounds(v1);
}
function removeOb() {
holder.removeMovieClip();
}
function transOb(v4) {
holder._x = holder._x + ((dir * deep) * v4);
bnd = getBounds(holder);
if (dir > 0) {
if ((holder._x + mid) > Stage.width) {
holder._x = holder._x - mid;
}
} else if (dir < 0) {
if ((holder._x + mid) < 0) {
holder._x = holder._x + mid;
}
} else {
removeOb();
}
}
}
Symbol 78 Button
on (rollOver) {
var clicky = new Sound(_root);
clicky.attachSound("zclick1");
clicky.onSoundComplete = function () {
delete clicky;
};
clicky.start();
}
on (press) {
getURL ("http://www.armorgames.com/", "_blank");
var clicky2 = new Sound(_root);
clicky2.attachSound("zclick2");
clicky2.onSoundComplete = function () {
delete clicky2;
};
clicky2.start();
}
Symbol 81 Button
on (rollOver) {
var clicky = new Sound(_root);
clicky.attachSound("zclick1");
clicky.onSoundComplete = function () {
delete clicky;
};
clicky.start();
}
on (press) {
getURL ("http://www.armorbot.com/mytable/?id=734", "_blank");
var clicky2 = new Sound(_root);
clicky2.attachSound("zclick2");
clicky2.onSoundComplete = function () {
delete clicky2;
};
clicky2.start();
}
Symbol 84 Button
on (rollOver) {
var clicky = new Sound(_root);
clicky.attachSound("zclick1");
clicky.onSoundComplete = function () {
delete clicky;
};
clicky.start();
}
on (press) {
nextFrame();
var clicky2 = new Sound(_root);
clicky2.attachSound("zclick2");
clicky2.onSoundComplete = function () {
delete clicky2;
};
clicky2.start();
}
Symbol 87 Button
on (rollOver) {
var clicky = new Sound(_root);
clicky.attachSound("zclick1");
clicky.onSoundComplete = function () {
delete clicky;
};
clicky.start();
}
on (press) {
gotoAndStop (4);
stopAllSounds();
stop();
i = 1;
while (i <= 3) {
this["bmpdbug" + i].removeMovieClip();
i++;
}
}
Symbol 90 Button
on (rollOver) {
var clicky = new Sound(_root);
clicky.attachSound("zclick1");
clicky.onSoundComplete = function () {
delete clicky;
};
clicky.start();
}
on (press) {
getURL ("http://www.brainflay.com", "_blank");
var clicky2 = new Sound(_root);
clicky2.attachSound("zclick2");
clicky2.onSoundComplete = function () {
delete clicky2;
};
clicky2.start();
}
Symbol 93 Button
on (rollOver) {
var clicky = new Sound(_root);
clicky.attachSound("zclick1");
clicky.onSoundComplete = function () {
delete clicky;
};
clicky.start();
}
on (press) {
getURL ("http://www.fuzz-media.com/", "_blank");
var clicky2 = new Sound(_root);
clicky2.attachSound("zclick2");
clicky2.onSoundComplete = function () {
delete clicky2;
};
clicky2.start();
}
Symbol 102 Button
on (rollOver) {
var clicky = new Sound(_root);
clicky.attachSound("zclick1");
clicky.onSoundComplete = function () {
delete clicky;
};
clicky.start();
}
on (press) {
prevFrame();
var clicky2 = new Sound(_root);
clicky2.attachSound("zclick2");
clicky2.onSoundComplete = function () {
delete clicky2;
};
clicky2.start();
}
Symbol 111 MovieClip Frame 31
stop();
Symbol 119 MovieClip Frame 2
prevFrame();
Symbol 121 MovieClip Frame 2
prevFrame();
Symbol 162 MovieClip Frame 10
this.removeMovieClip();
Symbol 171 MovieClip Frame 10
this.removeMovieClip();
Symbol 180 MovieClip Frame 10
this.removeMovieClip();
Symbol 241 MovieClip Frame 25
this.removeMovieClip();
Symbol 246 MovieClip Frame 20
this.removeMovieClip();
Symbol 247 MovieClip Frame 20
this.removeMovieClip();
Symbol 332 MovieClip Frame 10
stop();
Symbol 357 MovieClip Frame 13
_root.cracker = false;
stop();
Symbol 372 MovieClip Frame 12
stop();
Symbol 373 MovieClip Frame 15
stop();
Symbol 385 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 2
prevFrame();
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
prevFrame();
Symbol 389 MovieClip Frame 1
stop();
Symbol 389 MovieClip Frame 2
prevFrame();
Symbol 401 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 418 MovieClip Frame 100
_root.gotoAndStop(2);