Frame 1
my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.builtInItems._quality = true;
_root.menu = my_cm;
var adbg = 0;
Stage.scaleMode = "noScale";
Stage.showMenu = false;
MochiAd.showPreGameAd({id:"83b2348de975d6c5", res:"610x370"});
Frame 2
stop();
Instance of Symbol 139 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_currentframe == 4) {
_root.gotoAndStop(4);
}
}
Frame 3
stop();
Frame 4
stop();
Frame 5
var scor = 10;
var nam = "Player";
var fir = 0;
var fir2 = 0;
var pion = 3;
var topy = 0;
var kon = 15;
var POU = 0;
var bar = 170;
var atomy = 0;
var atox = 0;
var pou = 0;
var life = 500;
var oxy = 500;
if (_root.oxy > 500) {
_root.oxy = 500;
}
if (_root.life > 500) {
_root.life = 500;
}
stop();
onEnterFrame = function () {
if (_root.POU == 0) {
if (_root.kon <= 0) {
_root.gotoAndStop(6);
stopAllSounds();
}
if (_root.life < 0) {
_root.gotoAndStop(6);
stopAllSounds();
}
if (_root.fir == 1) {
var roc = _root.attachMovie("roc", "roc" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
roc.onEnterFrame = function () {
if (roc._currentframe == 1) {
roc._x = _root.lodz._x;
roc._y = _root.lodz._y;
roc.play();
}
if (roc.hitTest(((_root.qw || (_root.qe)) || (_root.bn)) || (_root.bm))) {
roc.gotoAndStop(3);
}
if (roc._currentframe == 4) {
roc.swapDepths(5);
roc.removeMovieClip();
}
if (roc._currentframe == 2) {
roc._x = roc._x + 9;
if ((roc._x > 550) || (_root._currentframe == 6)) {
roc.swapDepths(5);
roc.removeMovieClip();
}
}
};
if (_root.fir2 == 1) {
var roc2 = _root.attachMovie("roc2", "roc2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
roc2.onEnterFrame = function () {
if (roc2._currentframe == 1) {
roc2.play();
roc2._x = _root.lodz._x;
roc2._y = _root.lodz._y;
}
if (roc2.hitTest(_root.qw || (_root.qe))) {
roc2.gotoAndPlay(8);
}
if (roc2._currentframe == 2) {
roc2._y = roc2._y - 8;
}
if (roc2._y < 180) {
if (roc2._currentframe != 9) {
roc2._y = 180;
roc2.play();
if (roc2._currentframe == 9) {
roc2.swapDepths(5);
roc2.removeMovieClip();
}
}
if (_root._currentframe == 6) {
roc2.swapDepths(5);
roc2.removeMovieClip();
}
}
};
if (random(1000) > 985) {
var mina = _root.attachMovie("mina", "mina" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
mina.onEnterFrame = function () {
if (_root.POU == 0) {
if (mina._currentframe == 1) {
if (_root.scor < 130) {
mina._x = _root.as._x;
mina._y = _root.as._y;
}
if (_root.scor > 400) {
mina._x = _root.ak._x;
mina._y = _root.ak._y;
}
if (_root.scor >= 120) {
if (_root.scor < 400) {
mina._x = _root.aj._x;
mina._y = _root.aj._y;
}
}
if (random(100) <= 30) {
if (random(100) > 0) {
mina._x = _root.ak._x;
mina._y = _root.ak._y;
}
}
mina.gotoAndStop(2);
}
if (mina._currentframe == 2) {
mina._y = mina._y + (1 + random(2));
if (mina.hitTest(_root.lodz)) {
_root.life = _root.life - 15;
mina.gotoAndStop(3);
}
}
if (((mina._currentframe == 4) || (mina._y > 400)) || (_root._currentframe == 6)) {
mina.swapDepths(5);
mina.removeMovieClip();
}
}
};
if (random(1000) > 995) {
var roket = _root.attachMovie("roket", "roket" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
roket.onEnterFrame = function () {
if (_root.POU == 0) {
if (roket._currentframe == 1) {
roket._x = _root.qw._x;
roket._y = _root.qw._y;
roket.gotoAndStop(2);
}
if (roket._currentframe == 2) {
roket._x = roket._x - (3 + random(3));
if (roket.hitTest(_root.lodz)) {
roket.gotoAndStop(3);
_root.life = _root.life - 20;
}
}
if (((roket._currentframe == 4) || (roket._x < 0)) || (_root._currentframe == 6)) {
roket.swapDepths(5);
roket.removeMovieClip();
}
}
};
if (random(1000) > 993) {
var roket2 = _root.attachMovie("roket2", "roket2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
roket2.onEnterFrame = function () {
if (_root.POU == 0) {
if (roket2._currentframe == 1) {
roket2._x = _root.qe._x;
roket2._y = _root.qe._y;
if (_root.scor > 100) {
roket2.gotoAndStop(2);
}
}
if (roket2._currentframe == 2) {
roket2._x = roket2._x - (3 + random(3));
if (roket2.hitTest(_root.lodz)) {
roket2.gotoAndStop(3);
_root.life = _root.life - 20;
}
}
if (((roket2._currentframe == 4) || (roket2._x < 0)) || (_root._currentframe == 6)) {
roket2.swapDepths(5);
roket2.removeMovieClip();
}
}
};
if (random(1000) > 990) {
if (_root._currentframe == 5) {
var airtorp = _root.attachMovie("airtorp", "airtorp" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
airtorp.onEnterFrame = function () {
if (_root.POU == 0) {
if (airtorp._currentframe == 1) {
airtorp._x = _root.plane._x;
airtorp._y = _root.plane._y;
if (_root.scor > 50) {
airtorp.gotoAndStop(2);
}
}
if (airtorp._currentframe == 2) {
airtorp._y = airtorp._y + 5;
if (airtorp._y > 180) {
airtorp._y = airtorp._y + 0.4;
airtorp._x = airtorp._x - (2 + random(3));
airtorp._rotation = 75 + random(10);
}
if (airtorp.hitTest(_root.lodz)) {
_root.life = _root.life - 15;
airtorp.gotoAndStop(3);
}
}
if ((((airtorp._currentframe == 4) || (airtorp._x < 0)) || (airtorp._y > 375)) || (_root._currentframe == 6)) {
airtorp.swapDepths(5);
airtorp.removeMovieClip();
}
if (torp.hitTest(_root.zderz)) {
var _local2 = _root.attachMovie("boomw", "boomw" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
};
boomw.onEnterFrame = function () {
if (boomw._currentframe == 1) {
boomw._y = 180;
boomw._x = torp._x;
boomw.play();
}
if ((boomw._currentframe == 8) || (_root._currentframe == 6)) {
boomw.swapDepths(5);
boomw.removeMovieClip();
}
};
if (_root._currentframe == 5) {
if (random(1000) > 990) {
var torped = _root.attachMovie("torped", "torped" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
torped.onEnterFrame = function () {
if (_root.POU == 0) {
if (torped._currentframe == 1) {
torped._x = _root.plane2._x;
torped._y = _root.plane2._y;
torped.gotoAndStop(2);
}
if (torped._currentframe == 2) {
torped._y = torped._y + 5;
if (torped._y > 180) {
torped._y = torped._y + 0.4;
torped._x = torped._x - (-2 - random(3));
torped._rotation = -75 - random(10);
}
if (torped.hitTest(_root.lodz)) {
torped.gotoAndStop(3);
_root.life = _root.life - 20;
}
}
if ((((torped._currentframe == 4) || (torped._x < 0)) || (torped._y > 375)) || (_root._currentframe == 6)) {
torped.swapDepths(5);
torped.removeMovieClip();
}
}
};
if (random(10000) > 9980) {
var rep = _root.attachMovie("rep", "rep" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
rep.onEnterFrame = function () {
if (_root.POU == 0) {
if (rep._currentframe == 1) {
rep._x = random(500);
rep._y = random(100) + 180;
rep.play();
}
if (rep._currentframe == 2) {
rep._y = rep._y + random(4);
if (rep.hitTest(_root.lodz)) {
rep.gotoAndStop(3);
_root.life = 500;
rep.swapDepths(5);
rep.removeMovieClip();
}
if ((rep._y > 380) || (_root._currentframe == 6)) {
rep.swapDepths(5);
rep.removeMovieClip();
}
}
}
};
if (random(10000) > 9930) {
var ato = _root.attachMovie("ato", "ato" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
ato.onEnterFrame = function () {
if (ato._currentframe == 1) {
ato._x = random(500);
ato._y = random(100) + 180;
ato.play();
}
if (ato._currentframe == 2) {
ato._y = ato._y + random(4);
if (ato.hitTest(_root.lodz)) {
_root.atomy = _root.atomy + 1;
ato.gotoAndStop(3);
ato.swapDepths(5);
ato.removeMovieClip();
}
if ((ato._y > 380) || (_root._currentframe == 6)) {
ato.swapDepths(5);
ato.removeMovieClip();
}
}
};
if (_root.atox == 1) {
if (_root.atomy > 0) {
var atomix = _root.attachMovie("atomix", "atomix" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
}
atomix.onEnterFrame = function () {
if (atomix._currentframe == 1) {
atomix._x = _root.lodz._x;
atomix._y = _root.lodz._y;
_root.atomy = _root.atomy - 1;
atomix.play();
}
if (atomix._currentframe == 2) {
atomix._y = atomix._y - 5;
}
if (atomix._y < 180) {
if (atomix._currentframe != 14) {
atomix._y = 180;
atomix.play();
if ((atomix._currentframe == 8) || (_root._currentframe == 6)) {
atomix.swapDepths(5);
atomix.removeMovieClip();
}
}
}
};
if (random(1000) > 800) {
var bob1 = _root.attachMovie("bob1", "bob1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
bob1.onEnterFrame = function () {
if (bob1._currentframe == 1) {
bob1._x = _root.lodz._x - 85;
bob1._y = _root.lodz._y;
bob1.play();
}
if (bob1._y < 180) {
bob1.play();
}
if (bob1._currentframe == 2) {
bob1._y = bob1._y - random(2);
}
if ((bob1._currentframe == 8) || (_root._currentframe == 6)) {
bob1.swapDepths(5);
bob1.removeMovieClip();
}
};
if (random(1000) > 820) {
var bob2 = _root.attachMovie("bob2", "bob2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
bob2.onEnterFrame = function () {
if (bob2._currentframe == 1) {
bob2._x = _root.lodz._x - 81;
bob2._y = _root.lodz._y;
bob2.play();
}
if (bob2._y < 180) {
bob2.play();
}
if (bob2._currentframe == 2) {
bob2._y = bob2._y - random(2);
}
if ((bob2._currentframe == 8) || (_root._currentframe == 6)) {
bob2.swapDepths(5);
bob2.removeMovieClip();
}
};
if (random(10000) > 9955) {
var oxyge = _root.attachMovie("oxyge", "oxyge" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
oxyge.onEnterFrame = function () {
if (oxyge._currentframe == 1) {
oxyge._x = random(500);
oxyge._y = random(100) + 180;
oxyge.play();
}
if (oxyge._currentframe == 2) {
oxyge._y = oxyge._y + random(4);
if (oxyge.hitTest(_root.lodz)) {
if (_root.oxy < 500) {
_root.oxy = 500;
}
oxyge.gotoAndStop(3);
oxyge.swapDepths(5);
oxyge.removeMovieClip();
}
if ((oxyge._y > 380) || (_root._currentframe == 6)) {
oxyge.swapDepths(5);
oxyge.removeMovieClip();
}
}
};
if (_root.fir == 1) {
var boom1 = _root.attachMovie("boom1", "boom1" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
boom1.onEnterFrame = function () {
if (boom1._currentframe == 1) {
boom1._x = _root.lodz._x;
boom1._y = _root.lodz._y;
boom1.play();
}
if (boom1._currentframe == 16) {
boom1.swapDepths(5);
boom1.removeMovieClip();
}
if ((boom1._x > 550) || (_root._currentframe == 6)) {
boom1.swapDepths(5);
boom1.removeMovieClip();
}
};
if (_root.fir2 == 1) {
var boom2 = _root.attachMovie("boom2", "boom2" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
boom2.onEnterFrame = function () {
if (boom2._currentframe == 1) {
boom2._x = _root.lodz._x;
boom2._y = _root.lodz._y;
boom2.play();
}
if (boom2._currentframe == 16) {
boom2.swapDepths(5);
boom2.removeMovieClip();
}
if ((boom2._x > 550) || (_root._currentframe == 6)) {
boom2.swapDepths(5);
boom2.removeMovieClip();
}
};
if (_root.topy == 1) {
var top = _root.attachMovie("top", "top" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
}
top.onEnterFrame = function () {
if (_root.POU == 0) {
if (top._currentframe == 1) {
top._x = _root.lodz._x;
top._y = _root.lodz._y;
top.play();
}
if (top._currentframe == 2) {
if (top._y >= 180) {
top._y = top._y - 5;
}
if (top._y < 180) {
xSpeed = 8 * Math.cos(top._rotation * (Math.PI/180));
ySpeed = 8 * Math.sin(top._rotation * (Math.PI/180));
top._y = top._y + ySpeed;
top._x = top._x + xSpeed;
if (_root.plane._y > _root.plane2._y) {
newx = _root.plane._y;
newy = _root.plane._x;
var _local3 = top._x;
var _local2 = top._y;
top._rotation = Math.atan2(newx - _local2, newy - _local3) / (Math.PI/180);
}
if (_root.plane._y < _root.plane2._y) {
newx2 = _root.plane2._y;
newy2 = _root.plane2._x;
var _local3 = top._x;
var _local2 = top._y;
top._rotation = Math.atan2(newx2 - _local2, newy2 - _local3) / (Math.PI/180);
}
if (top.hitTest(_root.plane)) {
top.play();
}
if (top.hitTest(_root.plane2)) {
top.play();
}
if (top.hitTest(_root.plane)) {
_root.plane.gotoAndStop(3);
}
if (top.hitTest(_root.plane2)) {
_root.plane2.gotoAndStop(3);
}
if (((((top._currentframe == 8) || (_root._currentframe == 6)) || (top._x > 600)) || (top._x < 0)) || (top._y < 0)) {
top.swapDepths(5);
top.removeMovieClip();
}
}
}
}
};
if ((((_currentframe == 4) || (_currentframe == 3)) || (_currentframe == 6)) || (_currentframe == 8)) {
delete _root.onEnterFrame;
}
}
};
Instance of Symbol 191 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
play();
} else {
stop();
}
}
Instance of Symbol 200 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
play();
} else {
stop();
}
}
Instance of Symbol 213 MovieClip "plane" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor > 50) {
_y = random(100);
gotoAndStop (2);
}
}
if (_currentframe == 2) {
_x = (_x - 5);
}
if ((_x < -100) || (_currentframe == 9)) {
_root.scor = _root.scor + 20;
_x = 700;
gotoAndStop (1);
}
if (_currentframe == 3) {
_y = (_y + 4);
}
if (_y > 152) {
if (_currentframe == 3) {
play();
}
}
}
}
Instance of Symbol 213 MovieClip "plane2" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor > 150) {
_y = random(100);
gotoAndStop (2);
}
}
if (_currentframe == 2) {
_x = (_x + 5);
}
if ((_x > 640) || (_currentframe == 9)) {
_root.scor = _root.scor + 20;
_x = -134;
gotoAndStop (1);
}
if (_currentframe == 3) {
_y = (_y + 4);
}
if (_y > 152) {
if (_currentframe == 3) {
play();
}
}
}
}
Instance of Symbol 216 MovieClip "op" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor > 50) {
if (random(1000) > 870) {
_y = random(100);
play();
}
}
}
if (_currentframe == 2) {
_x = (_x - 5);
}
if (_x < -100) {
_x = 744;
gotoAndStop (1);
}
}
}
Instance of Symbol 237 MovieClip "ag" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor > 260) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 2.5);
}
if (_x < -100) {
_x = 853;
_root.kon = _root.kon - 1;
gotoAndStop (1);
}
if (_currentframe == 24) {
_x = 853;
_root.scor = _root.scor + 40;
gotoAndStop (1);
}
}
}
Instance of Symbol 237 MovieClip "al" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor > 300) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 2);
}
if (_x < -100) {
_x = 1171;
_root.kon = _root.kon - 1;
gotoAndStop (1);
}
if (_currentframe == 24) {
_x = 1171;
_root.scor = _root.scor + 40;
gotoAndStop (1);
}
}
}
Instance of Symbol 250 MovieClip "aj" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (random(1000) > 500) {
if (_root.scor > 120) {
if (_root.scor < 350) {
play();
}
}
}
}
if (_currentframe != 1) {
_x = (_x - 3);
}
if (_x < -100) {
_x = 1033;
_root.kon = _root.kon - 1;
gotoAndStop (1);
}
if (_currentframe == 23) {
_x = 1033;
_root.scor = _root.scor + 30;
gotoAndStop (1);
}
if (_root.score > 400) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 250 MovieClip "ad" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (random(1000) > 750) {
if (_root.scor > 120) {
play();
}
}
}
if (_currentframe != 1) {
_x = (_x - 2.9);
}
if (_x < -100) {
_x = 753;
_root.kon = _root.kon - 1;
gotoAndStop (1);
}
if (_currentframe == 23) {
_x = 753;
_root.scor = _root.scor + 30;
gotoAndStop (1);
}
}
}
Instance of Symbol 266 MovieClip "ak" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor > 110) {
play();
}
}
if (_currentframe != 1) {
_x = (_x - 2.8);
}
if (_x < -100) {
_x = 1123;
_root.kon = _root.kon - 1;
gotoAndStop (1);
}
if (_currentframe == 22) {
_x = 1123;
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
}
}
Instance of Symbol 266 MovieClip "af" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor > 80) {
if (_root.scor < 310) {
play();
}
}
}
if (_currentframe != 1) {
_x = (_x - 2);
}
if (_x < -100) {
_x = 803;
_root.kon = _root.kon - 1;
gotoAndStop (1);
}
if (_currentframe == 22) {
_x = 803;
_root.scor = _root.scor + 20;
gotoAndStop (1);
}
if (_root.score > 320) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 279 MovieClip "ah" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor <= 120) {
if (_root.scor > 0) {
play();
}
}
}
if (_currentframe != 1) {
_x = (_x - 3);
}
if (_x < -100) {
_x = 968;
_root.kon = _root.kon - 1;
gotoAndStop (1);
}
if (_currentframe == 19) {
_x = 968;
_root.scor = _root.scor + 10;
gotoAndStop (1);
}
if (_root.score > 180) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 279 MovieClip "as" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor <= 80) {
if (_root.scor > 0) {
gotoAndStop (2);
}
}
}
if (_currentframe != 1) {
_x = (_x - 2.4);
}
if (_x < -100) {
_x = 700;
_root.kon = _root.kon - 1;
gotoAndStop (1);
}
if (_currentframe == 19) {
_x = 700;
_root.scor = _root.scor + 10;
gotoAndStop (1);
}
if (_root.score > 150) {
this.swapDepths(5);
this.removeMovieClip();
}
}
}
Instance of Symbol 292 MovieClip "qe" in Frame 5
onClipEvent (enterFrame) {
if (_x < 450) {
_x = 450;
}
if (_currentframe == 1) {
if (_root.scor > 100) {
_y = (random(150) + 180);
play();
}
}
if (_currentframe != 1) {
_x = (_x - 2);
}
if (_currentframe == 21) {
_x = 830;
_root.scor = _root.scor + 5;
gotoAndStop (1);
}
}
Instance of Symbol 299 MovieClip "bn" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor > 80) {
if (random(100) > 80) {
_y = (random(170) + 200);
gotoAndStop (2);
}
}
}
if (_currentframe == 2) {
_x = (_x - 2);
if (hitTest(_root.lodz)) {
gotoAndPlay (3);
_root.life = _root.life - 25;
}
}
if (_x < -100) {
_x = 742;
gotoAndStop (1);
}
if (_currentframe == 8) {
_x = 742;
gotoAndStop (1);
}
}
}
Instance of Symbol 299 MovieClip "bm" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_currentframe == 1) {
if (_root.scor > 100) {
_y = (random(170) + 200);
gotoAndStop (2);
}
}
if (_currentframe == 2) {
_x = (_x - 2.5);
if (hitTest(_root.lodz)) {
gotoAndPlay (3);
_root.life = _root.life - 25;
}
}
if (_x < -100) {
_x = 947;
gotoAndStop (1);
}
if (_currentframe == 8) {
_x = 947;
gotoAndStop (1);
}
}
}
Instance of Symbol 292 MovieClip "qw" in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_x < 400) {
_x = 400;
}
if (_currentframe == 1) {
if (_root.scor > 10) {
_y = (random(150) + 180);
play();
}
}
if (_currentframe != 1) {
_x = (_x - 2);
}
if (_currentframe == 21) {
_x = 714;
_root.scor = _root.scor + 5;
gotoAndStop (1);
}
}
}
Instance of Symbol 309 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (Key.isDown(67)) {
if (_currentframe == 1) {
_root.topy = 1;
play();
}
} else {
_root.topy = 0;
}
if (_currentframe != 1) {
_root.topy = 0;
}
}
}
Instance of Symbol 315 MovieClip "pause" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(80)) {
_root.POU = 1;
}
if (_root.POU == 1) {
gotoAndStop (2);
_visible = true;
}
if (_root.POU == 0) {
gotoAndStop (1);
_visible = false;
}
}
Instance of Symbol 318 MovieClip "lodz" in Frame 5
onClipEvent (load) {
x = 0.1;
}
onClipEvent (enterFrame) {
if (_root.POU == 0) {
yspeed = yspeed + 0.1;
if (Key.isDown(39)) {
if (x < 0) {
x = x + 0.22;
xspeed = x;
} else {
x = x + 0.17;
xspeed = x;
}
} else if (x > 0) {
x = x - 0.2;
}
if (Key.isDown(37)) {
if (x > 0) {
x = x - 0.22;
xspeed = x;
} else {
x = x - 0.17;
xspeed = x;
}
} else if (x < 0) {
x = x + 0.2;
}
_x = (_x + xspeed);
if (Key.isDown(40)) {
yspeed = 2.5;
} else if (Key.isDown(38)) {
yspeed = -2;
}
if (yspeed > 0) {
yspeed = yspeed - 0.05;
} else if (yspeed < 0) {
yspeed = yspeed + 0.1;
}
_y = (_y + yspeed);
if (_y < 190) {
_y = 190;
}
if (_root.oxy < 5) {
_root.life = _root.life - 1;
}
if (_y > 200) {
if (_root.oxy > 0) {
_root.oxy = _root.oxy - 0.7;
}
} else if (_root.oxy < 500) {
_root.oxy = _root.oxy + 5;
}
if (_x > 550) {
xspeed = -1;
_x = 550;
}
if (_x < 0) {
xspeed = 1;
_x = 0;
}
if (_y > 370) {
_root.life = _root.life - 30;
}
}
}
Instance of Symbol 325 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
_root.pion = 3;
if (Key.isDown(90)) {
if (_currentframe == 1) {
_root.fir = 1;
_root.pion = 3;
play();
}
} else {
_root.fir = 0;
_root.pion = 3;
}
if (_currentframe != 1) {
_root.fir = 0;
_root.pion = 3;
}
if (Key.isDown(88)) {
if (_currentframe == 1) {
_root.fir2 = 1;
_root.pion = 1;
play();
}
} else {
_root.fir2 = 0;
_root.pion = 0;
}
if (_currentframe != 1) {
if (_root.fir2 == 1) {
_root.fir2 = 0;
_root.pion = 0;
}
}
}
}
Instance of Symbol 329 MovieClip in Frame 5
onClipEvent (enterFrame) {
}
Instance of Symbol 331 MovieClip "zderz" in Frame 5
onClipEvent (enterFrame) {
_visible = false;
}
Instance of Symbol 336 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.POU == 0) {
if (_root.atomy != 0) {
_visible = true;
} else {
_visible = false;
}
if (Key.isDown(32)) {
if (_root.atomy > 0) {
if (_currentframe == 1) {
_root.atox = 1;
play();
}
}
} else {
_root.atox = 0;
}
if (_currentframe != 1) {
_root.atox = 0;
}
}
}
Instance of Symbol 363 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_currentframe == 120) {
this.swapDepths(5);
this.removeMovieClip();
}
}
Instance of Symbol 373 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.bar > 420) {
_visible = true;
play();
_root.life = _root.life - 2;
} else {
_visible = false;
gotoAndStop (1);
}
}
Instance of Symbol 390 MovieClip in Frame 5
onClipEvent (enterFrame) {
_root.bar = _root.lodz._y + 90;
_rotation = _root.bar;
}
Frame 6
stop();
Frame 7
stop();
_root.Skip = 0;
if (Skip == 1) {
_root.gotoAndStop(4);
}
Frame 8
stop();
var life = 500;
var oxy = 500;
var kon = 15;
Symbol 17 MovieClip Frame 6
stop();
Symbol 18 MovieClip [roket2] Frame 1
stop();
Symbol 18 MovieClip [roket2] Frame 2
stop();
Symbol 18 MovieClip [roket2] Frame 3
stop();
if (abi == 1) {
gotoAndStop (4);
}
Instance of Symbol 17 MovieClip in Symbol 18 MovieClip [roket2] Frame 3
onClipEvent (enterFrame) {
if (_currentframe == 6) {
abi = 1;
}
}
Symbol 18 MovieClip [roket2] Frame 4
stop();
Symbol 22 MovieClip [torped] Frame 1
stop();
Instance of Symbol 21 MovieClip in Symbol 22 MovieClip [torped] Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.as)) {
_root.as.play();
}
if (hitTest(_root.ad)) {
_root.ad.play();
}
if (hitTest(_root.af)) {
_root.af.play();
}
if (hitTest(_root.ag)) {
_root.ag.play();
}
if (hitTest(_root.ah)) {
_root.ah.play();
}
}
Symbol 22 MovieClip [torped] Frame 2
stop();
Instance of Symbol 21 MovieClip in Symbol 22 MovieClip [torped] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.ludz)) {
_root.life = _root.life - 15;
}
}
Symbol 22 MovieClip [torped] Frame 3
stop();
if (abi == 1) {
gotoAndStop (4);
}
Instance of Symbol 17 MovieClip in Symbol 22 MovieClip [torped] Frame 3
onClipEvent (enterFrame) {
if (_currentframe == 6) {
abi = 1;
}
}
Symbol 22 MovieClip [torped] Frame 4
stop();
Symbol 23 MovieClip [airtorp] Frame 1
stop();
Instance of Symbol 21 MovieClip in Symbol 23 MovieClip [airtorp] Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.as)) {
_root.as.play();
}
if (hitTest(_root.ad)) {
_root.ad.play();
}
if (hitTest(_root.af)) {
_root.af.play();
}
if (hitTest(_root.ag)) {
_root.ag.play();
}
if (hitTest(_root.ah)) {
_root.ah.play();
}
}
Symbol 23 MovieClip [airtorp] Frame 2
stop();
Instance of Symbol 21 MovieClip in Symbol 23 MovieClip [airtorp] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.ludz)) {
_root.life = _root.life - 15;
}
}
Symbol 23 MovieClip [airtorp] Frame 3
stop();
if (abi == 1) {
gotoAndStop (4);
}
Instance of Symbol 17 MovieClip in Symbol 23 MovieClip [airtorp] Frame 3
onClipEvent (enterFrame) {
if (_currentframe == 6) {
abi = 1;
}
}
Symbol 23 MovieClip [airtorp] Frame 4
stop();
Symbol 29 MovieClip [bob2] Frame 1
stop();
Symbol 29 MovieClip [bob2] Frame 2
stop();
Symbol 29 MovieClip [bob2] Frame 8
stop();
Symbol 33 MovieClip [bob1] Frame 1
stop();
Symbol 33 MovieClip [bob1] Frame 2
stop();
Symbol 33 MovieClip [bob1] Frame 8
stop();
Symbol 37 MovieClip [bob3] Frame 1
stop();
Symbol 37 MovieClip [bob3] Frame 2
stop();
Symbol 37 MovieClip [bob3] Frame 8
stop();
Symbol 51 MovieClip [top] Frame 1
stop();
Symbol 51 MovieClip [top] Frame 2
stop();
Instance of Symbol 41 MovieClip in Symbol 51 MovieClip [top] Frame 2
/* no clip actions */
Instance of Symbol 46 MovieClip in Symbol 51 MovieClip [top] Frame 2
onClipEvent (enterFrame) {
}
Symbol 51 MovieClip [top] Frame 8
stop();
Symbol 52 MovieClip [roket] Frame 1
stop();
Symbol 52 MovieClip [roket] Frame 2
stop();
Symbol 52 MovieClip [roket] Frame 3
stop();
if (abi == 1) {
gotoAndStop (4);
}
Instance of Symbol 17 MovieClip in Symbol 52 MovieClip [roket] Frame 3
onClipEvent (enterFrame) {
if (_currentframe == 6) {
abi = 1;
}
}
Symbol 52 MovieClip [roket] Frame 4
stop();
Symbol 62 MovieClip Frame 10
stop();
Symbol 63 MovieClip [atomix] Frame 1
stop();
Symbol 63 MovieClip [atomix] Frame 2
stop();
Instance of Symbol 62 MovieClip in Symbol 63 MovieClip [atomix] Frame 3
onClipEvent (enterFrame) {
if (hitTest(_root.as)) {
_root.as.gotoAndPlay(12);
_root.as._x = _root.as._x + 1;
}
if (hitTest(_root.ad)) {
_root.ad.gotoAndPlay(14);
_root.ad._x = _root.ad._x + 1;
}
if (hitTest(_root.af)) {
_root.af.gotoAndPlay(17);
_root.af._x = _root.af._x + 1;
}
if (hitTest(_root.ag)) {
_root.ag.gotoAndPlay(16);
_root.ag._x = _root.ag._x + 1;
}
if (hitTest(_root.ah)) {
_root.ah.gotoAndPlay(12);
_root.ah._x = _root.ah._x + 1;
}
if (hitTest(_root.aj)) {
_root.aj.gotoAndPlay(14);
_root.aj._x = _root.aj._x + 1;
}
if (hitTest(_root.ak)) {
_root.ak.gotoAndPlay(17);
_root.ak._x = _root.ak._x + 1;
}
if (hitTest(_root.al)) {
_root.al.gotoAndPlay(16);
_root.al._x = _root.al._x + 1;
}
}
Symbol 63 MovieClip [atomix] Frame 14
stop();
Symbol 66 MovieClip [mina] Frame 1
stop();
Symbol 66 MovieClip [mina] Frame 2
stop();
Symbol 66 MovieClip [mina] Frame 3
stop();
if (abi == 1) {
gotoAndStop (4);
}
Instance of Symbol 17 MovieClip in Symbol 66 MovieClip [mina] Frame 3
onClipEvent (enterFrame) {
if (_currentframe == 6) {
abi = 1;
}
}
Symbol 66 MovieClip [mina] Frame 4
stop();
Symbol 71 MovieClip [boom2] Frame 1
stop();
Symbol 71 MovieClip [boom2] Frame 16
stop();
Symbol 75 MovieClip [boom1] Frame 1
stop();
Symbol 75 MovieClip [boom1] Frame 16
stop();
Symbol 76 MovieClip [boomw] Frame 1
stop();
Symbol 76 MovieClip [boomw] Frame 8
stop();
Symbol 78 MovieClip [roc2] Frame 1
stop();
Symbol 78 MovieClip [roc2] Frame 2
stop();
Instance of Symbol 21 MovieClip in Symbol 78 MovieClip [roc2] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.as)) {
_root.as.play();
_root.as._x = _root.as._x + 1;
}
if (hitTest(_root.ad)) {
_root.ad.play();
_root.ad._x = _root.ad._x + 1;
}
if (hitTest(_root.af)) {
_root.af.play();
_root.af._x = _root.af._x + 1;
}
if (hitTest(_root.ag)) {
_root.ag.play();
_root.ag._x = _root.ag._x + 1;
}
if (hitTest(_root.ah)) {
_root.ah.play();
_root.ah._x = _root.ah._x + 1;
}
if (hitTest(_root.aj)) {
_root.aj.play();
_root.aj._x = _root.aj._x + 1;
}
if (hitTest(_root.ak)) {
_root.ak.play();
_root.ak._x = _root.ak._x + 1;
}
if (hitTest(_root.al)) {
_root.al.play();
_root.al._x = _root.al._x + 1;
}
if (hitTest(_root.qw)) {
_root.qw.play();
_root.qw._x = _root.qw._x + 1;
}
if (hitTest(_root.qe)) {
_root.qe.play();
_root.qe._x = _root.qe._x + 1;
}
}
Symbol 78 MovieClip [roc2] Frame 9
stop();
Symbol 80 MovieClip [roc] Frame 1
stop();
Symbol 80 MovieClip [roc] Frame 2
stop();
Instance of Symbol 7 MovieClip in Symbol 80 MovieClip [roc] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.qw)) {
_root.qw.play();
}
if (hitTest(_root.qe)) {
_root.qe.play();
}
if (hitTest(_root.bn)) {
_root.bn.play();
}
if (hitTest(_root.bm)) {
_root.bm.play();
}
}
Symbol 80 MovieClip [roc] Frame 3
stop();
stop();
if (abi == 1) {
gotoAndStop (4);
}
Instance of Symbol 17 MovieClip in Symbol 80 MovieClip [roc] Frame 3
onClipEvent (enterFrame) {
if (_currentframe == 6) {
abi = 1;
}
}
Symbol 80 MovieClip [roc] Frame 4
stop();
Symbol 84 MovieClip Frame 12
stop();
Symbol 87 MovieClip [oxyge] Frame 1
stop();
Symbol 87 MovieClip [oxyge] Frame 2
stop();
Symbol 87 MovieClip [oxyge] Frame 3
stop();
Symbol 91 MovieClip [rep] Frame 1
stop();
Symbol 91 MovieClip [rep] Frame 2
stop();
Symbol 91 MovieClip [rep] Frame 3
stop();
Symbol 95 MovieClip [ato] Frame 1
stop();
Symbol 95 MovieClip [ato] Frame 2
stop();
Symbol 95 MovieClip [ato] Frame 3
stop();
Symbol 413 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.2");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local27);
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
showPreGameAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
}
Instance of Symbol 114 MovieClip in Symbol 138 MovieClip Frame 1
on (release) {
getURL ("http://www.muchgames.com", "_blank");
}
Symbol 138 MovieClip Frame 150
stop();
_root.adbg = 1;
Instance of Symbol 102 MovieClip in Symbol 139 MovieClip Frame 1
/* no clip actions */
Symbol 139 MovieClip Frame 3
stop();
onEnterFrame = function () {
if (_root.adbg == 1) {
gotoAndStop (4);
}
};
Instance of Symbol 138 MovieClip in Symbol 139 MovieClip Frame 3
/* no clip actions */
Symbol 139 MovieClip Frame 4
stop();
Symbol 168 Button
on (release) {
stopAllSounds();
gotoAndStop (5);
}
Symbol 170 Button
on (release) {
stopAllSounds();
_root.life = 500;
_root.kon = 15;
gotoAndStop (4);
}
Symbol 172 Button
on (release) {
getURL ("http://www.muchgames.com", "_self");
}
Symbol 176 Button
on (release) {
stopAllSounds();
gotoAndStop (3);
}
Symbol 179 Button
on (release) {
getURL ("http://www.muchgames.com/highscores.php?strGame=Submarine Combat", "_self");
}
Symbol 182 Button
on (release) {
_root.gotoAndStop(7);
}
Symbol 185 Button
on (release) {
_root.gotoAndStop(3);
stopAllSounds();
}
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 7
stop();
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 2
stop();
Symbol 213 MovieClip Frame 3
stop();
Symbol 213 MovieClip Frame 9
stop();
Symbol 216 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 4
stop();
Symbol 237 MovieClip Frame 6
stop();
Symbol 237 MovieClip Frame 8
stop();
Symbol 237 MovieClip Frame 10
stop();
Symbol 237 MovieClip Frame 12
stop();
Symbol 237 MovieClip Frame 14
stop();
Symbol 237 MovieClip Frame 24
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 2
stop();
Symbol 250 MovieClip Frame 4
stop();
Symbol 250 MovieClip Frame 6
stop();
Symbol 250 MovieClip Frame 8
stop();
Symbol 250 MovieClip Frame 10
stop();
Symbol 250 MovieClip Frame 12
stop();
Symbol 250 MovieClip Frame 22
Symbol 250 MovieClip Frame 23
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 2
stop();
Symbol 266 MovieClip Frame 5
stop();
Symbol 266 MovieClip Frame 8
stop();
Symbol 266 MovieClip Frame 11
stop();
Symbol 266 MovieClip Frame 14
stop();
Symbol 266 MovieClip Frame 22
stop();
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 2
stop();
Symbol 279 MovieClip Frame 5
stop();
Symbol 279 MovieClip Frame 8
stop();
Symbol 279 MovieClip Frame 11
stop();
Symbol 279 MovieClip Frame 19
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 3
stop();
Symbol 292 MovieClip Frame 5
stop();
Symbol 292 MovieClip Frame 7
stop();
Symbol 292 MovieClip Frame 9
stop();
Symbol 292 MovieClip Frame 21
stop();
Symbol 299 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 2
stop();
Symbol 299 MovieClip Frame 8
stop();
Symbol 301 Button
on (release) {
my_sound = new Sound();
my_sound.setVolume(0);
gotoAndStop (2);
}
Symbol 303 Button
on (release) {
my_sound = new Sound();
my_sound.setVolume(100);
gotoAndStop (1);
}
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 2
stop();
Symbol 309 MovieClip Frame 1
stop();
Symbol 312 Button
on (release) {
_root.POU = 0;
}
Symbol 315 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 2
stop();
Symbol 325 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 120
stop();
Symbol 373 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 1
stop();
Instance of Symbol 376 MovieClip in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.life * 0.4);
}
Symbol 385 MovieClip Frame 1
stop();
Instance of Symbol 376 MovieClip in Symbol 385 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.oxy * 0.4);
}
Instance of Symbol 384 MovieClip in Symbol 385 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.oxy < 5) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 398 Button
on (release) {
gotoAndStop (8);
}
Symbol 404 MovieClip Frame 855
stop();
_root.Skip = 1;
Symbol 406 Button
on (release) {
stopAllSounds();
_root.gotoAndStop(4);
}
Symbol 408 Button
on (release) {
var my_lv = new LoadVars();
my_lv.strGame = "Submarine Combat";
my_lv.strName = _root.nam;
my_lv.fltScore = _root.scor;
my_lv.send("http://www.muchgames.com/requestHighScore.php", "_blank", "POST");
}