Frame 3
sndGlobal = new Sound();
sndGlobal.setVolume(100);
sndAlienCity = new Sound();
sndAlienCity.attachSound("sndAlienCity");
sndEarth = new Sound();
sndEarth.attachSound("sndEarth");
sndMoon = new Sound();
sndMoon.attachSound("sndMoon");
sndBeam = new Sound();
sndBeam.attachSound("sndBeam");
sndExplosion = new Sound();
sndExplosion.attachSound("sndExplosion");
sndHit = new Sound();
sndHit.attachSound("sndHit");
sndLevelCompleted = new Sound();
sndLevelCompleted.attachSound("sndLevelCompleted");
sndLevelIntroFade = new Sound();
sndLevelIntroFade.attachSound("sndLevelIntroFade");
sndPoints = new Sound();
sndPoints.attachSound("sndPoints");
sndSoundtrack = new Sound();
sndSoundtrack.attachSound("sndSoundtrack");
sndSpin = new Sound();
sndSpin.attachSound("sndSpin");
sndThrusters = new Sound();
sndThrusters.attachSound("sndThrusters");
gotoAndStop ("mainMenu");
lsnSteerShip = new Object();
lsnSteerShip.onKeyDown = function () {
var _local1 = Key.getCode() - 37;
if ((_local1 > -1) && (_local1 < 5)) {
arrKeysPressed[_local1] = 1;
} else if (Key.getCode() == 32) {
arrKeysPressed[3] = 1;
}
};
lsnSteerShip.onKeyUp = function () {
var _local1 = Key.getCode() - 37;
if ((_local1 > -1) && (_local1 < 5)) {
arrKeysPressed[_local1] = 0;
} else {
arrKeysPressed[3] = 0;
}
var _local2 = Key.getCode();
if (inGame) {
if (_local2 == 80) {
if (inGameActive) {
if (gamePaused) {
startMovingObstacles();
gamePaused = false;
mcMessage.play();
} else {
mcMessage.txtMsg = "PAUSED";
mcMessage.gotoAndPlay(1);
stopMovingObstacles();
gamePaused = true;
}
}
}
}
if (_local2 == 83) {
trace("s");
if (sndGlobal.getVolume() == 100) {
mcMessage.txtMsg = "SOUND OFF";
mcMessage.gotoAndPlay(1);
sndGlobal.setVolume(0);
} else {
mcMessage.txtMsg = "SOUND ON";
mcMessage.gotoAndPlay(1);
sndGlobal.setVolume(100);
}
}
};
Key.addListener(lsnSteerShip);
Frame 18
txtButton = "play";
fromMainMenu = true;
if (!fromGameOver) {
sndSoundtrack.start(0, 9999999);
fromGameOver = false;
}
stop();
Frame 19
gotoAndStop ("mainMenu");
Frame 48
txtButton = "continue";
stop();
Instance of Symbol 133 MovieClip in Frame 48
onClipEvent (enterFrame) {
mcBeam._visible = true;
mcThrusterRight._visible = false;
mcThrusterLeft._visible = false;
mcThrusterMain._visible = false;
}
Instance of Symbol 224 MovieClip in Frame 48
onClipEvent (enterFrame) {
gotoAndStop ("airborn");
}
Frame 62
function steerShip() {
if (arrKeysPressed[0] && (fuelLeft > 0)) {
if ((mcShip.xSpeed > (-maxSpeed)) && (!mcShip.landed)) {
mcShip.xSpeed = mcShip.xSpeed - (mcShip.thrusters / 2);
}
mcShip.mcThrusterRight._visible = true;
useFuel(smallThrusters);
} else {
mcShip.mcThrusterRight._visible = false;
}
if (arrKeysPressed[1] && (fuelLeft > 0)) {
if (mcShip.ySpeed > (-maxSpeed)) {
mcShip.ySpeed = mcShip.ySpeed - mcShip.thrusters;
}
mcShip.landed = false;
if (!mcShip.mcMainThruster.tActive) {
mcShip.mcMainThruster.gotoAndPlay("thruster");
mcShip.mcThrusterMain.gotoAndPlay(1);
}
mcShip.mcThrusterMain._visible = true;
useFuel(mainThruster);
} else {
mcShip.mcThrusterMain._visible = false;
}
if (arrKeysPressed[2] && (fuelLeft > 0)) {
if ((mcShip.xSpeed < maxSpeed) && (!mcShip.landed)) {
mcShip.xSpeed = mcShip.xSpeed + (mcShip.thrusters / 2);
}
mcShip.mcThrusterLeft._visible = true;
useFuel(smallThrusters);
} else {
mcShip.mcThrusterLeft._visible = false;
}
if (arrKeysPressed[3] && (!arrKeysPressed[1])) {
if (mcShip.ySpeed < 0) {
if (mcShip.ySpeed != levelGravity) {
mcShip.ySpeed = mcShip.ySpeed + (levelGravity * 1.5);
}
} else if (mcShip.ySpeed > 0) {
if (mcShip.ySpeed != levelGravity) {
mcShip.ySpeed = mcShip.ySpeed - (levelGravity * 1.5);
}
}
if (!mcShip.mcMainThruster.bActive) {
sndBeam.start(0, 999999999);
mcShip.mcBeam._visible = true;
mcShip.mcBeam.gotoAndPlay(1);
mcShip.mcMainThruster.gotoAndPlay("beam");
}
beamCollision();
} else {
if (!mcShip.mcMainThruster.tActive) {
sndBeam.stop("sndBeam");
mcShip.mcMainThruster.gotoAndPlay("thruster");
}
var _local2 = 0;
while (_local2 < abducteeCounter) {
var _local3 = this["mcAbductee" + _local2];
if (_local3.ySpeed < 0) {
_local3.ySpeed = 0;
}
_local2++;
}
mcShip.mcBeam._visible = false;
}
if ((((arrKeysPressed[0] or arrKeysPressed[1]) or arrKeysPressed[2]) && (fuelLeft > 0)) && (!thrustersArePlaying)) {
sndThrusters.start(0, 9999);
thrustersArePlaying = true;
} else if (!((arrKeysPressed[0] or arrKeysPressed[1]) or arrKeysPressed[2])) {
thrustersArePlaying = false;
sndThrusters.stop("sndThrusters");
}
}
function addToScore(points) {
sndPoints.start(0, 0);
totalScore = totalScore + points;
txtScore = totalScore;
attachMovie("mcAddPoints", "mcAddPoints", 4);
mcAddPoints._x = mcShip._x;
mcAddPoints._y = mcShip._y;
mcAddPoints.txtPoints = points;
}
function easeOut(mc, steps) {
var _local5 = mc._x - (mcShip._x + mcShip.mcHitTest0._x);
var _local4 = mc._y - (mcShip._y + mcShip.mcHitTest0._y);
var _local2 = _local5 / steps;
var _local3 = _local4 / steps;
var _local6 = Math.abs(_local2) + Math.abs(_local3);
mc._xscale = mc._xscale - 2;
mc._yscale = mc._yscale - 2;
mc._x = mc._x - _local2;
mc._y = mc._y - _local3;
mc._rotation = mc._rotation - 40;
if ((mc._xscale < 10) or (mc._yscale < 10)) {
mc._visible = false;
mcShip.mcRobot.gotoAndPlay("happy");
addToScore(mc.pointsWorth);
clearInterval(ivAbduct);
}
}
function beamCollision(stop) {
var _local3 = 0;
while (_local3 < abducteeCounter) {
var _local2 = this["mcAbductee" + _local3];
if (!_local2.removed) {
if (mcShip.mcBeamHit.hitTest(_local2)) {
var _local5 = mcShip._x + mcShip.mcHitTest0._x;
var _local4 = mcShip._y + mcShip.mcHitTest0._y;
if (_local2.hitTest(_local5, _local4, false)) {
arrAbductees[_local2.id] = arrAbductees[_local2.id] + 1;
sndSpin.start(0, 0);
if (ivAbduct != null) {
clearInterval(ivAbduct);
}
ivAbduct = setInterval(easeOut, 31, _local2, 2);
_local2.removed = true;
} else {
var _local6 = Math.abs(mcShip._rotation);
_local2.xSpeed = mcShip.xSpeed / 5;
}
_local2.ySpeed = _local2.ySpeed - ((levelGravity * 4) - (_local6 / 20));
if (_local2.ySpeed > 0) {
_local2.ySpeed = -0.5;
}
} else if (_local2.ySpeed < 0) {
_local2.ySpeed = _local2.ySpeed + 0.2;
}
}
_local3++;
}
}
function applyGravityToAbductees() {
var _local4 = 0;
while (_local4 < abducteeCounter) {
var _local2 = this["mcAbductee" + _local4];
if (!_local2.removed) {
abducteeOnBox = false;
var _local3 = 0;
while (_local3 < boxCounter) {
mcBox = this["mcBox" + _local3];
if (_local2.hitTest(mcBox)) {
abducteeOnBox = true;
}
_local3++;
}
if ((!abducteeOnBox) or _local2.willNotLandOnPlatform) {
_local2.ySpeed = _local2.ySpeed + levelGravity;
_local2.gotoAndStop("airborn");
} else if (_local2.ySpeed > 0) {
_local2.ySpeed = _local2.ySpeed + levelGravity;
} else if (Math.abs(_local2.xSpeed) > 0) {
_local2.xSpeed = 0;
}
} else {
_local2.ySpeed = _local2.ySpeed + levelGravity;
}
if (_local2._y < 400) {
_local2._y = _local2._y + _local2.ySpeed;
_local2._x = _local2._x + _local2.xSpeed;
} else {
_local2._visible = false;
}
if ((_local2.ySpeed < 0) && (!_local2.willNotLandOnPlatform)) {
trace("mcAbductee.ySpeed: " + _local2.ySpeed);
_local2.willNotLandOnPlatform = true;
}
_local4++;
}
}
function collisionDetection() {
if (!mcShip.landed) {
var _local3 = 0;
while (_local3 < hitTestCounter) {
mcHitPoint = mcShip["mcHitTest" + _local3];
var _local7 = mcShip._x + mcHitpoint._x;
var _local6 = mcShip._y + mcHitpoint._y;
var _local2 = 0;
while (_local2 < boxCounter) {
mcBox = this["mcBox" + _local2];
if (mcBox.hitTest(_local7, _local6, false)) {
if (_local3 == 1) {
var _local9 = mcShip._x + mcShip.mcHitTest2._x;
var _local8 = mcShip._y + mcShip.mcHitTest2._y;
} else if (_local3 == 2) {
var _local9 = mcShip._x + mcShip.mcHitTest1._x;
var _local8 = mcShip._y + mcShip.mcHitTest1._y;
}
if (mcBox.hitTest(_local9, _local8, false)) {
var _local10 = true;
}
var _local5 = mcShip.preX + mcHitpoint._x;
var _local4 = mcShip.preY + mcHitpoint._y;
obHit = {x:_local7, y:_local6};
obPre = {x:_local5, y:_local4};
if (mcBox.hitTest(_local5, _local4, false)) {
trace("Both test points within square.");
}
var _local11 = true;
hitBox(obHit, obPre, mcBox, mcHitPoint, _local10);
break;
}
_local2++;
}
if (_local11) {
break;
}
_local3++;
}
}
}
function movingObjectCollisions() {
var _local4 = 0;
while (_local4 < hitTestCounter) {
var _local7 = mcShip["mcHitTest" + _local4];
var _local6 = mcShip._x + _local7._x;
var _local5 = mcShip._y + _local7._y;
var _local2 = 0;
while (_local2 < movingObjectCounter) {
var _local3 = this["mcMovingObject" + _local2];
if (_local3.hitTest(_local6, _local5, true)) {
gotoX = mcShip.preX - (mcShip.xSpeed * 1.2);
gotoY = mcShip.preY - (mcShip.ySpeed * 1.2);
mcShip.xSpeed = (-mcShip.xSpeed) / 2;
mcShip.ySpeed = (-mcShip.ySpeed) / 2;
mcShip._x = gotoX;
mcShip._y = gotoY;
shipIsHit(random(10) + 10);
break;
}
_local2++;
}
_local4++;
}
}
function hitBox(obHit, obPre, mcBox, mcHitPoint, correctLanding) {
boxA = {x:mcBox._x, y:mcBox._y};
boxB = {x:mcBox._x + mcBox._width, y:mcBox._y};
boxC = {x:mcBox._x + mcBox._width, y:mcBox._y + mcBox._height};
boxD = {x:mcBox._x, y:mcBox._y + mcBox._height};
OA = Math.atan2(boxA.y - obHit.y, boxA.x - obHit.x);
OB = Math.atan2(boxB.y - obHit.y, boxB.x - obHit.x);
OC = Math.atan2(boxC.y - obHit.y, boxC.x - obHit.x);
OD = Math.atan2(boxD.y - obHit.y, boxD.x - obHit.x);
OMouse = Math.atan2(obPre.y - obHit.y, obPre.x - obHit.x);
if ((OMouse > OD) || (OMouse <= OA)) {
pointOfIntersect = Intersection(obHit.x, obHit.y, obPre.x, obPre.y, boxA.x, boxA.y, boxD.x, boxD.y);
var _local12 = -90;
} else if (OMouse > OC) {
pointOfIntersect = Intersection(obHit.x, obHit.y, obPre.x, obPre.y, boxC.x, boxC.y, boxD.x, boxD.y);
var _local12 = 180;
} else if (OMouse > OB) {
pointOfIntersect = Intersection(obHit.x, obHit.y, obPre.x, obPre.y, boxC.x, boxC.y, boxB.x, boxB.y);
var _local12 = 90;
} else if (OMouse > OA) {
var _local12 = 0;
pointOfIntersect = Intersection(obHit.x, obHit.y, obPre.x, obPre.y, boxA.x, boxA.y, boxB.x, boxB.y);
} else {
trace("*** Error 002");
}
var _local8 = pointOfIntersect.x;
var _local9 = pointOfIntersect.y;
var _local14 = Math.abs(obHit.x - _local8);
var _local13 = Math.abs(obHit.y - _local9);
shipCollisionSpeed = _local14 + _local13;
shipCollisionSpeed2 = Math.abs(mcShip.xSpeed) + Math.abs(mcShip.ySpeed);
if (shipCollisionSpeed < 10) {
if ((OMouse > OD) || (OMouse <= OA)) {
mcShip.xSpeed = -(mcShip.xSpeed / 2.5);
mcShip.ySpeed = mcShip.ySpeed * 0.8;
mcShip._x = (_local8 - 1) - mcHitPoint._x;
} else if (OMouse > OC) {
mcShip.ySpeed = -(mcShip.ySpeed / 2.5);
mcShip.xSpeed = mcShip.xSpeed * 0.8;
mcShip._y = (_local9 + 1) - mcHitPoint._y;
} else if (OMouse > OB) {
mcShip.xSpeed = -(mcShip.xSpeed / 2.5);
mcShip.ySpeed = mcShip.ySpeed * 0.8;
mcShip._x = (_local8 + 1) - mcHitPoint._x;
} else if (OMouse > OA) {
if ((((Math.abs(mcShip.ySpeed) > 1.5) or (Math.abs(mcShip.xSpeed) > 0.7)) or (shipCollisionSpeed > 1.5)) or (!correctLanding)) {
mcShip.ySpeed = -(mcShip.ySpeed / 2.5);
mcShip.xSpeed = mcShip.xSpeed * 0.8;
} else {
mcShip.ySpeed = 0;
mcShip.xSpeed = 0;
mcShip.landed = true;
trace("Ship has landed successfully.");
var _local3 = 0;
while (_local3 < landingPlatforms) {
var _local2 = this["mcLandingPlatform" + _local3];
if ((mcShip.mcHitTest1.hitTest(_local2) && (mcShip.mcHitTest2.hitTest(_local2))) && (_local2.platformActive)) {
trace("On platform.");
mcShip.mcRobot.gotoAndPlay("happy");
addToScore(100);
var _local5 = true;
if (_local3 == (landingPlatforms - 1)) {
levelCompleted();
} else {
_local2.platformActive = false;
_local2 = this["mcLandingPlatform" + (_local3 + 1)];
_local2.platformActive = true;
_local2.play();
trace("More platforms left to land on: " + ((landingPlatforms - _local3) - 1));
}
} else if (fuelLeft < 1) {
trace("Out of fuel, and not on platform.");
shipExplode();
}
_local3++;
}
}
mcShip._y = (_local9 - 1) - mcHitPoint._y;
} else {
trace("*** Error 001");
}
}
if (!_local5) {
var _local10 = int(shipCollisionSpeed2 * shipVulnerability);
if (_local10 >= 1) {
shipIsHit(_local10);
attachMovie("mcHit", "mcHit", 10);
this["mcHit" + hitCounter]._x = _local8;
this["mcHit" + hitCounter]._y = _local9;
this["mcHit" + hitCounter]._rotation = _local12;
size = shipCollisionSpeed2 * 16;
if (size > 200) {
size = 200;
}
this["mcHit" + hitCounter]._xscale = size;
this["mcHit" + hitCounter]._yscale = size;
}
}
}
function shipIsHit(damage) {
sndHit.start(0, 0);
energyLeft = mcEnergy._currentframe - int(damage);
if (energyLeft <= 1) {
energyLeft = 0;
shipExplode();
}
mcShip.mcRobot.gotoAndPlay("angry");
turnRed(mcShip, 10 * damage);
mcEnergy.gotoAndStop(energyLeft);
mcEnergy.txtEnergy1 = energyLeft;
mcEnergy.txtEnergy2 = energyLeft;
}
function shipExplode() {
inGame = false;
sndExplosion.start();
hideShipActions();
energyLeft = 0;
gamePaused = true;
attachMovie("mcExplosion", "mcExplosion", 3);
mcShip._visible = false;
mcExplosion._x = mcShip._x;
mcExplosion._y = mcShip._y;
mcEnergy.gotoAndStop(1);
}
function applyMotion() {
if (!mcShip.landed) {
mcShip.ySpeed = mcShip.ySpeed + levelGravity;
mcShip.preX = mcShip._x;
mcShip.preY = mcShip._y;
mcShip._x = mcShip._x + mcShip.xSpeed;
mcShip._y = mcShip._y + mcShip.ySpeed;
mcShip._rotation = mcShip.xSpeed * 2;
mcShip.mcRobot._rotation = (-mcShip._rotation) * 1.3;
}
}
function useFuel(amount) {
fuelLeft = fuelLeft - (amount / fuelUsage);
mcFuel.gotoAndStop(int(fuelLeft));
mcFuel.txtFuel1 = int(fuelLeft);
mcFuel.txtFuel2 = int(fuelLeft);
}
function resetGameVars() {
movingObjectCounter = 0;
activePlatform = 0;
boxCounter = 0;
hitTestCounter = 0;
abducteeCounter = 0;
energyLeft = 100;
fuelLeft = 100;
landingPlatforms = 0;
}
function gameLoop() {
if (!gamePaused) {
countDown();
if (fuelLeft > 0) {
steerShip();
} else {
hideShipActions();
}
applyMotion(mcShip);
collisionDetection();
movingObjectCollisions();
applyGravityToAbductees();
}
}
function turnRed(mc, duration, originalColour) {
if (duration > 0) {
originalColour = mc.getTransform();
var _local2 = new Color(mc);
var _local4 = {ra:"100", rb:"200", ga:"100", gb:"-100", ba:"100", bb:"-200", aa:"100", ab:"0"};
_local2.setTransform(_local4);
ivTurnRed = setInterval(turnRed, duration, mc, 0, originalColour);
} else {
var _local2 = new Color(mc);
var _local4 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local2.setTransform(_local4);
clearInterval(ivTurnRed);
}
}
function gotoMap() {
if (currentLevel < 16) {
gotoAndPlay ("interstellarMap");
} else {
gotoAndStop ("gameSummary");
}
}
function startLevel() {
inGame = true;
fromMainMenu = false;
attachMovie("mcRevealShip", "mcRevealShip", 2);
mcRevealShip._x = mcShip._x;
mcRevealShip._y = mcShip._y;
var _local2 = this["mcLandingPlatform" + activePlatform];
_local2.platformActive = true;
_local2.play();
}
function initiateLevel() {
stopAllSounds();
sndLevelIntroFade.start(0, 0);
txtLevel = "lEVEL " + currentLevel;
resetGameVars();
if (currentLevel <= 5) {
sndEarth.start(0, 999999999);
} else if ((currentLevel > 5) && (currentLevel < 11)) {
sndMoon.start(0, 999999999);
mcRevealLevel.mcLevelSymbol.gotoAndStop(2);
} else if (currentLevel > 10) {
sndAlienCity.start(0, 999999999);
mcRevealLevel.mcLevelSymbol.gotoAndStop(3);
}
mcRevealLevel.gotoAndPlay(1);
}
function gameOver() {
gamePaused = true;
mcGameOver.gotoAndPlay(1);
}
function levelCompleted() {
trace("Level completed.");
hideShipActions();
stopMovingObstacles();
gamePaused = true;
mcLevelCompleted.gotoAndPlay(1);
sndLevelCompleted.start(0, 0);
inGameActive = false;
trace("inGameActive: false");
}
function stopMovingObstacles() {
var _local2 = 0;
while (_local2 < movingObjectCounter) {
var _local3 = this["mcMovingObject" + _local2];
_local3.stop();
_local3.mcSatellite.stop();
_local2++;
}
}
function startMovingObstacles() {
var _local2 = 0;
while (_local2 < movingObjectCounter) {
var _local3 = this["mcMovingObject" + _local2];
_local3.play();
_local3.mcSatellite.play();
_local2++;
}
}
function hideShipActions() {
sndBeam.stop("sndBeam");
sndThrusters.stop("sndThrusters");
mcShip.mcThrusterMain._visible = false;
mcShip.mcThrusterLeft._visible = false;
mcShip.mcThrusterRight._visible = false;
mcShip.mcBeam._visible = false;
}
currentLevel = 0;
totalScore = 0;
txtScore = 0;
shipVulnerability = 4;
smallThrusters = 1.2;
mainThruster = smallThrusters * 2;
fuelUsage = 18;
arrAbductees = [0, 0, 0, 0, 0, 0, 0];
arrKeysPressed = new Array();
arrKeysPressed = [0, 0, 0, 0, 0, 0];
arrPrevPos = new Array();
_global.fVectToRadian = function (vect) {
return(Math.atan2(vect.y, vect.x));
};
_global.fRadianToVector = function (rad) {
return({x:Math.sin(rad), y:-Math.cos(rad)});
};
_global.fRadianToAngle = function (rad) {
return((rad * 180) / Math.PI);
};
_global.fAngleToRadian = function (ang) {
return((ang * Math.PI) / 180);
};
_global.fReAngle = function (ang) {
return(ang % 360);
};
_global.fGetAngle = function (vect1, vect2) {
var _local2 = {x:vect1.x - vect2.x, y:vect1.y - vect2.y};
var _local4 = _global.fVectToRadian(_local2);
var _local3 = _global.fRadianToAngle(_local4);
return(_local3);
};
Intersection = function (L1x1, L1y1, L1x2, L1y2, L2x1, L2y1, L2x2, L2y2) {
var _local7 = L1x2 - L1x1;
var _local4 = L2x1 - L2x2;
var _local1 = (L1y2 - L1y1) / _local7;
var _local3 = (L2y1 - L2y2) / _local4;
if (!_local7) {
if (!_local4) {
return(false);
}
var _local12 = L1x1;
var _local11 = (_local3 * (L1x1 - L2x2)) + L2y2;
} else if (!_local4) {
var _local12 = L2x2;
var _local11 = (_local1 * (L2x2 - L1x1)) + L1y1;
} else {
var _local12 = ((((_local1 * L1x1) - L1y1) - (_local3 * L2x1)) + L2y1) / (_local1 - _local3);
var _local11 = L1y1 - ((L1x1 - _local12) * _local1);
}
return({x:_local12, y:_local11});
};
gotoAndStop ("interstellarMap");
Frame 63
gotoAndStop ("mainMenu");
Frame 72
function gotoNextLevel() {
currentLevel++;
initiateLevel();
var _local1 = "level" + currentLevel;
gotoAndStop(_local1);
}
if (!fromMainMenu) {
sndAlienCity.stop("sndAlienCity");
sndMoon.stop("sndMoon");
sndEarth.stop("sndEarth");
sndSoundtrack.start(0, 9999999);
}
play();
Instance of Symbol 279 MovieClip in Frame 72
onClipEvent (enterFrame) {
_parent.gameLoop();
}
Frame 73
mcProgress.mcShip.mcThrusterMain._visible = false;
mcProgress.mcShip.mcThrusterLeft._visible = false;
mcProgress.mcShip.mcThrusterRight._visible = false;
mcProgress.mcShip.mcBeam._visible = false;
mcEnergy.gotoAndStop(100);
mcEnergy.txtEnergy1 = 100;
mcEnergy.txtEnergy2 = 100;
mcFuel.gotoAndStop(100);
mcFuel.txtFuel1 = 100;
mcFuel.txtFuel2 = 100;
mcProgress.txtButton = "cONTINUE";
var nextLevel = ("level" + (currentLevel + 1));
trace(nextLevel);
mcProgress.gotoAndPlay(nextLevel);
stop();
Frame 74
gotoAndStop ("mainMenu");
Frame 97
mcShip.thrusters = 0.2;
levelGravity = 0.08;
maxSpeed = 6;
beamPower = -levelGravity;
initiateLevel();
stop();
Instance of Symbol 327 MovieClip in Frame 97
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 333 MovieClip in Frame 97
onClipEvent (enterFrame) {
}
Frame 98
gotoAndStop ("mainMenu");
Frame 103
mcShip.thrusters = 0.2;
levelGravity = 0.08;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 103
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 365 MovieClip in Frame 103
onClipEvent (enterFrame) {
_rotation = (_rotation + 8);
}
Instance of Symbol 333 MovieClip in Frame 103
onClipEvent (enterFrame) {
}
Frame 104
gotoAndStop ("mainMenu");
Frame 109
mcShip.thrusters = 0.2;
levelGravity = 0.08;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 109
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 333 MovieClip in Frame 109
onClipEvent (enterFrame) {
}
Frame 110
gotoAndStop ("mainMenu");
Frame 115
mcShip.thrusters = 0.2;
levelGravity = 0.08;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 365 MovieClip in Frame 115
onClipEvent (enterFrame) {
_rotation = (_rotation + 8);
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 115
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 333 MovieClip in Frame 115
onClipEvent (enterFrame) {
}
Frame 116
gotoAndStop ("mainMenu");
Frame 121
mcShip.thrusters = 0.2;
levelGravity = 0.08;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 121
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 333 MovieClip in Frame 121
onClipEvent (enterFrame) {
}
Frame 122
gotoAndStop ("mainMenu");
Frame 127
mcShip.thrusters = 0.2;
levelGravity = 0.06;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 391 MovieClip in Frame 127
onClipEvent (load) {
movePattern = "circle";
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 127
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 127
onClipEvent (load) {
platformNumber = 1;
}
Instance of Symbol 333 MovieClip in Frame 127
onClipEvent (enterFrame) {
}
Frame 128
gotoAndStop ("mainMenu");
Frame 133
mcShip.thrusters = 0.2;
levelGravity = 0.06;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 133
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 133
onClipEvent (load) {
platformNumber = 1;
}
Instance of Symbol 333 MovieClip in Frame 133
onClipEvent (enterFrame) {
}
Frame 134
gotoAndStop ("mainMenu");
Frame 139
mcShip.thrusters = 0.2;
levelGravity = 0.06;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 139
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 139
onClipEvent (load) {
platformNumber = 1;
}
Instance of Symbol 333 MovieClip in Frame 139
onClipEvent (enterFrame) {
}
Frame 140
gotoAndStop ("mainMenu");
Frame 145
mcShip.thrusters = 0.2;
levelGravity = 0.06;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 145
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 145
onClipEvent (load) {
platformNumber = 3;
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 145
onClipEvent (load) {
platformNumber = 1;
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 145
onClipEvent (load) {
platformNumber = 2;
}
Instance of Symbol 391 MovieClip in Frame 145
onClipEvent (load) {
movePattern = "circle";
}
Instance of Symbol 333 MovieClip in Frame 145
onClipEvent (enterFrame) {
}
Frame 146
gotoAndStop ("mainMenu");
Frame 151
mcShip.thrusters = 0.2;
levelGravity = 0.06;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 151
onClipEvent (load) {
platformNumber = 1;
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 151
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 391 MovieClip in Frame 151
onClipEvent (load) {
movePattern = "circle";
}
Instance of Symbol 333 MovieClip in Frame 151
onClipEvent (enterFrame) {
}
Instance of Symbol 133 MovieClip "mcShip" in Frame 151
onClipEvent (load) {
ySpeed = -0.1;
}
Frame 152
gotoAndStop ("mainMenu");
Frame 158
mcShip.thrusters = 0.2;
levelGravity = 0.08;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 158
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 158
onClipEvent (load) {
platformNumber = 1;
}
Frame 159
gotoAndStop ("mainMenu");
Frame 165
mcShip.thrusters = 0.2;
levelGravity = 0.08;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 165
onClipEvent (load) {
platformNumber = 2;
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 165
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 165
onClipEvent (load) {
platformNumber = 1;
}
Instance of Symbol 333 MovieClip in Frame 165
onClipEvent (enterFrame) {
}
Frame 166
gotoAndStop ("mainMenu");
Frame 172
mcShip.thrusters = 0.2;
levelGravity = 0.08;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 172
onClipEvent (load) {
platformNumber = 1;
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 172
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 333 MovieClip in Frame 172
onClipEvent (enterFrame) {
}
Frame 173
gotoAndStop ("mainMenu");
Frame 179
mcShip.thrusters = 0.2;
levelGravity = 0.08;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 179
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 333 MovieClip in Frame 179
onClipEvent (enterFrame) {
}
Frame 180
gotoAndStop ("mainMenu");
Frame 186
mcShip.thrusters = 0.2;
levelGravity = 0.08;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 186
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 186
onClipEvent (load) {
platformNumber = 1;
}
Instance of Symbol 333 MovieClip in Frame 186
onClipEvent (enterFrame) {
}
Frame 187
gotoAndStop ("mainMenu");
Frame 193
mcShip.thrusters = 0.2;
levelGravity = 0.08;
maxSpeed = 6;
beamPower = -levelGravity;
stop();
Instance of Symbol 327 MovieClip "mcLandingPlatform" in Frame 193
onClipEvent (load) {
platformNumber = 0;
}
Instance of Symbol 333 MovieClip in Frame 193
onClipEvent (enterFrame) {
}
Frame 194
trace("CHEAT 1");
gotoAndStop ("mainMenu");
Frame 202
txtAbduct = "YOU ABDUCTED 13 CREATURES OUT OF 25";
txtEvaluation = "WELL DONE!";
txtButton = "highscores";
var abtucteesAbducted = 0;
var i = 0;
while (i <= 7) {
this["mcAbduct" + i].txtCounter = arrAbductees[i];
if (arrAbductees[i] > 0) {
abtucteesAbducted = abtucteesAbducted + arrAbductees[i];
}
i++;
}
txtAbduct = ("YOU ADBUCTED " + abtucteesAbducted) + " CREATURES OUT OF 48";
sndAlienCity.stop("sndAlienCity");
sndMoon.stop("sndMoon");
sndEarth.stop("sndEarth");
sndSoundtrack.start(0, 9999999);
fromGameOver = true;
stop();
Frame 203
trace("CHEAT 2");
gotoAndStop ("mainMenu");
Frame 214
txtButton = "go back";
stop();
Instance of Symbol 573 MovieClip "comHighscores" in Frame 214
//component parameters
onClipEvent (initialize) {
scoreLocation = "_root.totalScore";
gamename = "ufojoe";
saveScore = true;
scoreIsTime = false;
scoreReversed = false;
negativeScoreAllowed = false;
}
Frame 215
trace("CHEAT 3");
gotoAndStop ("mainMenu");
Symbol 5 MovieClip Frame 1
stop();
Symbol 5 MovieClip Frame 48
if (_parent.gamePaused) {
stop();
}
Symbol 17 MovieClip Frame 1
var startTime = getTimer();
var numFrames = 0;
var recentSetting = 10;
var recentNumFrames = 0;
var recentStartTime = startTime;
function calcFPS() {
numFrames++;
var _local1 = getTimer();
elapsedSeconds = (_local1 - startTime) / 1000;
actualFPS = numFrames / elapsedSeconds;
recentNumFrames++;
if (recentNumFrames == recentSetting) {
var _local2 = (_local1 - recentStartTime) / 1000;
recentFPSoutput = recentNumFrames / _local2;
recentStartTime = _local1;
recentNumFrames = 0;
}
}
Instance of Symbol 16 MovieClip "callCalcFPS" in Symbol 17 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.calcFPS();
}
Symbol 26 MovieClip Frame 1
if (!i) {
var goto = (random(_totalframes) + 1);
i = 1;
gotoAndStop(goto);
}
Symbol 27 MovieClip Frame 1
_y = random(450);
speed = (10 + random(20)) / 8;
size = 40 + random(100);
_xscale = size;
_yscale = size;
if (random(2) == 0) {
_xscale = (-_xscale);
}
Symbol 27 MovieClip Frame 3
if (_y < -50) {
_y = (450 + random(450));
speed = (10 + random(30)) / 8;
size = 40 + random(100);
_xscale = size;
_yscale = size;
if (random(2) == 0) {
_xscale = (-_xscale);
}
}
_y = (_y - speed);
gotoAndPlay (2);
Symbol 31 MovieClip Frame 1
this._visible = false;
Symbol 37 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 42 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 42 MovieClip Frame 4
if ((mcAd.getBytesTotal() != 0) && (mcAd.getBytesLoaded() == mcAd.getBytesTotal())) {
gotoAndStop ("showAd");
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 42 MovieClip Frame 12
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 100
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 12
_root.play();
_root.isFinished = true;
_parent.stop();
stop();
Symbol 58 Button
on (release) {
getURL ("http://www.miniclip.com/", "_blank");
}
Symbol 59 MovieClip Frame 2
_parent.mcAnimation.play();
stop();
Symbol 59 MovieClip Frame 13
_parent.gotoAndPlay("preload");
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 60
Symbol 75 MovieClip Frame 121
_parent.mcBackground.play();
stop();
Symbol 76 MovieClip Frame 1
loadAdNow = false;
_root.stop();
play();
Instance of Symbol 31 MovieClip "mcIntro" in Symbol 76 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 76 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 54 MovieClip "mcLoadingAnimated" in Symbol 76 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 76 MovieClip Frame 3
var loadedPercent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loadedPercent == 100) {
_root.play();
stop();
} else {
loadAdNow = true;
mcLoadingAnimated._visible = true;
}
Symbol 76 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 87 MovieClip [mcHit] Frame 9
stop();
Symbol 93 MovieClip Frame 6
gotoAndPlay ("loop");
Symbol 96 MovieClip Frame 1
var goto = (random(40) + 1);
gotoAndPlay(goto);
Symbol 105 MovieClip Frame 1
tActive = true;
Symbol 105 MovieClip Frame 3
stop();
Symbol 105 MovieClip Frame 4
tActive = false;
bActive = true;
Instance of Symbol 104 MovieClip in Symbol 105 MovieClip Frame 5
onClipEvent (load) {
gotoAndPlay (2);
}
Symbol 105 MovieClip Frame 7
stop();
Symbol 105 MovieClip Frame 8
bActive = false;
tActive = true;
Symbol 128 MovieClip Frame 33
gotoAndStop (1);
Symbol 128 MovieClip Frame 46
gotoAndStop (1);
Symbol 128 MovieClip Frame 72
stop();
Symbol 132 MovieClip Frame 1
if (!init) {
_name = ("mcHitTest" + _parent._parent.hitTestCounter);
_parent._parent.hitTestCounter++;
init = true;
}
stop();
Symbol 133 MovieClip Frame 1
stop();
Instance of Symbol 97 MovieClip "mcBeam" in Symbol 133 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 132 MovieClip in Symbol 133 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 133 MovieClip "mcShip" in Symbol 145 MovieClip [mcExplosion] Frame 1
onClipEvent (load) {
mcBeam._visible = false;
mcThrusterLeft._visible = false;
mcThrusterRight._visible = false;
mcThrusterUp._visible = false;
mcThrusterMain._visible = false;
mcRobot.gotoAndPlay("crash");
}
Symbol 145 MovieClip [mcExplosion] Frame 30
_parent.gameOver();
stop();
Instance of Symbol 133 MovieClip "mcShip" in Symbol 150 MovieClip [mcRevealShip] Frame 7
onClipEvent (load) {
mcBeam._visible = false;
mcThrusterLeft._visible = false;
mcThrusterRight._visible = false;
mcThrusterUp._visible = false;
mcThrusterMain._visible = false;
}
Symbol 150 MovieClip [mcRevealShip] Frame 15
_parent.mcShip._visible = true;
_parent.gamePaused = false;
_parent.inGameActive = true;
trace("inGameActive: true");
removeMovieClip(_parent.mcRevealShip);
stop();
Symbol 153 MovieClip [mcAddPoints] Frame 62
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 194 Button
on (release, keyPress "<Space>") {
gotoAndStop ("instructions");
}
Symbol 196 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 200 MovieClip Frame 21
stop();
Symbol 204 Button
on (release) {
gotoAndStop ("gameCode");
}
Symbol 224 MovieClip Frame 1
id = 1;
pointsWorth = 300;
_name = ("mcAbductee" + _parent.abducteeCounter);
_parent.abducteeCounter++;
gotoAndPlay(random(130));
Symbol 224 MovieClip Frame 140
gotoAndPlay ("loop");
Symbol 224 MovieClip Frame 141
stop();
Symbol 226 Button
on (release, keyPress "<Space>") {
gotoAndStop ("gameCode");
}
Symbol 241 Button
on (release, keyPress "<Space>") {
_parent.gotoNextLevel();
}
Symbol 256 MovieClip Frame 16
stop();
Symbol 256 MovieClip Frame 31
stop();
Symbol 256 MovieClip Frame 46
stop();
Symbol 256 MovieClip Frame 61
stop();
Symbol 256 MovieClip Frame 76
stop();
Symbol 256 MovieClip Frame 91
stop();
Symbol 256 MovieClip Frame 106
stop();
Symbol 256 MovieClip Frame 121
stop();
Symbol 256 MovieClip Frame 136
stop();
Symbol 256 MovieClip Frame 151
stop();
Symbol 256 MovieClip Frame 166
stop();
Symbol 256 MovieClip Frame 181
stop();
Symbol 256 MovieClip Frame 196
stop();
Symbol 256 MovieClip Frame 211
stop();
Symbol 256 MovieClip Frame 224
stop();
Symbol 256 MovieClip Frame 259
stop();
Symbol 265 MovieClip Frame 1
if (!init) {
init = true;
gotoAndStop (100);
}
Symbol 274 MovieClip Frame 1
if (!init) {
init = true;
gotoAndStop (100);
}
Symbol 274 MovieClip Frame 100
stop();
Symbol 307 MovieClip Frame 43
if (random(5) == 0) {
play();
} else {
gotoAndPlay (1);
}
Symbol 311 MovieClip Frame 1
gotoAndPlay(random(10) + 1);
Symbol 314 MovieClip Frame 1
id = 0;
pointsWorth = 200;
_name = ("mcAbductee" + _parent.abducteeCounter);
_parent.abducteeCounter++;
gotoAndPlay(random(200));
Symbol 314 MovieClip Frame 174
if (random(2) == 1) {
gotoAndPlay ("loop");
}
Symbol 314 MovieClip Frame 264
gotoAndPlay ("loop");
Symbol 314 MovieClip Frame 265
stop();
Symbol 323 MovieClip Frame 82
stop();
Symbol 327 MovieClip Frame 1
_name = ("mcLandingPlatform" + platformNumber);
trace(_name);
if (!init) {
_parent.landingPlatforms++;
init = true;
}
stop();
Symbol 327 MovieClip Frame 25
if (platformActive) {
gotoAndPlay ("loop");
}
Symbol 333 MovieClip Frame 1
_name = ("mcBox" + _parent.boxCounter);
txt = _parent.boxCounter;
_parent.boxCounter++;
stop();
Symbol 348 Button
on (release, keyPress "<Space>") {
_parent.gotoAndStop("gameSummary");
gotoAndStop (1);
}
Symbol 351 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 2
txtTotalScore = _parent.totalScore;
txtEnergyBonus = int(_parent.energyLeft);
txtTimeBonus = int(_parent.fuelLeft);
Symbol 351 MovieClip Frame 38
var energyBonus = (_parent.energyLeft * 10);
_parent.addToScore(energyBonus);
txtTotalScore = _parent.totalScore;
Symbol 351 MovieClip Frame 66
var fuelBonus = (int(_parent.fuelLeft) * 10);
txtFuelBonus = int(_parent.fuelLeft);
_parent.addToScore(fuelBonus);
txtTotalScore = _parent.totalScore;
Symbol 351 MovieClip Frame 141
if (_parent.currentLevel < 16) {
_parent.gotoMap();
gotoAndStop (1);
}
Symbol 351 MovieClip Frame 142
txtButton = "continue";
Symbol 351 MovieClip Frame 161
stop();
Symbol 355 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 1
_parent.mcShip._visible = false;
_parent.gamePaused = true;
txtLevel = "level " + _parent.currentLevel;
Symbol 357 MovieClip Frame 60
_parent.startLevel();
stop();
Symbol 362 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 2
txtFinalScore = _parent.totalScore;
Symbol 362 MovieClip Frame 88
_parent.gotoAndStop("gameSummary");
stop();
Symbol 367 MovieClip Frame 1
_name = ("mcMovingObject" + _parent.movingObjectCounter);
_parent.movingObjectCounter++;
stop();
Symbol 384 MovieClip Frame 1
id = 2;
pointsWorth = 400;
_name = ("mcAbductee" + _parent.abducteeCounter);
_parent.abducteeCounter++;
Symbol 384 MovieClip Frame 91
gotoAndPlay ("loop");
Symbol 384 MovieClip Frame 92
stop();
Symbol 389 MovieClip Frame 1
if (!init) {
init = true;
gotoAndPlay(random(_totalframes));
}
Symbol 391 MovieClip Frame 1
_name = ("mcMovingObject" + _parent.movingObjectCounter);
_parent.movingObjectCounter++;
stop();
Symbol 398 MovieClip Frame 1
_name = ("mcMovingObject" + _parent.movingObjectCounter);
_parent.movingObjectCounter++;
gotoAndPlay(random(_totalframes + 1));
Symbol 398 MovieClip Frame 300
gotoAndPlay ("loop0");
Symbol 398 MovieClip Frame 458
gotoAndPlay ("loop1");
Symbol 417 MovieClip Frame 1
gotoAndPlay(random(_totalframes));
Symbol 417 MovieClip Frame 106
gotoAndPlay (1);
Symbol 417 MovieClip Frame 166
gotoAndPlay (1);
Symbol 417 MovieClip Frame 207
gotoAndPlay (1);
Symbol 421 MovieClip Frame 1
if (!i) {
gotoAndPlay(random(_totalframes));
i = 1;
}
Symbol 427 MovieClip Frame 1
id = 4;
pointsWorth = 600;
_name = ("mcAbductee" + _parent.abducteeCounter);
_parent.abducteeCounter++;
gotoAndPlay(random(44) + 1);
Symbol 427 MovieClip Frame 44
gotoAndPlay ("loop");
Symbol 441 MovieClip Frame 1
_name = ("mcMovingObject" + _parent.movingObjectCounter);
_parent.movingObjectCounter++;
Symbol 456 MovieClip Frame 71
var goto = random(_totalframes);
gotoAndPlay(goto);
trace(goto);
Symbol 456 MovieClip Frame 115
gotoAndPlay (1);
Symbol 456 MovieClip Frame 161
gotoAndPlay (1);
Symbol 456 MovieClip Frame 215
gotoAndPlay (1);
Symbol 456 MovieClip Frame 266
gotoAndPlay (1);
Symbol 458 MovieClip Frame 1
gotoAndPlay(random(_totalframes) + 1);
Symbol 461 MovieClip Frame 1
id = 3;
pointsWorth = 500;
_name = ("mcAbductee" + _parent.abducteeCounter);
_parent.abducteeCounter++;
Symbol 461 MovieClip Frame 21
gotoAndPlay ("loop");
Symbol 475 MovieClip Frame 1
_name = ("mcMovingObject" + _parent.movingObjectCounter);
_parent.movingObjectCounter++;
if (!i) {
gotoAndPlay(random(_totalframes));
i = 1;
}
Symbol 481 MovieClip Frame 1
id = 6;
pointsWorth = 600;
_name = ("mcAbductee" + _parent.abducteeCounter);
_parent.abducteeCounter++;
Symbol 481 MovieClip Frame 9
gotoAndPlay ("loop");
Symbol 487 MovieClip Frame 69
gotoAndPlay(random(_totalframes));
Symbol 487 MovieClip Frame 138
gotoAndPlay (1);
Symbol 487 MovieClip Frame 201
gotoAndPlay (1);
Symbol 487 MovieClip Frame 258
gotoAndPlay (1);
Symbol 493 MovieClip Frame 1
gotoAndPlay(random(_totalframes));
Symbol 496 MovieClip Frame 1
id = 5;
pointsWorth = 700;
_name = ("mcAbductee" + _parent.abducteeCounter);
_parent.abducteeCounter++;
Symbol 496 MovieClip Frame 9
gotoAndPlay ("loop");
Symbol 499 MovieClip Frame 1
_name = ("mcMovingObject" + _parent.movingObjectCounter);
_parent.movingObjectCounter++;
if (!i) {
gotoAndPlay(random(_totalframes));
i = 1;
}
Symbol 514 MovieClip Frame 1
if (!i) {
gotoAndStop(random(_totalframes) + 1);
i = 1;
}
Symbol 522 MovieClip Frame 1
function switchPose() {
gotoAndStop(random(_totalframes) + 1);
}
if (!i) {
if (random(4) == 0) {
ivSwitchPose = setInterval(switchPose, random(1000) + 100);
}
gotoAndStop(random(_totalframes) + 1);
i = 1;
}
Symbol 534 MovieClip Frame 1
if (!i) {
gotoAndStop(random(_totalframes) + 1);
i = 1;
}
Instance of Symbol 522 MovieClip in Symbol 534 MovieClip Frame 1
onClipEvent (unload) {
clearInterval(ivSwitchPose);
}
Symbol 542 Button
on (release, keyPress "<Space>") {
gotoAndStop ("highScore");
}
Symbol 553 MovieClip Frame 1
this._visible = false;
Symbol 571 Button
on (release) {
gameURL = ("http://www.miniclip.com/" + gamename) + ".htm";
getURL (gameURL, "_blank");
}
Symbol 573 MovieClip Frame 1
System.security.allowDomain("www.miniclip.com");
Instance of Symbol 553 MovieClip "mcHighscores" in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 573 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 573 MovieClip Frame 3
stop();
Symbol 574 Button
on (release) {
gotoAndStop ("mainMenu");
}