Frame 1
bgSound = new Sound(this);
bgSound.attachSound("sound1");
bgSound.start(0, 99);
function itemHandler1(obj, item) {
getURL ("");
}
function itemHandler1(obj, item) {
getURL ("http://omglaserspewpew.com/");
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem("Visit OMG LASERS PEWPEW.com", itemHandler1);
myMenu.customItems.push(item1);
myMenu.customItems.push(new ContextMenuItem("", itemHandler1));
_root.menu = myMenu;
Frame 2
stop();
Frame 3
stop();
Instance of Symbol 37 MovieClip "ocean" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player.ship.water._alpha = 100;
}
}
Frame 4
score = 0;
stop();
Instance of Symbol 37 MovieClip "ocean" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player.ship.water._alpha = 100;
}
}
Instance of Symbol 55 MovieClip "player" in Frame 4
onClipEvent (load) {
y_start = _y;
jumping = false;
jumpspeed = 0;
}
onClipEvent (enterFrame) {
if (jumping) {
_y = (_y + jumpspeed);
jumpspeed = jumpspeed + 1;
if (_y >= y_start) {
_y = y_start;
jumping = false;
}
} else {
jumping = false;
jumpspeed = speed;
}
}
Instance of Symbol 73 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit)) {
_root.gotoAndPlay("dead");
}
}
Instance of Symbol 88 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player._y = _root.player._y + 9;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rod)) {
_root.rod._y = _root.rod._y + 9;
}
}
Instance of Symbol 98 MovieClip "rod" in Frame 4
onClipEvent (load) {
y_start = _y;
jumping = false;
jumpspeed = 0;
}
onClipEvent (enterFrame) {
if (jumping) {
_y = (_y + jumpspeed);
jumpspeed = jumpspeed + 1;
if (_y >= y_start) {
_y = y_start;
jumping = false;
}
} else {
jumping = false;
jumpspeed = speed;
}
}
Instance of Symbol 105 MovieClip "plane" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit)) {
_root.gotoAndPlay("aeroplane");
}
}
Instance of Symbol 111 MovieClip "box" in Frame 4
onClipEvent (enterFrame) {
this._x = this._x + 5;
if (this.hitTest(_root.player)) {
_root.score = _root.score + 50;
this.play();
}
}
Instance of Symbol 113 MovieClip "bound" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.box)) {
_root.box._x = -375.2;
_root.box._y = 330.3;
}
}
Frame 5
stop();
Instance of Symbol 37 MovieClip "ocean" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player.ship.water._alpha = 100;
}
}
Frame 6
_root.bound.gotoAndStop("stops");
Instance of Symbol 37 MovieClip "ocean" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player.ship.water._alpha = 100;
}
}
Instance of Symbol 55 MovieClip "player" in Frame 6
onClipEvent (load) {
y_start = _y;
jumping = false;
jumpspeed = 0;
}
onClipEvent (enterFrame) {
if (jumping) {
_y = (_y + jumpspeed);
jumpspeed = jumpspeed + 1;
if (_y >= y_start) {
_y = y_start;
jumping = false;
}
} else {
jumping = false;
jumpspeed = speed;
}
}
Instance of Symbol 55 MovieClip "player" in Frame 12
onClipEvent (load) {
y_start = _y;
jumping = false;
jumpspeed = 0;
}
onClipEvent (enterFrame) {
if (jumping) {
_y = (_y + jumpspeed);
jumpspeed = jumpspeed + 1;
if (_y >= y_start) {
_y = y_start;
jumping = false;
}
} else {
jumping = false;
jumpspeed = speed;
}
}
Frame 26
stop();
Instance of Symbol 14 MovieClip [GG strew v2] in Frame 26
//component parameters
onClipEvent (construct) {
gs = "fire";
gfo = 3;
gg = 0;
gro = 0;
gso = 0;
gv = 1;
gpt = "_root";
gpx = 319;
gpy = 236;
gq = 10;
gra = 0;
grs = 0;
gst = "point";
}
Instance of Symbol 105 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.gotoAndPlay("aeropalane");
}
}
Frame 111
stop();
Frame 112
_root.name = Unknown;
stop();
Frame 113
ab20_09 = new LoadVars();
ab20_09.z = _root.name;
ab20_09.x = score;
ab20_09.c = 1195;
ab20_09.v = "OLGGHR";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
Symbol 4 MovieClip Frame 22
stop();
Symbol 6 MovieClip [fire] Frame 56
stop();
Symbol 10 MovieClip [ice] Frame 1
stop();
Symbol 10 MovieClip [ice] Frame 2
stop();
Symbol 10 MovieClip [ice] Frame 3
stop();
Symbol 14 MovieClip [GG strew v2] Frame 1
function GG_sobj() {
a = (random(gv) * 2) - gv;
b = random(360);
c = (gro / 2) - random(gro);
if (b == 0) {
b++;
}
this.gv = 0;
this.ro = c;
if (gst == "stage top") {
this.xv = 0;
this.yv = gv;
} else if (gst == "stage bottom") {
this.xv = 0;
this.yv = -gv;
} else if (gst == "stage left") {
this.xv = gv;
this.yv = 0;
} else if (gst == "stage right") {
this.xv = -gv;
this.yv = 0;
} else {
this.xv = (a * Math.cos(b)) + random(gg);
this.yv = (a * Math.sin(b)) + random(gg);
}
this.xv = this.xv + (random(gv) - (gv / 2));
this.yv = this.yv + (random(gv) - (gv / 2));
this.init();
}
function GG_tobj() {
this.init();
}
function gps(a) {
if (a == 1) {
onEnterFrame = function () {
newObj = new GG_sobj();
};
} else if (a == 2) {
onMouseMove = function () {
newObj = new GG_sobj();
};
} else if (a == 3) {
onMouseDown = function () {
if (gq <= 0) {
onEnterFrame = function () {
newObj = new GG_sobj();
};
} else {
i = 1;
while (i <= gq) {
newObj = new GG_sobj();
i++;
}
}
};
onMouseUp = function () {
delete onEnterFrame;
};
} else if (a == 4) {
onEnterFrame = function () {
newObj = new GG_sobj();
};
} else if (a == 5) {
onEnterFrame = function () {
var _local1 = 1;
while (_local1 <= gq) {
newObj = new GG_tobj();
_local1++;
}
delete onEnterFrame;
};
} else {
onEnterFrame = function () {
var _local1 = 1;
while (_local1 <= gq) {
newObj = new GG_sobj();
_local1++;
}
delete onEnterFrame;
};
}
}
var gd = 0;
var gsw = Stage.width;
var gsh = Stage.height;
var gs_objs = new Array();
gs_mc._x = 0;
gs_mc._y = 0;
switch (gst) {
case "mouse" :
gps(1);
break;
case "mouse move" :
gps(2);
break;
case "mouse click" :
gps(3);
break;
case "point" :
gps(4);
break;
case "stage" :
gps(5);
break;
case "stage top" :
gps(6);
break;
case "stage bottom" :
gps(7);
break;
case "stage left" :
gps(8);
break;
case "stage right" :
gps(9);
break;
default :
trace("undefined");
}
GG_sobj.prototype.init = function () {
gd++;
this.obj_mc = _parent.attachMovie(gs, "gs_" + gd, _parent.getNextHighestDepth());
this.obj_mc.obj = this;
this.obj_mc._xscale = (this.obj_mc._yscale = this.obj_mc._yscale + random(grs));
this.obj_mc._alpha = 100 - random(gra);
if (((gst == "mouse") || (gst == "mouse move")) || (gst == "mouse click")) {
this.obj_mc._x = _xmouse + _x;
this.obj_mc._y = _ymouse + _y;
this.obj_mc.onEnterFrame = function () {
this.obj.gv = this.obj.gv + gg;
this._y = this._y + (this.obj.yv + this.obj.gv);
this._x = this._x + this.obj.xv;
this._alpha = this._alpha - gfo;
this._xscale = (this._yscale = this._yscale + gso);
this._rotation = this._rotation + this.obj.ro;
if ((((this._y >= (Stage.height + this._height)) || (this._alpha <= 1)) || (this._xscale <= 0)) || (this._yscale <= 0)) {
delete this.obj;
removeMovieClip(this);
}
};
} else if (gst == "point") {
this.obj_mc._x = _parent[gpt]._x + gpx;
this.obj_mc._y = _parent[gpt]._y + gpy;
this.obj_mc.onEnterFrame = function () {
this.obj.gv = this.obj.gv + gg;
this._y = this._y + (this.obj.yv + this.obj.gv);
this._x = this._x + this.obj.xv;
this._alpha = this._alpha - gfo;
this._xscale = (this._yscale = this._yscale + gso);
this._rotation = this._rotation + this.obj.ro;
if ((((this._y >= (Stage.height + this._height)) || (this._alpha <= 1)) || (this._xscale <= 0)) || (this._yscale <= 0)) {
delete this.obj;
removeMovieClip(this);
}
};
} else {
this.obj_mc._x = random(gsw);
this.obj_mc._y = random(gsh);
this.obj_mc.onEnterFrame = function () {
this.obj.gv = this.obj.gv + gg;
this._y = this._y + this.obj.yv;
this._x = this._x + this.obj.xv;
this._alpha = this._alpha - gfo;
if ((this._xscale >= 1) && (this._yscale >= 1)) {
this._xscale = (this._yscale = this._yscale + gso);
}
this._rotation = this._rotation + this.obj.ro;
if ((((this._x < (-this._width)) || (this._x > (gsw + this._width))) || (this._y < (-this._height))) || (this._y > (gsh + this._height))) {
if (gst == "stage top") {
this._x = random(gsw);
this._y = -this._height;
}
if (gst == "stage bottom") {
this._x = random(gsw);
this._y = gsh + this._height;
}
if (gst == "stage left") {
this._x = -this._width;
this._y = random(gsh);
}
if (gst == "stage right") {
this._x = gsw + this._width;
this._y = random(gsh);
}
this._alpha = 100 - random(gra);
this._xscale = (this._yscale = 100 + random(grs));
}
};
}
};
GG_tobj.prototype.init = function () {
gd++;
this.obj_mc = _parent.attachMovie(gs, "gs_obj_" + gd, _parent.getNextHighestDepth());
this.obj_mc.obj = this;
this.obj_mc._x = random(gsw) - _parent._x;
this.obj_mc._y = random(gsh) - _parent._y;
this.obj_mc._xscale = (this.obj_mc._yscale = this.obj_mc._yscale + random(grs));
this.obj_mc._alpha = 100 - random(gra);
this.obj_mc.onEnterFrame = function () {
this._alpha = this._alpha - gfo;
this._xscale = (this._yscale = this._yscale + gso);
this._rotation = this._rotation + gro;
if (this._alpha <= 1) {
this._alpha = random(100);
this._xscale = (this._yscale = 100);
this._x = random(gsw) - _parent._x;
this._y = random(gsh) - _parent._y;
}
};
};
Symbol 29 Button
on (release) {
getURL ("http://omglaserspewpew.com", "blank");
}
Symbol 33 Button
on (release) {
_root.play();
}
Symbol 34 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 34 MovieClip Frame 2
gotoAndPlay (1);
Symbol 61 Button
on (press) {
_root.gotoAndStop("game");
}
Symbol 66 Button
on (press) {
_root.credits.play();
}
Symbol 68 MovieClip Frame 1
stop();
Symbol 72 Button
on (press) {
_root.gotoAndStop("controls");
}
Instance of Symbol 10 MovieClip [ice] in Symbol 73 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(6));
}
Symbol 76 MovieClip Frame 1
stop();
Instance of Symbol 75 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.score = _root.score + 1;
}
Symbol 86 Button
on (press) {
_root.player.jumping = true;
_root.player.jumpspeed = -9;
}
on (press) {
_root.player.ship.water._alpha = 0;
_root.rod._alpha = 100;
}
on (press) {
_root.rod.jumping = true;
_root.rod.jumpspeed = -9;
}
Instance of Symbol 94 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player.ship.water._alpha = 100;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ocean)) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Symbol 111 MovieClip Frame 1
stop();
Symbol 119 Button
on (press) {
_root.gotoAndStop("menu");
}
Symbol 133 MovieClip Frame 12
stop();
Symbol 138 Button
on (press) {
_root.gotoAndStop("game");
}
Symbol 141 Button
on (press) {
_root.gotoAndStop("menu");
}
Symbol 147 Button
on (press) {
_root.gotoAndStop("submit");
}
Symbol 161 Button
on (release) {
nextFrame();
}
Symbol 171 Button
on (press) {
_root.gotoAndStop("menu");
}
Symbol 175 Button
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=1195", "blank");
}