Frame 1
fscommand ("showmenu", "false");
Frame 2
if (_framesloaded >= _totalframes) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
_root.loading._xscale = int((100 * getBytesLoaded()) / getBytesTotal());
_root.loading._x = 150.2;
Set("/:sz", int((100 * getBytesLoaded()) / getBytesTotal()) add "%");
}
Frame 3
stop();
Mouse.hide();
startDrag (_root.newmouse, true);
Frame 10
stop();
Frame 21
stop();
Frame 28
stop();
Frame 38
stop();
Frame 150
stopAllSounds();
Frame 151
startDrag (_root.newmouse, true);
_root.win._visible = false;
_root.over._visible = false;
_root.again._visible = false;
baseh = 10;
this.createEmptyMovieClip("mm", 100);
mm.baseh = 10;
mm.life = 100;
mm.b = 10;
mm.tu = new Array("A", "M", "V", "V", "=");
a = this.mm.attachMovie("plane", "tt0", this.mm.baseh++);
a._x = 0;
a._y = 0;
mm.onEnterFrame = function () {
Mouse.hide();
if (mm.b < 0) {
mm.b = 0;
}
Set("/:b", mm.b);
_root.e._xscale = int(_root.mm.b * 2);
if (this.life < 0) {
this.life == 0;
}
if (this.life > 0) {
if (_root.mm._x > 500) {
_root.mm._x = 500;
}
if (_root.mm._y > 310) {
_root.mm._y = 310;
}
if (_root.mm.x < 0) {
_root.mm._x = 0;
}
if (_root.mm.y < -1) {
_root.mm._y = 300;
}
if (Key.isDown(87)) {
this._y = this._y - 16;
}
if (Key.isDown(83)) {
this._y = this._y + 16;
}
if (Key.isDown(65)) {
this._x = this._x - 16;
}
if (Key.isDown(68)) {
this._x = this._x + 16;
}
} else if (this._y < 700) {
this._y = this._y + 5;
}
if (Key.isDown(75) && (mm.b > 3)) {
tellTarget ("/bx") {
nextFrame();
};
mm.b = mm.b - 3;
Set("/:score", Number(/:score) + 200);
tellTarget ("/bb") {
gotoAndPlay (2);
};
}
i = 0;
while (i < 7) {
if (_root.bb.hitTest(_root["xx" + i])) {
_root["xx" + i]._y = -40;
}
if (_root.bb.hitTest(_root["xxd" + i])) {
_root["xxd" + i]._y = -40;
}
i++;
}
if (Key.isDown(74)) {
tellTarget ("/zdsound") {
gotoAndPlay (2);
};
if ((this.life > 0) && (this.fire < 200)) {
this.fire++;
}
if (this.life <= 0) {
this.fire = false;
}
}
if (/:score == 20000) {
tellTarget ("/warn") {
gotoAndPlay (2);
};
tellTarget ("/boss") {
gotoAndPlay (2);
};
boss.life = 500;
if (_root.bb.hitTest(_root.boss)) {
tellTarget ("_root.boss.bs") {
gotoAndPlay (3);
};
}
}
if (_root.bb.hitTest(_root.final)) {
tellTarget ("_root.final.boss") {
gotoAndPlay (3);
};
}
if (_root.mm.hitTest(_root.boss.hurt) || (_root.mm.hitTest(_root.boss.hurt2))) {
_root.mm.life = _root.mm.life - 2;
tellTarget ("/zdsound") {
gotoAndPlay (3);
};
}
if (/:score == 60000) {
tellTarget ("/warn") {
gotoAndPlay (2);
};
tellTarget ("/final") {
gotoAndPlay (2);
};
final.life = 700;
}
if (/:score >= 80000) {
unloadMovie (mm);
i = 0;
while (i < 7) {
unloadMovie ("xx" + i);
unloadMovie ("mmd" + i);
unloadMovie ("xxd" + i);
i++;
}
_root.win._visible = true;
_root.again._visible = true;
}
if (_root.mm.hitTest(_root.final.hit) || (_root.mm.hitTest(_root.final.jg))) {
_root.mm.life = _root.mm.life - 2;
tellTarget ("/zdsound") {
gotoAndPlay (3);
};
}
};
i = 0;
while (i < 7) {
a = this.createEmptyMovieClip("xx" + i, baseh++);
a.baseh = 10;
a._x = 30 + (70 * i);
a.v = random(5) + 5;
j = 0;
while (j < 1) {
b = a.attachMovie("feiji", "tt" + j, a.baseh++);
b._x = 0;
b._y = j * 20;
b.n = i;
j++;
}
a.onEnterFrame = function () {
if (this._y > 600) {
this.v = random(4) + 5;
this._y = -40;
} else {
this._y = this._y + this.v;
}
};
score = "0";
a = this.attachMovie("hha", "mmd" + i, baseh++);
a.fire = false;
a.col = 52479;
a.onEnterFrame = function () {
if (this.fire) {
this._y = this._y - 25;
if (this._y < -50) {
this.fire = false;
} else {
if (this.hitTest(_root.final.hit)) {
tellTarget ("_root.final.boss") {
gotoAndPlay (3);
};
final.life--;
this.fire = false;
setProperty(huo, _x , this._x + 50);
setProperty(huo, _y , this._y + 50);
_root.huo._xscale = 50;
_root.huo._yscale = 50;
tellTarget ("/huo") {
gotoAndPlay (2);
};
if (final.life <= 0) {
_root.mm.life = 100;
tellTarget ("/warn") {
gotoAndPlay ("power");
};
unloadMovie (_root.final);
setProperty(huo, _x , this._x + 50);
setProperty(huo, _y , this._y + 50);
_root.huo._xscale = 200;
_root.huo._yscale = 200;
tellTarget ("/huo") {
gotoAndPlay (2);
};
}
}
if (this.hitTest(_root.boss.heart)) {
_root.huo._xscale = 50;
_root.huo._yscale = 50;
tellTarget ("_root.boss.bs") {
gotoAndPlay (3);
};
boss.life--;
if (boss.life <= 0) {
_root.mm.life = 100;
setProperty(huo, _x , this._x + 50);
setProperty(huo, _y , this._y + 50);
_root.huo._xscale = 200;
_root.huo._yscale = 200;
tellTarget ("/huo") {
gotoAndPlay (2);
};
tellTarget ("/warn") {
gotoAndPlay ("power");
};
a = this.attachMovie("hh", "m" + i, baseh++);
unloadMovie (_root.boss);
}
this.fire = false;
setProperty(huo, _x , this._x + 50);
setProperty(huo, _y , this._y + 50);
tellTarget ("/huo") {
gotoAndPlay (2);
};
}
i = 0;
while (i < 7) {
if (this.hitTest(_root["xx" + i])) {
_root.mm.b = _root.mm.b + 0.1;
m = getProperty(_root["xx" + i], _x);
n = getProperty(_root["xx" + i], _y);
setProperty(bz, _x , m);
setProperty(bz, _y , n);
tellTarget ("/bz") {
play();
};
_root["xx" + i]._y = -40;
this.fire = false;
Set("/:score", Number(/:score) + 100);
}
i++;
}
}
} else {
this._x = _root.mm._x;
this._y = _root.mm._y;
this.col.setRGB(13421772);
if (_root.mm.fire > 0) {
_root.mm.fire--;
this.col.setRGB(16711680);
this.fire = true;
}
}
};
i++;
}
i = 0;
while (i < 7) {
a = this.attachMovie("dd", "xxd" + i, baseh++);
a.txt = "^";
a.n = i;
a._xscale = 60;
a._yscale = 60;
a.fire = false;
a.onEnterFrame = function () {
if ((!this.fire) && (_root.mm.life > 0)) {
this.col.setRGB(65484);
this._x = _root["xx" + this.n]._x;
this._y = _root["xx" + this.n]._y;
this.dx = _root.mm._x - this._x;
this.dy = _root.mm._y - this._y;
if (this.dy > 0) {
this.gd = Math.atan(this.dx / this.dy);
} else {
this.gd = Math.PI + Math.atan(this.dx / this.dy);
}
this.vx = 15 * Math.sin(this.gd);
this.vy = 15 * Math.cos(this.gd);
this._rotation = 180 - ((this.gd / Math.PI) * 180);
this.fire = true;
} else {
this._x = this._x + this.vx;
this._y = this._y + this.vy;
if ((((this._x < 0) || (this._x > 800)) || (this._y < 0)) || (this._y > 600)) {
this.fire = false;
} else if (this.hitTest(_root.mm)) {
tellTarget ("/sound") {
gotoAndPlay (2);
};
_root.mm.life--;
_root.load._xscale = int(_root.mm.life * 0.1);
_root.load._x = 65.4;
if (_root.mm.life > 50) {
state = "good";
}
if ((_root.mm.life <= 50) && (_root.mm.life > 0)) {
state = "bad";
} else if (_root.mm.life <= 0) {
state = "dead";
_root.over._visible = true;
_root.again._visible = true;
}
this.col.setRGB(16724736);
this.fire = false;
}
}
};
i++;
}
stop();
Instance of Symbol 116 MovieClip in Frame 151
onClipEvent (enterFrame) {
if (_x > 520) {
setProperty(this, _x , -20);
}
if (_x < -20) {
setProperty(this, _x , 520);
}
setProperty(this, _x , _x + Number(5));
}
Instance of Symbol 116 MovieClip in Frame 151
onClipEvent (enterFrame) {
if (_x > 520) {
setProperty(this, _x , -20);
}
if (_x < -20) {
setProperty(this, _x , 520);
}
setProperty(this, _x , _x + Number(4));
}
Instance of Symbol 116 MovieClip in Frame 151
onClipEvent (enterFrame) {
if (_x > 520) {
setProperty(this, _x , -20);
}
if (_x < -20) {
setProperty(this, _x , 520);
}
setProperty(this, _x , _x + Number(4.5));
}
Instance of Symbol 116 MovieClip in Frame 151
onClipEvent (enterFrame) {
if (_x > 520) {
setProperty(this, _x , -20);
}
if (_x < -20) {
setProperty(this, _x , 520);
}
setProperty(this, _x , _x + Number(3));
}
Instance of Symbol 116 MovieClip in Frame 151
onClipEvent (enterFrame) {
if (_x > 520) {
setProperty(this, _x , -20);
}
if (_x < -20) {
setProperty(this, _x , 520);
}
setProperty(this, _x , _x + Number(3.5));
}
Instance of Symbol 116 MovieClip in Frame 151
onClipEvent (enterFrame) {
if (_x > 520) {
setProperty(this, _x , -20);
}
if (_x < -20) {
setProperty(this, _x , 520);
}
setProperty(this, _x , _x + Number(5.5));
}
Instance of Symbol 116 MovieClip in Frame 151
onClipEvent (enterFrame) {
if (_x > 520) {
setProperty(this, _x , -20);
}
if (_x < -20) {
setProperty(this, _x , 520);
}
setProperty(this, _x , _x + Number(2.5));
}
Instance of Symbol 116 MovieClip in Frame 151
onClipEvent (enterFrame) {
if (_x > 520) {
setProperty(this, _x , -20);
}
if (_x < -20) {
setProperty(this, _x , 520);
}
setProperty(this, _x , _x + Number(3));
}
Instance of Symbol 116 MovieClip in Frame 151
onClipEvent (enterFrame) {
if (_x > 520) {
setProperty(this, _x , -20);
}
if (_x < -20) {
setProperty(this, _x , 520);
}
setProperty(this, _x , _x + Number(4.75));
}
Symbol 1 MovieClip [tt] Frame 1
stop();
Symbol 1 MovieClip [tt] Frame 51
stop();
Symbol 6 MovieClip [dd] Frame 34
stop();
Symbol 10 MovieClip [plane] Frame 1
i = 1;
max = 40;
xx = getProperty("fire", _x);
stop();
Symbol 10 MovieClip [plane] Frame 2
if (i < max) {
duplicateMovieClip ("fire", "fire" add i, i);
setProperty("fire" add i, _x , (xx + random(10)) - 5);
i++;
}
Symbol 10 MovieClip [plane] Frame 72
gotoAndPlay (2);
Symbol 20 MovieClip Frame 8
gotoAndPlay (1);
Symbol 21 MovieClip [bb] Frame 1
stop();
Symbol 50 Button
on (rollOver) {
gotoAndPlay (5);
}
on (rollOut) {
gotoAndPlay (11);
}
Symbol 53 Button
on (release) {
gotoAndPlay (95);
}
Symbol 57 Button
on (rollOver) {
gotoAndPlay (22);
}
on (rollOut) {
gotoAndPlay (29);
}
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 3
stop();
Symbol 67 MovieClip Frame 4
stop();
Symbol 67 MovieClip Frame 5
stop();
Symbol 93 MovieClip Frame 2
stop();
Symbol 93 MovieClip Frame 5
gotoAndPlay (1);
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 101
stop();
Symbol 103 MovieClip Frame 259
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 7
gotoAndPlay (1);
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 160
gotoAndPlay (2);
Symbol 122 MovieClip Frame 1
mouse.show();
Symbol 123 Button
on (release) {
gotoAndPlay (3);
stopAllSounds();
unloadMovie (mm);
i = 0;
while (i < 7) {
unloadMovie ("xx" + i);
unloadMovie ("mmd" + i);
unloadMovie ("xxd" + i);
i++;
}
}
Symbol 126 MovieClip Frame 13
stop();
Symbol 129 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 5
gotoAndPlay (1);
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 326
gotoAndPlay (175);
Symbol 151 MovieClip Frame 1
stop();