Frame 1
Stage.showMenu = false;
Frame 3
Frame 19
var musicMenu = new Sound();
musicMenu.attachSound("menuMusic");
fadeMusicMenu = function () {
volume = 100;
onEnterFrame = function () {
if (volume >= 0) {
volume = volume - 1;
musicMenu.setVolume(volume);
} else {
musicMenu.stop();
musicMenu.setVolume(100);
volume = 100;
delete onEnterFrame;
}
};
};
_root.musicMenu.start(0, 9999);
score = 0;
planet1Done = false;
planet2Done = false;
planet3Done = false;
planet4Done = false;
onMain = true;
_quality = "high";
if (quality == undefined) {
quality = "high";
}
if (effects == undefined) {
effects = "high";
}
low = function () {
effects = "low";
};
high = function () {
effects = "high";
};
lives = 7;
_root.shakeNum = 1;
screenShake = function () {
_root.screenShake_x = new mx.transitions.Tween(_root, "_x", mx.transitions.easing.Regular.easeInOut, _root._x, _root._x + 1, 1, false);
_root.screenShake_y = new mx.transitions.Tween(_root, "_y", mx.transitions.easing.Regular.easeInOut, _root._y, _root._y + 2, 1, false);
_root.screenShake_y.onMotionFinished = function () {
if (_root.shakeNum >= 10) {
_root._y = 0;
_root._x = 0;
_root.shakeNum = 1;
} else {
this.start();
_root.screenShake_x.start();
_root.shakeNum = _root.shakeNum + 1;
}
};
};
Frame 36
screenShake();
Frame 53
s1.name = "play";
s2.name = "options";
s3.name = "scores";
s4.name = "help";
s1._xscale = 120;
s1._yscale = 120;
s1.gotoAndPlay(2);
butNum = 1;
Frame 93
stop();
scoreBoard._visible = false;
instructions._visible = false;
optMenu._visible = false;
s1.func = "start";
s2.func = "options";
s3.func = "scores";
s4.func = "gameplay";
start = function () {
play();
s1_alpha = new mx.transitions.Tween(s1, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, 16, false);
s2_alpha = new mx.transitions.Tween(s2, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, 16, false);
s3_alpha = new mx.transitions.Tween(s3, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, 16, false);
s4_alpha = new mx.transitions.Tween(s4, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, 16, false);
s1.hit._visible = false;
s2.hit._visible = false;
s3.hit._visible = false;
s4.hit._visible = false;
};
options = function () {
optMenu._visible = true;
optMenu.but1.gotoAndPlay(2);
};
scores = function () {
scoreBoard._visible = true;
scoreBoard.back.gotoAndPlay(2);
};
gameplay = function () {
instructions._visible = true;
instructions.back.gotoAndPlay(2);
};
Frame 94
redLight.stop();
stop();
Frame 95
stop();
if (planet1Done) {
planet1._alpha = 65;
stamps.stamp.duplicateMovieClip("stamp1", 1, {_x:planet1._x, _y:planet1._y});
hit1.unloadMovie();
}
if (planet2Done) {
planet2._alpha = 65;
stamps.stamp.duplicateMovieClip("stamp2", 2, {_x:planet2._x, _y:planet2._y});
hit2.unloadMovie();
}
if (planet3Done) {
planet3._alpha = 65;
stamps.stamp.duplicateMovieClip("stamp3", 3, {_x:planet3._x, _y:planet3._y});
hit3.unloadMovie();
}
if (planet4Done) {
planet4._alpha = 65;
stamps.stamp.duplicateMovieClip("stamp4", 4, {_x:planet4._x, _y:planet4._y});
hit4.unloadMovie();
}
Instance of Symbol 281 MovieClip "targ" in Frame 96
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 10;
}
onClipEvent (enterFrame) {
endX = _root._xmouse;
endY = _root._ymouse;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Frame 125
stop();
hit1.planet = "planet1";
hit1.map = "map1";
hit1.thisMap = 1;
hit1.pName = "horus";
hit1.diff = "(easy)";
hit2.planet = "planet2";
hit2.map = "map4";
hit2.thisMap = 4;
hit2.pName = "imperium";
hit2.diff = "(extreme)";
hit3.planet = "planet3";
hit3.map = "map7";
hit3.thisMap = 7;
hit3.pName = "imperium moon";
hit3.diff = "(hard)";
hit4.planet = "planet4";
hit4.map = "map10";
hit4.thisMap = 10;
hit4.pName = "cyrus";
hit4.diff = "(medium)";
_global.bonusTotal = 0;
_global.roundScore = 0;
Frame 137
stop();
fadeMusicMenu();
Frame 138
var music = new Sound();
music.attachSound("gameMusic");
fadeMusic = function () {
volume = 100;
onEnterFrame = function () {
if (volume >= 0) {
volume = volume - 2;
music.setVolume(volume);
} else {
music.stop();
music.setVolume(100);
volume = 100;
delete onEnterFrame;
}
};
};
var musicDead = new Sound();
musicDead.attachSound("deadMusic");
fadeMusicDead = function () {
volume2 = 100;
onEnterFrame = function () {
if (volume >= 0) {
volume2 = volume2 - 1.5;
musicMenu.setVolume(volume2);
} else {
musicMenu.stop();
musicMenu.setVolume(100);
volume2 = 100;
delete onEnterFrame;
}
};
};
shad._visible = false;
done._visible = false;
mapDone = function () {
Key.removeListener(pauseListener);
completed = true;
delete ship.onEnterFrame;
ship.steer.light2.stop();
ship.shield.stop();
fadeMusic();
stopSpawn();
paused = true;
shad._visible = true;
map.shield.gotoAndStop(1);
hud.miniMap.map.ship._visible = false;
shad_alpha = new mx.transitions.Tween(shad, "_alpha", mx.transitions.easing.Strong.easeIn, 0, 100, 20, false);
shad_alpha.onMotionFinished = function () {
ship.steer.backThrust.gotoAndStop(1);
ship.steer.upThrust.gotoAndStop(1);
occupied = 0;
totalSaved = 0;
if (finalMap) {
done.mission = "mission";
} else {
done.mission = "stage";
}
done._visible = true;
done.gotoAndPlay(2);
};
};
nextLevel = function () {
fadeIn._visible = true;
fade_alpha = new mx.transitions.Tween(fadeIn, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, 20, false);
fade_alpha.onMotionFinished = function () {
if (finalMap) {
_root[planetSelect + "Done"] = true;
finalMap = false;
_root.musicMenu.start(0, 9999);
if ((((planet1Done == true) && (planet2Done == true)) && (planet3Done == true)) && (planet4Done == true)) {
_root.gotoAndPlay("win");
} else {
_root.gotoAndStop("maps");
}
} else {
done._visible = false;
done.gotoAndStop(1);
shad._visible = false;
fade._visible = true;
fade.gotoAndPlay(2);
mapSelect = "map" + (thisMap + 1);
thisMap = thisMap + 1;
startMap();
}
};
};
missile = function (pad, padNum) {
map.missile.duplicateMovieClip("missile" + padNum, padNum + 300, {_x:pad._x, _y:-140});
};
totalSaved = 0;
rescue = function () {
if ((occupied != 0) && (landed == true)) {
rescued = true;
allFull = false;
map.manRescue.duplicateMovieClip("man" + occupied, occupied + 2000, {_x:(map._x * -1) + ship._x, _y:map.pads.refuel._y - 3});
_root.hud.occupy["man" + occupied].gotoAndPlay("rescued");
occupied = occupied - 1;
}
};
var mapTimes = Array();
defTime = 300000 /* 0x0493E0 */;
mapTimes[1] = defTime;
mapTimes[2] = defTime;
mapTimes[3] = defTime;
mapTimes[4] = defTime;
mapTimes[5] = defTime;
mapTimes[6] = defTime;
mapTimes[7] = defTime;
mapTimes[8] = defTime;
mapTimes[9] = defTime;
mapTimes[10] = defTime;
mapTimes[11] = defTime;
mapTimes[12] = defTime;
var mapNeeds = Array();
defNeeds = 8;
mapNeeds[1] = defNeeds;
mapNeeds[2] = defNeeds;
mapNeeds[3] = defNeeds;
mapNeeds[4] = defNeeds;
mapNeeds[5] = defNeeds;
mapNeeds[6] = defNeeds;
mapNeeds[7] = defNeeds;
mapNeeds[8] = defNeeds;
mapNeeds[9] = defNeeds;
mapNeeds[10] = defNeeds;
mapNeeds[11] = defNeeds;
mapNeeds[12] = defNeeds;
var planetNames = Array();
planetNames[1] = "horus";
planetNames[2] = "horus";
planetNames[3] = "horus";
planetNames[4] = "imperium";
planetNames[5] = "imperium";
planetNames[6] = "imperium";
planetNames[7] = "imperium moon";
planetNames[8] = "imperium moon";
planetNames[9] = "imperium moon";
planetNames[10] = "cyrus";
planetNames[11] = "cyrus";
planetNames[12] = "cyrus";
var sectors = Array();
sectors[1] = "1 of 3";
sectors[2] = "2 of 3";
sectors[3] = "3 of 3";
sectors[4] = "1 of 3";
sectors[5] = "2 of 3";
sectors[6] = "3 of 3";
sectors[7] = "1 of 3";
sectors[8] = "2 of 3";
sectors[9] = "3 of 3";
sectors[10] = "1 of 3";
sectors[11] = "2 of 3";
sectors[12] = "3 of 3";
if (quality == undefined) {
quality = "high";
}
if (effects == undefined) {
effects = "high";
}
low = function () {
effects = "low";
};
high = function () {
effects = "high";
};
var pauseListener = new Object();
pauseListener.onKeyDown = function () {
if (Key.isDown(80) || (Key.isDown(27))) {
if (!paused) {
menuUp();
} else {
menuDown();
}
}
};
menuUp = function () {
paused = true;
_root.attachMovie("menu", "menu", 10000);
};
menuDown = function () {
paused = false;
menu.unloadMovie();
};
mapSetup = function () {
hud.miniMap.map.ship._x = 300 + (map._x * -1);
map.enemies.swapDepths(1500);
map.base.swapDepths(1001);
map.terrain.ground._alpha = 0;
map.terrain.ground._visible = false;
hud.miniMap.map.enemies.unloadMovie();
hud.miniMap.map.terrain.art.unloadMovie();
hud.miniMap.map.miniBase._x = hud.miniMap.map.base._x;
hud.miniMap.map.miniBase._y = hud.miniMap.map.base._y;
hud.miniMap.map.base.unloadMovie();
map.enemies.swapDepths(1999);
};
startMap = function () {
trace("NEW MAP");
onMain = false;
done._visible = false;
timesUp._visible = false;
gameover._visible = false;
_quality = quality;
completed = false;
xspeed = 0;
yspeed = 0;
grav = gravity;
baseShield._x = (map.base._x + map._x) + 4;
paused = true;
landed = true;
shield.gotoAndStop(1);
baseShield.gotoAndStop(1);
ship.steer.light2._visible = false;
ship.steer.gotoAndStop(21);
ship._x = Stage.width / 2;
ship._y = map.pads.refuel._y;
ship._rotation = 0;
hud.miniMap.map.ship._y = hud.miniMap.map.pads.refuel._y;
hud.miniMap.map.ship._visible = true;
spot._x = ship._x;
spot._y = ship._y;
hud.timerMC.gotoAndStop(1);
landed = true;
i = 0;
while (i <= 200) {
map["man" + i].removeMovieClip();
map.lights["light1" + (i + 100)].removeMovieClip();
map.lights["light1" + (i + 200)].removeMovieClip();
i++;
}
planetName = planetNames[thisMap];
sector = sectors[thisMap];
playerDead = false;
hud.fuel._xscale = 100;
hud.shield._xscale = 100;
map._x = -1400;
bg.bg3._x = -300;
hud.score.text = _root.score;
title.title.gotoAndPlay(1);
title._visible = true;
hud.timer._visible = false;
totalNeeded = mapNeeds[thisMap];
totalSaved = 0;
hud.rescued.text = (totalSaved + " of ") + totalNeeded;
fadeIn._visible = true;
fade_alpha = new mx.transitions.Tween(fadeIn, "_alpha", mx.transitions.easing.Regular.easeInOut, 100, 0, 150, false);
fade_alpha.onMotionFinished = function () {
startControl();
title.gotoAndPlay(1);
paused = false;
ship.steer.light2.play();
time = mapTimes[thisMap];
startClock();
spawn();
music.start(0, 9999);
};
lastPad = undefined;
allPads = 0;
allFilled = 0;
newPad = 1;
_root.bg.gotoAndStop(mapSelect);
_root.map.gotoAndStop(mapSelect);
_root.hud.miniMap.map.gotoAndStop(mapSelect);
mapSetup();
};
startMap();
stop();
mapPan = 7.2;
armSpeed = 1;
accel = 0.018;
brakes = 0.02;
accelUp = 0.095;
accelDown = 0.11;
drain = 0.05;
fill = 0.3;
recharge = 0.25;
xspeed = 0;
yspeed = 0;
fps = 51;
gravity = 0;
grav = gravity;
occupied = 0;
control = true;
spot._visible = false;
if (planetName == "cyrus") {
spot._visible = true;
spot._x = ship._x;
spot._y = ship._y;
} else {
spot._visible = false;
}
shift = 0;
startControl = function () {
Key.addListener(pauseListener);
ship.onEnterFrame = function () {
if (Key.isDown(17)) {
}
if ((control == true) && (paused != true)) {
if (planetName == "cyrus") {
spot._x = ship._x;
spot._y = ship._y;
}
shield._x = ship._x;
shield._y = ship._y - 6;
grav = grav + 0.01;
ship._x = ship._x + (xspeed + shift);
map._x = map._x - ((xspeed * mapPan) + shift);
baseShield._x = (map.base._x + map._x) + 4;
if (effects != "low") {
bg.bg2._x = bg.bg2._x - (xspeed * 0.75);
bg.bg3._x = bg.bg3._x - (xspeed * 0.75);
}
if (((((ship._x >= 620) || (ship._x <= -20)) || (ship._y >= 430)) || (ship._y <= -10)) && (control == true)) {
die();
}
ship._y = ship._y + (yspeed + grav);
hud.miniMap.map.ship._x = ship._x - map._x;
hud.miniMap.map.ship._y = ship._y;
if (hud.fuel._xscale <= 0) {
fuelOut = true;
} else {
fuelOut = false;
}
ship._rotation = xspeed * 16;
if (((xspeed <= 0) && (landed != true)) && (centered != true)) {
} else if ((landed != true) && (centered != true)) {
}
if (Key.isDown(32) && (hud.shield._xscale > 0)) {
shieldUp = true;
shield.nextFrame();
hud.shield._xscale = hud.shield._xscale - 0.3;
} else {
shieldUp = false;
shield.prevFrame();
}
if (Key.isDown(37) && (landed != true)) {
ship.steer.prevFrame();
if (xspeed > 0) {
xspeed = xspeed - (accel + brakes);
} else {
xspeed = xspeed - accel;
}
ship.steer.backThrust.nextFrame();
goLeft = true;
useFuel();
} else if (Key.isDown(39) && (landed != true)) {
ship.steer.nextFrame();
if (xspeed < 0) {
xspeed = xspeed + (accel + brakes);
} else {
xspeed = xspeed + accel;
}
ship.steer.backThrust.nextFrame();
goLeft = false;
useFuel();
} else {
ship.steer.backThrust.prevFrame();
}
if (Key.isDown(38) && (fuelOut != true)) {
ship.steer.upThrust.nextFrame();
takeOff = true;
yspeed = yspeed - accelUp;
useFuel();
} else if (Key.isDown(40)) {
yspeed = yspeed + accelDown;
useFuel();
} else {
ship.steer.upThrust.prevFrame();
takeOff = false;
}
if (map.terrain.ground.hitTest(ship._x, ship._y, true)) {
die();
}
if (map.pads.hitTest(ship._x, ship._y + 4, true)) {
if ((yspeed + grav) < 1) {
if (takeOff != true) {
if (map.pads.refuel.hitTest(ship._x, ship._y + 4, true)) {
if (hud.fuel._xscale <= 99) {
hud.fuel._xscale = hud.fuel._xscale + fill;
}
if (hud.shield._xscale <= 99) {
hud.shield._xscale = hud.shield._xscale + recharge;
}
if (!rescued) {
rescue();
}
}
landed = true;
grav = 0;
xspeed = 0;
yspeed = 0;
}
} else if (((yspeed + grav) >= 1) && ((yspeed + grav) < 3)) {
if (mapSelect != "map7") {
ship.sparks.gotoAndPlay(2);
yspeed = (-yspeed) * 0.5;
grav = (-grav) * 0.5;
}
if (rPad == true) {
ship.sparks.gotoAndPlay(2);
yspeed = (-yspeed) * 0.5;
grav = (-grav) * 0.5;
}
} else if ((yspeed + grav) >= 2.5) {
if ((mapSelect != "map7") && (rPad != true)) {
die();
}
}
} else {
landed = false;
rescued = false;
}
}
};
};
useFuel = function () {
if (!fuelOut) {
hud.fuel._xscale = hud.fuel._xscale - drain;
}
if ((hud.fuel._xscale <= fuelDanger) && (fuelIsLow != true)) {
fuelIsLow = true;
lowFuel();
}
};
if (allPads != undefined) {
i = 1;
while (i <= allPads) {
_root[("pad" + i) + "Filled"] = false;
_root["pad" + i].hasMan = false;
i++;
}
}
allPads = 0;
allFilled = 0;
newPad = 1;
randTime = 20;
setTime = 16;
maxMen = 5;
manDir = 1;
spawn = function () {
spawnTime = 8;
if (!paused) {
if (!spawning) {
interval = setInterval(spawn, spawnTime * 1000);
spawning = true;
}
padNum = random(allPads) + 1;
if ((allFilled < allPads) && (_root.lastPad != padNum)) {
if (_root[("pad" + padNum) + "Filled"] == true) {
spawn();
} else if (padNum == lastPad) {
} else {
allFilled = allFilled + 1;
newPad = _root.map.pads["pad" + padNum];
_root.map.man.duplicateMovieClip("manpad" + padNum, 500 + padNum, {_x:newPad._x, _y:newPad._y + 2});
_root.map["manpad" + padNum]._xscale = 100 * manDir;
_root.hud.miniMap.map.manBlip.duplicateMovieClip("manpad" + padNum, 500 + padNum, {_x:newPad._x, _y:newPad._y});
_root.map.pads["pad" + padNum].hasMan = true;
_root.map.pads["pad" + padNum].padNum = padNum;
_root.map[("pad" + padNum) + "Timer"].timer._visible = true;
_root.map.pads["pad" + padNum].time = ((random(randTime) + 1) + setTime) * fps;
_root[("pad" + padNum) + "Filled"] = true;
_root.map.lights["light1" + padNum].blink.gotoAndPlay(2);
_root.map.lights["light2" + padNum].blink.gotoAndPlay(21);
_root.map.pads["pad" + padNum].missHit = false;
manDir = manDir * -1;
}
}
}
};
startSpawn = function () {
spawn();
};
stopSpawn = function () {
clearInterval(interval);
spawning = false;
i = 1;
while (i <= allPads) {
_root.hud.occupy["man" + i].removeMovieClip();
_root.map["manpad" + i].removeMovieClip();
_root.map[("pad" + i) + "Timer"].removeMovieClip();
_root.hud.miniMap.map["manpad" + i].removeMovieClip();
_root[("pad" + i) + "Filled"] = false;
_root["pad" + i].hasMan = false;
i++;
}
};
Color.prototype.reduceRGB = function (p) {
var _local2 = this.getTransform();
var _local3 = (100 - p) / 100;
this.setTransform({ra:p, rb:_local2.rb * _local3, ga:p, gb:_local2.gb * _local3, ba:p, bb:_local2.bb * _local3});
};
hitFlashColor = 16711680 /* 0xFF0000 */;
hitFlashSpeed = 2;
fuelDanger = 25;
var alarm = new Sound();
alarm.attachSound("warning");
lowFuel = function () {
alarm.start();
flashing = true;
fade = 0;
_root.hud.fuel.onEnterFrame = function () {
if (hud.fuel._xscale < fuelDanger) {
col = new Color(_root.hud.fuel);
if (fade >= 100) {
fade = 0;
} else {
fade = fade + _root.hitFlashSpeed;
}
col.setRGB(_root.hitFlashColor);
col.reduceRGB(fade);
} else {
fuelIsLow = false;
col.reduceRGB(100);
delete _root.hud.fuel.onEnterFrame;
}
};
};
if (score == undefined) {
score = 0;
}
hud.score.text = score;
getScore = function (points) {
_global.roundScore = _global.roundScore + points;
score = score + points;
hud.score.text = score;
};
reset = function () {
resetDone = 0;
invinc = true;
ship._alpha = 20;
hud.onEnterFrame = function () {
ship._alpha = ship._alpha + 3;
if (ship._alpha >= 100) {
resetDone = resetDone + 1;
ship._alpha = 20;
}
if (resetDone >= 5) {
invinc = false;
ship._alpha = 100;
delete hud.onEnterFrame;
}
};
};
hud.lives.text = lives;
die = function () {
screenShake();
died = true;
lives = lives - 1;
hud.lives.text = lives;
shield._visible = false;
shield.gotoAndStop(1);
control = false;
speed = 0.095;
endX = -1400;
endXbg3 = -300;
resetNow = 1;
ship.gotoAndStop("die");
occupied = 0;
allFull = false;
_root.hud.miniMap.map.ship._visible = false;
_root.hud.occupy.man1.gotoAndPlay("die");
_root.hud.occupy.man2.gotoAndPlay("die");
_root.hud.occupy.man3.gotoAndPlay("die");
_root.hud.occupy.man4.gotoAndPlay("die");
_root.hud.occupy.man5.gotoAndPlay("die");
if (hud.lives.text <= 0) {
stopClock();
playerDead = true;
map.onEnterFrame = function () {
resetNow = resetNow + 1;
if (resetNow >= 70) {
Key.removeListener(pauseListener);
delete map.onEnterFrame;
finalMap = false;
fadeMusic();
shad._visible = true;
shad_alpha = new mx.transitions.Tween(shad, "_alpha", mx.transitions.easing.Strong.easeInOut, 0, 100, 80, false);
shad_alpha.onMotionFinished = function () {
_root.musicDead.start(0, 9999);
stopSpawn();
gameover._visible = true;
gameover.gotoAndPlay(2);
};
}
};
} else {
map.onEnterFrame = function () {
if (!paused) {
resetNow = resetNow + 1;
if (resetNow >= 40) {
map._x = map._x + ((endX - map._x) * speed);
baseShield._x = (map.base._x + map._x) + 4;
if (effects != "low") {
bg.bg2._x = bg.bg2._x + ((endX - map._x) * (speed - 0.04));
bg.bg3._x = bg.bg3._x + ((endXbg3 - bg.bg3._x) * speed);
}
if ((map._x <= -1399) && (map._x >= -1400)) {
died = false;
xspeed = 0;
yspeed = 0;
grav = 0;
hud.fuel._xscale = 100;
hud.shield._xscale = 100;
control = true;
reset();
ship.steer.gotoAndStop(21);
ship._x = Stage.width / 2;
ship._y = map.pads.refuel._y;
ship._rotation = 0;
ship._visible = true;
shield._visible = true;
delete map.onEnterFrame;
hud.miniMap.map.ship._x = ship._x - map._x;
hud.miniMap.map.ship._y = ship._y;
hud.miniMap.map.ship._visible = true;
}
}
}
};
}
};
Instance of Symbol 209 MovieClip "comHighscores" in Frame 139
//component parameters
onClipEvent (construct) {
scoreLocation = "_root.score";
gamename = "evac";
saveScore = true;
scoreIsTime = false;
scoreReversed = false;
negativeScoreAllowed = false;
}
Frame 174
stop();
done.name = "continue";
done.func = "restart";
restart = function () {
done._visible = false;
_root.fadeIn._visible = true;
_root.fade_alpha = new mx.transitions.Tween(_root.fadeIn, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, 20, false);
_root.fade_alpha.onMotionFinished = function () {
musicMenu.stop();
_root.gotoAndPlay("mainScreen");
};
};
Symbol 34 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.paused) {
play();
} else {
stop();
}
};
Instance of Symbol 33 MovieClip in Symbol 34 MovieClip Frame 1
onClipEvent (load) {
this.unloadMovie();
}
Symbol 34 MovieClip Frame 22
_x = random(1200);
_y = random(150);
_xscale = (random(100) + 30);
_yscale = (random(100) + 30);
Symbol 53 MovieClip Frame 1
Instance of Symbol 60 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(140) + 1);
}
Instance of Symbol 60 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(140) + 1);
}
Instance of Symbol 60 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(140) + 1);
}
Instance of Symbol 60 MovieClip in Symbol 61 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(140) + 1);
}
Symbol 68 MovieClip [m1_sky] Frame 1
stop();
bg1._visible = true;
bg2._visible = true;
this.onEnterFrame = function () {
if (!_root.paused) {
if (bg2._x <= (-Stage.width)) {
bg2._x = 0;
} else if (bg2._x >= 0) {
bg2._x = -600;
}
if (_root.effects == "high") {
bg1._x = bg1._x - 0.8;
if (bg1._x <= (-Stage.width)) {
bg1._x = 0;
}
} else if (_root.effects == "low") {
}
}
};
Symbol 68 MovieClip [m1_sky] Frame 4
stop();
bg1._visible = true;
bg2._visible = true;
this.onEnterFrame = function () {
if (!_root.paused) {
if (bg2._x <= (-Stage.width)) {
bg2._x = 0;
} else if (bg2._x >= 0) {
bg2._x = -600;
}
if (_root.effects == "high") {
bg3.play();
} else if (_root.effects == "low") {
bg3.stop();
}
}
};
Symbol 68 MovieClip [m1_sky] Frame 10
stop();
startBg = function () {
bg1._visible = true;
bg2._visible = true;
this.onEnterFrame = function () {
if (!_root.paused) {
bg1._x = bg1._x - 0.1;
if (bg1._x <= (-Stage.width)) {
bg1._x = 0;
}
if (bg2._x <= (-Stage.width)) {
bg2._x = 0;
} else if (bg2._x >= 0) {
bg2._x = -600;
}
}
};
};
if (_root.effects != "low") {
startBg();
}
Symbol 80 MovieClip Frame 1
name.text = _parent.name;
Symbol 81 MovieClip Frame 1
stop();
hit.onRollOver = function () {
gotoAndPlay ("over");
};
hit.onRollOut = function () {
gotoAndPlay ("out");
};
hit.onRelease = function () {
_parent[func]();
};
Symbol 81 MovieClip Frame 10
stop();
Symbol 81 MovieClip Frame 20
gotoAndStop ("start");
Symbol 93 MovieClip Frame 1
name.text = _parent.name;
Symbol 94 MovieClip Frame 1
border.setMask(mask);
Symbol 94 MovieClip Frame 14
stop();
hit.onRollOver = function () {
gotoAndPlay ("over");
};
hit.onRollOut = function () {
gotoAndPlay ("out");
};
hit.onRelease = function () {
_parent[func]();
};
_root.butNum = _root.butNum + 1;
_root["s" + _root.butNum].gotoAndPlay(2);
Symbol 94 MovieClip Frame 24
stop();
Symbol 94 MovieClip Frame 33
gotoAndStop ("start");
Symbol 96 MovieClip Frame 1
stop();
hit.onRollOver = function () {
gotoAndPlay ("over");
};
hit.onRollOut = function () {
gotoAndPlay ("out");
};
hit.onRelease = function () {
_parent.resetQ();
_parent[func]();
};
Symbol 96 MovieClip Frame 10
stop();
Symbol 96 MovieClip Frame 20
gotoAndStop ("start");
Instance of Symbol 33 MovieClip in Symbol 101 MovieClip Frame 1
on (release) {
getURL ("http://www.oneslyfox.com", "_blank");
}
Symbol 103 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 104 MovieClip [menu] Frame 1
but1.name = "resume game";
but1.func = "resume";
but2.name = "quit game";
but2.func = "quit";
if (_root.onMain) {
but2.unloadMovie();
}
resume = function () {
if (_root.onMain) {
_visible = false;
} else {
_root.menuDown();
this.unloadMovie();
}
};
quit = function () {
_root.menuDown();
_root.paused = true;
_root.stopSpawn();
_root.control = false;
Key.removeListener(_root.pauseListener);
delete _root.map.onEnterFrame;
_root.fadeMusic();
_root.fadeIn._visible = true;
_root.fade_alpha = new mx.transitions.Tween(_root.fadeIn, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, 51, false);
_root.fade_alpha.onMotionFinished = function () {
_root.gotoAndPlay("mainScreen");
};
this.unloadMovie();
};
q1.name = "high";
q1.func = "qhigh";
q2.name = "med";
q2.func = "qmed";
q3.name = "low";
q3.func = "qlow";
resetQ = function () {
q1.textBox._alpha = 30;
q2.textBox._alpha = 30;
q3.textBox._alpha = 30;
};
resetQ();
qhigh = function () {
q1.textBox._alpha = 100;
_root.quality = "high";
if (_root.control) {
_quality = "high";
}
};
qmed = function () {
q2.textBox._alpha = 100;
_root.quality = "medium";
if (_root.control) {
_quality = "medium";
}
};
qlow = function () {
q3.textBox._alpha = 100;
_root.quality = "low";
if (_root.control) {
_quality = "low";
}
};
if (_root.quality == "low") {
q3.textBox._alpha = 100;
}
if (_root.quality == "medium") {
q2.textBox._alpha = 100;
}
if (_root.quality == "high") {
q1.textBox._alpha = 100;
}
fx1.name = "high";
fx1.func = fx1.name;
fx2.name = "med";
fx2.func = fx2.name;
fx3.name = "low";
fx3.func = fx3.name;
resetFx = function () {
fx1.textBox._alpha = 30;
fx2.textBox._alpha = 30;
fx3.textBox._alpha = 30;
};
trace(_root.effects);
resetFx();
if (_root.effects == "low") {
fx3.textBox._alpha = 100;
}
if (_root.effects == "medium") {
fx2.textBox._alpha = 100;
}
if (_root.effects == "high") {
fx1.textBox._alpha = 100;
}
high = function () {
resetFx();
fx1.textBox._alpha = 100;
_root.high();
};
med = function () {
resetFx();
fx2.textBox._alpha = 100;
_root.med();
};
low = function () {
resetFx();
fx3.textBox._alpha = 100;
_root.low();
};
Instance of Symbol 70 MovieClip in Symbol 104 MovieClip [menu] Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
on (release) {
}
Instance of Symbol 70 MovieClip in Symbol 104 MovieClip [menu] Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
on (release) {
}
Symbol 108 Button
on (release) {
getURL ("http://www.miniclip.com/", "_blank");
}
Symbol 109 MovieClip Frame 2
_parent.mcAnimation.play();
stop();
Symbol 109 MovieClip Frame 13
_parent.gotoAndPlay("preload");
stop();
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 60
Symbol 125 MovieClip Frame 121
_parent.mcBackground.play();
stop();
Symbol 130 MovieClip Frame 1
this._visible = false;
Symbol 135 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 140 MovieClip Frame 2
if (_url.indexOf("http") > -1) {
if (_parent._parent._parent.loadAdNow) {
cacheBuster = getTimer() + random(999999);
showAd = "http://www.miniclip.com/swfcontent/push/didyouknow.swf?cacheBuster" + cacheBuster;
trace("Loading ad: " + showAd);
mcAd.loadMovie(showAd);
} else {
gotoAndPlay(_currentframe - 1);
}
}
Symbol 140 MovieClip Frame 4
if ((mcAd.getBytesTotal() != 0) && (mcAd.getBytesLoaded() == mcAd.getBytesTotal())) {
gotoAndStop ("showAd");
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 140 MovieClip Frame 12
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 100
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 12
_root.play();
_root.isFinished = true;
_parent.stop();
stop();
Symbol 153 MovieClip Frame 1
loadAdNow = false;
_root.stop();
play();
Instance of Symbol 130 MovieClip "mcIntro" in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 153 MovieClip Frame 2
xPos = _x;
yPos = _y;
mcBackground._x = mcBackground._x - xPos;
mcBackground._y = mcBackground._y - yPos;
mcAnimation._x = mcAnimation._x - xPos;
mcAnimation._y = mcAnimation._y - yPos;
var stageWidth = Stage.width;
var stageHeight = Stage.height;
var centerStageX = (stageWidth / 2);
var centerStageY = (stageHeight / 2);
mcBackground._width = stageWidth;
mcBackground._height = stageHeight;
mcAnimation._x = mcAnimation._x + centerStageX;
mcAnimation._y = mcAnimation._y + (centerStageY - (stageHeight / 10));
stop();
Instance of Symbol 152 MovieClip "mcLoadingAnimated" in Symbol 153 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 153 MovieClip Frame 3
var loadedPercent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loadedPercent == 100) {
_root.play();
stop();
} else {
loadAdNow = true;
mcLoadingAnimated._visible = true;
}
Symbol 153 MovieClip Frame 5
var loadedPercent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loadedPercent < 100) {
mcLoadingAnimated.mcLoading.gotoAndStop(loadedPercent);
mcLoadingAnimated.mcLoading.txtPercentLoaded1 = ("The game is loading (" + loadedPercent) + "%)";
mcLoadingAnimated.mcLoading.txtPercentLoaded2 = ("The game is loading (" + loadedPercent) + "%)";
gotoAndPlay(_currentframe - 1);
} else {
mcLoadingAnimated.play();
stop();
}
Symbol 754 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 755 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 756 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 757 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 758 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 187 MovieClip Frame 33
this.unloadMovie();
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
border.setMask(mask);
Symbol 191 MovieClip Frame 14
_root.butNum = _root.butNum + 1;
_root["s" + _root.butNum].gotoAndPlay(2);
Symbol 191 MovieClip Frame 30
stop();
hit.onRollOver = function () {
gotoAndPlay ("over");
};
hit.onRollOut = function () {
gotoAndPlay ("out");
};
hit.onRelease = function () {
_parent[func]();
};
Symbol 191 MovieClip Frame 40
stop();
Symbol 191 MovieClip Frame 50
gotoAndStop ("start");
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 2
border.setMask(mask);
Symbol 192 MovieClip Frame 14
_root.butNum = _root.butNum + 1;
_root["s" + _root.butNum].gotoAndPlay(2);
Symbol 192 MovieClip Frame 30
stop();
hit.onRollOver = function () {
gotoAndPlay ("over");
};
hit.onRollOut = function () {
gotoAndPlay ("out");
};
hit.onRelease = function () {
_parent[func]();
};
Symbol 192 MovieClip Frame 40
stop();
Symbol 192 MovieClip Frame 50
gotoAndStop ("start");
Symbol 198 MovieClip Frame 1
this._visible = false;
Symbol 207 Button
on (release) {
gameURL = ("http://www.miniclip.com/" + gamename) + ".htm";
getURL (gameURL, "_blank");
}
Symbol 209 MovieClip Frame 1
System.security.allowDomain("www.miniclip.com");
Instance of Symbol 198 MovieClip "mcHighscores" in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 209 MovieClip Frame 2
if ((((_url.indexOf("miniclip.com") == -1) && (_url.indexOf("miniclip.net") == -1)) && (_url.indexOf("miniclip.co.uk") == -1)) && (_url.indexOf("miniclips.com"))) {
gotoAndStop(_currentframe + 1);
} else {
var noCache = (getTimer() + random(100000));
mcTarget.loadMovie("http://www.miniclip.com/swfcontent/highscore.swf?noCache=" + noCache);
stop();
}
Symbol 209 MovieClip Frame 3
stop();
Symbol 210 MovieClip Frame 1
back.name = "back";
back.func = "backFunc";
backFunc = function () {
this._visible = false;
};
Instance of Symbol 70 MovieClip in Symbol 210 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
on (release) {
}
Instance of Symbol 209 MovieClip "comHighscores" in Symbol 210 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
scoreLocation = "_root.score";
gamename = "evac";
saveScore = false;
scoreIsTime = false;
scoreReversed = false;
negativeScoreAllowed = false;
}
Symbol 236 MovieClip Frame 1
back.name = "back";
back.func = "backFunc";
backFunc = function () {
this._visible = false;
};
Instance of Symbol 70 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
on (release) {
}
Instance of Symbol 70 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (load) {
this.useHandCursor = false;
}
on (release) {
}
Instance of Symbol 227 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (load) {
this.upgrade.text = "P";
}
Instance of Symbol 227 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (load) {
this.upgrade.text = "L";
}
Instance of Symbol 227 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (load) {
this.upgrade.text = "F";
}
Instance of Symbol 227 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (load) {
this.upgrade.text = "S";
}
Symbol 239 MovieClip Frame 40
_parent.play();
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 15
stop();
Symbol 247 MovieClip Frame 30
gotoAndStop (1);
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 15
stop();
Symbol 248 MovieClip Frame 30
gotoAndStop (1);
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 15
stop();
Symbol 251 MovieClip Frame 30
gotoAndStop (1);
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 15
stop();
Symbol 254 MovieClip Frame 30
gotoAndStop (1);
Symbol 259 MovieClip Frame 40
_parent.play();
this.unloadMovie();
Symbol 282 MovieClip Frame 1
stop();
hit.onRollOver = function () {
_root.pName = pName;
_root.diff = diff;
_root.details.gotoAndPlay(2);
_root[planet].gotoAndPlay("over");
};
hit.onRollOut = function () {
_root.details.gotoAndStop(1);
_root[planet].gotoAndPlay("out");
};
hit.onRelease = function () {
_root.planetSelect = planet;
_root.mapSelect = map;
_root.thisMap = thisMap;
_root.gotoAndPlay("startGame");
};
Symbol 292 MovieClip Frame 1
details.text = _root.pName;
diff.text = _root.diff;
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 3
details.setMask(detailsMASK);
Symbol 295 MovieClip Frame 61
stop();
Symbol 316 MovieClip Frame 1
stop();
Instance of Symbol 306 MovieClip "aim" in Symbol 316 MovieClip Frame 11
onClipEvent (load) {
orig_y = this._y;
orig_x = this._x;
}
Instance of Symbol 309 MovieClip "aim" in Symbol 316 MovieClip Frame 21
onClipEvent (load) {
orig_y = this._y;
orig_x = this._x;
}
Instance of Symbol 312 MovieClip "aim" in Symbol 316 MovieClip Frame 31
onClipEvent (load) {
orig_y = this._y;
orig_x = this._x;
}
Instance of Symbol 315 MovieClip "aim" in Symbol 316 MovieClip Frame 41
onClipEvent (load) {
orig_y = this._y;
orig_x = this._x;
}
Symbol 329 MovieClip Frame 1
legL.gotoAndPlay(10);
Symbol 331 MovieClip Frame 12
_parent._parent.removeMovieClip();
Symbol 334 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 15
stop();
Symbol 340 MovieClip Frame 1
if (_name == "manBlip") {
stop();
}
Symbol 340 MovieClip Frame 35
stop();
Symbol 341 MovieClip Frame 1
stop();
if (_name == "manRescue") {
delete onEnterFrame;
}
player.gotoAndStop("run");
onEnterFrame = function () {
if (!_root.paused) {
this._x = this._x - 1.6;
if (this.hitTest(_root.map.base.home)) {
_root.totalSaved = _root.totalSaved + 1;
_root.hud.rescued.text = (_root.totalSaved + " of ") + _root.totalNeeded;
if ((_root.totalSaved >= _root.totalNeeded) && (_root.playerDead != true)) {
_root.map["man" + (_root.occupied + 1)].player.gotoAndStop("stand");
_root.mapDone();
} else {
_root.rescue();
}
_root.getScore(200);
delete onEnterFrame;
this.removeMovieClip();
}
}
};
Symbol 345 MovieClip Frame 17
this.removeMovieClip();
Symbol 348 MovieClip Frame 17
_root.ship._visible = false;
_parent.gotoAndStop(1);
Symbol 349 MovieClip Frame 1
stop();
Symbol 349 MovieClip Frame 14
_parent.removeMovieClip();
Symbol 350 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.paused) {
_x = (_x - (xSpeed * 3));
_y = (_y + (ySpeed * 3));
if (((fire.hitTest(_root.ship.shipHit) && (_root.died != true)) && (_root.invinc != true)) && (dead != true)) {
dead = true;
_root.die();
fire.play();
}
if (_root.baseShield.hit.hitTest(this._x + _root.map._x, this._y + _root.map._y, true) && (dead != true)) {
dead = true;
fire.play();
_root.baseShield._visible = true;
_root.baseShield.gotoAndPlay(2);
}
if (fire.hitTest(_root.shield.hit) && (dead != true)) {
dead = true;
fire.play();
}
if ((((_y <= -10) || (_y >= 485)) || (_x >= 3400)) || (_x <= -10)) {
this.removeMovieClip();
}
}
};
Symbol 352 MovieClip Frame 1
stop();
speed = 180;
onEnterFrame = function () {
if ((_name != "missile") && (_root.paused != true)) {
_yscale = (_yscale + speed);
if (_root.ship.shipHit.hitTest(this) && (done != true)) {
done = true;
_root.die();
}
}
if (_root.completed) {
this.removeMovieClip();
}
};
Symbol 352 MovieClip Frame 15
this.removeMovieClip();
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 41
gotoAndPlay (2);
Symbol 362 MovieClip Frame 1
if ((_parent._parent._parent._name != "miniMap") && (_name != "refuel")) {
_name = ("pad" + _root.newPad);
padNum = _root.newPad;
_root.map.lights.light.duplicateMovieClip("light1" + _root.newPad, 100 + _root.newPad, {_x:_x - (_width / 2), _y:_y});
_root.map.lights.light.duplicateMovieClip("light2" + _root.newPad, 200 + _root.newPad, {_x:(_x + (_width / 2)) - 4, _y:_y});
_root.newPad = _root.newPad + 1;
_root.allPads = _root.allPads + 1;
} else {
this._visible = false;
}
onEnterFrame = function () {
if (!_root.paused) {
if (hasMan == true) {
time = time - 1;
if ((time <= (5 * _root.fps)) && (flashing != true)) {
startFlash();
}
if ((time <= 0) && (done != true)) {
done = true;
_root.missile(this, padNum);
}
}
if (this.hitTest(_root.ship)) {
if (((_root.hud.fuel._xscale <= 0) && (_name != "refuel")) && (_root.died != true)) {
_root.die();
}
}
if (_root.map.base.hitTest(_root.ship)) {
_root.rPad = true;
} else {
_root.rPad = false;
}
if ((this.hitTest(_root.ship) && (_root.landed == true)) && (hasMan == true)) {
if (_root.allFull != true) {
pickup();
} else if (!_root.fullFlashing) {
_root.fullFlashing = true;
_root.hud.occupy.full();
}
}
if (this.hitTest(_root.map["missile" + padNum]) && (missHit != true)) {
missHit = true;
_root.map["missile" + padNum].gotoAndPlay("die");
_root.map["missile" + padNum].speed = 0;
destroy();
}
}
};
pickup = function () {
_root.map.lights["light1" + padNum].blink.gotoAndStop(1);
_root.map.lights["light2" + padNum].blink.gotoAndStop(1);
_root.occupied = _root.occupied + 1;
_root.hud.occupy.man.duplicateMovieClip("man" + _root.occupied, _root.occupied, {_x:_root.hud.occupy.man._x + (10 * _root.occupied), _y:0});
if (_root.occupied == _root.maxMen) {
_root.allFull = true;
}
hasMan = false;
_root.lastPad = padNum;
_parent._parent[_name + "Timer"].timer.text = "";
flashing = false;
done = false;
_root.allFilled = _root.allFilled - 1;
_root[_name + "Filled"] = false;
_root.map["man" + _name].player.gotoAndStop("pickup");
_root.hud.miniMap.map["man" + _name].removeMovieClip();
};
destroy = function () {
done = false;
_root.map.lights["light1" + padNum].blink.gotoAndStop(1);
_root.map.lights["light2" + padNum].blink.gotoAndStop(1);
_root.lastPad = padNum;
flashing = false;
_root[_name + "Filled"] = false;
_root.map["man" + _name].removeMovieClip();
_root.hud.miniMap.map["man" + _name].removeMovieClip();
_parent._parent.killMan.duplicateMovieClip("killMan" + _root.occupied, _root.occupied, {_x:this._x, _y:this._y});
if (hasMan != false) {
hasMan = false;
_root.allFilled = _root.allFilled - 1;
}
};
startFlash = function () {
var _local2 = new Sound();
_local2.attachSound("whoops");
_local2.start();
flashing = true;
fade = 0;
_root.map["man" + _name].player.gotoAndStop("flash");
flasher.onEnterFrame = function () {
if (flashing) {
col = new Color(_root.hud.miniMap.map["man" + _name]);
if (fade >= 100) {
fade = 0;
} else {
fade = fade + _root.hitFlashSpeed;
}
col.setRGB(_root.hitFlashColor);
col.reduceRGB(fade);
}
};
};
Instance of Symbol 33 MovieClip "flasher" in Symbol 362 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 33 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.unloadMovie();
}
Instance of Symbol 368 MovieClip "art" in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
if (_parent._name == "miniMap") {
this.unloadMovie();
}
}
Symbol 436 MovieClip Frame 1
onEnterFrame = function () {
if ((side1.hitTest(_root.ship.shipHit) || (side2.hitTest(_root.ship.shipHit))) && (_root.died != true)) {
_root.die();
}
};
Instance of Symbol 33 MovieClip "home" in Symbol 436 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 33 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Symbol 443 MovieClip Frame 1
if (_parent._parent._parent._name == "miniMap") {
this.unloadMovie();
}
onEnterFrame = function () {
if (_root.map.terrain.grid.hitTest(_root.ship._x, _root.ship._y, true) && (_root.died != true)) {
_root.die();
}
};
Instance of Symbol 33 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (load) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 448 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 448 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 454 MovieClip Frame 1
onClipEvent (load) {
this.unloadMovie();
}
Instance of Symbol 453 MovieClip "art" in Symbol 454 MovieClip Frame 1
onClipEvent (load) {
if (_parent._name == "miniMap") {
this.unloadMovie();
}
}
Symbol 462 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 1
function callback() {
turret.gotoAndPlay(2);
bullet = _parent._parent.fire.duplicateMovieClip("fire1" + _parent._parent.getNextHighestDepth(), _parent._parent.getNextHighestDepth(), {_x:_x + turret._x, _y:(_y + turret._y) - 20});
bullet.xSpeed = shotDirX;
bullet.ySpeed = shotDirY;
}
stop();
hitPoints = 8;
shoot = 0;
this.onEnterFrame = function () {
if (!_root.paused) {
shoot = shoot + 1;
if (shoot >= 200) {
callback();
shoot = 0;
}
endX = _root.ship._x;
speed = 1;
if (_parent._x <= -600) {
}
dx = _root.ship._x - (_x + _parent._x);
dy = _root.ship._y - ((_y + _parent._y) + 65);
angle = Math.atan2(dy, dx);
distance = Math.sqrt((dx * dx) + (dy * dy));
myRadians = Math.atan2((_root.ship._y - _root.map._y) - this._y, (_root.ship._x - _root.map._x) - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
turret._rotation = myDegrees - 90;
shotDirX = Math.sin(turret._rotation * (Math.PI/180)) * speed;
shotDirY = Math.cos(turret._rotation * (Math.PI/180)) * speed;
}
};
Instance of Symbol 33 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 471 MovieClip Frame 1
onClipEvent (load) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 472 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 472 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Symbol 477 MovieClip Frame 1
onEnterFrame = function () {
if ((hit.hitTest(_root.ship.shipHit) && (_root.died != true)) && (this._alpha >= 100)) {
_root.die();
}
};
Instance of Symbol 33 MovieClip in Symbol 478 MovieClip Frame 1
onClipEvent (load) {
this.unloadMovie();
}
Symbol 491 MovieClip Frame 17
_parent.reset();
Symbol 492 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 1
if (_parent._parent._name == "miniMap") {
this.unloadMovie();
}
k = 0;
while (k < 10) {
duplicateMovieClip (snow, "snow" + k, k);
k++;
}
Instance of Symbol 492 MovieClip "snow" in Symbol 493 MovieClip Frame 1
onClipEvent (load) {
movieWidth = 3400;
movieHeight = 480;
i = (random(3) + 1) * 0.75;
this._x = random(movieWidth) + 200;
this._y = -(random(400) + 30);
reset = function () {
dead = false;
this.gotoAndStop(1);
this._y = -60;
this._x = random(movieWidth) + 200;
};
if (_root.baseShield.hit.hitTest(this._x + _root.map._x, this._y + _root.map._y, true) && (dead != true)) {
dead = true;
reset();
}
}
onClipEvent (enterFrame) {
if ((_root.paused != true) && (_name != "snow")) {
if (((_root.ship.shipHit.hitTest(this.hit) && (_root.control == true)) && (dead != true)) && (_root.invinc != true)) {
dead = true;
gotoAndStop ("explode");
_root.die();
}
if (_root.shield.hit.hitTest(this._x + _root.map._x, this._y + _root.map._y, true) && (dead != true)) {
dead = true;
gotoAndStop ("explode");
}
if (_root.baseShield.hit.hitTest(this._x + _root.map._x, this._y + _root.map._y, true) && (dead != true)) {
dead = true;
_root.baseShield._visible = true;
_root.baseShield.gotoAndPlay(2);
gotoAndStop ("explode");
}
this._y = this._y + i;
if (this._y >= (movieHeight + 80)) {
this._y = -60;
this._x = random(movieWidth) + 200;
}
}
}
Instance of Symbol 33 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 494 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Symbol 497 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.paused) {
this._rotation = this._rotation + _root.armSpeed;
}
};
Symbol 507 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.paused) {
this._rotation = this._rotation + _root.armSpeed;
}
};
Instance of Symbol 33 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
this.unloadMovie();
}
Symbol 512 MovieClip Frame 1
if (_parent._parent._name == "miniMap") {
this.unloadMovie();
}
k = 0;
while (k < 20) {
duplicateMovieClip (snow, "snow" + k, k);
k++;
}
Instance of Symbol 492 MovieClip "snow" in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
movieWidth = 3400;
movieHeight = 480;
i = (random(3) + 1) * 0.75;
this._x = random(movieWidth) + 200;
this._y = -(random(400) + 30);
reset = function () {
dead = false;
this.gotoAndStop(1);
this._y = -60;
this._x = random(movieWidth) + 200;
};
if (_root.baseShield.hit.hitTest(this._x + _root.map._x, this._y + _root.map._y, true) && (dead != true)) {
dead = true;
reset();
}
}
onClipEvent (enterFrame) {
if ((_root.paused != true) && (_name != "snow")) {
if (((_root.ship.shipHit.hitTest(this.hit) && (_root.control == true)) && (dead != true)) && (_root.invinc != true)) {
dead = true;
gotoAndStop ("explode");
_root.die();
}
if (_root.shield.hit.hitTest(this._x + _root.map._x, this._y + _root.map._y, true) && (dead != true)) {
dead = true;
gotoAndStop ("explode");
}
if (_root.baseShield.hit.hitTest(this._x + _root.map._x, this._y + _root.map._y, true) && (dead != true)) {
dead = true;
_root.baseShield._visible = true;
_root.baseShield.gotoAndPlay(2);
gotoAndStop ("explode");
}
this._y = this._y + i;
if (this._y >= (movieHeight + 80)) {
this._y = -60;
this._x = random(movieWidth) + 200;
}
}
}
Instance of Symbol 33 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Symbol 525 MovieClip Frame 1
if (_parent._parent._name == "miniMap") {
platGR._visible = false;
} else {
hit._visible = false;
}
_x = _root.map.pads["pad" + num]._x;
onEnterFrame = function () {
if (!_root.paused) {
_y = (_y - speed);
_root.map.pads["pad" + num]._y = this._y;
_root.map.lights["light1" + num]._y = _root.map.pads["pad" + num]._y;
_root.map.lights["light2" + num]._y = _root.map.pads["pad" + num]._y;
_root.map["manpad" + num]._y = _root.map.pads["pad" + num]._y + 2;
_root.hud.miniMap.map["manpad" + num]._y = _root.map.pads["pad" + num]._y + 2;
if (_root.map.pads["pad" + num].hitTest(_root.ship._x, _root.ship._y + 4, true) && (!Key.isDown(38))) {
_root.ship._y = _root.map.pads["pad" + num]._y + 1;
_root.yspeed = 0;
_root.landed = true;
_root.grav = 0;
}
if (hit.hitTest(_root.ship._x, _root.ship._y, true) && (_root.died != true)) {
_root.marker._visible = true;
_root.die();
} else {
_root.marker._visible = false;
}
if ((this._y <= -60) && (speed > 0)) {
done = true;
this._y = 460;
} else if ((this._y >= 460) && (speed < 0)) {
done = true;
this._y = -60;
}
}
};
Instance of Symbol 33 MovieClip in Symbol 526 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 526 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Symbol 533 MovieClip Frame 1
stop();
this.attachMovie("roid_" + (random(3) + 1), "roid", 1);
Symbol 533 MovieClip Frame 2
roid.unloadMovie();
Symbol 534 MovieClip Frame 1
dirX = 1;
dirY = 1;
if (_parent._parent._name == "miniMap") {
this.unloadMovie();
}
k = 0;
while (k < 40) {
rand = ((random(10) + 1) * 10) - 20;
duplicateMovieClip (snow, "snow" + k, k);
this["snow" + k]._xscale = this["snow" + k]._xscale - rand;
this["snow" + k]._yscale = this["snow" + k]._yscale - rand;
if (k >= 50) {
snow.unloadMovie();
}
k++;
}
Instance of Symbol 533 MovieClip "snow" in Symbol 534 MovieClip Frame 1
onClipEvent (load) {
xspeed = (random(20) + 10) * 0.065;
yspeed = (random(7) + 3) * 0.05;
dirX = _parent.dirX;
dirY = 1;
_parent.dirX = _parent.dirX * -1;
movieWidth = 4100;
movieHeight = 480;
this._x = random(movieWidth);
this._y = random(movieHeight);
if (_root.baseShield.hit.hitTest(this) && (dead != true)) {
this.removeMovieClip();
}
if (this._y >= (movieHeight / 2)) {
dirY = -1;
}
reset = function () {
dead = false;
gotoAndStop (1);
this._y = random(movieHeight);
if (dirX == 1) {
this._x = movieWidth + 40;
} else if (dirX == -1) {
this._x = -40;
}
if (this._y >= (movieHeight / 2)) {
dirY = -1;
} else {
dirY = 1;
}
};
}
onClipEvent (enterFrame) {
if (_root.paused != true) {
if (((_root.ship.shipHit.hitTest(this.hit) && (_root.control == true)) && (dead != true)) && (_root.invinc != true)) {
dead = true;
gotoAndStop ("explode");
_root.die();
}
if (_root.shield.hit.hitTest(this._x + _root.map._x, this._y + _root.map._y, true) && (dead != true)) {
dead = true;
gotoAndStop ("explode");
this._x = this._x - (xspeed * dirX);
this._rotation = this._rotation - (xspeed / 5);
this._y = this._y + (yspeed * dirY);
}
if (_root.baseShield.hit.hitTest(this._x + _root.map._x, this._y + _root.map._y, true) && (dead != true)) {
dead = true;
_root.baseShield._visible = true;
_root.baseShield.gotoAndPlay(2);
gotoAndStop ("explode");
} else {
this._x = this._x - (xspeed * dirX);
this._rotation = this._rotation - (xspeed / 5);
this._y = this._y + (yspeed * dirY);
}
if ((((this._x <= -100) || (this._x >= (movieWidth + 100))) || (this._y >= (movieHeight + 40))) || (this._y <= -40)) {
reset();
}
}
}
Instance of Symbol 33 MovieClip in Symbol 535 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 535 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Symbol 548 MovieClip Frame 1
if (_parent._parent._parent._name == "miniMap") {
this.unloadMovie();
}
onEnterFrame = function () {
if (this.hitTest(_root.ship._x, _root.ship._y, true) && (_root.died != true)) {
_root.die();
}
};
Instance of Symbol 548 MovieClip in Symbol 552 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(45);
}
Instance of Symbol 33 MovieClip in Symbol 553 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 553 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 560 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 560 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 567 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Instance of Symbol 33 MovieClip in Symbol 567 MovieClip Frame 1
onClipEvent (enterFrame) {
this.unloadMovie();
}
Symbol 578 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.paused) {
blade._rotation = blade._rotation + 12;
if (this.hitTest(_root.ship.shipHit) && (_root.died != true)) {
_root.die();
}
}
};
Instance of Symbol 227 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
var pUp = Array();
pUp[1] = "P";
pUp[2] = "L";
pUp[3] = "F";
pUp[4] = "S";
var zip = new Sound();
zip.attachSound("zoop");
if (_parent._parent._name == "miniMap") {
this.unloadMovie();
}
this._x = random(1800) + 800;
this._y = -random(300);
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (crate.hitTest(_root.ship.shipHit)) {
if (this.upgrade.text == "P") {
_root.getScore(2000);
}
if (this.upgrade.text == "L") {
_root.lives = _root.lives + 1;
_root.hud.lives.text = _root.lives;
}
if (this.upgrade.text == "F") {
_root.hud.fuel._xscale = 100;
}
if (this.upgrade.text == "S") {
_root.hud.shield._xscale = 100;
}
this._x = random(1800) + 800;
this._y = -random(300);
this.upgrade.text = pUp[random(4) + 1];
zip.start();
}
this._y = this._y + 0.5;
_root.hud.miniMap.map.crate._y = this._y;
_root.hud.miniMap.map.crate._x = this._x;
if (this._y >= 600) {
this._x = random(1800) + 800;
this._y = -random(300);
this.upgrade.text = pUp[random(4) + 1];
}
}
}
Symbol 580 MovieClip Frame 3
_root.finalMap = true;
Symbol 580 MovieClip Frame 6
_root.finalMap = true;
Instance of Symbol 525 MovieClip in Symbol 580 MovieClip Frame 7
onClipEvent (load) {
num = 2;
speed = -0.5;
}
Instance of Symbol 525 MovieClip in Symbol 580 MovieClip Frame 7
onClipEvent (load) {
num = 1;
speed = 0.75;
}
Instance of Symbol 525 MovieClip in Symbol 580 MovieClip Frame 7
onClipEvent (load) {
num = 3;
speed = -1;
}
Instance of Symbol 525 MovieClip in Symbol 580 MovieClip Frame 7
onClipEvent (load) {
num = 4;
speed = 0.35;
}
Instance of Symbol 525 MovieClip in Symbol 580 MovieClip Frame 7
onClipEvent (load) {
num = 5;
speed = -1;
}
Symbol 580 MovieClip Frame 9
_root.finalMap = true;
Symbol 580 MovieClip Frame 10
_root.spot._alpha = 77;
Symbol 580 MovieClip Frame 11
_root.spot._alpha = 82;
Symbol 580 MovieClip Frame 12
_root.finalMap = true;
_root.spot._alpha = 88;
Symbol 581 MovieClip Frame 1
stop();
Symbol 586 MovieClip Frame 1
if (_root.planetName != "cyrus") {
this.unloadMovie();
_parent.light.unloadMovie();
}
onEnterFrame = function () {
if (_root.landed == true) {
this._visible = false;
} else {
this._visible = true;
}
};
Symbol 667 MovieClip Frame 1
stop();
Symbol 667 MovieClip Frame 41
stop();
Symbol 671 MovieClip Frame 1
stop();
Symbol 672 MovieClip Frame 1
stop();
Symbol 672 MovieClip Frame 2
delete _root.hud.onEnterFrame;
_alpha = 100;
Symbol 684 MovieClip Frame 1
stop();
Symbol 684 MovieClip Frame 8
_root.invinc = false;
Symbol 684 MovieClip Frame 10
_root.invinc = true;
Symbol 684 MovieClip Frame 15
stop();
Symbol 689 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 1
stop();
Symbol 711 MovieClip Frame 22
stop();
Symbol 711 MovieClip Frame 35
this.removeMovieClip();
Symbol 711 MovieClip Frame 63
this.removeMovieClip();
Symbol 712 MovieClip Frame 1
full = function () {
fade = 0;
onEnterFrame = function () {
col = new Color(this);
if (fade >= 100) {
fade = 0;
} else {
fade = fade + _root.hitFlashSpeed;
}
col.setRGB(_root.hitFlashColor);
col.reduceRGB(fade);
if (!_root.landed) {
col.setRGB(_root.hitFlashColor);
col.reduceRGB(100);
_root.fullFlashing = false;
delete onEnterFrame;
}
};
};
Symbol 721 MovieClip Frame 1
stop();
Symbol 721 MovieClip Frame 21
stop();
Symbol 722 MovieClip Frame 1
function time_to_string(time_to_convert) {
elapsed_hours = Math.floor(time_to_convert / 3600000);
remaining = time_to_convert - (elapsed_hours * 3600000);
elapsed_minutes = Math.floor(remaining / 60000);
remaining = remaining - (elapsed_minutes * 60000);
elapsed_seconds = Math.floor(remaining / 1000);
remaining = remaining - (elapsed_seconds * 1000);
elapsed_fs = Math.floor(remaining / 10);
if (elapsed_hours < 10) {
hours = "0" + elapsed_hours.toString();
} else {
hours = elapsed_hours.toString();
}
if (elapsed_minutes < 10) {
minutes = "0" + elapsed_minutes.toString();
} else {
minutes = elapsed_minutes.toString();
}
if (elapsed_seconds < 10) {
seconds = "0" + elapsed_seconds.toString();
} else {
seconds = elapsed_seconds.toString();
}
if (elapsed_fs < 10) {
hundredths = "0" + elapsed_fs.toString();
} else {
hundredths = elapsed_fs.toString();
}
return((((minutes + ":") + seconds) + ":") + hundredths);
}
_root.startClock = function () {
start_time = getTimer();
timerMC.gotoAndPlay(2);
timer._visible = true;
timerMC.onEnterFrame = function () {
if (!_root.paused) {
elapsed_time = getTimer() - start_time;
count.text = time_to_string(elapsed_time);
timer.text = time_to_string(_root.time - elapsed_time);
if (((_root.time - elapsed_time) <= timeDanger) && (flashing != true)) {
lowTime();
}
if ((_root.time - elapsed_time) <= 0) {
timesUp();
_root.stopClock();
timer.text = time_to_string(0);
col.reduceRGB(100);
flashing = false;
delete onEnterFrame;
}
}
};
};
_root.stopClock = function () {
delete timerMC.onEnterFrame;
_root.stopSpawn();
_root.paused = true;
};
timesUp = function () {
_root.score = _root.score - _global.roundScore;
_root.score = _root.score - _global.bonusTotal;
Key.removeListener(_root.pauseListener);
delete _root.map.onEnterFrame;
_root.finalMap = false;
_root.fadeMusic();
_root.shad._visible = true;
_root.shad_alpha = new mx.transitions.Tween(_root.shad, "_alpha", mx.transitions.easing.Strong.easeInOut, 0, 100, 80, false);
_root.shad_alpha.onMotionFinished = function () {
_root.musicDead.start(0, 9999);
_root.stopSpawn();
_root.timesUp._visible = true;
_root.timesUp.gotoAndPlay(2);
};
};
Color.prototype.reduceRGB = function (p) {
var _local2 = this.getTransform();
var _local3 = (100 - p) / 100;
this.setTransform({ra:p, rb:_local2.rb * _local3, ga:p, gb:_local2.gb * _local3, ba:p, bb:_local2.bb * _local3});
};
hitFlashColor = 16711680 /* 0xFF0000 */;
hitFlashSpeed = 2;
timeDanger = 30000;
lowTime = function () {
flashing = true;
fade = 0;
onEnterFrame = function () {
if (((_root.time - elapsed_time) < timeDanger) && (_root.paused != true)) {
col = new Color(timer);
if (fade >= 100) {
fade = 0;
} else {
fade = fade + hitFlashSpeed;
}
col.setRGB(hitFlashColor);
col.reduceRGB(fade);
} else {
col.reduceRGB(100);
delete onEnterFrame;
}
};
};
Symbol 724 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 726 MovieClip Frame 1
mission.text = _parent.mission;
Symbol 733 MovieClip Frame 1
stop();
Symbol 733 MovieClip Frame 30
stop();
tallyDone = false;
newScore = _root.score;
score.text = _root.score;
bonus.text = Math.round((_root.time - _root.hud.elapsed_time) / 30);
fullBonus = Math.round((_root.time - _root.hud.elapsed_time) / 30);
trace("FULL BONUS: " + fullBonus);
_global.bonusTotal = _global.bonusTotal + fullBonus;
trace("BONUS TOTAL: " + _global.bonusTotal);
bonusTally = Math.round((_root.time - _root.hud.elapsed_time) / 30);
scoreTally = 0;
onEnterFrame = function () {
if (bonus.text > 0) {
bonusTally = bonusTally - 50;
bonus.text = bonusTally;
scoreTally = scoreTally + 50;
newScore = scoreTally + _root.score;
score.text = newScore;
} else {
bonus.text = 0;
delete onEnterFrame;
newScore = fullBonus + _root.score;
_root.score = newScore;
score.text = newScore;
play();
tallyDone = true;
}
};
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32) && (tallyDone != true)) {
bonus.text = 0;
delete onEnterFrame;
newScore = fullBonus + _root.score;
_root.score = newScore;
score.text = newScore;
tallyDone = true;
play();
} else if (Key.isDown(32) && (tallyDone == true)) {
next();
Key.removeListener(myListener);
}
};
Key.addListener(myListener);
Symbol 733 MovieClip Frame 31
stop();
done.name = "continue";
done.func = "next";
done._visible = true;
next = function () {
Key.removeListener(myListener);
_root.nextLevel();
done.hit._visible = false;
done._visible = false;
};
Symbol 738 MovieClip Frame 1
stop();
Instance of Symbol 209 MovieClip "comHighscores" in Symbol 738 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
scoreLocation = "_root.score";
gamename = "evac";
saveScore = true;
scoreIsTime = false;
scoreReversed = false;
negativeScoreAllowed = false;
}
Instance of Symbol 33 MovieClip in Symbol 738 MovieClip Frame 1
onClipEvent (load) {
this.unloadMovie();
}
Symbol 738 MovieClip Frame 43
stop();
done.name = "continue";
done.func = "restart";
restart = function () {
done._visible = false;
_root.fadeIn._visible = true;
_root.fade_alpha = new mx.transitions.Tween(_root.fadeIn, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, 20, false);
_root.fade_alpha.onMotionFinished = function () {
_root.gotoAndPlay("mainScreen");
};
};
Symbol 743 MovieClip Frame 1
stop();
Instance of Symbol 33 MovieClip in Symbol 743 MovieClip Frame 1
onClipEvent (load) {
this.unloadMovie();
}
Symbol 743 MovieClip Frame 60
stop();
done.name = "continue";
done.func = "restart1";
restart1 = function () {
done._visible = false;
_root.fadeIn._visible = true;
_root.fade_alpha = new mx.transitions.Tween(_root.fadeIn, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, 20, false);
_root.fade_alpha.onMotionFinished = function () {
_root.gotoAndStop("maps");
};
};
Symbol 746 MovieClip Frame 1
bioNameVar = "";
bioBreedVar = "";
Symbol 746 MovieClip Frame 2
bioName = "planet: " + _root.planetName;
bioBreed = "sector: " + _root.sector;
var my_array = new Array();
my_array[0] = bioName;
my_array[1] = bioBreed;
var textBox = new Array();
textBox[0] = "bioName";
textBox[1] = "bioBreed";
i = 0;
loop = 1;
Symbol 746 MovieClip Frame 5
loop = loop + 1;
max = length(my_array[i]);
this[textBox[i] + "Var"] = substring(my_array[i], 1, loop);
Symbol 746 MovieClip Frame 6
if (loop > max) {
if (i == 4) {
stop();
} else {
loop = 1;
i = i + 1;
gotoAndPlay (3);
}
} else {
gotoAndPlay (3);
}
Symbol 747 MovieClip Frame 1
stop();
Symbol 747 MovieClip Frame 20
_visible = false;