Frame 1
_focusrect = false;
fscommand ("showmenu", "false");
ifFrameLoaded (3) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Instance of Symbol 30 MovieClip "LoadCircle" in Frame 3
onClipEvent (load) {
Set("/:TestMode", false);
Set("/:Total", int(_root.getBytesTotal() / 1024));
Time1 = int(getTimer() / 1000);
Kbps1 = 0;
}
onClipEvent (enterFrame) {
Set("/:Loaded", int(_root.getBytesLoaded() / 1024));
Set("/:Percent", int(/:Loaded / (/:Total / 100)));
if (99 < /:Percent) {
Set("/:Percent", 99);
}
if ((_root.getBytesLoaded() >= _root.getBytesTotal()) and (!/:TestMode)) {
_root.gotoAndPlay(_root._currentframe + 1);
} else {
_parent.LoadCircle.gotoAndStop(/:Percent);
Set("/:SecondsLeft", int((/:Total - /:Loaded) / /:Speed));
Time2 = int(getTimer() / 1000);
if ((Time2 - Time1) >= 3) {
Time1 = Time2;
Set("/:Speed", ((_root.getBytesLoaded() - Kbps) / 1024) / 3);
Set("/:Speed", String(/:Speed));
if (/:Speed.indexOf(".") >= 0) {
Set("/:Speed", /:Speed.split("."));
Set("/:Speed", (/:Speed[0] add ".") add (substring(/:Speed[1], 1, 2)));
}
Kbps = _root.getBytesLoaded();
}
}
}
Frame 5
stop();
Frame 6
Diff1.gotoAndStop(1);
Diff2.gotoAndStop(1);
Diff3.gotoAndStop(1);
if ((difficulty < 1) or (difficulty == 2)) {
difficulty = 2;
bombs = 2;
Diff2.gotoAndStop(2);
} else if (difficulty == 1) {
Diff1.gotoAndStop(2);
} else if (difficulty == 3) {
Diff3.gotoAndStop(2);
}
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
function initComets() {
i = 1;
while (stage >= i) {
if (3 >= i) {
createComet(Math.random() * 640, Math.random() * 480, 1);
_root.cometsToHit = _root.cometsToHit + 8;
} else {
cometSpeed[1] = cometSpeed[1] + 1;
cometSpeed[2] = cometSpeed[2] + 1;
cometSpeed[3] = cometSpeed[3] + 1;
cometSpeed[4] = cometSpeed[4] + 1;
}
i++;
}
}
function createComet(x, y, type) {
duplicateMovieClip ("Comet", "Comet_" + depth, depth);
setProperty("Comet_" + depth, _x , x);
setProperty("Comet_" + depth, _y , y);
eval ("Comet_" + depth).type = type;
depth++;
}
function particles(x, y, scale) {
i = 1;
while (5 >= i) {
duplicateMovieClip ("Particle", "Particle" + depth, depth);
setProperty("Particle" + depth, _x , x);
setProperty("Particle" + depth, _y , y);
setProperty("Particle" + depth, _rotation , int(Math.random() * 360) - 180);
setProperty("Particle" + depth, _xscale , scale / 2);
setProperty("Particle" + depth, _yscale , scale / 2);
depth++;
i++;
}
}
function cometExplosion(x, y, scale, givePowerUp) {
Sounds.gotoAndPlay("CometExplosion");
duplicateMovieClip ("Explosion", "Explosion" + depth, depth);
setProperty("Explosion" + depth, _x , x);
setProperty("Explosion" + depth, _y , y);
depth++;
i = 1;
while (5 >= i) {
duplicateMovieClip ("Particle", "Particle" + depth, depth);
setProperty("Particle" + depth, _x , x);
setProperty("Particle" + depth, _y , y);
setProperty("Particle" + depth, _rotation , int(Math.random() * 360) - 180);
setProperty("Particle" + depth, _xscale , scale);
setProperty("Particle" + depth, _yscale , scale);
depth++;
i++;
}
duplicateMovieClip ("Shockwave", "Shockwave" + depth, depth);
setProperty("Shockwave" + depth, _x , x);
setProperty("Shockwave" + depth, _y , y);
setProperty("Shockwave" + depth, _xscale , scale);
setProperty("Shockwave" + depth, _yscale , scale);
depth++;
if (givePowerUp and (!PowerUp.active)) {
PowerUp._x = x;
PowerUp._y = y;
PowerUp.activate();
}
}
function nextStage() {
stage++;
ScreenText.myText = "NEXT STAGE!";
ScreenText.gotoAndPlay(2);
initComets();
if (!arcadeMode) {
shield1 = 100;
Display1.ShieldBar.gotoAndStop(100);
fuel1 = 100;
Display1.FuelBar.gotoAndStop(100);
}
}
Movieclip.prototype.hitCheck = function () {
this.hitObject = "";
for (z in _parent) {
if (((typeof(_parent[z]) == "movieclip") and (_parent[z]._name ne this._name)) and (_parent[z]._name ne _parent._name)) {
if (this.hitTest(_parent[z])) {
this.hitObject = z;
return(undefined);
}
}
}
};
Movieclip.prototype.objectCheck = function (objName) {
this.hitObject = "";
for (z in _parent) {
if (((typeof(_parent[z]) == "movieclip") and (-1 < _parent[z]._name.indexOf(objName))) and (_parent[z]._name ne _parent._name)) {
if (this.hitTest(_parent[z])) {
this.hitObject = z;
return(undefined);
}
}
}
};
stage = difficulty;
cometsToHit = 0;
Background = 3;
rotationSpeed = 10;
acceleration = 0.4;
shotType1 = 1;
shotType1Speed = 10;
powerLev1 = 1;
shield1 = 100;
fuel1 = 100;
bombs1 = bombs;
score1 = 0;
shotsInScreen1 = 0;
maxShotsInScreen = 3;
depth = 100;
cometSize = new Array(0, 125, 85, 65, 40);
cometPoints = new Array(0, 50, 75, 100, 150);
cometSpeed = new Array(0, 2, 4, 6, 8);
Background = int(Math.random() * 4) + 1;
BG.gotoAndStop(Background);
if ((Background == 1) or (Background == 3)) {
Shadow._visible = 0;
}
initComets();
stop();
Instance of Symbol 141 MovieClip "Player" in Frame 9
onClipEvent (load) {
function fire() {
if ((_root.shotType1 == 1) and (_root.shotsInScreen1 < _root.maxShotsInScreen)) {
num = 1;
while (eval ("_root.Shot1_" + num)) {
num++;
}
duplicateMovieClip ("_root.Shot1", "Shot1_" + num, _root.depth);
setProperty("_root.Shot1_" + num, _x , _x);
setProperty("_root.Shot1_" + num, _y , _y);
setProperty("_root.Shot1_" + num, _rotation , _rotation);
_root.depth++;
_root.Sounds.gotoAndPlay("Shot1");
}
}
function reverse() {
if (xvelocity) {
xvelocity = -xvelocity;
} else {
xvelocity = xvelocity * -1;
}
if (yvelocity) {
yvelocity = -yvelocity;
} else {
yvelocity = yvelocity * -1;
}
}
_rotation = (int(Math.random() * 360) - 180);
yvelocity = yvelocity + ((_root.acceleration * 3) * Math.cos(((((-_rotation) + 180) / 360) * 2) * Math.PI));
xvelocity = xvelocity + ((_root.acceleration * 3) * Math.sin(((((-_rotation) + 180) / 360) * 2) * Math.PI));
leftBorder = -_width;
rightBorder = 640 + _width;
top = -_height;
bottom = 480 + _height;
}
onClipEvent (keyUp) {
left = false;
right = false;
up = false;
down = false;
}
onClipEvent (enterFrame) {
if (left) {
_rotation = (_rotation - _root.rotationSpeed);
} else if (right) {
_rotation = (_rotation + _root.rotationSpeed);
} else if (up) {
yvelocity = yvelocity + (_root.acceleration * Math.cos(((((-_rotation) + 180) / 360) * 2) * Math.PI));
xvelocity = xvelocity + (_root.acceleration * Math.sin(((((-_rotation) + 180) / 360) * 2) * Math.PI));
} else if (down) {
yvelocity = yvelocity - (_root.acceleration * Math.cos(((((-_rotation) + 180) / 360) * 2) * Math.PI));
xvelocity = xvelocity - (_root.acceleration * Math.sin(((((-_rotation) + 180) / 360) * 2) * Math.PI));
}
_x = (_x + xvelocity);
_y = (_y + yvelocity);
_parent.Shadow._x = _x + 30;
_parent.Shadow._y = _y + 30;
_parent.Shadow._rotation = _rotation;
if (_x < leftBorder) {
_x = rightBorder;
} else if (rightBorder < _x) {
_x = leftBorder;
}
if (_y < top) {
_y = bottom;
} else if (bottom < _y) {
_y = top;
}
}
Instance of Symbol 150 MovieClip "Comet" in Frame 9
onClipEvent (load) {
if (_name ne "Comet") {
dontTest = 30;
testShot = 1;
if (!_root.arcadeMode) {
energy = 100;
} else {
energy = 10;
EnergyBar._visible = 0;
}
Comet._rotation = int(Math.random() * 360) - 180;
_xscale = _root.cometSize[type];
_yscale = _root.cometSize[type];
speed = int(Math.random() * _root.cometSpeed[type]) + 1;
yvelocity = speed * Math.cos(((((-Comet._rotation) + 180) / 360) * 2) * Math.PI);
xvelocity = speed * Math.sin(((((-Comet._rotation) + 180) / 360) * 2) * Math.PI);
EnergyBar.gotoAndStop(energy);
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_name ne "Comet") {
_x = (_x + xvelocity);
_y = (_y + yvelocity);
if (_x < (-_width)) {
_x = (640 + _width);
} else if ((640 + _width) < _x) {
_x = (-_width);
}
if (_y < (-_height)) {
_y = (480 + _height);
} else if ((480 + _height) < _y) {
_y = (-_height);
}
dontTest--;
if ((dontTest < 0) and Comet.hitTest(_root.Player.HitShape)) {
dontTest = 30;
_root.cometExplosion(_x, _y, _xscale, 0);
_parent.Player.reverse();
if (xvelocity) {
xvelocity = -xvelocity;
} else {
xvelocity = xvelocity * -1;
}
if (yvelocity) {
yvelocity = -yvelocity;
} else {
yvelocity = yvelocity * -1;
}
_root.shield1 = _root.shield1 - 10;
if (_root.shield1 < 0) {
_root.shield1 = 1;
_root.ScreenText.myText = "GAME OVER!";
_root.ScreenText.gotoAndPlay(2);
_root.GameOver.gotoAndPlay(2);
}
_root.Display1.ShieldBar.gotoAndStop(_root.shield1);
}
if (_root.Bomb.active or Comet.hitTest(eval ("_root.Shot1_" + testShot))) {
Comet.gotoAndPlay(2);
_root.particles(_x, _y, _xscale);
_root.Sounds.gotoAndPlay("PartialHit");
_root.score1 = _root.score1 + 10;
if (_root.Bomb.active) {
if (_root.arcadeMode) {
energy = energy - 2;
} else {
energy = energy - 10;
}
} else {
energy = energy - (_root.powerLev1 * 10);
}
EnergyBar.gotoAndStop(energy);
eval ("_root.Shot1_" + testShot).removeMe();
if (0 >= energy) {
if (type < 4) {
_root.createComet(_x - 20, _y - 20, type + 1);
_root.createComet(_x + 20, _y + 20, type + 1);
} else {
_root.cometsToHit--;
if (_root.cometsToHit < 1) {
_root.nextStage();
}
}
_root.cometExplosion(_x, _y, _xscale, _root.arcadeMode);
_root.score1 = _root.score1 + _root.cometPoints[type];
removeMovieClip(this);
}
}
testShot++;
if (_root.maxShotsInScreen < testShot) {
testShot = 1;
}
}
}
Instance of Symbol 156 MovieClip "Shot1" in Frame 9
onClipEvent (load) {
function removeMe() {
_root.shotsInScreen1--;
removeMovieClip(this);
}
if (_name ne "Shot1") {
_root.shotsInScreen1++;
yvelocity = _root.shotType1Speed * Math.cos(((((-_rotation) + 180) / 360) * 2) * Math.PI);
xvelocity = _root.shotType1Speed * Math.sin(((((-_rotation) + 180) / 360) * 2) * Math.PI);
this.gotoAndStop(_root.powerLev1);
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_name ne "Shot1") {
_x = (_x + xvelocity);
_y = (_y + yvelocity);
if ((((_x < 0) or (640 < _x)) or (_y < 0)) or (480 < _y)) {
removeMe();
}
}
}
Instance of Symbol 198 MovieClip "Explosion" in Frame 9
onClipEvent (load) {
if (_name eq "Explosion") {
_visible = 0;
}
}
Instance of Symbol 208 MovieClip "Particle" in Frame 9
onClipEvent (load) {
if (_name eq "Particle") {
_visible = 0;
}
}
Instance of Symbol 248 MovieClip "PowerUp" in Frame 9
onClipEvent (load) {
function activate() {
this.active = 1;
Item._rotation = int(Math.random() * 360) - 180;
speed = int(Math.random() * _root.cometSpeed[1]) + 1;
yvelocity = Speed * Math.cos(((((-Item._rotation) + 180) / 360) * 2) * Math.PI);
xvelocity = Speed * Math.sin(((((-Item._rotation) + 180) / 360) * 2) * Math.PI);
_root.Sounds.gotoAndPlay("PowerUp");
this.gotoAndStop(int(Math.random() * 3) + 2);
}
function collected() {
if ((item eq "Shot") and (_root.powerLev1 < 4)) {
_root.powerLev1++;
_root.ScreenText.myText = "SHOT UPGRADE!";
_root.ScreenText.gotoAndPlay(2);
} else if (item eq "Shield") {
_root.shield1 = _root.shield1 + 20;
if (100 < _root.shield1) {
_root.shield1 = 100;
}
_root.Display1.ShieldBar.gotoAndStop(_root.shield1);
_root.ScreenText.myText = "SHIELD UPGRADE!";
_root.ScreenText.gotoAndPlay(2);
} else if (item eq "Fuel") {
_root.fuel1 = _root.fuel1 + 10;
if (100 < _root.fuel1) {
_root.fuel1 = 100;
}
_root.Display1.FuelBar.gotoAndStop(_root.fuel1);
_root.ScreenText.myText = "FUEL COLLECTED!";
_root.ScreenText.gotoAndPlay(2);
}
this.active = 0;
_root.Sounds.gotoAndStop("HitPowerUp");
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (active) {
_x = (_x + xvelocity);
_y = (_y + yvelocity);
if (_x < (-_width)) {
_x = (640 + _width);
} else if ((640 + _width) < _x) {
_x = (-_width);
}
if (_y < (-_height)) {
_y = (480 + _height);
} else if ((480 + _height) < _y) {
_y = (-_height);
}
}
}
Instance of Symbol 251 MovieClip "Shockwave" in Frame 9
onClipEvent (load) {
if (_name eq "Shockwave") {
_visible = 0;
}
}
Instance of Symbol 259 MovieClip "ScreenText" in Frame 9
onClipEvent (load) {
this.swapDepths(20000);
}
Instance of Symbol 268 MovieClip "Display1" in Frame 9
onClipEvent (load) {
this.swapDepths(20001);
}
Instance of Symbol 288 MovieClip "CleanUp" in Frame 9
onClipEvent (load) {
function go() {
for (z in _parent) {
if (typeof(_parent[z]) == "movieclip") {
removeMovieClip(_parent[z]);
}
}
_parent.gotoAndPlay(_root._currentframe + 1);
}
}
Frame 10
gotoAndPlay (11);
Frame 11
if (0 < _root.score1) {
stop();
} else {
gotoAndPlay (12);
}
Instance of Symbol 323 MovieClip in Frame 11
onClipEvent (load) {
scoreLocation = "_root.score1";
gamename = "spacefighter";
saveScore = true;
scoreIsTime = false;
scoreReversed = false;
}
Frame 12
gotoAndPlay (5);
Symbol 22 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip "TL" in Symbol 30 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (2);
}
Instance of Symbol 22 MovieClip "TL" in Symbol 30 MovieClip Frame 25
onClipEvent (load) {
gotoAndPlay (2);
}
Instance of Symbol 22 MovieClip "BL" in Symbol 30 MovieClip Frame 25
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 22 MovieClip "BL" in Symbol 30 MovieClip Frame 50
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 22 MovieClip "BR" in Symbol 30 MovieClip Frame 50
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 22 MovieClip "BR" in Symbol 30 MovieClip Frame 75
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 22 MovieClip "TR" in Symbol 30 MovieClip Frame 75
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 22 MovieClip "TR" in Symbol 30 MovieClip Frame 100
onClipEvent (load) {
gotoAndPlay (5);
}
Symbol 47 Button
on (release) {
getURL ("http://www.miniclip.com/Homepage.htm", "_blank");
}
Symbol 52 MovieClip Frame 1
if (int(Math.random() * 25) == 5) {
_rotation = (-180 + int(Math.random() * 360));
value = int(Math.random() * 3) + 1;
if (value == 3) {
gotoAndPlay ("Speed1");
} else if (value == 2) {
gotoAndPlay ("Speed2");
} else {
gotoAndPlay ("Speed3");
}
}
Symbol 52 MovieClip Frame 2
gotoAndPlay (1);
Symbol 52 MovieClip Frame 95
gotoAndPlay (1);
Symbol 53 MovieClip Frame 1
i = 1;
while (i < 30) {
duplicateMovieClip (Star, "Star" + i, 100 + i);
i++;
}
stop();
Symbol 61 Button
on (release) {
gotoAndStop (6);
}
Symbol 64 Button
on (release) {
gotoAndStop (7);
}
Symbol 66 Button
on (release) {
getURL ("http://www.miniclip.com/signup.htm");
}
Symbol 68 Button
on (release) {
getURL ("http://www.miniclip.com/Homepage.htm");
}
Symbol 70 Button
on (release) {
getURL ("http://www.miniclip.com/Flash/spacefighter.exe");
}
Symbol 73 Button
on (release) {
stopAllSounds();
arcadeMode = 0;
gotoAndPlay (9);
}
Symbol 75 Button
on (release) {
stopAllSounds();
arcadeMode = 1;
gotoAndPlay (9);
}
Symbol 79 Button
on (release) {
difficulty = 1;
bombs = 3;
Diff1.gotoAndStop(2);
Diff2.gotoAndStop(1);
Diff3.gotoAndStop(1);
}
Symbol 80 Button
on (release) {
difficulty = 3;
bombs = 1;
Diff1.gotoAndStop(1);
Diff2.gotoAndStop(1);
Diff3.gotoAndStop(2);
}
Symbol 81 Button
on (release) {
difficulty = 2;
bombs = 2;
Diff1.gotoAndStop(1);
Diff2.gotoAndStop(2);
Diff3.gotoAndStop(1);
}
Symbol 84 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 94 Button
on (release) {
gotoAndStop (5);
}
Symbol 117 Button
on (press) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 126 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 1
loop = 0;
stop();
Symbol 132 MovieClip Frame 2
_x = _root.Player._x;
_y = _root.Player._y;
active = 1;
Light1._rotation = int(Math.random() * 360) - 180;
Light2._rotation = int(Math.random() * 360) - 180;
Light3._rotation = int(Math.random() * 360) - 180;
Light4._rotation = int(Math.random() * 360) - 180;
Light5._rotation = int(Math.random() * 360) - 180;
Symbol 132 MovieClip Frame 3
Light1._rotation = int(Math.random() * 360) - 180;
Light2._rotation = int(Math.random() * 360) - 180;
Light3._rotation = int(Math.random() * 360) - 180;
Light4._rotation = int(Math.random() * 360) - 180;
Light5._rotation = int(Math.random() * 360) - 180;
loop++;
if (9 < loop) {
gotoAndStop (1);
active = 0;
} else {
gotoAndPlay (2);
}
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 11
gotoAndStop (1);
Symbol 137 MovieClip Frame 21
gotoAndStop (1);
Symbol 137 MovieClip Frame 31
gotoAndStop (1);
Symbol 137 MovieClip Frame 41
gotoAndStop (1);
Symbol 138 Button
on (keyPress "<Right>") {
left = false;
right = true;
up = false;
down = false;
}
on (keyPress "<Left>") {
left = true;
right = false;
up = false;
down = false;
}
on (keyPress "<Up>") {
if (0.5 < _root.fuel1) {
_root.fuel1 = _root.fuel1 - 0.5;
_root.Display1.FuelBar.gotoAndStop(int(_root.fuel1));
left = false;
right = false;
up = true;
down = false;
Burst.gotoAndPlay("Rear");
_root.Sounds.gotoAndPlay("BurstR");
}
}
on (keyPress "<Down>") {
if (0.5 < _root.fuel1) {
_root.fuel1 = _root.fuel1 - 0.5;
_root.Display1.FuelBar.gotoAndStop(int(_root.fuel1));
left = false;
right = false;
up = false;
down = true;
Burst.gotoAndPlay("Front");
_root.Sounds.gotoAndPlay("BurstF");
}
}
on (keyPress "x") {
fire();
}
on (keyPress "<Space>") {
if (_root.bombs1) {
_root.bombs1--;
_root.Bomb.gotoAndPlay(2);
_root.Display1.Bombs.gotoAndStop(_root.bombs1 + 1);
}
}
Symbol 140 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 6
stop();
Symbol 163 MovieClip Frame 11
stop();
Symbol 163 MovieClip Frame 16
stop();
Symbol 163 MovieClip Frame 21
stop();
Symbol 163 MovieClip Frame 26
stop();
Symbol 163 MovieClip Frame 31
stop();
Symbol 163 MovieClip Frame 36
stop();
Symbol 163 MovieClip Frame 41
stop();
Symbol 198 MovieClip Frame 1
if (_name eq "Explosion") {
stop();
}
Symbol 198 MovieClip Frame 18
if (_name ne "Explosion") {
removeMovieClip(this);
}
Symbol 207 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
if (_name eq "Particle") {
stop();
} else {
Type.gotoAndStop(int(Math.random() * 4) + 1);
}
Symbol 208 MovieClip Frame 40
removeMovieClip(this);
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 2
item = "Fuel";
Instance of Symbol 241 MovieClip "Item" in Symbol 248 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.Player)) {
_parent.collected();
}
}
Symbol 248 MovieClip Frame 3
item = "Shot";
Symbol 248 MovieClip Frame 4
item = "Shield";
Symbol 251 MovieClip Frame 1
if (_name eq "Shockwave") {
stop();
}
Symbol 251 MovieClip Frame 9
removeMovieClip(this);
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 2
Message.myText = myText;
Symbol 263 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 30
if (_name eq "ShieldBar") {
_root.DangerText.myText = "SHIELDS LOW!!";
_root.DangerText.gotoAndPlay(2);
} else if (_name eq "FuelBar") {
_root.DangerText.myText = "FUEL LOW!!";
_root.DangerText.gotoAndPlay(2);
}
Symbol 267 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 1
stop();
Instance of Symbol 263 MovieClip "ShieldBar" in Symbol 268 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.shield1);
}
Instance of Symbol 263 MovieClip "FuelBar" in Symbol 268 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.fuel1);
}
Instance of Symbol 267 MovieClip "Bombs" in Symbol 268 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.bombs1 + 1);
}
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 2
x = _root.Player._x;
y = _root.Player._y;
_root.Player.gotoAndStop(2);
_root.Shadow._visible = 0;
loop = 0;
Symbol 269 MovieClip Frame 3
x = x + (int(Math.random() * 50) - 25);
y = y + (int(Math.random() * 50) - 25);
scale = int(Math.random() * 100) + 25;
_root.cometExplosion(x, y, scale, 0);
Symbol 269 MovieClip Frame 7
loop++;
if (18 < loop) {
gotoAndPlay (8);
} else {
gotoAndPlay (3);
}
Symbol 269 MovieClip Frame 100
stopAllSounds();
_parent.CleanUp.go();
stop();
Symbol 270 Button
on (keyPress "q") {
ScreenText.myText = "GAME OVER!";
ScreenText.gotoAndPlay(2);
GameOver.gotoAndPlay(2);
}
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 2
Message.myText = myText;
Symbol 283 MovieClip Frame 30
Message.myText = myText;
Symbol 283 MovieClip Frame 60
Message.myText = myText;
Symbol 287 MovieClip Frame 91
stop();
Symbol 288 MovieClip Frame 1
stop();
Symbol 291 Button
on (release) {
getURL ("http://www.miniclip.com");
}
Symbol 302 MovieClip Frame 1
this._visible = false;
Symbol 317 Button
on (release) {
gameURL = ("http://www.miniclip.com/" + gamename) + ".htm";
getURL (gameURL, "_blank");
}
Instance of Symbol 302 MovieClip "mcHighscores" in Symbol 323 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 323 MovieClip Frame 2
if (((_url.slice(0, 23) != "http://www.miniclip.com") and (_url.slice(0, 19) != "http://miniclip.com")) and (_url.slice(0, 20) != "http://66.132.254.49")) {
gotoAndStop(_currentframe + 1);
} else {
var noCache = (getTimer() + random(100000));
mcTarget.loadMovie("http://www.miniclip.com/swfcontent/highscore.swf?" + noCache);
stop();
}
Symbol 323 MovieClip Frame 3
stop();
Symbol 324 Button
on (press) {
gotoAndPlay (4);
}