Frame 1 (8 B)
stop();
Instance of Symbol 7 MovieClip in Frame 1 (104 B)
onClipEvent (enterFrame) {
_root.ll = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
}
Frame 2 (8 B)
stop();
Frame 3 (8 B)
stop();
Instance of Symbol 34 MovieClip "loop" in Frame 3 (1.44 KiB) ●
onClipEvent (load) {
_root.firec = 5;
_root.ammo = 50;
_root.score = 0;
_root.damage = 0;
_root.speed = 2;
}
onClipEvent (enterFrame) {
mouse_x = int(_root.mouse._x - this._x);
mouse_y = int(_root.mouse._y - this._y);
if ((mouse_x > 0) && (mouse_y > 0)) {
quad = Number(4);
}
if ((mouse_x < 0) && (mouse_y > 0)) {
quad = Number(1);
}
if ((mouse_x < 0) && (mouse_y < 0)) {
quad = Number(2);
}
if ((mouse_x > 0) && (mouse_y < 0)) {
quad = Number(3);
}
abs_x = Math.abs(mouse_x);
abs_y = Math.abs(mouse_y);
tg = abs_y / abs_x;
_root.maths = (Math.atan(tg) * Number(180)) / Math.PI;
if (quad == 1) {
angle = Number(90) - Number(_root.maths);
}
if (quad == 2) {
angle = Number(90) + Number(_root.maths);
}
if (quad == 3) {
angle = Number(270) - Number(_root.maths);
}
if (quad == 4) {
angle = Number(270) + Number(_root.maths);
}
setProperty(_this, _rotation , angle + 180);
if (Key.isDown(13) and (_root.truck == false)) {
_root.truck = true;
_root.ammotr.gotoAndPlay(2);
}
}
onClipEvent (mouseDown) {
if (_root.ammo > 0) {
_root.f.duplicateMovieClip("f" + _root.firec, _root.firec);
_root["f" + _root.firec]._x = _root.loop._x;
_root["f" + _root.firec]._y = _root.loop._y;
_root["f" + _root.firec]._rotation = _root.loop._rotation - 90;
_root.firec = _root.firec + 1;
_root.ammo = _root.ammo - 1;
this.gotoAndPlay(2);
_root.home.gotoAndPlay(2);
}
}
Instance of Symbol 41 MovieClip "home" in Frame 3 (359 B)
onClipEvent (load) {
_root.rann = 100;
}
onClipEvent (enterFrame) {
if ((_root.score / 100) > _root.speed) {
_root.speed = _root.speed + 1;
_root.rann = _root.rann - 10;
_root.mes.a = 0;
_root.mes.gotoAndPlay(4);
}
if (_root.damage >= 100) {
_root.game = false;
_root.gotoAndPlay(4);
}
if (_root.rann < 10) {
_root.rann = 10;
}
}
Instance of Symbol 46 MovieClip "ammotr" in Frame 3 (105 B)
onClipEvent (enterFrame) {
if (_root.ammo <= 0) {
_root.mes.a = 0;
_root.mes.gotoAndPlay(2);
}
}
Instance of Symbol 48 MovieClip "f" in Frame 3 (565 B)
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
if (this._name != "f") {
xx = math.cos((_rotation * Math.PI) / 180) * speed;
yy = math.sin((_rotation * Math.PI) / 180) * speed;
this._x = this._x + xx;
this._y = this._y + yy;
if (((this._x < -20) or (this._x > 620)) or (this._y < -20)) {
this.removeMovieClip();
}
i = 1;
while (i <= 10) {
if (_root["e" + i].hitTest(this._x, this._y, true) and (_root["e" + i].hit == false)) {
_root["e" + i].hit = true;
_root["e" + i].gotoAndPlay(30);
}
i++;
}
}
}
Instance of Symbol 54 MovieClip "e1" in Frame 3 (416 B)
onClipEvent (load) {
gogo = false;
hit = false;
}
onClipEvent (enterFrame) {
if ((gogo == false) and (random(_root.rann) == 6)) {
gogo = true;
this._x = random(560) + 20;
}
if ((gogo == true) and (hit == false)) {
this._y = this._y + _root.speed;
}
if (this._y > 500) {
this._y = -50;
_root.damage = _root.damage + 20;
gogo = false;
}
if (_root.game == false) {
this.removeMovieClip();
}
}
Instance of Symbol 54 MovieClip "e2" in Frame 3 (416 B)
onClipEvent (load) {
gogo = false;
hit = false;
}
onClipEvent (enterFrame) {
if ((gogo == false) and (random(_root.rann) == 6)) {
gogo = true;
this._x = random(560) + 20;
}
if ((gogo == true) and (hit == false)) {
this._y = this._y + _root.speed;
}
if (this._y > 500) {
this._y = -50;
_root.damage = _root.damage + 20;
gogo = false;
}
if (_root.game == false) {
this.removeMovieClip();
}
}
Instance of Symbol 54 MovieClip "e3" in Frame 3 (416 B)
onClipEvent (load) {
gogo = false;
hit = false;
}
onClipEvent (enterFrame) {
if ((gogo == false) and (random(_root.rann) == 6)) {
gogo = true;
this._x = random(560) + 20;
}
if ((gogo == true) and (hit == false)) {
this._y = this._y + _root.speed;
}
if (this._y > 500) {
this._y = -50;
_root.damage = _root.damage + 20;
gogo = false;
}
if (_root.game == false) {
this.removeMovieClip();
}
}
Instance of Symbol 54 MovieClip "e4" in Frame 3 (416 B)
onClipEvent (load) {
gogo = false;
hit = false;
}
onClipEvent (enterFrame) {
if ((gogo == false) and (random(_root.rann) == 6)) {
gogo = true;
this._x = random(560) + 20;
}
if ((gogo == true) and (hit == false)) {
this._y = this._y + _root.speed;
}
if (this._y > 500) {
this._y = -50;
_root.damage = _root.damage + 20;
gogo = false;
}
if (_root.game == false) {
this.removeMovieClip();
}
}
Instance of Symbol 54 MovieClip "e5" in Frame 3 (416 B)
onClipEvent (load) {
gogo = false;
hit = false;
}
onClipEvent (enterFrame) {
if ((gogo == false) and (random(_root.rann) == 6)) {
gogo = true;
this._x = random(560) + 20;
}
if ((gogo == true) and (hit == false)) {
this._y = this._y + _root.speed;
}
if (this._y > 500) {
this._y = -50;
_root.damage = _root.damage + 20;
gogo = false;
}
if (_root.game == false) {
this.removeMovieClip();
}
}
Instance of Symbol 54 MovieClip "e6" in Frame 3 (416 B)
onClipEvent (load) {
gogo = false;
hit = false;
}
onClipEvent (enterFrame) {
if ((gogo == false) and (random(_root.rann) == 6)) {
gogo = true;
this._x = random(560) + 20;
}
if ((gogo == true) and (hit == false)) {
this._y = this._y + _root.speed;
}
if (this._y > 500) {
this._y = -50;
_root.damage = _root.damage + 20;
gogo = false;
}
if (_root.game == false) {
this.removeMovieClip();
}
}
Instance of Symbol 54 MovieClip "e7" in Frame 3 (416 B)
onClipEvent (load) {
gogo = false;
hit = false;
}
onClipEvent (enterFrame) {
if ((gogo == false) and (random(_root.rann) == 6)) {
gogo = true;
this._x = random(560) + 20;
}
if ((gogo == true) and (hit == false)) {
this._y = this._y + _root.speed;
}
if (this._y > 500) {
this._y = -50;
_root.damage = _root.damage + 20;
gogo = false;
}
if (_root.game == false) {
this.removeMovieClip();
}
}
Instance of Symbol 56 MovieClip "mouse" in Frame 3 (63 B)
onClipEvent (load) {
startDrag (this, true, 0, 0, 600, 436);
}
Frame 4 (8 B)
stop();
Symbol 7 MovieClip Frame 1 (7 B)
a = 1;
Symbol 7 MovieClip Frame 5 (49 B)
a = a + 1;
if (a == 25) {
gotoAndPlay (7);
}
Symbol 7 MovieClip Frame 6 (17 B)
gotoAndPlay (5);
Symbol 7 MovieClip Frame 10 (97 B)
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.nextFrame();
}
gotoAndPlay (1);
Symbol 18 Button (52 B)
on (press) {
_root.game = true;
gotoAndPlay (3);
}
Symbol 21 Button (32 B)
on (press) {
gotoAndPlay (2);
}
Symbol 24 Button (32 B)
on (press) {
gotoAndPlay (1);
}
Symbol 26 MovieClip Frame 1 (8 B)
stop();
Symbol 26 MovieClip Frame 2 (26 B)
stopAllSounds();
stop();
Symbol 34 MovieClip Frame 1 (8 B)
stop();
Symbol 34 MovieClip Frame 6 (17 B)
gotoAndPlay (1);
Symbol 41 MovieClip Frame 1 (8 B)
stop();
Symbol 41 MovieClip Frame 7 (17 B)
gotoAndPlay (1);
Symbol 46 MovieClip Frame 1 (30 B)
_root.truck = false;
stop();
Symbol 46 MovieClip Frame 2 (20 B)
_root.truck = true;
Symbol 46 MovieClip Frame 14 (63 B)
_root.ammo = _root.ammo + 50;
_root.score = _root.score - 50;
Symbol 46 MovieClip Frame 38 (17 B)
gotoAndPlay (1);
Symbol 54 MovieClip Frame 1 (13 B)
hit = false;
Symbol 54 MovieClip Frame 20 (17 B)
gotoAndPlay (1);
Symbol 54 MovieClip Frame 33 (32 B)
_root.score = _root.score + 20;
Symbol 54 MovieClip Frame 50 (48 B)
gogo = false;
this._y = -50;
gotoAndPlay (1);
Symbol 65 MovieClip Frame 1 (8 B)
stop();
Symbol 65 MovieClip Frame 2 (49 B)
a = a + 1;
if (a == 50) {
gotoAndPlay (1);
}
Symbol 65 MovieClip Frame 3 (17 B)
gotoAndPlay (2);
Symbol 65 MovieClip Frame 4 (49 B)
a = a + 1;
if (a == 50) {
gotoAndPlay (1);
}
Symbol 65 MovieClip Frame 5 (17 B)
gotoAndPlay (4);
Symbol 72 Button (70 B)
on (press) {
_root.game = true;
stopAllSounds();
gotoAndPlay (3);
}