Frame 1
stop();
Frame 3
stop();
Mouse.show();
_quality = "high";
Instance of Symbol 179 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._x = (0.2 * (-_root._xmouse)) + 500;
this._y = (0.2 * (-_root._ymouse)) + 430;
}
Instance of Symbol 182 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._x = (0.1 * _root._xmouse) + 400;
this._y = (0.1 * _root._ymouse) + 300;
}
Instance of Symbol 186 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._x = (0.2 * (-_root._xmouse)) + 500;
this._y = (0.2 * (-_root._ymouse)) + 430;
}
Instance of Symbol 189 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._x = this._x - 1;
}
Instance of Symbol 223 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._x = (2 * _root._xmouse) + 1000;
}
Instance of Symbol 227 MovieClip in Frame 3
on (release) {
getURL ("http://www.funny-games.biz/main.html");
}
Frame 63
stop();
Instance of Symbol 179 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._x = (0.2 * (-_root._xmouse)) + 500;
this._y = (0.2 * (-_root._ymouse)) + 430;
}
Instance of Symbol 182 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._x = (0.1 * _root._xmouse) + 400;
this._y = (0.1 * _root._ymouse) + 300;
}
Instance of Symbol 186 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._x = (0.2 * (-_root._xmouse)) + 500;
this._y = (0.2 * (-_root._ymouse)) + 430;
}
Instance of Symbol 189 MovieClip in Frame 63
onClipEvent (enterFrame) {
this._x = this._x - 1;
}
Frame 133
trace(_root.sandbox);
Mouse.hide();
function achievement(index) {
if (index == 1) {
if (achievementFound1 != true) {
ap = ap + 10;
this.attachMovie("achievement", "achievements", 2, {_x:420, _y:520});
achievements.heading = "Protector";
achievements.description = "Protect the target for 50 seconds.";
achievements.points = 10;
achievements.play();
achievementFound1 = true;
so.data.af1 = true;
}
}
if (index == 2) {
if (achievementFound1 != true) {
ap = ap + 10;
this.attachMovie("achievement", "achievements", 2, {_x:420, _y:520});
achievements.heading = "40mm Expert";
achievements.description = "Protect the target for 50 seconds.";
achievements.points = 10;
achievements.play();
achievementFound1 = true;
so.data.af1 = true;
}
}
kongregate.stats.submit("ap", ap);
so.data.ap = ap;
so.flush();
}
sounds.gotoAndPlay("intro");
stop();
score = 0;
function damage(dmg) {
cur = _root.chopperHP._currentframe;
Math.floor(dmg);
_root.chopperHP.gotoAndStop(cur + dmg);
if (_root.chopperHP._currentframe > 300) {
_root.airstrike.air2.bg.chopper.expode.play();
}
}
function scorepts(amt) {
q++;
_root.score = _root.score + amt;
attachMovie("100pts", "score" + q, q, {_x:700, _y:100});
}
function spawnRandom() {
i++;
var _local3 = _root.airstrike.air2.bg.attachMovie("FootUnit", "targ" + i, i, {_x:-3000 + random(6000), _y:-2000 + random(4000)});
if (_local3.hitTest(_root.airstrike.air2.bg.chopper)) {
_local3.removeMovieClip();
}
_local3.swapDepths(_root.airstrike.air2.bg.tree1);
_local3.swapDepths(_root.airstrike.air2.bg.tree2);
_local3.swapDepths(_root.airstrike.air2.bg.tree3);
_local3.swapDepths(_root.airstrike.air2.bg.tree4);
_local3.gotoAndPlay(random(35));
_local3.adv = 2;
_local3.force = 0;
_local3.xDiff = _root.airstrike.air2.bg.chopper._x - _local3._x;
_local3.yDiff = _root.airstrike.air2.bg.chopper._y - _local3._y;
_local3.angle = Math.atan2(_local3.yDiff, _local3.xDiff);
_local3.degrees = ((360 * _local3.angle) / (Math.PI*2)) - 180;
_local3._rotation = _local3.degrees;
_local3.xMov = Math.cos(_local3.angle);
_local3.yMov = Math.sin(_local3.angle);
_local3.onEnterFrame = function () {
if (this._currentframe != 36) {
if (!this.hitTest(_root.airstrike.air2.bg.chopper.hitBox2)) {
this._x = this._x + this.xMov;
this._y = this._y + this.yMov;
} else {
this.gotoAndStop("attack");
}
} else {
this._x = this._x + ((this.xMov * this.adv) * this.force);
this._y = this._y + ((this.yMov * this.adv) * this.force);
this._rotation = this._rotation + (this.force * 2);
if (this.force > 0) {
this.force = this.force - 0.15;
} else {
this.force = 0;
}
}
};
if (sandbox == false) {
if (random(200) == 5) {
if (_root.flare._currentframe == 1) {
_root.flare.gotoAndStop(2);
}
}
}
}
function spawnNorth() {
i++;
var _local3 = _root.airstrike.air2.bg.attachMovie("FootUnit", "targ" + i, i, {_x:(_root.airstrike.air2.bg.spawnNorth._x - 1000) + random(2000), _y:_root.airstrike.air2.bg.spawnNorth._y});
_local3.swapDepths(_root.airstrike.air2.bg.tree1);
_local3.swapDepths(_root.airstrike.air2.bg.tree2);
_local3.swapDepths(_root.airstrike.air2.bg.tree3);
_local3.swapDepths(_root.airstrike.air2.bg.tree4);
_local3.gotoAndPlay(random(35));
_local3.adv = 2;
_local3.force = 0;
_local3.xDiff = _root.airstrike.air2.bg.chopper._x - _local3._x;
_local3.yDiff = _root.airstrike.air2.bg.chopper._y - _local3._y;
_local3.angle = Math.atan2(_local3.yDiff, _local3.xDiff);
_local3.degrees = ((360 * _local3.angle) / (Math.PI*2)) - 180;
_local3._rotation = _local3.degrees;
_local3.xMov = Math.cos(_local3.angle);
_local3.yMov = Math.sin(_local3.angle);
_local3.onEnterFrame = function () {
if (this._currentframe != 36) {
if (!this.hitTest(_root.airstrike.air2.bg.chopper.hitBox2)) {
this._x = this._x + this.xMov;
this._y = this._y + this.yMov;
} else {
this.gotoAndStop("attack");
}
} else {
this._x = this._x + ((this.xMov * this.adv) * this.force);
this._y = this._y + ((this.yMov * this.adv) * this.force);
this._rotation = this._rotation + (this.force * 2);
if (this.force > 0) {
this.force = this.force - 0.15;
} else {
this.force = 0;
}
}
};
}
function spawnTruck(spawnZone) {
if (spawnZone == 1) {
i++;
var _local3 = _root.airstrike.air2.bg.attachMovie("TruckUnit", "targ" + i, i, {_x:_root.airstrike.air2.bg.spawnTruckSE._x, _y:_root.airstrike.air2.bg.spawnTruckSE._y});
_local3.swapDepths(_root.airstrike.air2.bg.tree1);
_local3.swapDepths(_root.airstrike.air2.bg.tree2);
_local3.swapDepths(_root.airstrike.air2.bg.tree3);
_local3.swapDepths(_root.airstrike.air2.bg.tree4);
_local3.adv = 2;
_local3.force = 0;
_local3.xDiff = _root.airstrike.air2.bg.chopper._x - _local3._x;
_local3.yDiff = _root.airstrike.air2.bg.chopper._y - _local3._y;
_local3.angle = Math.atan2(_local3.yDiff, _local3.xDiff);
_local3.degrees = ((360 * _local3.angle) / (Math.PI*2)) - 180;
_local3._rotation = _local3.degrees;
_local3.xMov = Math.cos(_local3.angle) * 3;
_local3.yMov = Math.sin(_local3.angle) * 3;
_local3.onEnterFrame = function () {
if (this.counter.f > 500) {
this.removeMovieClip();
}
if (this._currentframe <= 2) {
if (!this.hitTest(_root.airstrike.air2.bg.chopper.hitBox2)) {
this._x = this._x + this.xMov;
this._y = this._y + this.yMov;
} else {
this.gotoAndStop("attack");
}
} else {
this._x = this._x + (((this.xMov * this.adv) * this.force) / 2);
this._y = this._y + (((this.yMov * this.adv) * this.force) / 2);
if (this.force > 0) {
this.force = this.force - 0.15;
} else {
this.force = 0;
}
}
};
}
if (spawnZone == 2) {
i++;
var _local3 = _root.airstrike.air2.bg.attachMovie("TruckUnit", "targ" + i, i, {_x:_root.airstrike.air2.bg.spawnTruckW._x, _y:_root.airstrike.air2.bg.spawnTruckW._y});
_local3.swapDepths(_root.airstrike.air2.bg.tree1);
_local3.swapDepths(_root.airstrike.air2.bg.tree2);
_local3.swapDepths(_root.airstrike.air2.bg.tree3);
_local3.swapDepths(_root.airstrike.air2.bg.tree4);
_local3.adv = 2;
_local3.force = 0;
_local3.xDiff = _root.airstrike.air2.bg.chopper._x - _local3._x;
_local3.yDiff = _root.airstrike.air2.bg.chopper._y - _local3._y;
_local3.angle = Math.atan2(_local3.yDiff, _local3.xDiff);
_local3.degrees = ((360 * _local3.angle) / (Math.PI*2)) - 180;
_local3._rotation = _local3.degrees;
_local3.xMov = Math.cos(_local3.angle) * 3;
_local3.yMov = Math.sin(_local3.angle) * 3;
_local3.onEnterFrame = function () {
if (this.counter.f > 500) {
this.removeMovieClip();
}
if (this._currentframe <= 2) {
if (!this.hitTest(_root.airstrike.air2.bg.chopper.hitBox2)) {
this._x = this._x + this.xMov;
this._y = this._y + this.yMov;
} else {
this.gotoAndStop("attack");
}
} else {
this._x = this._x + (((this.xMov * this.adv) * this.force) / 2);
this._y = this._y + (((this.yMov * this.adv) * this.force) / 2);
if (this.force > 0) {
this.force = this.force - 0.15;
} else {
this.force = 0;
}
}
};
}
if (spawnZone == 3) {
i++;
var _local3 = _root.airstrike.air2.bg.attachMovie("TruckUnit", "targ" + i, i, {_x:_root.airstrike.air2.bg.spawnTruckNE._x, _y:_root.airstrike.air2.bg.spawnTruckNE._y});
_local3.swapDepths(_root.airstrike.air2.bg.tree1);
_local3.swapDepths(_root.airstrike.air2.bg.tree2);
_local3.swapDepths(_root.airstrike.air2.bg.tree3);
_local3.swapDepths(_root.airstrike.air2.bg.tree4);
_local3.adv = 2;
_local3.force = 0;
_local3.xDiff = _root.airstrike.air2.bg.chopper._x - _local3._x;
_local3.yDiff = _root.airstrike.air2.bg.chopper._y - _local3._y;
_local3.angle = Math.atan2(_local3.yDiff, _local3.xDiff);
_local3.degrees = ((360 * _local3.angle) / (Math.PI*2)) - 180;
_local3._rotation = _local3.degrees;
_local3.xMov = Math.cos(_local3.angle) * 3;
_local3.yMov = Math.sin(_local3.angle) * 3;
_local3.onEnterFrame = function () {
if (this.counter.f > 500) {
this.removeMovieClip();
}
if (this._currentframe <= 2) {
if (!this.hitTest(_root.airstrike.air2.bg.chopper.hitBox2)) {
this._x = this._x + this.xMov;
this._y = this._y + this.yMov;
} else {
this.gotoAndStop("attack");
}
} else {
this._x = this._x + (((this.xMov * this.adv) * this.force) / 2);
this._y = this._y + (((this.yMov * this.adv) * this.force) / 2);
if (this.force > 0) {
this.force = this.force - 0.15;
} else {
this.force = 0;
}
}
};
}
}
function spawnFromTruck(truck) {
i++;
var _local3 = _root.airstrike.air2.bg.attachMovie("FootUnit", "targ" + i, i, {_x:truck._x + random(120), _y:truck._y + random(120)});
_local3.swapDepths(truck);
_local3.swapDepths(_root.airstrike.air2.bg.tree1);
_local3.swapDepths(_root.airstrike.air2.bg.tree2);
_local3.swapDepths(_root.airstrike.air2.bg.tree3);
_local3.swapDepths(_root.airstrike.air2.bg.tree4);
_local3.adv = 2;
_local3.force = 0;
_local3.xDiff = _root.airstrike.air2.bg.chopper._x - _local3._x;
_local3.yDiff = _root.airstrike.air2.bg.chopper._y - _local3._y;
_local3.angle = Math.atan2(_local3.yDiff, _local3.xDiff);
_local3.degrees = ((360 * _local3.angle) / (Math.PI*2)) - 180;
_local3._rotation = _local3.degrees;
_local3.xMov = Math.cos(_local3.angle);
_local3.yMov = Math.sin(_local3.angle);
_local3.onEnterFrame = function () {
if (this._currentframe < 36) {
if (!this.hitTest(_root.airstrike.air2.bg.chopper.hitBox2)) {
this._x = this._x + this.xMov;
this._y = this._y + this.yMov;
} else {
this.gotoAndStop("attack");
}
} else {
this._x = this._x + ((this.xMov * this.adv) * this.force);
this._y = this._y + ((this.yMov * this.adv) * this.force);
if (this.force > 0) {
this.force = this.force - 0.15;
} else {
this.force = 0;
}
}
};
}
i = 0;
q = 0;
_quality = "low";
Mouse.hide();
attack = 2;
si = 0;
seconds = 0;
minutes = 0;
realSec = 0;
di = 0;
if (difficulty == 0) {
spawnInterval = 88;
}
if (difficulty == 1) {
spawnInterval = 69;
}
if (difficulty == 3) {
spawnInterval = 45;
}
_root.createEmptyMovieClip("movFrameRate", 100);
_root.movFrameRate.onEnterFrame = function () {
this.t = getTimer();
this.frameRate = Math.round(1000 / (this.t - this.o));
this.o = this.t;
_root.fpsD = "FPS: " + this.frameRate;
};
this.onEnterFrame = function () {
if (sandbox == false) {
si++;
di++;
if (di >= 30) {
realSec = realSec + 1;
di = 0;
}
if (realSec == 120) {
if (sandbox == false) {
_root.sounds.gotoAndPlay("three");
}
}
if (realSec == 280) {
if (sandbox == false) {
_root.sounds.gotoAndPlay("holdoff");
}
}
if (realSec == 400) {
if (sandbox == false) {
_root.airstrike.air2.bg.win1.play();
}
}
if (si >= spawnInterval) {
seconds = seconds + 1;
rand = random(50);
if (rand == 2) {
if (_root.sounds._currentframe == 1) {
_root.sounds.gotoAndPlay("rand1");
}
}
if (rand == 3) {
if (_root.sounds._currentframe == 1) {
_root.sounds.gotoAndPlay("rand2");
}
}
if (seconds > 10) {
spawnRandom();
si = 0;
if (seconds == 60) {
if (random(2) == 1) {
_root.sounds.gotoAndPlay("getthem");
}
minutes = minutes + 1;
spawnInterval = spawnInterval / 1.2;
seconds = 0;
}
if (minutes > 1) {
if (random(60) == 5) {
spawnTruck(random(2) + 1);
}
}
if (minutes > 1) {
if (random(60) == 5) {
g = 0;
while (g < 12) {
spawnNorth();
g++;
}
}
}
}
}
}
};
Instance of Symbol 309 MovieClip "airstrike" in Frame 133
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
this.crosshair.gotoAndStop(2);
this.air2.offsetx = -600;
this.air2.offsety = -150;
_root.attack = 1;
this.air2.offsetAMT = 0.8;
this.air2._xscale = 200;
this.air2._yscale = 200;
}
if (Key.isDown(50)) {
this.crosshair.gotoAndStop(1);
this.air2.offsetx = 0;
this.air2.offsety = 0;
this.air2.offsetAMT = 0.4;
_root.attack = 2;
this.air2._xscale = 100;
this.air2._yscale = 100;
}
if (Key.isDown(51)) {
this.crosshair.gotoAndStop(3);
this.air2.offsetx = 0;
this.air2.offsety = 0;
this.air2.offsetAMT = 0.4;
_root.attack = 3;
this.air2._xscale = 100;
this.air2._yscale = 100;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(17)) {
if (_root.sandbox == true) {
_root.airstrike.air2.bg.win1.play();
}
}
}
Instance of Symbol 317 MovieClip in Frame 133
onClipEvent (load) {
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
this.gotoAndStop(1);
}
if (Key.isDown(50)) {
this.gotoAndStop(2);
}
if (Key.isDown(51)) {
this.gotoAndStop(3);
}
}
Instance of Symbol 319 MovieClip in Frame 133
onClipEvent (enterFrame) {
if (_root.sandbox == true) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 381 MovieClip "chopperHP" in Frame 133
onClipEvent (enterFrame) {
if (_root.sandbox == true) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 469 MovieClip in Frame 133
onClipEvent (load) {
if (_root.sandbox == false) {
this._visible = false;
} else {
this._visible = true;
}
}
Frame 134
stopAllSounds();
Mouse.show();
_quality = "high";
Frame 304
stop();
Instance of Symbol 470 MovieClip in Frame 304
onClipEvent (mouseDown) {
_root.gotoAndStop("mm");
}
Instance of Symbol 227 MovieClip in Frame 304
on (release) {
getURL ("http://www.funny-games.biz/main.html");
}
Instance of Symbol 139 MovieClip [ChopperC] in Frame 304
onClipEvent (mouseDown) {
_root.gotoAndPlay("mm");
}
Instance of Symbol 489 MovieClip "crosshair" in Frame 305
onClipEvent (enterFrame) {
this._x = _root._xmouse - 250;
this._y = _root._ymouse;
}
Instance of Symbol 495 MovieClip in Frame 408
onClipEvent (mouseDown) {
down = true;
}
onClipEvent (mouseUp) {
down = false;
}
onClipEvent (enterFrame) {
if (down == true) {
this.play();
}
}
Instance of Symbol 489 MovieClip "crosshair" in Frame 408
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
this._x = _root._xmouse - 250;
this._y = _root._ymouse;
}
onClipEvent (mouseDown) {
down = true;
}
onClipEvent (mouseUp) {
down = false;
}
onClipEvent (enterFrame) {
if (down == true) {
i++;
_root.attachMovie("HeliCopterMinigun", "chop" + i, i, {_x:_root._xmouse + random(50), _y:_root._ymouse + random(30)});
this.play();
}
}
Frame 854
stop();
Instance of Symbol 470 MovieClip in Frame 854
onClipEvent (mouseDown) {
_root.gotoAndStop("mm");
}
Instance of Symbol 227 MovieClip in Frame 854
on (release) {
getURL ("http://www.funny-games.biz/main.html");
}
Instance of Symbol 9 MovieClip in Symbol 17 MovieClip [achievement] Frame 167
onClipEvent (enterFrame) {
_parent._alpha = _parent._alpha - 5;
}
Symbol 17 MovieClip [achievement] Frame 213
this.removeMovieClip();
Instance of Symbol 9 MovieClip in Symbol 17 MovieClip [achievement] Frame 213
onClipEvent (enterFrame) {
_root.achievement._alpha = _root.achievement._alpha - 5;
}
Instance of Symbol 29 MovieClip in Symbol 36 MovieClip [HeliCopterMinigun] Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.airstrikeboss.air2.boss)) {
_root.hit.gotoAndPlay(1);
_root.bossHP = _root.bossHP - 1;
if (_root.bossHP <= 0) {
if (_root.airstrikeboss.air2.boss._currentframe < 65) {
_root.airstrikeboss.air2.boss.gotoAndPlay("death");
}
}
_root.buffer++;
if (random(4) == 2) {
var Blood = _root.airstrikeboss.air2.attachMovie("Blood", "bullet" + c, _root.buffer, {_x:(_root.airstrikeboss.air2.boss._x - 0) + random(120), _y:(_root.airstrikeboss.air2.boss._y - 225) + random(200)});
Blood._xscale = random(100);
Blood._yscale = random(100);
Blood._rotation = -20 + random(40);
Blood._alpha = random(100);
}
}
}
Instance of Symbol 33 MovieClip "htiBox" in Symbol 36 MovieClip [HeliCopterMinigun] Frame 8
onClipEvent (load) {
i = 1;
while (i < 1000) {
if (this.hitTest(_root.airstrike.air2.bg["targ" + i])) {
_root.airstrike.air2.bg["targ" + i].gotoAndStop("dead");
if (_root.airstrike.air2.bg["targ" + i]._currentframe < 36) {
_root.airstrike.air2.bg["targ" + i]._rotation = _root.airstrike.air2.bg["targ" + i]._rotation + (-40 + random(80));
}
}
i++;
}
if (this.hitTest(_root.airstrike.air2.bg.chopper.hitBox)) {
_root.damage(1 * _root.difficulty);
rand = random(100);
if (rand == 1) {
_root.sounds.gotoAndPlay("Friendly_Fire3");
}
if (rand == 2) {
_root.sounds.gotoAndPlay("Friendly_Fire2");
}
}
}
Symbol 36 MovieClip [HeliCopterMinigun] Frame 14
this.removeMovieClip();
Instance of Symbol 39 MovieClip in Symbol 40 MovieClip [AC130HitMinigun] Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.airstrikeboss.air2.boss)) {
_root.hit.gotoAndPlay(1);
_root.bossHP = _root.bossHP - 1;
if (_root.bossHP <= 0) {
if (_root.airstrikeboss.air2.boss._currentframe < 65) {
_root.airstrikeboss.air2.boss.gotoAndPlay("death");
}
}
_root.buffer++;
if (random(4) == 2) {
var Blood = _root.airstrikeboss.air2.attachMovie("Blood", "bullet" + c, _root.buffer, {_x:(_root.airstrikeboss.air2.boss._x - 0) + random(120), _y:(_root.airstrikeboss.air2.boss._y - 225) + random(200)});
Blood._xscale = random(100);
Blood._yscale = random(100);
Blood._rotation = -20 + random(40);
Blood._alpha = random(100);
}
}
}
Instance of Symbol 33 MovieClip "htiBox" in Symbol 40 MovieClip [AC130HitMinigun] Frame 27
onClipEvent (load) {
i = 1;
while (i < 1000) {
if (this.hitTest(_root.airstrike.air2.bg["targ" + i])) {
_root.airstrike.air2.bg["targ" + i].gotoAndStop("dead");
if (_root.airstrike.air2.bg["targ" + i]._currentframe < 36) {
_root.airstrike.air2.bg["targ" + i]._rotation = _root.airstrike.air2.bg["targ" + i]._rotation + (-40 + random(80));
}
}
i++;
}
if (this.hitTest(_root.airstrike.air2.bg.chopper.hitBox)) {
_root.damage(1 * _root.difficulty);
rand = random(100);
if (rand == 1) {
_root.sounds.gotoAndPlay("Friendly_Fire3");
}
if (rand == 2) {
_root.sounds.gotoAndPlay("Friendly_Fire2");
}
}
}
Symbol 40 MovieClip [AC130HitMinigun] Frame 33
this.removeMovieClip();
Instance of Symbol 33 MovieClip "htiBox" in Symbol 58 MovieClip [AC130Hit105mm] Frame 61
onClipEvent (load) {
i = 1;
while (i < 1000) {
if (this.hitTest(_root.airstrike.air2.bg["targ" + i])) {
xDiff = _root.airstrike.air2.bg["targ" + i]._x - this._x;
yDiff = _root.airstrike.air2.bg["targ" + i]._y - this._y;
angle = Math.atan2(yDiff, xDiff);
xdist = Math.round(_root.airstrike.air2.bg["targ" + i]._x - this.center._x);
ydist = Math.round(_root.airstrike.air2.bg["targ" + i]._y - this.center._y);
distancefromthis = Math.round(Math.sqrt((xdist * xdist) + (ydist * ydist)));
force = ((1 / distancefromthis) * 2000) + 2;
xMov = Math.cos(angle);
yMov = Math.sin(angle);
_root.airstrike.air2.bg["targ" + i].gotoAndStop("dead");
_root.airstrike.air2.bg["targ" + i].xMov = xMov;
_root.airstrike.air2.bg["targ" + i].yMov = yMov;
_root.airstrike.air2.bg["targ" + i].force = force;
}
i++;
}
if (this.hitTest(_root.airstrike.air2.bg.chopper.hitBox)) {
rand = random(2);
if (rand == 0) {
_root.sounds.gotoAndPlay("Friendly_Fire1");
_root.damage((40 + random(20)) * _root.difficulty);
}
if (rand == 1) {
_root.sounds.gotoAndPlay("Friendly_Fire2");
_root.damage((40 + random(20)) * _root.difficulty);
}
if (rand == 2) {
_root.sounds.gotoAndPlay("Friendly_Fire3");
_root.damage((40 + random(20)) * _root.difficulty);
}
}
}
Symbol 58 MovieClip [AC130Hit105mm] Frame 181
_root.sounds.gotoAndPlay("Cannon_Ready");
Symbol 58 MovieClip [AC130Hit105mm] Frame 182
this.removeMovieClip();
Instance of Symbol 33 MovieClip "htiBox" in Symbol 60 MovieClip [AC130Hit] Frame 39
onClipEvent (load) {
f = 1;
while (f < 1000) {
if (this.hitTest(_root.airstrike.air2.bg["targ" + f])) {
xDiff = _root.airstrike.air2.bg["targ" + f]._x - this._x;
yDiff = _root.airstrike.air2.bg["targ" + f]._y - this._y;
angle = Math.atan2(yDiff, xDiff);
xdist = Math.round(_root.airstrike.air2.bg["targ" + f]._x - this._x);
ydist = Math.round(_root.airstrike.air2.bg["targ" + f]._y - this._y);
distancefromthis = Math.round(Math.sqrt((xdist * xdist) + (ydist * ydist)));
force = (1 / distancefromthis) * 900;
xMov = Math.cos(angle);
yMov = Math.sin(angle);
_root.airstrike.air2.bg["targ" + f].gotoAndStop("dead");
_root.airstrike.air2.bg["targ" + f].xMov = xMov;
_root.airstrike.air2.bg["targ" + f].yMov = yMov;
_root.airstrike.air2.bg["targ" + f].force = force;
}
f++;
}
if (this.hitTest(_root.airstrike.air2.bg.chopper.hitBox)) {
rand = random(10);
_root.damage((10 + random(20)) * _root.difficulty);
if (rand == 1) {
_root.sounds.gotoAndPlay("Friendly_Fire1");
}
if (rand == 2) {
_root.sounds.gotoAndPlay("Friendly_Fire2");
}
if (rand == 3) {
_root.sounds.gotoAndPlay("Friendly_Fire3");
}
}
}
Symbol 60 MovieClip [AC130Hit] Frame 64
this.removeMovieClip();
Symbol 102 MovieClip Frame 31
stop();
Symbol 103 MovieClip [TruckUnit] Frame 1
stop();
if (random(3) == 1) {
_root.sounds.gotoAndPlay("tru1");
} else {
_root.sounds.gotoAndPlay("tru2");
}
Instance of Symbol 68 MovieClip in Symbol 103 MovieClip [TruckUnit] Frame 1
onClipEvent (load) {
if (_root.difficulty == 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 62 MovieClip in Symbol 103 MovieClip [TruckUnit] Frame 2
onClipEvent (load) {
z = 0;
total = 0;
}
onClipEvent (enterFrame) {
z++;
if (z > 32) {
if (total < 8) {
z = 0;
total++;
_root.spawnFromTruck(_parent);
}
}
}
Symbol 103 MovieClip [TruckUnit] Frame 3
_root.sounds.gotoAndPlay("truckDown");
if (_root.sandbox == false) {
_root.scorepts(400);
}
Instance of Symbol 102 MovieClip "counter" in Symbol 103 MovieClip [TruckUnit] Frame 3
onClipEvent (load) {
f = 0;
}
onClipEvent (enterFrame) {
f++;
if (f > 530) {
_parent.removeMovieClip();
removeMovieClip(_parent);
}
}
Symbol 120 MovieClip Frame 1
if (_root.sandbox == false) {
_root.damage(1);
rand = random(40);
if (rand == 2) {
_root.sounds.gotoAndPlay("takingfire1");
}
if (rand == 3) {
_root.sounds.gotoAndPlay("takingfire2");
}
}
Symbol 130 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 9
stop();
Instance of Symbol 130 MovieClip in Symbol 131 MovieClip Frame 9
onClipEvent (load) {
this.gotoAndStop(random(4));
}
Instance of Symbol 113 MovieClip in Symbol 132 MovieClip [FootUnit] Frame 1
onClipEvent (load) {
if (_root.difficulty == 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 132 MovieClip [FootUnit] Frame 34
gotoAndPlay (1);
Symbol 132 MovieClip [FootUnit] Frame 36
stop();
if (_root.sandbox == false) {
_root.scorepts(100);
}
rand = random(30);
if (rand == 5) {
_root.sounds.gotoAndPlay("gs");
}
if (rand == 6) {
_root.sounds.gotoAndPlay("gs2");
}
if (rand == 7) {
_root.sounds.gotoAndPlay("gs3");
}
Instance of Symbol 131 MovieClip in Symbol 132 MovieClip [FootUnit] Frame 36
onClipEvent (load) {
i = 100;
z = 0;
}
onClipEvent (enterFrame) {
z++;
_parent.alpha = _parent.alpha - 0.1;
if (z > 620) {
_parent.removeMovieClip();
}
this._x = this._x + dirX;
this._y = this._y + dirY;
}
Symbol 136 MovieClip [100pts] Frame 15
this.removeMovieClip();
Symbol 177 MovieClip Frame 1
more_btn.onRelease = function () {
getURL ("http://www.funny-games.biz/main.html", "_blank");
};
Symbol 177 MovieClip Frame 200
_root.play();
Symbol 513 MovieClip [__Packages.com.gamezhero.api.as2.GamezheroApi] Frame 0
class com.gamezhero.api.as2.GamezheroApi
{
static var _app_root, _preloader_target, _preloader_next_step_function, _score_target, _score_close_function;
function GamezheroApi () {
}
static function ini(appRoot, gameName, multiLanguage) {
_app_root = _root;
com.gamezhero.api.as2.GamezheroGlobal.__set__multilanguage(multiLanguage);
if (com.gamezhero.api.as2.GamezheroGlobal.__get__multilanguage() == false) {
com.gamezhero.api.as2.GamezheroDictionary.__set__language(com.gamezhero.api.as2.GamezheroDictionary.ENG);
} else if (_level0.language) {
com.gamezhero.api.as2.GamezheroDictionary.__set__language(_level0.language);
} else {
com.gamezhero.api.as2.GamezheroDictionary.__set__language(com.gamezhero.api.as2.GamezheroDictionary.ENG);
}
System.security.allowDomain("www.gamezhero.com", "gamezhero.com", "files.gamezhero.com", "data.gamezhero.com", "*.gamezhero.com");
System.security.allowInsecureDomain("www.gamezhero.com", "gamezhero.com", "files.gamezhero.com", "data.gamezhero.com", "*.gamezhero.com");
com.gamezhero.api.as2.GamezheroGlobal.__set__gameName(gameName);
}
static function gameParamsReceived(prs) {
var _local1 = prs;
for (var _local2 in _local1) {
params[_local2] = _local1[_local2];
}
}
static function preloader(nextStep) {
_preloader_target = _app_root;
_preloader_next_step_function = nextStep;
var _local3 = new ContextMenu();
_local3.hideBuiltInItems();
_preloader_target.contextMenu = _local3;
if ((com.gamezhero.api.as2.GamezheroGlobal.__get__gameName() == "unset") || (_preloader_flag == true)) {
trace("Error. GamezheroApi don't ini or preloader is opened");
} else {
_preloader_flag = true;
var _local2 = new com.gamezhero.api.as2.GamePreloader(_preloader_target, {debug:false});
_local2.continueAction = preloaderNextStep;
_local2.paramsAction = gameParamsReceived;
}
_local3 = new ContextMenu();
_local3.hideBuiltInItems();
_root.menu = _local3;
}
static function preloaderNextStep() {
_preloader_flag = false;
iniContextMenu();
_preloader_next_step_function.apply();
}
static function submitScore(gameCode, scoreValue, closeAction) {
com.gamezhero.api.as2.GamezheroGlobal.__set__gameCode(gameCode);
_score_target = _app_root;
_score_close_function = closeAction;
if ((com.gamezhero.api.as2.GamezheroGlobal.__get__gameName() == "unset") || (_score_flag == true)) {
trace("Error. GamezheroApi don't ini or score is opened");
} else {
_score_flag = true;
var _local2 = scoreValue;
var _local1 = new com.gamezhero.api.as2.GameScore(_score_target, com.gamezhero.api.as2.GameScore.SUBMIT_MODE, _local2);
_local1.closeAction = scoreCloseAction;
}
}
static function viewScore(gameCode, closeAction) {
com.gamezhero.api.as2.GamezheroGlobal.__set__gameCode(gameCode);
_score_target = _app_root;
_score_close_function = closeAction;
if ((com.gamezhero.api.as2.GamezheroGlobal.__get__gameName() == "unset") || (_score_flag == true)) {
trace("Error. GamezheroApi don't ini or score is opened");
} else {
_score_flag = true;
var _local1 = new com.gamezhero.api.as2.GameScore(_score_target, com.gamezhero.api.as2.GameScore.VIEW_MODE);
_local1.closeAction = scoreCloseAction;
}
}
static function scoreCloseAction() {
_score_flag = false;
_score_close_function.apply();
}
static function navigateTo(from) {
switch (from) {
case MORE_GAMES_FROM_LOGO :
if (!params.logo) {
com.gamezhero.api.as2.GamezheroGlobal.getURL(((("http://www.gamezhero.com/?utm_campaign=" + com.gamezhero.api.as2.GamezheroGlobal.__get__gameName()) + "&utm_source=") + com.gamezhero.api.as2.GamezheroGlobal.__get__domain()) + "&utm_medium=zorro_logo", "_blank");
} else {
com.gamezhero.api.as2.GamezheroGlobal.getURL(params.logo, "_blank");
}
break;
case VIEW_TOP_SCORE :
if (!params.top_score) {
com.gamezhero.api.as2.GamezheroGlobal.getURL(((((("http://www.gamezhero.com/topscore/" + com.gamezhero.api.as2.GamezheroGlobal.__get__gameName()) + "/top100.html?utm_campaign=") + com.gamezhero.api.as2.GamezheroGlobal.__get__gameName()) + "&utm_source=") + com.gamezhero.api.as2.GamezheroGlobal.__get__domain()) + "&utm_medium=submit_score", "_blank");
} else {
com.gamezhero.api.as2.GamezheroGlobal.getURL(params.top_score, "_blank");
}
break;
case TWITTER :
if (!params.folow_us_on_twitter) {
com.gamezhero.api.as2.GamezheroGlobal.getURL("http://twitter.com/gamezhero", "_blank");
} else {
com.gamezhero.api.as2.GamezheroGlobal.getURL(params.folow_us_on_twitter, "_blank");
}
break;
case FACEBOOK :
if (!params.became_a_fun_on_facebook) {
com.gamezhero.api.as2.GamezheroGlobal.getURL("http://www.facebook.com/pages/Gamezhero/71374863786", "_blank");
} else {
com.gamezhero.api.as2.GamezheroGlobal.getURL(params.became_a_fun_on_facebook, "_blank");
}
break;
case SHARE_GAME :
if (!params.share_game) {
com.gamezhero.api.as2.GamezheroGlobal.getURL(((((("http://www.gamezhero.com/freewebsitegames/" + com.gamezhero.api.as2.GamezheroGlobal.__get__gameName()) + "-games.html?utm_campaign=") + com.gamezhero.api.as2.GamezheroGlobal.__get__gameName()) + "&utm_source=") + com.gamezhero.api.as2.GamezheroGlobal.__get__domain()) + "&utm_medium=share_game", "_blank");
} else {
com.gamezhero.api.as2.GamezheroGlobal.getURL(params.share_game, "_blank");
}
break;
case MORE_GAMES_FROM_CONTEXT_MENU :
if (!params.more_games_context_menu) {
com.gamezhero.api.as2.GamezheroGlobal.getURL(((("http://www.gamezhero.com/?utm_campaign=" + com.gamezhero.api.as2.GamezheroGlobal.__get__gameName()) + "&utm_source=") + com.gamezhero.api.as2.GamezheroGlobal.__get__domain()) + "&utm_medium=more_free_games_context_menu", "_blank");
} else {
com.gamezhero.api.as2.GamezheroGlobal.getURL(params.more_games_context_menu, "_blank");
}
break;
case SHARE_GAME_FROM_CONTEXT_MENU :
if (!params.share_game_context_menu) {
com.gamezhero.api.as2.GamezheroGlobal.getURL(((("http://www.gamezhero.com/?utm_campaign=" + com.gamezhero.api.as2.GamezheroGlobal.__get__gameName()) + "&utm_source=") + com.gamezhero.api.as2.GamezheroGlobal.__get__domain()) + "&utm_medium=share_game", "_blank");
} else {
com.gamezhero.api.as2.GamezheroGlobal.getURL(params.share_game_context_menu, "_blank");
}
break;
default :
if (!params.more_games) {
com.gamezhero.api.as2.GamezheroGlobal.getURL(((("http://www.gamezhero.com/?utm_campaign=" + com.gamezhero.api.as2.GamezheroGlobal.__get__gameName()) + "&utm_source=") + com.gamezhero.api.as2.GamezheroGlobal.__get__domain()) + "&utm_medium=more_free_games", "_blank");
} else {
com.gamezhero.api.as2.GamezheroGlobal.getURL(params.more_games, "_blank");
}
}
}
static function getTranslationByName(name) {
return(com.gamezhero.api.as2.GamezheroDictionary.getTranslationByName(name));
}
static function iniContextMenu() {
var _local2 = new ContextMenu();
_local2.builtInItems.forward_back = false;
_local2.builtInItems.loop = false;
_local2.builtInItems.play = false;
_local2.builtInItems.print = false;
_local2.builtInItems.rewind = false;
_local2.builtInItems.zoom = false;
_local2.builtInItems.save = false;
var _local4 = function (obj, menuItem) {
com.gamezhero.api.as2.GamezheroApi.navigateTo(com.gamezhero.api.as2.GamezheroApi.TWITTER);
};
var _local7 = function (obj, menuItem) {
com.gamezhero.api.as2.GamezheroApi.navigateTo(com.gamezhero.api.as2.GamezheroApi.FACEBOOK);
};
var _local6 = function (obj, menuItem) {
com.gamezhero.api.as2.GamezheroApi.navigateTo(com.gamezhero.api.as2.GamezheroApi.SHARE_GAME_FROM_CONTEXT_MENU);
};
var _local5 = function (obj, menuItem) {
com.gamezhero.api.as2.GamezheroApi.navigateTo(com.gamezhero.api.as2.GamezheroApi.MORE_GAMES_FROM_CONTEXT_MENU);
};
var _local3;
_local3 = getTranslationByName(com.gamezhero.api.as2.GamezheroDictionary.FOLLOW_US_ON_TWITTER);
_local2.customItems.push(new ContextMenuItem(_local3, _local4));
_local3 = getTranslationByName(com.gamezhero.api.as2.GamezheroDictionary.BECOME_A_FUN_ON_FACEBOOK);
_local2.customItems.push(new ContextMenuItem(_local3, _local7));
_local3 = getTranslationByName(com.gamezhero.api.as2.GamezheroDictionary.MORE_GAMES);
_local2.customItems.push(new ContextMenuItem(_local3, _local5, true));
_local3 = getTranslationByName(com.gamezhero.api.as2.GamezheroDictionary.SHARE_GAME);
_local2.customItems.push(new ContextMenuItem(_local3, _local6));
_local2.customItems.push(new ContextMenuItem("Gamezhero API v" + _version, function () {
}, true, false));
_root.menu = _local2;
}
static var _version = "4.0 (as2)";
static var _score_flag = false;
static var _preloader_flag = false;
static var MORE_GAMES = "more_games";
static var MORE_GAMES_FROM_LOGO = "more_games_from_logo";
static var VIEW_TOP_SCORE = "view_top_score";
static var TWITTER = "twitter";
static var FACEBOOK = "facebook";
static var SHARE_GAME = "share_game";
static var MORE_GAMES_FROM_CONTEXT_MENU = "more_games_from_context_menu";
static var SHARE_GAME_FROM_CONTEXT_MENU = "share_game_from_context_menu";
static var params = new Object();
static var foo = "\u0427\u0442\u043E \u0437\u0430 \u0445\u0440\u0435\u043D\u044C";
}
Symbol 514 MovieClip [__Packages.com.gamezhero.api.as2.GamezheroGlobal] Frame 0
class com.gamezhero.api.as2.GamezheroGlobal
{
function GamezheroGlobal () {
}
static function set gameName(name) {
_game_name = name;
//return(gameName);
}
static function get gameName() {
return(_game_name);
}
static function set gameCode(id) {
_game_code = id;
//return(gameCode);
}
static function get gameCode() {
return(_game_code);
}
static function getURL(link, target) {
getURL (link, target);
}
static function get multilanguage() {
return(_app_multilanguage);
}
static function set multilanguage(value) {
_app_multilanguage = value;
//return(multilanguage);
}
static function get domain() {
if (_host != "error") {
return(_host);
}
try {
var _local2 = new com.gamezhero.api.as2.utils.URL(_root._url);
_host = _local2.getHost();
if (((_host == null) || (_host == undefined)) || (_host == "")) {
_host = "local";
}
} catch(e:Error) {
_host = "error";
}
return(_host);
}
static function get browser() {
if (_browser == "unset") {
if (flash.external.ExternalInterface.available) {
try {
var _local1 = String(flash.external.ExternalInterface.call("function (){ return navigator['userAgent']}"));
_local1 = _local1.toLowerCase();
if (_local1.indexOf("firefox") != -1) {
_browser = FIREFOX;
} else if (_local1.indexOf("chrome") != -1) {
_browser = CHROME;
} else if (_local1.indexOf("safari") != -1) {
_browser = SAFARI;
} else if (_local1.indexOf("opera") != -1) {
_browser = OPERA;
} else {
_browser = IE;
}
} catch(e:Error) {
_browser = IE;
}
} else {
_browser = IE;
}
}
return(_browser);
}
static function fromText(txt) {
var _local3 = new Array();
var _local1 = 0;
while (_local1 < txt.length) {
_local3.push(txt.charCodeAt(_local1));
_local1++;
}
return(_local3);
}
static function toText(arr) {
var _local3 = "";
var _local1 = 0;
while (_local1 < arr.length) {
_local3 = _local3 + String.fromCharCode(arr[_local1]);
_local1++;
}
return(_local3);
}
static var _game_name = "unset";
static var _game_code = "unset";
static var _host = "error";
static var _app_multilanguage = false;
static var _browser = "unset";
static var IE = "ie";
static var FIREFOX = "firefox";
static var OPERA = "opera";
static var SAFARI = "safari";
static var CHROME = "chrome";
}
Symbol 515 MovieClip [__Packages.com.gamezhero.api.as2.utils.URL] Frame 0
class com.gamezhero.api.as2.utils.URL
{
var url;
function URL (url) {
if (url.length == 0) {
throw new Error(("Invalid URL: '" + url) + "'];");
}
this.url = url;
query = ((url.indexOf("?") >= 0) ? (url.substring(url.indexOf("?") + 1)) : "");
if (query.indexOf("#") >= 0) {
query = query.substring(0, query.indexOf("#"));
}
var _local4 = url.indexOf("://");
if (_local4 >= 0) {
protocol = url.substring(0, _local4).toLowerCase();
host = url.substring(_local4 + 3);
if (host.indexOf("/") >= 0) {
host = host.substring(0, host.indexOf("/"));
}
var _local5 = host.indexOf("@");
if (_local5 >= 0) {
var _local3 = host.substring(0, _local5);
var _local6 = _local3.indexOf(":");
if (_local6 >= 0) {
username = _local3.substring(0, _local6);
password = _local3.substring(_local6 + 1);
} else {
username = _local3;
}
host = host.substring(_local5 + 1);
}
var _local7 = host.indexOf(":");
if (_local7 >= 0) {
port = Number(host.substring(_local7));
host = host.substring(0, _local7);
}
file = url.substring(_local4 + 3);
file = file.substring(file.indexOf("/"));
} else {
file = url;
}
if (file.indexOf("?") >= 0) {
file = file.substring(0, file.indexOf("?"));
}
var _local8 = url.indexOf("#");
if (_local8 >= 0) {
file = file.substring(0, _local8);
reference = url.substring(_local8 + 1);
} else {
reference = "";
}
path = file;
if (query.length > 0) {
file = file + ("?" + query);
}
if (reference.length > 0) {
file = file + ("#" + reference);
}
}
function getPort() {
return(port);
}
function getQuery() {
return(query);
}
function getProtocol() {
return(protocol);
}
function getHost() {
return(host);
}
function getUserName() {
return(username);
}
function getPassword() {
return(password);
}
function getFile() {
return(file);
}
function getReference() {
return(reference);
}
function getPath() {
return(path);
}
function getArgumentValue(key) {
var _local3 = getArgumentValues();
if (_local3.length < 1) {
return("");
}
var _local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2][0] == key) {
return(_local3[_local2][1]);
}
_local2++;
}
return("");
}
function getArgumentValues() {
var _local5 = new Array();
var _local4 = query.split("&");
var _local3 = "";
if (_local4.length < 1) {
return(_local5);
}
var _local2 = 0;
while (_local2 < _local4.length) {
_local3 = _local4[_local2].split("=");
_local5[_local2] = new Array(_local3[0], ((_local3.length == 1) ? (_local3[0]) : (_local3[1])));
_local2++;
}
return(_local5);
}
function toString() {
return(url);
}
var port = -1;
var query = "";
var protocol = "";
var host = "";
var file = "";
var path = "";
var reference = "";
var username = "";
var password = "";
}
Symbol 516 MovieClip [__Packages.com.gamezhero.api.as2.GamezheroDictionary] Frame 0
!!!ERROR
Symbol 517 MovieClip [__Packages.com.gamezhero.api.as2.GamePreloader] Frame 0
!!!ERROR
Symbol 518 MovieClip [__Packages.com.gamezhero.api.as2.gui.Indicator] Frame 0
!!!ERROR
Symbol 519 MovieClip [__Packages.com.gamezhero.api.as2.gui.Background] Frame 0
!!!ERROR
Symbol 520 MovieClip [__Packages.com.gamezhero.api.as2.UserInfo] Frame 0
!!!ERROR
Symbol 521 MovieClip [__Packages.com.gamezhero.api.as2.GameScore] Frame 0
!!!ERROR
Symbol 198 Button
on (release) {
_root.play();
_root.sandbox = false;
}
on (keyPress "<Enter>") {
_root.play();
_root.sandbox = false;
}
Symbol 203 Button
on (release) {
_root.sandbox = true;
_root.gotoAndPlay("game");
}
Symbol 208 Button
on (release) {
_root.help.play();
}
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 25
stop();
Symbol 230 Button
on (release) {
_root.play();
}
on (keyPress "<Enter>") {
_root.play();
}
Symbol 244 Button
on (release) {
difficulty = 0;
play();
}
Symbol 248 Button
on (release) {
difficulty = 1;
play();
}
Symbol 252 Button
on (release) {
difficulty = 3;
play();
}
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 163
if (_root.sandbox == false) {
_root.fadetofail.play();
stop();
} else {
gotoAndStop (1);
}
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 2
_root.sounds.gotoAndPlay("choppercoming");
Symbol 283 MovieClip Frame 357
if (_root.sandbox == false) {
_root.gotoAndPlay("helicopter");
}
Instance of Symbol 284 MovieClip "bg" in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
i = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (_root.sandbox == true) {
_root.spawnRandom();
}
}
if (Key.isDown(39)) {
if (_root.sandbox == true) {
_root.spawnTruck(random(3));
}
}
if (Key.isDown(40)) {
if (_root.sandbox == true) {
z = 0;
while (z < 10) {
_root.spawnNorth();
z++;
}
}
}
if (Key.isDown(37)) {
if (_root.sandbox == true) {
z = 0;
while (z < 1000) {
this["targ" + z].removeMovieClip();
z++;
}
}
}
}
Symbol 304 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 1
stop();
Instance of Symbol 285 MovieClip "air2" in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
offset = 0;
offsetx = 0;
offsety = 0;
offsetAMT = 0.4;
i = 0;
c = 0;
z = 0;
d = 180;
bigCannon = true;
f = 0;
}
onClipEvent (enterFrame) {
d++;
this.bg._rotation = this.bg._rotation + (offsetAMT / 3);
this._x = (-_root._xmouse) + offsetx;
this._y = (-_root._ymouse) + offsety;
if (down == true) {
if (_root.attack == 2) {
i++;
if (i > 16) {
c++;
i = 0;
_root.cd1.play();
var bullet = attachMovie("AC130Hit", "cannon" + c, c, {_x:(1.85 * _root._xmouse) - 280, _y:(1.85 * _root._ymouse) - 230});
}
} else if (_root.attack == 1) {
c++;
var bullet = attachMovie("AC130HitMinigun", "bullet" + c, c, {_x:(((1 * _root._xmouse) - 200) + random(60)) + 290, _y:(((1 * _root._ymouse) - 160) - random(20)) + 100});
} else if (_root.attack == 3) {
if (d > 181) {
c++;
d = 0;
var bullet = attachMovie("AC130Hit105mm", "explos" + c, c, {_x:(1.85 * _root._xmouse) - 280, _y:(1.85 * _root._ymouse) - 230});
_root.cd2.play();
}
}
}
}
onClipEvent (mouseDown) {
down = true;
}
onClipEvent (mouseUp) {
down = false;
}
Instance of Symbol 308 MovieClip "crosshair" in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root._xmouse - 580;
this._y = _root._ymouse - 260;
}
Symbol 317 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 306
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 307
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 308
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 309
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 310
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 311
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 312
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 313
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 314
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 315
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 316
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 317
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 318
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 319
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 320
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 321
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 322
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 323
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 324
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 325
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 326
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 327
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 328
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 329
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 330
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 331
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 332
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 333
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 334
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 335
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 336
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 337
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 338
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 339
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 340
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 341
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 342
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 343
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 344
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 345
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 346
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 347
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 348
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 349
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 350
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 351
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 352
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 353
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 354
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 355
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 356
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 357
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 358
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 359
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 360
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 361
_root.airstrike.air2.bg.chopper.explode.play();
Symbol 381 MovieClip Frame 362
_root.airstrike.air2.bg.chopper.explode.play();
Instance of Symbol 380 MovieClip in Symbol 381 MovieClip Frame 362
onClipEvent (enterFrame) {
_root.airstrike.air2.bg.chopper.explode.play();
}
Symbol 411 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 29
gotoAndStop (1);
Symbol 411 MovieClip Frame 96
gotoAndStop (1);
Symbol 411 MovieClip Frame 171
gotoAndStop (1);
Symbol 411 MovieClip Frame 254
gotoAndStop (1);
Symbol 411 MovieClip Frame 310
gotoAndStop (1);
Symbol 411 MovieClip Frame 311
play();
Symbol 411 MovieClip Frame 312
if (_root.sandbox == true) {
gotoAndStop (1);
} else {
play();
}
Symbol 411 MovieClip Frame 663
gotoAndStop (1);
Symbol 411 MovieClip Frame 706
gotoAndStop (1);
Symbol 411 MovieClip Frame 771
gotoAndStop (1);
Symbol 411 MovieClip Frame 801
gotoAndStop (1);
Symbol 411 MovieClip Frame 834
gotoAndStop (1);
Symbol 411 MovieClip Frame 897
gotoAndStop (1);
Symbol 411 MovieClip Frame 930
gotoAndStop (1);
Symbol 411 MovieClip Frame 1000
gotoAndPlay (1);
Symbol 411 MovieClip Frame 1047
gotoAndStop (1);
Symbol 411 MovieClip Frame 1120
gotoAndStop (1);
Symbol 411 MovieClip Frame 1166
gotoAndStop (1);
Symbol 411 MovieClip Frame 1210
gotoAndStop (1);
Symbol 411 MovieClip Frame 1248
gotoAndStop (1);
Symbol 411 MovieClip Frame 1351
gotoAndStop (1);
Symbol 411 MovieClip Frame 1421
gotoAndStop (1);
Symbol 435 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 2
_root.sounds.gotoAndPlay("RPG");
Instance of Symbol 415 MovieClip in Symbol 435 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(70)) {
_parent.play();
}
}
Instance of Symbol 418 MovieClip in Symbol 435 MovieClip Frame 2
onClipEvent (load) {
z = 0;
}
onClipEvent (enterFrame) {
z++;
if (z > 96) {
_root.airstrike.air2.bg.chopper.explode.play();
}
}
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 19
_root.gotoAndPlay("fail");
Symbol 442 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 41
stop();
Instance of Symbol 448 MovieClip in Symbol 469 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._alpha = 100;
} else {
this._alpha = 50;
}
}
Instance of Symbol 450 MovieClip in Symbol 469 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._alpha = 100;
} else {
this._alpha = 50;
}
}
Instance of Symbol 451 MovieClip in Symbol 469 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this._alpha = 100;
} else {
this._alpha = 50;
}
}
Instance of Symbol 453 MovieClip in Symbol 469 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this._alpha = 100;
} else {
this._alpha = 50;
}
}
Instance of Symbol 460 MovieClip in Symbol 469 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(17)) {
this._alpha = 100;
} else {
this._alpha = 50;
}
}
Instance of Symbol 462 MovieClip in Symbol 469 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this._alpha = 100;
if (_root.sandbox == true) {
_root.airstrike.air2.bg.chopper.explode.play();
}
} else {
this._alpha = 50;
}
}
Instance of Symbol 464 MovieClip in Symbol 469 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
this._alpha = 100;
if (_root.sandbox == true) {
_root.gotoAndStop("mm");
}
} else {
this._alpha = 50;
}
}
Instance of Symbol 189 MovieClip in Symbol 470 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 1;
}
Symbol 487 MovieClip Frame 104
stop();
Symbol 489 MovieClip Frame 1
stop();
Symbol 495 MovieClip Frame 1
stop();
Instance of Symbol 492 MovieClip in Symbol 495 MovieClip Frame 2
onClipEvent (mouseUp) {
_parent.gotoAndStop(1);
}
Symbol 495 MovieClip Frame 10
gotoAndPlay (2);