Frame 1
stopAllSounds();
i = 1;
while (i < 11) {
eval ("_root.enemy" + i).removeMovieClip();
i++;
}
Frame 2
stop();
stopAllSounds();
Frame 3
score = -9000;
numEnemy = 8;
i = 2;
while (numEnemy >= i) {
enemy1.duplicateMovieClip("enemy" + i, i + 100);
i++;
}
Instance of Symbol 76 MovieClip "spaceship" in Frame 3
onClipEvent (load) {
moveSpeed = 15;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT) and (this._x < 530)) {
this._x = this._x + moveSpeed;
gotoAndStop (2);
} else if (Key.isDown(Key.LEFT) and (30 < this._x)) {
this._x = this._x - movespeed;
gotoAndStop (3);
}
if (!(Key.isDown(Key.RIGHT) || (Key.isDown(Key.LEFT)))) {
gotoAndStop (1);
}
}
Instance of Symbol 82 MovieClip "enemy2" in Frame 3
onClipEvent (load) {
function reset() {
this._y = 600;
this._x = random(500) + 200;
enemy1Speed = random(10) + 8;
this.gotoAndStop(1);
_root.score = _root.score + 2000;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._y = this._y - enemy1Speed;
} else {
this._y = this._y - enemy1Speed;
}
if (this._y < -10) {
reset();
}
if (this.hitTest(_root.spaceship) && (this._currentframe == 1)) {
tellTarget (_root.health) {
nextFrame();
};
this.play();
}
}
Instance of Symbol 86 MovieClip "enemy1" in Frame 3
onClipEvent (load) {
function reset() {
this._y = 600;
this._x = random(505) + 25;
enemy4Speed = random(30) + 12;
this.gotoAndStop(1);
_root.score = _root.score + 1000;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._y = this._y - enemy4Speed;
} else {
this._y = this._y - enemy4Speed;
}
if (this._y < -10) {
reset();
}
if (this.hitTest(_root.spaceship) && (this._currentframe == 1)) {
tellTarget (_root.health) {
nextFrame();
};
this.play();
}
}
Frame 4
stop();
Frame 6
score = -6000;
numEnemy = 5;
i = 2;
while (numEnemy >= i) {
enemy1.duplicateMovieClip("enemy" + i, i + 100);
i++;
}
Instance of Symbol 76 MovieClip "spaceship" in Frame 6
onClipEvent (load) {
moveSpeed = 15;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT) and (this._x < 530)) {
this._x = this._x + moveSpeed;
gotoAndStop (2);
} else if (Key.isDown(Key.LEFT) and (30 < this._x)) {
this._x = this._x - movespeed;
gotoAndStop (3);
}
if (!(Key.isDown(Key.RIGHT) || (Key.isDown(Key.LEFT)))) {
gotoAndStop (1);
}
}
Instance of Symbol 90 MovieClip "enemy1" in Frame 6
onClipEvent (load) {
function reset() {
this._y = 600;
this._x = random(505) + 20;
enemy4Speed = random(30) + 12;
this.gotoAndStop(1);
_root.score = _root.score + 1000;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._y = this._y - enemy4Speed;
} else {
this._y = this._y - enemy4Speed;
}
if (this._y < -10) {
reset();
}
if (this.hitTest(_root.spaceship) && (this._currentframe == 1)) {
tellTarget (_root.health) {
nextFrame();
};
this.play();
}
}
Instance of Symbol 82 MovieClip "enemy2" in Frame 6
onClipEvent (load) {
function reset() {
this._y = 600;
this._x = random(500) + 200;
enemy1Speed = random(10) + 8;
this.gotoAndStop(1);
_root.score = _root.score + 2000;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._y = this._y - enemy1Speed;
} else {
this._y = this._y - enemy1Speed;
}
if (this._y < -10) {
reset();
}
if (this.hitTest(_root.spaceship) && (this._currentframe == 1)) {
tellTarget (_root.health) {
nextFrame();
};
this.play();
}
}
Frame 7
stop();
Frame 9
score = -4000;
numEnemy = 3;
i = 2;
while (numEnemy >= i) {
enemy1.duplicateMovieClip("enemy" + i, i + 100);
i++;
}
Instance of Symbol 92 MovieClip "spaceship" in Frame 9
onClipEvent (load) {
moveSpeed = 16;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT) and (this._x < 530)) {
this._x = this._x + moveSpeed;
gotoAndStop (2);
} else if (Key.isDown(Key.LEFT) and (30 < this._x)) {
this._x = this._x - movespeed;
gotoAndStop (3);
}
if (!(Key.isDown(Key.RIGHT) || (Key.isDown(Key.LEFT)))) {
gotoAndStop (1);
}
}
Instance of Symbol 93 MovieClip "enemy1" in Frame 9
onClipEvent (load) {
function reset() {
this._y = 600;
this._x = random(505) + 20;
enemy4Speed = random(20) + 12;
this.gotoAndStop(1);
_root.score = _root.score + 1000;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._y = this._y - enemy4Speed;
} else {
this._y = this._y - enemy4Speed;
}
if (this._y < -10) {
reset();
}
if (this.hitTest(_root.spaceship) && (this._currentframe == 1)) {
tellTarget (_root.health) {
nextFrame();
};
this.play();
}
}
Instance of Symbol 82 MovieClip "enemy2" in Frame 9
onClipEvent (load) {
function reset() {
this._y = 600;
this._x = random(500) + 200;
enemy1Speed = random(10) + 8;
this.gotoAndStop(1);
_root.score = _root.score + 2000;
}
reset();
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._y = this._y - enemy1Speed;
} else {
this._y = this._y - enemy1Speed;
}
if (this._y < -10) {
reset();
}
if (this.hitTest(_root.spaceship) && (this._currentframe == 1)) {
tellTarget (_root.health) {
nextFrame();
};
this.play();
}
}
Frame 10
stop();
Frame 14
i = 1;
while (i < 11) {
eval ("_root.enemy" + i).removeMovieClip();
i++;
}
Frame 39
stopAllSounds();
Frame 141
stop();
Symbol 23 Button
on (release) {
nextFrame();
}
Symbol 47 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 47 MovieClip Frame 2
gotoAndPlay (1);
Symbol 47 MovieClip Frame 3
stop();
Symbol 47 MovieClip Frame 4
play();
Symbol 47 MovieClip Frame 72
_root.play();
Instance of Symbol 50 MovieClip in Symbol 55 MovieClip Frame 1
onClipEvent (load) {
stars2.duplicateMovieClip("stars22", 101);
stars22._y = stars2._y + stars2._height;
starStarty = this._y;
starSpeed = 0.666666666666667;
}
onClipEvent (enterFrame) {
this._y = this._y - starSpeed;
if ((starStarty - stars2._height) >= this._y) {
this._y = starStarty - starSpeed;
}
}
Instance of Symbol 54 MovieClip in Symbol 55 MovieClip Frame 1
onClipEvent (load) {
stars3.duplicateMovieClip("stars32", 102);
stars32._y = stars3._y + stars3._height;
starStarty = this._y;
starSpeed = 0.75;
}
onClipEvent (enterFrame) {
this._y = this._y - starSpeed;
if ((starStarty - stars3._height) >= this._y) {
this._y = starStarty - starSpeed;
}
}
Symbol 61 Button
on (press) {
gotoAndPlay (9);
}
Symbol 65 Button
on (press) {
gotoAndPlay (3);
}
Symbol 68 Button
on (release) {
gotoAndPlay (6);
}
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
stop();
Symbol 76 MovieClip Frame 3
stop();
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 2
stop();
Symbol 80 MovieClip Frame 3
stop();
Symbol 80 MovieClip Frame 4
play();
Symbol 80 MovieClip Frame 5
_root.gotoAndPlay("gameOver");
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 4
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 4
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
stop();
Symbol 92 MovieClip Frame 3
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 4
stop();
Instance of Symbol 97 MovieClip "starsend1" in Symbol 105 MovieClip Frame 1
onClipEvent (load) {
stars1.duplicateMovieClip("stars12", 100);
stars12._x = stars1._x + stars1._height;
starStartx = this._x;
starSpeed = 0.2;
}
onClipEvent (enterFrame) {
this._x = this._x - starSpeed;
if (this._x >= (starStartx + stars1._height)) {
this._x = starStartx + starSpeed;
}
}
Instance of Symbol 100 MovieClip "starsend2" in Symbol 105 MovieClip Frame 1
onClipEvent (load) {
stars2.duplicateMovieClip("stars22", 101);
stars22._x = stars2._x + stars2._height;
starStartx = this._x;
starSpeed = 0.333333333333333;
}
onClipEvent (enterFrame) {
this._x = this._x - starSpeed;
if (this._x >= (starStartx + stars2._height)) {
this._x = starStartx + starSpeed;
}
}
Instance of Symbol 104 MovieClip "starsend3" in Symbol 105 MovieClip Frame 1
onClipEvent (load) {
stars3.duplicateMovieClip("stars32", 102);
stars32._x = stars3._x + stars3._height;
starStartx = this._x;
starSpeed = 0.666666666666667;
}
onClipEvent (enterFrame) {
this._x = this._x - starSpeed;
if (this._x >= (starStartx + stars3._height)) {
this._x = starStartx + starSpeed;
}
}
Symbol 118 MovieClip Frame 8
stop();
Symbol 120 MovieClip Frame 8
stop();
Symbol 125 Button
on (release) {
gotoAndPlay (2);
}