Frame 1
stopAllSounds();
Frame 2
n = "1";
score = 0;
lives = 3;
Instance of Symbol 21 MovieClip "ennemy" in Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.ship) == true) && (this._visible == true)) {
tellTarget ("_root.ship") {
play();
};
_root.ennemy._visible = 0;
}
this._rotation = this._rotation + 2;
if (this._x < 300) {
this._x = this._x + Number(random(10));
}
if (50 < this._x) {
this._x = this._x - Number(random(10));
}
this._y = this._y + 5;
if (450 < this._y) {
this._y = -50;
this._x = Number(random(300) + 50);
this._visible = 1;
}
}
onClipEvent (load) {
this._y = -50;
this._x = Number(random(300) + 50);
}
Instance of Symbol 21 MovieClip "ennemy2" in Frame 2
onClipEvent (enterFrame) {
if ((this.hitTest(_root.ship) == true) && (this._visible == true)) {
tellTarget ("_root.ship") {
play();
};
_root.ennemy2._visible = 0;
}
this._rotation = this._rotation - 2;
if (this._x < 300) {
this._x = this._x + Number(random(10));
}
if (50 < this._x) {
this._x = this._x - Number(random(10));
}
this._y = this._y + 10;
if (450 < this._y) {
this._y = -50;
this._x = Number(random(300) + 50);
this._visible = 1;
}
}
onClipEvent (load) {
this._y = -200;
this._x = Number(random(200) + 50);
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
onClipEvent (enterFrame) {
this._y = _y + 7;
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 3;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 9;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 4;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 4;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 4;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 4;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 3;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 3;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 3;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 3;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
onClipEvent (enterFrame) {
this._y = _y + 7;
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(156));
}
}
onClipEvent (enterFrame) {
this._y = _y + 7;
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 9;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 3;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 4;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(156));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 3;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(350));
}
}
Instance of Symbol 27 MovieClip in Frame 2
onClipEvent (load) {
this._x = Number(random(350));
}
onClipEvent (enterFrame) {
this._y = _y + 4;
}
onClipEvent (enterFrame) {
if (400 < this._y) {
this._y = -5;
this._x = Number(random(156));
}
}
Instance of Symbol 41 MovieClip "ship" in Frame 2
onClipEvent (enterFrame) {
this._x = _x + (/:d / 5);
this._y = _y + (/:dy / 5);
}
Instance of Symbol 42 MovieClip "fmouse" in Frame 2
onClipEvent (enterFrame) {
Set("/:xmous", this._x);
Set("/:ymous", this._y);
if (key.isdown(key.right)) {
this._x = _x + 12;
}
if (key.isdown(key.left)) {
this._x = _x - 12;
}
if (key.isdown(key.up)) {
this._y = _y - 12;
}
if (key.isdown(key.down)) {
this._y = _y + 12;
}
if (333 < this._x) {
this._x = 333;
}
if (this._x < 17) {
this._x = 17;
}
if (this._y < 130) {
this._y = 130;
}
if (371 < this._y) {
this._y = 371;
}
}
Instance of Symbol 48 MovieClip "bullet" in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ennemy) == true) {
Set("/:score", /:score + 50);
_root.ennemy._visible = 0;
}
if (this.hitTest(_root.ennemy2) == true) {
Set("/:score", /:score + 50);
_root.ennemy2._visible = 0;
}
if (/:n != "1") {
this._y = _y - 15;
}
if (this._y < 0) {
this._visible = 0;
}
}
Frame 3
Set("/:d", /:xmous - getProperty(_root.ship, _x));
Set("/:dy", /:ymous - getProperty(_root.ship, _y));
Frame 4
gotoAndPlay (3);
Frame 5
if (0 < /:lives) {
Set("/:lives", /:lives - 1);
} else {
gotoAndStop (7);
}
Frame 6
stop();
stop();
Symbol 12 Button
on (release) {
_root.play();
}
Symbol 13 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 13 MovieClip Frame 2
gotoAndPlay (1);
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 10
tellTarget ("/") {
gotoAndPlay (5);
};
Symbol 44 Button
on (keyPress "<Space>") {
bn = "bullet" add n;
duplicateMovieClip ("bullet", bn, n);
setProperty(bn, _x , getProperty(ship, _x) + 1);
setProperty(bn, _y , getProperty(ship, _y) - 38);
n = Number(n) + 1;
Set(bn add ":n", n);
}
Symbol 51 MovieClip Frame 1
minuts = 0;
seconds = 0;
Symbol 51 MovieClip Frame 2
if (seconds == 60) {
minuts = minuts + 1;
seconds = 1;
}
Symbol 51 MovieClip Frame 15
seconds = seconds + 1;
gotoAndPlay (3);
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 10
Set("/:score", /:score + 1);
Symbol 64 MovieClip Frame 9
stop();
Symbol 67 Button
on (release) {
this._parent.gotoAndPlay("1");
}
Symbol 68 MovieClip Frame 15
stop();