Frame 1
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.builtInItems.print = true;
this.menu = my_cm;
stop();
_root.hideBuiltInItems();
Frame 2
ln = 0;
mln = 40;
bn = 0;
moves = 0;
overscore = 0;
men = 1;
tg = 0;
tdown = 0;
_root.hideBuiltInItems();
stop();
ss.swapDepths(2);
sss.swapDepths(3);
mm.swapDepths(1000);
mic.stop();
this.createEmptyMovieClip("muu", 1);
mic = new Sound(muu);
mic.attachSound("mus");
mic.start();
mic.onSoundComplete = function () {
mic.start();
};
Frame 3
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 0 - Tutorial";
bar.swapDepths(10000);
Frame 4
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 1 - Simplex";
overscore = 0;
Frame 5
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 2 - Duplex";
Frame 6
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 3 - Olympic";
Frame 7
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 4 - Bacteria";
Frame 8
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 5 - Spiral";
Frame 9
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 6 - Mouse";
Frame 10
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 7 - 777";
Frame 11
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 8 - Giraffe";
Frame 12
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 9 - Dinner";
Frame 13
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 10 - Serpent";
Frame 14
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 11 - Tie Fighter";
Frame 15
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 12 - Clockwork";
Frame 16
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 13 - Race";
Frame 17
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 14 - &";
Frame 18
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 15 - Choose A Path";
Frame 19
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 16 - wut do you meen?";
Frame 20
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 17 - Gentlemen";
Frame 21
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 18 - Quickfast";
Frame 22
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 19 - Ferris Wheel";
Frame 23
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
level = "Level 20 - Winnur!";
Frame 24
sh._x = xz._x;
sh._y = xz._y;
sh.ox = xz._x;
sh.oy = xz._y;
men = 0;
done = 0;
moves = 0;
gr = 0;
grd = 0;
timr = 0;
tdown = -1;
bar.removeMovieClip();
Symbol 6 Button
on (release) {
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;
var pv;
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);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&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__("ece99f74", this, 10301, true);
_parent.nextFrame();
this.removeMovieClip();
}
Symbol 7 MovieClip Frame 1
stop();
this.swapDepths(10002);
onEnterFrame = function () {
if (_width == 400) {
gotoAndStop (2);
} else {
_width = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 400);
}
};
Symbol 11 MovieClip Frame 1
all = 15;
rat = 0.92;
rad = 57.2957795130823;
a = 0;
while (a < all) {
bb.duplicateMovieClip("b" + a, a);
c = this["b" + a];
c.spd = 5 + random(10);
c.rr = random(360);
c.xx = Math.sin(c.rr / rad) * c.spd;
c.yy = Math.cos(c.rr / rad) * (-c.spd);
a++;
}
bb.swapDepths(1);
bb.removeMovieClip();
onEnterFrame = function () {
dd = 0;
a = 0;
while (a < all) {
c = this["b" + a];
c._x = c._x + c.xx;
c._y = c._y + c.yy;
c.xx = c.xx * rat;
c.yy = c.yy * rat;
c._alpha = c._alpha * Math.pow(rat, 0.333333333333333);
((c._alpha < 0.5) ? (dd++) : null);
a++;
}
((dd >= all) ? (this.removeMovieClip()) : null);
};
this.createEmptyMovieClip("ee", 10000);
b = new Sound(ee);
b.attachSound("bang1");
((!_parent.men) ? (b.start()) : null);
Symbol 19 MovieClip Frame 1
function checkHit() {
ts = 0;
xx = 0;
yy = 0;
while ((!_parent.gg.hitTest(_x + xx, _y + yy, true)) && (ts < spd)) {
xx = (Math.sin(_rotation / rad) * ts) * 0.2;
yy = (Math.cos(_rotation / rad) * (-ts)) * 0.2;
ts++;
}
}
spd = 100;
_rotation = random(360);
mod = 1;
rad = 57.2957795130823;
xx = 0;
yy = 0;
ox = _x;
oy = _y;
if (_name == "ss") {
lll = _parent.lin;
} else if (_name == "sh") {
lll = _parent.li;
} else {
lll = _parent.lin2;
}
onEnterFrame = function () {
if (mod) {
checkHit();
if ((!xx) && (!yy)) {
mod = 0;
} else {
_x = (_x + xx);
_y = (_y + yy);
}
lll.createEmptyMovieClip("ll" + _parent.ln, _parent.ln);
c = lll["ll" + _parent.ln];
c._x = ox;
c._y = oy;
c.lineStyle(0, 0, 100);
c.lineTo(_x - ox, _y - oy);
} else {
while (_parent.gg.hitTest(_x + xx, _y + yy, true)) {
_rotation = (_rotation + random(360));
mod = 1;
xx = (Math.sin(_rotation / rad) * spd) * 0.2;
yy = (Math.cos(_rotation / rad) * (-spd)) * 0.2;
}
ox = _x;
oy = _y;
_y = (_y + yy);
_x = (_x + xx);
((_parent.ln < _parent.mln) ? (_parent.ln++) : ((_parent.ln = 0)));
checkHit();
lll.createEmptyMovieClip("ll" + _parent.ln, _parent.ln);
c = lll["ll" + _parent.ln];
c._x = ox;
c._y = oy;
c.lineStyle(0, 0, 100);
c.lineTo(_x - ox, _y - oy);
_parent.bb.duplicateMovieClip("bc" + _parent.bn, 500 + _parent.bn, {_x:_x, _y:_y});
((_parent.bn < 10) ? (_parent.bn++) : ((_parent.bn = 0)));
}
};
Symbol 21 MovieClip Frame 1
onEnterFrame = function () {
a = 0;
while (a < (_parent.mln + 1)) {
this["ll" + a]._alpha = this["ll" + a]._alpha - 1;
((this["ll" + a]._alpha < 1) ? (this["ll" + a].removeMovieClip()) : null);
a++;
}
};
Symbol 29 Button
on (release) {
_parent.nextFrame();
_parent.ss.removeMovieClip();
_parent.sss.removeMovieClip();
this.removeMovieClip();
}
Symbol 39 Button
on (release) {
getURL ("http://rankz.armorbot.com/triangulategame/", "blank");
}
Symbol 46 MovieClip Frame 1
_visible = false;
stop();
Symbol 51 MovieClip Frame 1
_visible = false;
_parent.ggg.duplicateMovieClip("gg" + _parent.tg, _parent.tg + 600, {_x:_x, _y:_y});
_parent.tg++;
_parent.gr++;
Symbol 53 MovieClip Frame 1
_visible = false;
Symbol 62 Button
on (release) {
gotoAndStop (45);
}
Symbol 74 Button
on (release) {
_parent._parent.nextFrame();
_parent._parent.tdown = 40;
}
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
a = _parent.sco;
b = _parent.timr;
c = a * b;
d = _parent.ovr + c;
Symbol 81 MovieClip Frame 45
stop();
_parent._parent.overscore = _parent.ovr + c;
Symbol 82 MovieClip Frame 1
onEnterFrame = function () {
sco = _parent.moves;
lvl = _parent.level;
ovr = _parent.overscore;
_parent.tdown--;
(((!_parent.done) && (_parent.tdown < 0)) ? (_parent.timr++) : null);
timr = _parent.timr;
(((_parent.grd == _parent.gr) && (!_parent.done)) ? ((_parent.done = 1)) : null);
(_parent.done ? ((dlv._y = dlv._y + ((80 - dlv._y) / 10))) : ((dlv._y = dlv._y + ((-300 - dlv._y) / 10))));
(((dlv._y > 79) && (dlv._currentframe == 1)) ? (dlv.play()) : (if (!((dlv._y < -220) && (dlv._currentframe == dlv._totalframes))) {
} else {
(dlv.gotoAndStop(1));// not popped
}
null));
};
Symbol 86 MovieClip Frame 1
p = _parent.sh;
onEnterFrame = function () {
xx = _x - p._x;
yy = _y - p._y;
d = Math.sqrt((xx * xx) + (yy * yy));
((d < 25) ? (ping.start()_parent.grd++this.removeMovieClip()) : null);
};
this.createEmptyMovieClip("aa", 1);
ping = new Sound(aa);
ping.attachSound("coll");
Symbol 87 MovieClip Frame 1
function checkHit() {
ts = 0;
xx = 0;
yy = 0;
while ((!_parent.gg.hitTest(_x + xx, _y + yy, true)) && (ts < spd)) {
xx = (Math.sin(_rotation / rad) * ts) * 0.2;
yy = (Math.cos(_rotation / rad) * (-ts)) * 0.2;
ts++;
}
}
spd = 100;
_rotation = random(360);
mod = 2;
rad = 57.2957795130823;
xx = 0;
yy = 0;
ox = _x;
oy = _y;
this.swapDepths(1000);
lll = _parent.li;
onEnterFrame = function () {
if (mod == 1) {
checkHit();
if ((!xx) && (!yy)) {
mod = 0;
} else {
_x = (_x + xx);
_y = (_y + yy);
}
lll.createEmptyMovieClip("ll" + _parent.ln, _parent.ln);
c = lll["ll" + _parent.ln];
c._x = ox;
c._y = oy;
c.lineStyle(0, 0, 100);
c.lineTo(_x - ox, _y - oy);
} else if (mod == 0) {
ox = _x;
oy = _y;
((_parent.ln < _parent.mln) ? (_parent.ln++) : ((_parent.ln = 0)));
checkHit();
lll.createEmptyMovieClip("ll" + _parent.ln, _parent.ln);
c = lll["ll" + _parent.ln];
c._x = ox;
c._y = oy;
c.lineStyle(0, 0, 100);
c.lineTo(_x - ox, _y - oy);
_parent.bb.duplicateMovieClip("bc" + _parent.bn, 500 + _parent.bn, {_x:_x, _y:_y});
((_parent.bn < 10) ? (_parent.bn++) : ((_parent.bn = 0)));
mod = 2;
} else {
ux = _x - _parent._xmouse;
uy = _y - _parent._ymouse;
spd = Math.sqrt((ux * ux) + (uy * uy)) / 3;
_rotation = ((Math.atan2(uy, ux) * rad) - 90);
onMouseDown = function () {
if (((mod == 2) && (_parent.tdown < 0)) && (!_parent.done)) {
xx = (Math.sin(_rotation / rad) * spd) * 0.1;
yy = (Math.cos(_rotation / rad) * (-spd)) * 0.1;
if (!_parent.gg.hitTest(_x + xx, _y + yy, true)) {
_x = (_x + xx);
_y = (_y + yy);
mod = 1;
sound1.start();
((!_parent.done) ? (_parent.moves++) : null);
}
}
};
}
(((((_x > 600) || (_x < 0)) || (_y > 400)) || (_y < 0)) ? (_x = _parent.xz._x_parent.xz._x_y = _parent.xz._y_parent.xz._y_parent.moves--) : null);
};
this.createEmptyMovieClip("ss1", 0);
sound1 = new Sound(ss1);
sound1.attachSound("shipGo1");
Symbol 88 MovieClip Frame 1
onEnterFrame = function () {
a = 0;
while (a < (_parent.mln + 1)) {
this["ll" + a]._alpha = this["ll" + a]._alpha - 0.5;
((this["ll" + a]._alpha < 1) ? (this["ll" + a].removeMovieClip()) : null);
a++;
}
};
Symbol 132 Button
on (release) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = namnam.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = overscore;
__rankz_send__("Mjg0NWolZSVhJW4lcw==", "RmxYRVBFdE4=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
abc._visible = false;
}
Symbol 139 Button
on (release) {
sh.removeMovieClip();
gotoAndStop (2);
}