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);
}
Stage.scaleMode = "noScale";
__com_mochibot__("01cd40c5", this, 10301, true);
stop();
Instance of Symbol 14 MovieClip in Frame 1
onClipEvent (load) {
title_text = "AlexHeaton.co.uk";
this.rollArea.onRelease = function () {
getURL ("http://www.alexheaton.co.uk", "_blank");
};
}
Instance of Symbol 14 MovieClip in Frame 1
onClipEvent (load) {
title_text = "More Games";
this.rollArea.onRelease = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Instance of Symbol 14 MovieClip in Frame 1
onClipEvent (load) {
title_text = "High Scores";
this.rollArea.onRelease = function () {
getURL ("http://armorbot.com/mytable/?id=822", "_blank");
};
}
Instance of Symbol 14 MovieClip in Frame 1
onClipEvent (load) {
title_text = "PLAY";
this.rollArea.onRelease = function () {
_root.gotoAndStop(2);
};
}
Frame 2
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);
}
var attached_array = new Array();
submit._alpha = 40;
n = 0;
ball_count = 0;
score = 0;
score2 = 0;
upside_down = false;
var max_dist = 120;
var point1 = (new flash.geom.Point());
var point2 = (new flash.geom.Point(p2._x, p2._y));
var pvx = 0;
var pvy = 0;
_root.createEmptyMovieClip("holder", _root.getNextHighestDepth());
holder._x = (holder._y = 0);
_root.back_cover.swapDepths(_root.getNextHighestDepth());
this.onEnterFrame = function () {
Mouse.hide();
g = (5 + (attached_array.length / 3)) + (score / 500);
if ((ball_count++) == 6) {
ball_count = 0;
n++;
r = random(3) + 3;
_root.holder.attachMovie("ball", "ball" + n, _root.holder.getNextHighestDepth(), {_x:random(470) - 20, _y:-150, vy:Math.random() * 5, n:n, r:r, _width:r * 2, _height:r * 2});
}
point1.x = (p1._x = _root._xmouse);
point1.y = (p1._y = _root._ymouse);
dist = flash.geom.Point.distance(point1, point2);
dp = point2.subtract(point1);
theta = Math.atan2(dp.y, dp.x);
point2.x = point2.x - ((dist - max_dist) * Math.cos(theta));
point2.y = point2.y - ((dist - max_dist) * Math.sin(theta));
point2.y = point2.y + _root.g;
p2._x = point2.x;
p2._y = point2.y;
p2._rotation = ((theta * 180) / Math.PI) + 90;
p2_o._x = point2.x;
p2_o._y = point2.y;
p2_o._rotation = ((theta * 180) / Math.PI) + 90;
thet = theta + (Math.PI/2);
i = 0;
while (i < attached_array.length) {
x = _root.holder["ball" + attached_array[i]].x;
y = _root.holder["ball" + attached_array[i]].y;
_root.holder["ball" + attached_array[i]]._x = (_root.point2.x + (Math.cos(thet) * x)) - (Math.sin(thet) * y);
_root.holder["ball" + attached_array[i]]._y = (point2.y + (Math.cos(this.thet) * y)) + (Math.sin(thet) * x);
i++;
}
if (Math.abs(thet) > 1.25663706143592) {
upside_down = true;
i = 0;
while (i < attached_array.length) {
_root.holder["ball" + attached_array[i]].dx = ((point2.x - oldx) + (Math.random() * 3)) - 1.5;
_root.holder["ball" + attached_array[i]].dy = (point2.y - oldy) + (Math.random() / 2);
_root.holder["ball" + attached_array[i]].onEnterFrame = function () {
this._x = this._x + this.dx;
this._y = this._y + this.dy;
this.dy = this.dy + 0.3;
if (this._y > 600) {
removeMovieClip(this);
}
};
i++;
}
attached_array = new Array();
submit._alpha = 100;
} else {
if (upside_down) {
upside_down = false;
score = 0;
score2 = 0;
g = 5;
submit._alpha = 40;
}
score2 = score2 + (1 + (attached_array.length / 3));
score = Math.floor(score2);
}
oldx = point2.x;
oldy = point2.y;
};
__com_mochibot__("6993b0df", this, 10301, true);
Instance of Symbol 45 MovieClip "submit" in Frame 2
onClipEvent (load) {
this.onPress = function () {
_root.nextFrame();
};
}
Frame 3
delete this.onEnterFrame;
Mouse.show();
_root.name = "Name";
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 = 528;
__top10_send__.kid = "HCUJAB";
__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);
}
};
scoreboard.gotoAndStop(1);
friend_button._visible = false;
Instance of Symbol 14 MovieClip "play" in Frame 3
onClipEvent (load) {
title_text = "Submit Score";
this.rollArea.onRelease = function () {
if ((_root.name != "Name") && (_root.score != 0)) {
if (((((((((((((_root.name.toLowerCase() == "alexei metcalf") || (_root.name.toLowerCase() == "kyle turton")) || (_root.name.toLowerCase() == "richard turner")) || (_root.name.toLowerCase() == "aidan hornsby")) || (_root.name.toLowerCase() == "john ireland")) || (_root.name.toLowerCase() == "jade capper")) || (_root.name.toLowerCase() == "fausto eppinger")) || (_root.name.toLowerCase() == "georgie leslie")) || (_root.name.toLowerCase() == "lucy fraser")) || (_root.name.toLowerCase() == "richard maclennan")) || (_root.name.toLowerCase() == "robin dodds")) || (_root.name.toLowerCase() == "rozzy roberts")) || (_root.name.toLowerCase() == "dijana trenevska")) {
if (_root.name.toLowerCase() == "rozzy roberts") {
_root.score = _root.score + 2500;
} else {
_root.score = _root.score + 1000;
}
first_name = _root.name.split(" ");
_root.name = first_name[0];
_root.friend_button.friend_name.text = "Hi " + first_name[0];
_root.friend_button._visible = true;
_root.friend_button._alpha = 160;
_root.friend_button.onEnterFrame = function () {
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this._visible = false;
}
};
}
ab20_09 = new LoadVars();
ab20_09.z = _root.name;
ab20_09.x = _root.score;
ab20_09.c = 822;
ab20_09.v = "SZGDGE";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
_root.score = 0;
_root.scoreboard.gotoAndPlay(2);
_root.name_button.onEnterFrame = (_root.score_button.onEnterFrame = (this._parent.onEnterFrame = function () {
this._alpha = this._alpha - 3;
if (this._alpha < 0) {
this._visible = false;
}
}));
_root.menu_button.onEnterFrame = function () {
this._alpha = this._alpha + 3;
if (this._alpha > 100) {
this._alpha = 100;
delete this.onEnterFrame;
}
};
}
};
}
Instance of Symbol 14 MovieClip "menu_button" in Frame 3
onClipEvent (load) {
title_text = "Return to menu";
_alpha = 0;
this.rollArea.onRelease = function () {
_root.gotoAndStop(1);
};
}
Symbol 7 MovieClip [ball] Frame 1
stop();
max_rotation = (Math.PI/4);
frame = random(6) + 1;
this.gotoAndStop(frame);
var f = (new flash.filters.BevelFilter(2, 143, 16777215, 0.5, 0, 0.5, 2, 2, 1, 3));
this.filters = [f];
this.cacheAsBitmap = true;
onEnterFrame = function () {
this.theta = _root.theta + (Math.PI/2);
if ((this.hitTest(_root.p2) && (_root.thet > (-max_rotation))) && (_root.thet < max_rotation)) {
x = ((-Math.cos(this.theta)) * (_root.p2._x - this._x)) - (Math.sin(this.theta) * (_root.p2._y - this._y));
y = (2 - r) - ((Math.abs(x) * Math.abs(x)) / 200);
if (Math.abs(x) < 30) {
_root.attached_array.push(this.n);
delete this.onEnterFrame;
}
}
this._y = this._y + this.vy;
this.vy = this.vy + 0.3;
this.vy = this.vy * 0.98;
if (this._y > 600) {
removeMovieClip(this);
}
};
Symbol 9 MovieClip Frame 1
glow = new flash.filters.GlowFilter(0, 80, 3, 3, 1, 3, false, false);
this.filters = [glow];
vb = 0;
Tblur = 3;
blur = 3;
this.onRollOver = function () {
Tblur = 8;
};
this.onRollOut = function () {
Tblur = 3;
};
this.onPress = function () {
Tblur = 5;
};
this.onReleaseOutside = function () {
Tblur = 3;
};
this.onEnterFrame = function () {
d = this.Tblur - this.blur;
this.vb = this.vb + (d / 1);
this.blur = this.blur + vb;
this.vb = this.vb * 0.5;
this.glow.blurX = (this.glow.blurY = this.blur);
this.glow.strength = 2 / Math.sqrt(this.blur);
_parent.internal.filters = [this.glow];
_parent.internal._xscale = (_parent.internal._yscale = (100 + blur) - 4);
};
Symbol 39 MovieClip Frame 511
stop();
Symbol 84 MovieClip Frame 1
__top10_send__ = new LoadVars();
__top10_receive__ = new LoadVars();
__top10_url_1__ = "http://www.armorbot.com/flashcomm";
__top10_url_2__ = "/top10_b";
__top10_send__.hid = 822;
__top10_send__.kid = "SZGDGE";
__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.scoreboard[("_name" + i) + "_"].text = __top10_receive__["name" + i];
_root.scoreboard[("_score" + i) + "_"].text = __top10_receive__["score" + i];
loading._visible = false;
i++;
}
}
};
stop();