Frame 1
function do_visit_brainstudios() {
getURL ("http://www.glaielgames.com", "_blank");
}
function do_visit_studios() {
getURL ("http://www.armorstudios.com", "_blank");
}
function do_visit_games() {
getURL ("http://www.armorgames.com", "_blank");
}
ArmorMenu = new ContextMenu();
ArmorMenu.builtInItems.play = false;
ArmorMenu.builtInItems.loop = false;
ArmorMenu.builtInItems.rewind = false;
ArmorMenu.builtInItems.forward_back = false;
ArmorMenu.builtInItems.zoom = false;
visit_brainstudios = new ContextMenuItem("Visit GlaielGames.com", do_visit_brainstudios);
visit_studios = new ContextMenuItem("Visit ArmorStudios.com", do_visit_studios);
visit_games = new ContextMenuItem("More Games...", do_visit_games);
ArmorMenu.customItems.push(visit_brainstudios, visit_studios, visit_games);
_root.menu = ArmorMenu;
Instance of Symbol 8 MovieClip in Frame 1
//component parameters
onClipEvent (construct) {
colorr = 16777215 /* 0xFFFFFF */;
}
Frame 2
stop();
Frame 3
function __us_abtracker__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var at;
var atc;
at = "__abtracker__";
atc = "world.abtracker.us";
g = (_global ? (_global) : (_level0._root));
if (g[at + swfid]) {
return(g[at + 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(atc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(atc);
}
mrlu = mc._url;
mrlu_s = mrlu.substr(0, 4);
if (mrlu_s == "file") {
mrlu = "__local__";
}
u = (((((((((((((("http://" + atc) + "/strack/bot.swf?abtv=1&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + "&llr=") + escape(mrlu)) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[at + "level"] ? (g[at + "level"] + 1) : (lv))));
g[at + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(at + swfid, lv);
res.loadMovie(u);
}
return(res);
}
stop();
__us_abtracker__("R5344PFD", this, 11011, true);
Instance of Symbol 34 MovieClip in Frame 3
onClipEvent (load) {
rotation = random(2) + 1;
dir = random(2);
}
onClipEvent (enterFrame) {
if (dir == 0) {
this._rotation = this._rotation + rotation;
} else if (dir == 1) {
this._rotation = this._rotation - rotation;
}
}
Instance of Symbol 80 MovieClip in Frame 3
onClipEvent (load) {
_root.pos = SharedObject.getLocal("paths2save1");
if (_root.pos.data.unlocked == undefined) {
_root.pos.data.unlocked = false;
}
if (_root.pos.data.unlocked) {
gotoAndStop (4);
}
}
Instance of Symbol 91 MovieClip in Frame 3
onClipEvent (load) {
this._x = _root._xmouse;
this._y = _root._ymouse;
stop();
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.cStat);
}
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
updateAfterEvent();
}
Frame 4
function dragr(tgtn, xminn, xmaxn, yminn, ymaxn) {
if (stat == 1) {
if (((((!md) && (tgtn.hitTest(_xmouse, _ymouse, true))) && (!drgc)) && (!drg)) && (!drgs)) {
tgt = tgtn;
xmax = xmaxn;
xmin = xminn;
ymax = ymaxn;
ymin = yminn;
drgc = false;
drg = true;
drgs = false;
ofx = tgt._x - tgt._parent._xmouse;
ofy = tgt._y - tgt._parent._ymouse;
}
}
}
function drags(tgtn, xminn, xmaxn, yminn, ymaxn) {
if (stat == 1) {
if (((((!md) && (tgtn.hitTest(_xmouse, _ymouse, true))) && (!drgc)) && (!drg)) && (!drgs)) {
tgt = tgtn;
xmax = xmaxn;
xmin = xminn;
ymax = ymaxn;
ymin = yminn;
drgc = false;
drg = false;
drgs = true;
ofx = (tgt._x - tgt._parent._xmouse) / tgt._width;
ofy = (tgt._y - tgt._parent._ymouse) / tgt._height;
}
}
}
function dragc(tgtn) {
if (stat == 1) {
if (((((!md) && (tgtn.hitTest(_xmouse, _ymouse, true))) && (!drgc)) && (!drg)) && (!drgs)) {
tgt = tgtn;
drg = false;
drgc = true;
drgs = false;
var _local1 = new Vector(tgt._parent._xmouse - tgt._x, tgt._parent._ymouse - tgt._y);
ort = (tgt._rotation - Vector.angle2(new Vector(0, 1), _local1)) + 180;
}
}
}
function particlering() {
s1.start();
i = 0;
while (i < 30) {
duplicateMovieClip (part.star, "s" + nmbr, nmbr);
trgat = part["s" + nmbr];
nmbr++;
trgat.speed = new Vector(0, 1);
trgat.speed.rotate(random(360));
trgat.speed.scale((Math.random() * 17) + 3);
trgat._x = ball._x;
trgat._y = ball._y;
trgat._rotation = random(360);
trgat._xscale = random(70) + 30;
trgat._yscale = trgat._xscale;
i++;
}
}
function particlering2() {
s2.start();
i = 0;
while (i < 60) {
duplicateMovieClip (part.star, "s" + nmbr, nmbr);
trgat = part["s" + nmbr];
nmbr++;
trgat.speed = new Vector(0, 1);
trgat.speed.rotate(random(360));
trgat.speed.scale((Math.random() * 30) + 3);
trgat._x = ball._x;
trgat._y = ball._y;
trgat._rotation = random(360);
trgat._xscale = random(70) + 30;
trgat._yscale = trgat._xscale;
i++;
}
}
function particlering3() {
s2.start();
i = 0;
while (i < 30) {
duplicateMovieClip (part.star2, "s" + nmbr, nmbr);
trgat = part["s" + nmbr];
nmbr++;
trgat.speed = new Vector(0, 1);
trgat.speed.rotate(random(360));
trgat.speed.scale((Math.random() * 30) + 3);
trgat._x = ball._x;
trgat._y = ball._y;
trgat._rotation = random(360);
trgat._xscale = random(70) + 30;
trgat._yscale = trgat._xscale;
i++;
}
}
function cursor(tgt) {
if (tgt.hitTest(_xmouse, _ymouse, true) && (cStat == 1)) {
cStat = 3;
}
}
md = false;
pts = new Array();
bs = 2;
go = false;
timer = 0;
ele = 0;
dis = new Vector();
initpos = new Vector(ball._x, ball._y);
xmax = 0;
xmin = 0;
ymax = 0;
ymin = 0;
tgt = null;
ofx = 0;
ofy = 0;
drgc = false;
drg = false;
drgs = false;
ort = 0;
stat = 0;
walls._alpha = 0;
ball._alpha = 0;
star._alpha = 0;
path._alpha = 0;
alpdir = 1;
level = 1;
ink = 100;
initlvl = 1;
inkamt = new Array();
inkamt[0] = 550;
inkamt[1] = 800;
inkamt[2] = 1200;
inkamt[3] = 1000;
inkamt[4] = 2000;
inkamt[5] = 1000;
inkamt[6] = 2000;
inkamt[7] = 2100;
inkamt[8] = 800;
inkamt[9] = 1450;
inkamt[10] = 400;
inkamt[11] = 500;
inkamt[12] = 1000;
inkamt[13] = 1000;
inkamt[14] = 1500;
inkamt[15] = 1300;
inkamt[16] = 550;
inkamt[17] = 700;
inkamt[18] = 550;
inkamt[19] = 650;
inkamt[20] = 1200;
inkamt[21] = 1000;
inkamt[22] = 1000;
inkamt[23] = 2000;
inkamt[24] = 500;
inkamt[25] = 1;
deaths = 0;
st = 0;
space = false;
nmbr = 0;
rspeed = 0;
cStat = 1;
s1 = new Sound(this);
s1.attachSound("pop");
s2 = new Sound(this);
s2.attachSound("win");
stop();
if (nam == undefined) {
nam = "name";
}
locked = false;
timerT = 0;
starStat = 1;
onEnterFrame = function () {
cStat = 1;
if (!go) {
var _local1 = new Vector(pts[pts.length - 1][0] - _xmouse, pts[pts.length - 1][1] - _ymouse);
if ((ball.hitTest(_xmouse, _ymouse, true) || (_local1.vLength() < 7)) || (md)) {
cStat = 2;
}
}
timerT = timerT + 1;
tTEMP = Math.round(timerT / 50);
tSEC = Math.round(tTEMP % 60);
tMIN = Math.round(((tTEMP - tSEC) / 60) % 60);
tHOUR = Math.round((((tTEMP - (tMIN * 60)) - tSEC) / 3600) % 60);
if (tSEC < 10) {
tSEC = "0" + tSEC;
}
if (tMIN < 10) {
tMIN = "0" + tMIN;
}
if (tHOUR < 10) {
tHOUR = "0" + tHOUR;
}
if (tSEC == 0) {
tSEC = "00";
}
if (tMIN == 0) {
tMIN = "00";
}
if (tHOUR == 0) {
tHOUR = "00";
}
star.gotoAndStop(starStat);
totaltime = (((tHOUR + ":") + tMIN) + ":") + tSEC;
if (stat == 1) {
if (md) {
dddd = ((pts[pts.length - 1][0] - _xmouse) * (pts[pts.length - 1][0] - _xmouse)) + ((pts[pts.length - 1][1] - _ymouse) * (pts[pts.length - 1][1] - _ymouse));
if ((dddd > (bs * bs)) && (ink > 0)) {
path.lineTo(_xmouse, _ymouse);
pts[pts.length] = new Array(_xmouse, _ymouse);
ink = ink - ((Math.sqrt(dddd) / inkamt[level - 1]) * 100);
((ink < 0) ? ((ink = 0)) : 0);
}
}
if (((Key.isDown(32) && (!space)) && (pts.length != 0)) && (!go)) {
go = true;
ele = 0;
timer = 0;
space = true;
md = false;
}
if (!Key.isDown(32)) {
space = false;
}
if (go) {
if (timer <= 0) {
dis = new Vector(pts[ele + 1][0] - pts[ele][0], pts[ele + 1][1] - pts[ele][1]);
timer = Math.floor(dis.vLength() / bs);
var _local2 = dis.vLength() / timer;
dis.norm();
dis.scale(_local2);
ball._x = pts[ele][0];
ball._y = pts[ele][1];
ele++;
}
timer = timer - 1;
ball._x = ball._x + dis.x;
ball._y = ball._y + dis.y;
rspeed = rspeed + 0.1;
ball._rotation = ball._rotation + rspeed;
if (walls.hitTest(ball._x, ball._y, true)) {
go = false;
particlering();
ball._x = initpos.x;
ball._y = initpos.y;
if (locked) {
key._alpha = 100;
starStat = 2;
}
deaths++;
rspeed = 0;
ball._rotation = 0;
}
if (star.hitTest(ball._x, ball._y, true) && (starStat == 1)) {
particlering2();
ball._alpha = 0;
star.alpha = 0;
stat = 0;
alpdir = -1;
}
if (key.hitTest(ball._x, ball._y, true) && (starStat == 2)) {
particlering3();
key._alpha = 0;
starStat = 1;
}
if (ele > pts.length) {
particlering();
go = false;
ball._x = initpos.x;
ball._y = initpos.y;
if (locked) {
key._alpha = 100;
starStat = 2;
}
deaths++;
rspeed = 0;
ball._rotation = 0;
}
}
if (drg) {
tgt._x = tgt._parent._xmouse + ofx;
tgt._y = tgt._parent._ymouse + ofy;
((tgt._x > xmax) ? ((tgt._x = xmax)) : 0);
((tgt._x < xmin) ? ((tgt._x = xmin)) : 0);
((tgt._y > ymax) ? ((tgt._y = ymax)) : 0);
((tgt._y < ymin) ? ((tgt._y = ymin)) : 0);
cStat = 4;
}
if (drgs) {
if (xmax != xmin) {
nW = (tgt._x - tgt._parent._xmouse) / ofx;
}
if (ymax != ymin) {
nH = (tgt._y - tgt._parent._ymouse) / ofy;
}
((nW > xmax) ? ((nW = xmax)) : 0);
((nW < xmin) ? ((nW = xmin)) : 0);
((nH > ymax) ? ((nH = ymax)) : 0);
((nH < ymin) ? ((nH = ymin)) : 0);
tgt._width = nW;
tgt._height = nH;
cStat = 4;
}
if (drgc) {
var _local3 = new Vector(tgt._parent._xmouse - tgt._x, tgt._parent._ymouse - tgt._y);
tgt._rotation = (Vector.angle2(new Vector(0, 1), _local3) + 180) + ort;
cStat = 4;
}
}
if (stat == 0) {
if (walls._alpha <= 0) {
level = level + 1;
if (st == 0) {
level = initlvl;
st = 1;
}
walls.gotoAndStop(level);
ball._x = walls.ball._x + walls._x;
star._x = walls.star._x + walls._x;
ball._y = walls.ball._y + walls._y;
star._y = walls.star._y + walls._y;
if (walls.key._x != undefined) {
key._x = walls.key._x + walls._x;
key._y = walls.key._y + walls._y;
locked = true;
starStat = 2;
} else {
starStat = 1;
locked = false;
key._x = 5000;
}
walls.star._visible = false;
walls.ball._visible = false;
alpdir = 1;
path.clear();
initpos.x = ball._x;
initpos.y = ball._y;
rspeed = 0;
ball._rotation = 0;
go = false;
ele = 0;
pts.splice(0, pts.length);
xmax = 0;
xmin = 0;
ymax = 0;
ymin = 0;
tgt = null;
drg = false;
ofx = 0;
ofy = 0;
drgc = false;
ort = 0;
ink = 100;
ball._alpha = 0;
walls._alpha = 0;
star._alpha = 0;
path._alpha = 0;
key._alpha = 0;
}
walls._alpha = walls._alpha + (alpdir * 5);
ball._alpha = ball._alpha + (alpdir * 5);
star._alpha = star._alpha + (alpdir * 5);
key._alpha = key._alpha + (alpdir * 5);
path._alpha = path._alpha + (alpdir * 3.5);
if (walls._alpha >= 100) {
stat = 1;
walls._alpha = 100;
ball._alpha = 100;
star._alpha = 100;
key._alpha = 100;
path._alpha = 70;
}
}
};
onMouseDown = function () {
if (stat == 1) {
if (ball.hitTest(_xmouse, _ymouse, true) && (!go)) {
md = true;
path.clear();
path.moveTo(ball._x, ball._y);
path.lineStyle(4, 16777215, 100);
pts.splice(0, pts.length);
ink = 100;
pts[pts.length] = new Array(ball._x, ball._y);
drg = false;
drgc = false;
drgs = false;
tgt = null;
}
var _local1 = new Vector(pts[pts.length - 1][0] - _xmouse, pts[pts.length - 1][1] - _ymouse);
if ((_local1.vLength() < 7) && (!go)) {
md = true;
drg = false;
drgc = false;
drgs = false;
tgt = null;
}
}
};
onMouseUp = function () {
if (stat == 1) {
md = false;
drg = false;
drgc = false;
drgs = false;
tgt = null;
}
};
Instance of Symbol 219 MovieClip "path" in Frame 4
onClipEvent (load) {
_x = 0;
_y = 0;
}
Instance of Symbol 228 MovieClip "part" in Frame 4
onClipEvent (load) {
_x = 0;
_y = 0;
}
Frame 5
function __us_abtracker__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var at;
var atc;
at = "__abtracker__";
atc = "world.abtracker.us";
g = (_global ? (_global) : (_level0._root));
if (g[at + swfid]) {
return(g[at + 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(atc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(atc);
}
mrlu = mc._url;
mrlu_s = mrlu.substr(0, 4);
if (mrlu_s == "file") {
mrlu = "__local__";
}
u = (((((((((((((("http://" + atc) + "/strack/bot.swf?abtv=1&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + "&llr=") + escape(mrlu)) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[at + "level"] ? (g[at + "level"] + 1) : (lv))));
g[at + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(at + swfid, lv);
res.loadMovie(u);
}
return(res);
}
function dragr(tgtn, xminn, xmaxn, yminn, ymaxn) {
if (stat == 1) {
if (((((!md) && (tgtn.hitTest(_xmouse, _ymouse, true))) && (!drgc)) && (!drg)) && (!drgs)) {
tgt = tgtn;
xmax = xmaxn;
xmin = xminn;
ymax = ymaxn;
ymin = yminn;
drgc = false;
drg = true;
drgs = false;
ofx = tgt._x - tgt._parent._xmouse;
ofy = tgt._y - tgt._parent._ymouse;
}
}
}
function drags(tgtn, xminn, xmaxn, yminn, ymaxn) {
if (stat == 1) {
if (((((!md) && (tgtn.hitTest(_xmouse, _ymouse, true))) && (!drgc)) && (!drg)) && (!drgs)) {
tgt = tgtn;
xmax = xmaxn;
xmin = xminn;
ymax = ymaxn;
ymin = yminn;
drgc = false;
drg = false;
drgs = true;
ofx = (tgt._x - tgt._parent._xmouse) / tgt._width;
ofy = (tgt._y - tgt._parent._ymouse) / tgt._height;
}
}
}
function dragc(tgtn) {
if (stat == 1) {
if (((((!md) && (tgtn.hitTest(_xmouse, _ymouse, true))) && (!drgc)) && (!drg)) && (!drgs)) {
tgt = tgtn;
drg = false;
drgc = true;
drgs = false;
var _local1 = new Vector(tgt._parent._xmouse - tgt._x, tgt._parent._ymouse - tgt._y);
ort = (tgt._rotation - Vector.angle2(new Vector(0, 1), _local1)) + 180;
}
}
}
function particlering() {
s1.start();
i = 0;
while (i < 30) {
duplicateMovieClip (part.star, "s" + nmbr, nmbr);
trgat = part["s" + nmbr];
nmbr++;
trgat.speed = new Vector(0, 1);
trgat.speed.rotate(random(360));
trgat.speed.scale((Math.random() * 17) + 3);
trgat._x = ball._x;
trgat._y = ball._y;
trgat._rotation = random(360);
trgat._xscale = random(70) + 30;
trgat._yscale = trgat._xscale;
i++;
}
}
function particlering2() {
s2.start();
i = 0;
while (i < 60) {
duplicateMovieClip (part.star, "s" + nmbr, nmbr);
trgat = part["s" + nmbr];
nmbr++;
trgat.speed = new Vector(0, 1);
trgat.speed.rotate(random(360));
trgat.speed.scale((Math.random() * 30) + 3);
trgat._x = ball._x;
trgat._y = ball._y;
trgat._rotation = random(360);
trgat._xscale = random(70) + 30;
trgat._yscale = trgat._xscale;
i++;
}
}
function particlering3() {
s2.start();
i = 0;
while (i < 30) {
duplicateMovieClip (part.star2, "s" + nmbr, nmbr);
trgat = part["s" + nmbr];
nmbr++;
trgat.speed = new Vector(0, 1);
trgat.speed.rotate(random(360));
trgat.speed.scale((Math.random() * 30) + 3);
trgat._x = ball._x;
trgat._y = ball._y;
trgat._rotation = random(360);
trgat._xscale = random(70) + 30;
trgat._yscale = trgat._xscale;
i++;
}
}
function cursor(tgt) {
if (tgt.hitTest(_xmouse, _ymouse, true) && (cStat == 1)) {
cStat = 3;
}
}
__us_abtracker__("Z5347PQZ", this, 11011, true);
md = false;
pts = new Array();
bs = 2;
go = false;
timer = 0;
ele = 0;
dis = new Vector();
initpos = new Vector(ball._x, ball._y);
xmax = 0;
xmin = 0;
ymax = 0;
ymin = 0;
tgt = null;
ofx = 0;
ofy = 0;
drgc = false;
drg = false;
drgs = false;
ort = 0;
stat = 0;
walls._alpha = 0;
ball._alpha = 0;
star._alpha = 0;
path._alpha = 0;
alpdir = 1;
level = 1;
ink = 100;
initlvl = 1;
inkamt = new Array();
inkamt[0] = 550;
inkamt[1] = 700;
inkamt[2] = 400;
inkamt[3] = 700;
inkamt[4] = 700;
inkamt[5] = 600;
inkamt[6] = 230;
inkamt[7] = 500;
inkamt[8] = 1000;
inkamt[9] = 500;
inkamt[10] = 1700;
inkamt[11] = 1500;
inkamt[12] = 1000;
inkamt[13] = 700;
inkamt[14] = 1000;
inkamt[15] = 1000;
inkamt[16] = 900;
inkamt[17] = 1000;
inkamt[18] = 1000;
inkamt[19] = 700;
inkamt[20] = 1;
deaths = 0;
st = 0;
space = false;
nmbr = 0;
rspeed = 0;
cStat = 1;
s1 = new Sound(this);
s1.attachSound("pop");
s2 = new Sound(this);
s2.attachSound("win");
stop();
if (nam == undefined) {
nam = "name";
}
locked = false;
timerT = 0;
starStat = 1;
onEnterFrame = function () {
cStat = 1;
if (!go) {
var _local1 = new Vector(pts[pts.length - 1][0] - _xmouse, pts[pts.length - 1][1] - _ymouse);
if ((ball.hitTest(_xmouse, _ymouse, true) || (_local1.vLength() < 7)) || (md)) {
cStat = 2;
}
}
timerT = timerT + 1;
tTEMP = Math.round(timerT / 50);
tSEC = Math.round(tTEMP % 60);
tMIN = Math.round(((tTEMP - tSEC) / 60) % 60);
tHOUR = Math.round((((tTEMP - (tMIN * 60)) - tSEC) / 3600) % 60);
if (tSEC < 10) {
tSEC = "0" + tSEC;
}
if (tMIN < 10) {
tMIN = "0" + tMIN;
}
if (tHOUR < 10) {
tHOUR = "0" + tHOUR;
}
if (tSEC == 0) {
tSEC = "00";
}
if (tMIN == 0) {
tMIN = "00";
}
if (tHOUR == 0) {
tHOUR = "00";
}
star.gotoAndStop(starStat);
totaltime = (((tHOUR + ":") + tMIN) + ":") + tSEC;
if (stat == 1) {
if (md) {
dddd = ((pts[pts.length - 1][0] - _xmouse) * (pts[pts.length - 1][0] - _xmouse)) + ((pts[pts.length - 1][1] - _ymouse) * (pts[pts.length - 1][1] - _ymouse));
if ((dddd > (bs * bs)) && (ink > 0)) {
path.lineTo(_xmouse, _ymouse);
pts[pts.length] = new Array(_xmouse, _ymouse);
ink = ink - ((Math.sqrt(dddd) / inkamt[level - 1]) * 100);
((ink < 0) ? ((ink = 0)) : 0);
}
}
if (((Key.isDown(32) && (!space)) && (pts.length != 0)) && (!go)) {
go = true;
ele = 0;
timer = 0;
space = true;
md = false;
}
if (!Key.isDown(32)) {
space = false;
}
if (go) {
if (timer <= 0) {
dis = new Vector(pts[ele + 1][0] - pts[ele][0], pts[ele + 1][1] - pts[ele][1]);
timer = Math.floor(dis.vLength() / bs);
var _local2 = dis.vLength() / timer;
dis.norm();
dis.scale(_local2);
ball._x = pts[ele][0];
ball._y = pts[ele][1];
ele++;
}
timer = timer - 1;
ball._x = ball._x + dis.x;
ball._y = ball._y + dis.y;
rspeed = rspeed + 0.1;
ball._rotation = ball._rotation + rspeed;
if (walls.hitTest(ball._x, ball._y, true)) {
go = false;
particlering();
ball._x = initpos.x;
ball._y = initpos.y;
if (locked) {
key._alpha = 100;
starStat = 2;
}
deaths++;
rspeed = 0;
ball._rotation = 0;
}
if (star.hitTest(ball._x, ball._y, true) && (starStat == 1)) {
particlering2();
ball._alpha = 0;
star.alpha = 0;
stat = 0;
alpdir = -1;
}
if (key.hitTest(ball._x, ball._y, true) && (starStat == 2)) {
particlering3();
key._alpha = 0;
starStat = 1;
}
if (ele > pts.length) {
particlering();
go = false;
ball._x = initpos.x;
ball._y = initpos.y;
if (locked) {
key._alpha = 100;
starStat = 2;
}
deaths++;
rspeed = 0;
ball._rotation = 0;
}
}
if (drg) {
tgt._x = tgt._parent._xmouse + ofx;
tgt._y = tgt._parent._ymouse + ofy;
((tgt._x > xmax) ? ((tgt._x = xmax)) : 0);
((tgt._x < xmin) ? ((tgt._x = xmin)) : 0);
((tgt._y > ymax) ? ((tgt._y = ymax)) : 0);
((tgt._y < ymin) ? ((tgt._y = ymin)) : 0);
cStat = 4;
}
if (drgs) {
if (xmax != xmin) {
nW = (tgt._x - tgt._parent._xmouse) / ofx;
}
if (ymax != ymin) {
nH = (tgt._y - tgt._parent._ymouse) / ofy;
}
((nW > xmax) ? ((nW = xmax)) : 0);
((nW < xmin) ? ((nW = xmin)) : 0);
((nH > ymax) ? ((nH = ymax)) : 0);
((nH < ymin) ? ((nH = ymin)) : 0);
tgt._width = nW;
tgt._height = nH;
cStat = 4;
}
if (drgc) {
var _local3 = new Vector(tgt._parent._xmouse - tgt._x, tgt._parent._ymouse - tgt._y);
tgt._rotation = (Vector.angle2(new Vector(0, 1), _local3) + 180) + ort;
cStat = 4;
}
}
if (stat == 0) {
if (walls._alpha <= 0) {
level = level + 1;
if (st == 0) {
level = initlvl;
st = 1;
}
walls.gotoAndStop(level);
ball._x = walls.ball._x + walls._x;
star._x = walls.star._x + walls._x;
ball._y = walls.ball._y + walls._y;
star._y = walls.star._y + walls._y;
if (walls.key._x != undefined) {
key._x = walls.key._x + walls._x;
key._y = walls.key._y + walls._y;
locked = true;
starStat = 2;
} else {
starStat = 1;
locked = false;
key._x = 5000;
}
walls.star._visible = false;
walls.ball._visible = false;
alpdir = 1;
path.clear();
initpos.x = ball._x;
initpos.y = ball._y;
rspeed = 0;
ball._rotation = 0;
go = false;
ele = 0;
pts.splice(0, pts.length);
xmax = 0;
xmin = 0;
ymax = 0;
ymin = 0;
tgt = null;
drg = false;
ofx = 0;
ofy = 0;
drgc = false;
ort = 0;
ink = 100;
ball._alpha = 0;
walls._alpha = 0;
star._alpha = 0;
path._alpha = 0;
key._alpha = 0;
}
walls._alpha = walls._alpha + (alpdir * 5);
ball._alpha = ball._alpha + (alpdir * 5);
star._alpha = star._alpha + (alpdir * 5);
key._alpha = key._alpha + (alpdir * 5);
path._alpha = path._alpha + (alpdir * 3.5);
if (walls._alpha >= 100) {
stat = 1;
walls._alpha = 100;
ball._alpha = 100;
star._alpha = 100;
key._alpha = 100;
path._alpha = 70;
}
}
};
onMouseDown = function () {
if (stat == 1) {
if (ball.hitTest(_xmouse, _ymouse, true) && (!go)) {
md = true;
path.clear();
path.moveTo(ball._x, ball._y);
path.lineStyle(4, 16777215, 100);
pts.splice(0, pts.length);
ink = 100;
pts[pts.length] = new Array(ball._x, ball._y);
drg = false;
drgc = false;
drgs = false;
tgt = null;
}
var _local1 = new Vector(pts[pts.length - 1][0] - _xmouse, pts[pts.length - 1][1] - _ymouse);
if ((_local1.vLength() < 7) && (!go)) {
md = true;
drg = false;
drgc = false;
drgs = false;
tgt = null;
}
}
};
onMouseUp = function () {
if (stat == 1) {
md = false;
drg = false;
drgc = false;
drgs = false;
tgt = null;
}
};
Frame 6
stop();
Symbol 8 MovieClip Frame 1
_root.createEmptyMovieClip("l1", 1);
_root.createEmptyMovieClip("l2", 2);
perc = "0%";
p1 = 0;
col = colorr;
aTF = new TextFormat();
aTF.color = col;
txtbox.setTextFormat(aTF);
_root.stop();
_x = 275;
_y = 170;
te.swapDepths(100);
removeMovieClip(te);
onEnterFrame = function () {
den = _root.getBytesTotal();
num = _root.getBytesLoaded();
p1 = (num / den) * 100;
p2 = Math.round(p1);
perc = ("" + p2) + "%";
txtbox.text = perc;
txtbox.setTextFormat(aTF);
_root.l1.clear();
_root.l1.moveTo(275, 200);
_root.l1.lineStyle(2, Number(col), 100);
_root.l1.lineTo(_root._xmouse, _root._ymouse);
_root.l2.clear();
_root.l2.moveTo(275, 200);
_root.l2.lineStyle(15, Number(col), 100);
xd = _root._xmouse - 275;
yd = _root._ymouse - 200;
x = ((xd * p1) / 100) + 275;
y = ((yd * p1) / 100) + 200;
_root.l2.lineTo(x, y);
if (p1 >= 100) {
removeMovieClip(_root.l1);
removeMovieClip(_root.l2);
_root.play();
}
};
Symbol 12 Button
on (press) {
getURL ("http://www.glaielgames.com", "_blank");
}
Symbol 16 Button
on (press) {
getURL ("http://www.armorstudios.com", "_blank");
}
Symbol 23 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 410 MovieClip [__Packages.Vector] Frame 0
class Vector
{
var x, y;
function Vector (i, j) {
x = i;
y = j;
}
function norm() {
var _local2 = vLength();
x = x / _local2;
y = y / _local2;
}
static function add(v, v2) {
return(new Vector(v2.x + v.x, v2.y + v.y));
}
static function subtract(v, v2) {
return(new Vector(v.x - v2.x, v.y - v2.y));
}
static function dot(v, v2) {
return((v2.x * v.x) + (v2.y * v.y));
}
static function angle(v, v2) {
return(Math.acos(dot(v, v2) / (v2.vLength() * v.vLength())) / (Math.PI/180));
}
static function angle2(v, v2) {
var _local1 = angle(v, v2);
if (comp(v.rotateNew(_local1), v2) < 0.0001) {
return(_local1);
}
return(-_local1);
}
static function comp(v, v2) {
return(Math.abs((v.x / v.vLength()) - (v2.x / v2.vLength())) + Math.abs((v.y / v.vLength()) - (v2.y / v2.vLength())));
}
function vLength() {
return(Math.sqrt((x * x) + (y * y)));
}
function perpendicular() {
return(new Vector(-y, x));
}
function scale(val) {
x = x * val;
y = y * val;
}
function rotate(degrees) {
degrees = degrees * (Math.PI/180);
var _local3 = Math.sin(degrees);
var _local2 = Math.cos(degrees);
var _local5 = (x * _local2) - (y * _local3);
var _local4 = (x * _local3) + (y * _local2);
x = _local5;
y = _local4;
}
function rotateNew(degrees) {
degrees = degrees * (Math.PI/180);
var _local3 = Math.sin(degrees);
var _local2 = Math.cos(degrees);
var _local5 = (x * _local2) - (y * _local3);
var _local4 = (x * _local3) + (y * _local2);
return(new Vector(_local5, _local4));
}
function reflect(normal) {
var _local2 = new Vector(normal.x, normal.y);
_local2.norm();
_local2.scale(2 * dot(this, _local2));
return(subtract(this, _local2));
}
function display(point, scale, tgt) {
tgt.lineStyle(3, 16777215, 100);
tgt.moveTo(point.x, point.y);
tgt.lineTo(point.x + (x * scale), point.y + (y * scale));
var _local5 = new Vector(-x, -y);
_local5.norm();
_local5.scale(0.5);
_local5.rotate(-45);
tgt.lineTo((point.x + (x * scale)) + (_local5.x * scale), (point.y + (y * scale)) + (_local5.y * scale));
tgt.moveTo(point.x + (x * scale), point.y + (y * scale));
_local5.rotate(90);
tgt.lineTo((point.x + (x * scale)) + (_local5.x * scale), (point.y + (y * scale)) + (_local5.y * scale));
tgt.lineStyle(2, 0, 100);
tgt.moveTo(point.x, point.y);
tgt.lineTo(point.x + (x * scale), point.y + (y * scale));
var _local6 = new Vector(-x, -y);
_local6.norm();
_local6.scale(0.5);
_local6.rotate(-45);
tgt.lineTo((point.x + (x * scale)) + (_local6.x * scale), (point.y + (y * scale)) + (_local6.y * scale));
tgt.moveTo(point.x + (x * scale), point.y + (y * scale));
_local6.rotate(90);
tgt.lineTo((point.x + (x * scale)) + (_local6.x * scale), (point.y + (y * scale)) + (_local6.y * scale));
}
}
Symbol 411 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);
}
}
Symbol 30 MovieClip Frame 210
_root.play();
Symbol 68 Button
on (press) {
_root.gotoAndStop("game");
}
Symbol 71 Button
on (press) {
_root.gotoAndStop("highscores");
}
Symbol 73 Button
on (press) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 79 Button
on (press) {
_root.gotoAndStop("classic");
}
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 2
stop();
Instance of Symbol 84 MovieClip "vol" in Symbol 87 MovieClip Frame 1
onClipEvent (load) {
dragging = false;
if (_root.sound12345 == undefined) {
_root.sound12345 = new Sound(_root);
}
_x = (_root.sound12345.getVolume() + _parent.slider._x);
}
on (press) {
dragging = true;
}
onClipEvent (mouseUp) {
dragging = false;
}
onClipEvent (enterFrame) {
(dragging ? (_x = _parent._xmouse_parent._xmouse) : null);
((_x < _parent.slider._x) ? (_x = _parent.slider._x_parent.slider._x) : null);
((_x > (_parent.slider._x + 100)) ? (_x = (_parent.slider._x + 100)_parent.slider._x + 100) : null);
_root.sound12345.setVolume(_x - _parent.slider._x);
}
Symbol 96 MovieClip Frame 2
stop();
Instance of Symbol 122 MovieClip in Symbol 123 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 127 MovieClip in Symbol 128 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 50, yy + 50);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 132 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 134 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 136 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 158 MovieClip in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx - 60, xx + 60, yy, yy);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 166 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 173 MovieClip in Symbol 174 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 166 MovieClip in Symbol 180 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Symbol 209 Button
on (press, keyPress "<Enter>") {
warning_text = "";
playercheck = zomgname.text.toLowerCase();
warnfoo(playercheck, badwords);
if (warning_text != "*** Name not allowed, please try again ***") {
ab20_09 = new LoadVars();
ab20_09.z = zomgname.text;
ab20_09.x = ab20.encodeNum(_root.score);
ab20_09.c = 658;
ab20_09.v = "GRIZZP";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
_root.gotoAndStop("menu");
}
}
Symbol 212 MovieClip Frame 1
function warnfoo(variable, wordsarray) {
i = 0;
while (i < wordsarray.length) {
temparray = variable.split(wordsarray[i]);
if (temparray.length > 1) {
warning_text = "*** Name not allowed, please try again ***";
}
i++;
}
}
stop();
warning_text = "";
var playername = "";
badwords = ["suck", "sucks", "cock", "fuck", "input", "name", "here", "www", "com", "sex", "bullshit", "shit", "ugly", "fucking", "fag", "stupid", "hail", "dump", "cunt", "moron", "poo", "poop", "gay", "hitler", "jihad", "taliban", "nazi"];
Instance of Symbol 94 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 70, yy);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 94 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy, yy + 70);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 100 MovieClip in Symbol 213 MovieClip Frame 2
onClipEvent (mouseDown) {
_root.drags(this, 50, 200, 120, 350);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 104 MovieClip in Symbol 213 MovieClip Frame 3
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 107 MovieClip in Symbol 213 MovieClip Frame 4
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 110 MovieClip in Symbol 213 MovieClip Frame 5
onClipEvent (mouseDown) {
_root.drags(this, 103, 103, 150, 360);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 112 MovieClip in Symbol 213 MovieClip Frame 5
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 115 MovieClip in Symbol 213 MovieClip Frame 6
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 118 MovieClip in Symbol 213 MovieClip Frame 7
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 123 MovieClip in Symbol 213 MovieClip Frame 8
onClipEvent (mouseDown) {
_root.drags(this, 190.5, 190.5, 300, 800);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 128 MovieClip in Symbol 213 MovieClip Frame 9
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 137 MovieClip in Symbol 213 MovieClip Frame 10
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx - 200, xx + 200, yy, yy);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 140 MovieClip in Symbol 213 MovieClip Frame 11
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 100, yy + 100);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 146 MovieClip in Symbol 213 MovieClip Frame 12
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 149 MovieClip in Symbol 213 MovieClip Frame 13
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 200, yy + 200);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 152 MovieClip in Symbol 213 MovieClip Frame 14
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 154 MovieClip in Symbol 213 MovieClip Frame 14
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 159 MovieClip in Symbol 213 MovieClip Frame 15
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 162 MovieClip in Symbol 213 MovieClip Frame 16
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 167 MovieClip in Symbol 213 MovieClip Frame 17
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx - 150, xx + 150, yy, yy);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 170 MovieClip in Symbol 213 MovieClip Frame 18
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 174 MovieClip in Symbol 213 MovieClip Frame 19
onClipEvent (mouseDown) {
_root.drags(this, 350, 950, 652, 652);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 177 MovieClip in Symbol 213 MovieClip Frame 20
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 150, yy + 200);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 180 MovieClip in Symbol 213 MovieClip Frame 21
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx - 250, xx + 250, yy, yy);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 183 MovieClip in Symbol 213 MovieClip Frame 22
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 200, yy + 200);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 185 MovieClip in Symbol 213 MovieClip Frame 22
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 200, yy + 200);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 187 MovieClip in Symbol 213 MovieClip Frame 22
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 200, yy + 200);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 189 MovieClip in Symbol 213 MovieClip Frame 22
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 200, yy + 200);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 192 MovieClip in Symbol 213 MovieClip Frame 23
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 195 MovieClip in Symbol 213 MovieClip Frame 24
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 195 MovieClip in Symbol 213 MovieClip Frame 24
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 195 MovieClip in Symbol 213 MovieClip Frame 24
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 195 MovieClip in Symbol 213 MovieClip Frame 24
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 195 MovieClip in Symbol 213 MovieClip Frame 24
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 195 MovieClip in Symbol 213 MovieClip Frame 24
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 195 MovieClip in Symbol 213 MovieClip Frame 24
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 198 MovieClip in Symbol 213 MovieClip Frame 25
onClipEvent (mouseDown) {
_root.drags(this, 351.9, 351.9, 150, 1500);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Symbol 213 MovieClip Frame 26
_root.pos = SharedObject.getLocal("paths2save1");
_root.pos.data.unlocked = true;
_root.score = Math.round((_root.timerT * (_root.deaths + 1)) / 50);
_root.scorebox = "Final Score: " + _root.score;
Instance of Symbol 227 MovieClip "star" in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "star") {
_x = (_x + speed.x);
_y = (_y + speed.y);
speed.scale(0.9);
_alpha = (_alpha * 0.9);
_alpha = (_alpha - 1);
((_alpha <= 0) ? (removeMovieClip(this)) : 0);
}
}
Instance of Symbol 227 MovieClip "star2" in Symbol 228 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name != "star2") {
_x = (_x + speed.x);
_y = (_y + speed.y);
speed.scale(0.9);
p = new Vector(_x - _root.star._x, _y - _root.star._y);
p.norm();
speed.x = speed.x - (p.x * 2);
speed.y = speed.y - (p.y * 2);
(hitTest(_root.star) ? (removeMovieClip(this)) : 0);
}
}
Instance of Symbol 231 MovieClip in Symbol 245 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = _root.ink;
}
Instance of Symbol 234 MovieClip in Symbol 245 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 234 MovieClip in Symbol 245 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation - 5);
}
Instance of Symbol 241 MovieClip in Symbol 245 MovieClip Frame 1
onClipEvent (enterFrame) {
txt = Math.round(_root.ink) + "%";
}
Symbol 248 Button
on (press) {
_root.gotoAndStop("menu");
}
Symbol 252 Button
on (release) {
md = false;
path.clear();
path.moveTo(ball._x, ball._y);
path.lineStyle(4, 16777215, 100);
pts.splice(0, pts.length);
ink = 100;
pts[pts.length] = new Array(ball._x, ball._y);
drg = false;
drgc = false;
drgs = false;
tgt = null;
}
Symbol 258 MovieClip Frame 2
stop();
Instance of Symbol 272 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx - 70, xx, yy, yy);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 272 MovieClip in Symbol 273 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 70, yy);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 50, yy + 50);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 290 MovieClip in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx - 80, xx, yy, yy);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 304 MovieClip in Symbol 305 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 130, yy);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 305 MovieClip in Symbol 306 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 305 MovieClip in Symbol 306 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 305 MovieClip in Symbol 306 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 305 MovieClip in Symbol 306 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 313 MovieClip in Symbol 314 MovieClip Frame 1
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Symbol 322 Button
on (press, keyPress "<Enter>") {
warning_text = "";
playercheck = zomgname.text.toLowerCase();
warnfoo(playercheck, badwords);
if (warning_text != "*** Name not allowed, please try again ***") {
ab20_09 = new LoadVars();
ab20_09.z = zomgname.text;
ab20_09.x = ab20.encodeNum(_root.score);
ab20_09.c = 659;
ab20_09.v = "CPPOSW";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
_root.gotoAndStop("menu");
}
}
Symbol 324 MovieClip Frame 1
function warnfoo(variable, wordsarray) {
i = 0;
while (i < wordsarray.length) {
temparray = variable.split(wordsarray[i]);
if (temparray.length > 1) {
warning_text = "*** Name not allowed, please try again ***";
}
i++;
}
}
stop();
warning_text = "";
var playername = "";
badwords = ["suck", "sucks", "cock", "fuck", "input", "name", "here", "www", "com", "sex", "bullshit", "shit", "ugly", "fucking", "fag", "stupid", "hail", "dump", "cunt", "moron", "poo", "poop", "gay", "hitler", "jihad", "taliban", "nazi"];
Instance of Symbol 256 MovieClip in Symbol 325 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 70, yy);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 256 MovieClip in Symbol 325 MovieClip Frame 1
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy, yy + 70);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 256 MovieClip in Symbol 325 MovieClip Frame 2
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 50, yy + 50);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 262 MovieClip in Symbol 325 MovieClip Frame 3
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 265 MovieClip in Symbol 325 MovieClip Frame 4
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx - 80, xx + 80, yy - 80, yy + 80);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 268 MovieClip in Symbol 325 MovieClip Frame 5
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 273 MovieClip in Symbol 325 MovieClip Frame 6
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 276 MovieClip in Symbol 325 MovieClip Frame 7
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx - 100, xx + 100, yy, yy);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 281 MovieClip in Symbol 325 MovieClip Frame 8
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 284 MovieClip in Symbol 325 MovieClip Frame 9
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 286 MovieClip in Symbol 325 MovieClip Frame 9
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 50, yy + 50);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 291 MovieClip in Symbol 325 MovieClip Frame 10
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 294 MovieClip in Symbol 325 MovieClip Frame 11
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 286 MovieClip in Symbol 325 MovieClip Frame 12
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx - 80, xx + 70, yy, yy);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 262 MovieClip in Symbol 325 MovieClip Frame 12
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 281 MovieClip in Symbol 325 MovieClip Frame 12
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 299 MovieClip in Symbol 325 MovieClip Frame 14
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 306 MovieClip in Symbol 325 MovieClip Frame 15
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 308 MovieClip in Symbol 325 MovieClip Frame 16
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy - 120, yy + 120);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 281 MovieClip in Symbol 325 MovieClip Frame 17
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 314 MovieClip in Symbol 325 MovieClip Frame 18
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx, xx, yy, yy + 100);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 317 MovieClip in Symbol 325 MovieClip Frame 19
onClipEvent (load) {
xx = _x;
yy = _y;
}
onClipEvent (mouseDown) {
_root.dragr(this, xx - 250, xx + 250, yy - 150, yy + 150);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Instance of Symbol 319 MovieClip in Symbol 325 MovieClip Frame 20
onClipEvent (mouseDown) {
_root.dragc(this);
}
onClipEvent (enterFrame) {
_root.cursor(this);
}
Symbol 325 MovieClip Frame 21
_root.score = Math.round((_root.timerT * (_root.deaths + 1)) / 50);
_root.scorebox = "Final Score: " + _root.score;
Symbol 328 Button
on (press) {
nextFrame();
}
Symbol 370 Button
on (press) {
prevFrame();
}
Symbol 402 MovieClip Frame 1
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 = 658;
__top10_send__.kid = "GRIZZP";
__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.highscore[("_name" + i) + "_"].text = __top10_receive__["name" + i];
_root.highscore[("_score" + i) + "_"].text = __top10_receive__["score" + i];
i++;
}
} else {
_root.__err__.gotoAndStop(2);
}
};
Symbol 402 MovieClip Frame 2
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 = 659;
__top10_send__.kid = "CPPOSW";
__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.highscore[("_name" + i) + "_"].text = __top10_receive__["name" + i];
_root.highscore[("_score" + i) + "_"].text = __top10_receive__["score" + i];
i++;
}
} else {
_root.__err__.gotoAndStop(2);
}
};
Symbol 405 Button
on (press) {
getURL ("http://www.armorbot.com", "_blank");
}
Symbol 408 Button
on (press) {
gotoAndStop ("menu");
}