Frame 1
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Frame 98
gotoAndPlay (99);
Frame 99
stop();
Instance of Symbol 27 MovieClip "loadbar" in Frame 99
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_root.play();
} else {
_parent.stop();
this._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
_root.howMuch = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
}
}
Frame 100
stop();
Instance of Symbol 40 MovieClip "noisecube" in Frame 100
onClipEvent (load) {
onOrOff = "on";
}
onClipEvent (enterFrame) {
if (onOrOff == "on") {
if ((_parent.lander.myLanded == "go") && (key.isDown(38))) {
gotoAndStop (100);
dying = false;
} else if ((_parent.lander.exploding == "true") && (!dying)) {
gotoAndStop (101);
dying = true;
} else {
gotoAndStop (99);
}
} else {
gotoAndStop (99);
}
}
Instance of Symbol 41 MovieClip "musicSphere" in Frame 100
onClipEvent (load) {
}
Frame 101
function randSong() {
if (_root.onOrOff == "on") {
rand = random(3);
_root.musicSphere.gotoAndStop(soundArray[rand]);
} else {
_root.musicSphere.gotoAndStop("noSound");
}
}
stop();
_root.musicSphere.gotoAndStop("intro2");
soundArray = new Array("level1", "level3", "level4");
_root.onOrOff = "on";
Frame 102
stopAllSounds();
stop();
if (_root.onOrOff == "on") {
_root.musicSphere.gotoAndStop("level2");
}
Frame 103
stopAllSounds();
stop();
_root.randSong();
Instance of Symbol 81 MovieClip "lander" in Frame 103
onClipEvent (load) {
myGrav = 0.06;
i = 0;
if (_quality == "LOW") {
myPartAmount = 5;
} else if (_quality == "MEDIUM") {
myPartAmount = 12;
} else {
myPartAmount = 25;
}
if (_rotation < 0) {
myRotation = 360 + _rotation;
} else {
myRotation = _rotation;
}
}
onClipEvent (enterFrame) {
function rotate(rvar) {
_rotation = (_rotation + (3 * rvar));
if (_rotation < 0) {
myRotation = 360 + _rotation;
} else {
myRotation = _rotation;
}
}
function constant() {
myXMomentum = myXMomentum + (myXMovement - myXGravity);
myYMomentum = myYMomentum + (myYMovement - myYGravity);
if (((this._x + myXMomentum) >= 480) || (120 >= (this._x + myXMomentum))) {
_parent.foreground._x = _parent.foreground._x - myXMomentum;
Xparticleshift = myXMomentum;
} else {
this._x = this._x + myXMomentum;
Xparticleshift = 0;
}
if (((this._y + myYMomentum) >= 280) || (120 >= (this._y + myYMomentum))) {
_parent.foreground._y = _parent.foreground._y - myYMomentum;
Yparticleshift = myYMomentum;
} else {
this._y = this._y + myYMomentum;
Yparticleshift = 0;
}
}
function arrowcolour() {
myDistance = Math.sqrt(Math.pow(_this._x - _parent.foreground._x, 2) + Math.pow(_this._y - _parent.foreground._y, 2));
}
function explode() {
if (60 >= i) {
duplicateMovieClip (_parent.particle, "mcc" + i, i);
_parent["mcc" + i].myGocommand = "blow";
i++;
blowdelay++;
if (i >= 20) {
this.gotoAndStop(2);
}
}
}
function engineburn() {
if (myPartAmount >= i) {
duplicateMovieClip (_parent.particle, "mc" + i, i);
_parent["mc" + i].myGocommand = "go";
_parent["mc" + i]._x = _x;
_parent["mc" + i]._y = _y;
i++;
} else {
i = 0;
}
}
function gravity() {
origin_x = _root.foreground._x;
origin_y = _root.foreground._y;
mouse_x = this._x;
mouse_y = this._y;
dist_x = mouse_x - origin_x;
dist_y = mouse_y - origin_y;
if (Number(dist_x) < 0) {
normalise = -1 * dist_x;
} else {
normalise = dist_x;
}
if (Number(dist_y) < 0) {
normalise = Number(normalise) + Number(-1 * dist_y);
} else {
normalise = Number(normalise) + Number(dist_y);
}
if ((Number(dist_x) >= 0) and (Number(dist_y) >= 0)) {
direction = 90 * (dist_y / normalise);
} else if ((0 >= Number(dist_x)) and (Number(dist_y) >= 0)) {
direction = Number(-90 * (dist_x / normalise)) + 90;
} else if ((0 >= Number(dist_x)) and (0 >= Number(dist_y))) {
direction = Number(-90 * (dist_y / normalise)) + 180;
} else {
direction = Number(90 * (dist_x / normalise)) + 270;
}
myYGravity = Math.sin((Math.PI/180) * direction) * myGrav;
myXGravity = Math.cos((Math.PI/180) * direction) * myGrav;
_parent.planetfinder._rotation = direction;
}
if (WinLose == "lose") {
if (myFailTime) {
if ((getTimer() - myFailtime) >= 5000) {
myLanded = "stop";
_parent.popup.gotoAndStop("loser");
}
} else {
myFailtime = getTimer();
_root.Angry.go = "stop";
}
} else if (WinLose == "win") {
if (myWinTime) {
if ((getTimer() - myWinTime) >= 2000) {
myLanded = "stop";
_parent.popup.gotoAndStop("winner");
}
} else {
myWinTime = getTimer();
_root.Angry.go = "stop";
}
}
if (exploding == "true") {
explode();
gravity();
constant();
myXMovement = 0;
myYMovement = 0;
WinLose = "lose";
}
if (myLanded == "go") {
gravity();
constant();
if (key.isDown(38)) {
myVelocity = 0.2;
engineburn();
myXMovement = Math.cos((Math.PI/180) * myRotation) * myVelocity;
myYMovement = Math.sin((Math.PI/180) * myRotation) * myVelocity;
} else {
myXmovement = 0;
myYmovement = 0;
}
if (key.isDown(37)) {
rotate(-1);
}
if (key.isDown(39)) {
rotate(1);
}
} else if (myLanded == "stop") {
myXmovement = 0;
myYmovement = 0;
myXMomentum = 0;
myYMomentum = 0;
}
}
Instance of Symbol 187 MovieClip "particle" in Frame 103
onClipEvent (load) {
xDirect = ((random(15) - 7) / 10) + Math.cos((Math.PI/180) * _parent.lander.myRotation);
yDirect = ((random(15) - 7) / 10) + Math.sin((Math.PI/180) * _parent.lander.myRotation);
gotoAndStop(random(2) + 1 +98);
myTTL = getTimer();
}
onClipEvent (enterFrame) {
if (myGocommand == "go") {
this._x = this._x - (xDirect + _parent.lander.Xparticleshift);
this._y = this._y - (yDirect + _parent.lander.Yparticleshift);
}
if ((getTimer() - myTTL) >= 2500) {
removeMovieClip(this);
}
}
Instance of Symbol 130 MovieClip "planetfinder" in Frame 103
onClipEvent (enterFrame) {
this._x = _parent.lander._x;
this._y = _parent.lander._y;
}
Instance of Symbol 196 MovieClip "Angry" in Frame 103
onClipEvent (load) {
myTimerStart = getTimer();
myTime = 0;
}
onClipEvent (enterFrame) {
function trim(theNumber, decPlaces) {
if (decPlaces >= 0) {
var temp = Math.pow(10, decPlaces);
return(Math.round(theNumber * temp) / temp);
}
}
distance = int(Math.sqrt(Math.pow(_parent.lander._x - _parent.foreground._x, 2) + Math.pow(_parent.lander._y - _parent.foreground._y, 2)) - 709);
if ((go != "stop") && (myTime != 0)) {
timer = myTime - trim((getTimer() - myTimerStart) / 1000, 2);
if (0 >= timer) {
_parent.popup.gotoAndStop("notime");
_parent.lander.myLanded = "stop";
go = "stop";
}
}
if (-10 >= _parent.Angry.distance) {
_parent.lander.exploding = "true";
_parent.lander.myLanded = "blow";
}
}
Frame 104
stopAllSounds();
stop();
if (_root.onOrOff == "on") {
_root.musicSphere.gotoAndStop("level2");
}
Frame 105
stopAllSounds();
stop();
randSong();
Instance of Symbol 81 MovieClip "lander" in Frame 105
onClipEvent (load) {
myGrav = 0.06;
i = 0;
if (_quality == "LOW") {
myPartAmount = 5;
} else if (_quality == "MEDIUM") {
myPartAmount = 12;
} else {
myPartAmount = 25;
}
if (_rotation < 0) {
myRotation = 360 + _rotation;
} else {
myRotation = _rotation;
}
}
onClipEvent (enterFrame) {
function rotate(rvar) {
_rotation = (_rotation + (3 * rvar));
if (_rotation < 0) {
myRotation = 360 + _rotation;
} else {
myRotation = _rotation;
}
}
function constant() {
myXMomentum = myXMomentum + (myXMovement - myXGravity);
myYMomentum = myYMomentum + (myYMovement - myYGravity);
if (((this._x + myXMomentum) >= 425) || (175 >= (this._x + myXMomentum))) {
_parent.foreground._x = _parent.foreground._x - myXMomentum;
Xparticleshift = myXMomentum;
} else {
this._x = this._x + myXMomentum;
Xparticleshift = 0;
}
if (((this._y + myYMomentum) >= 225) || (175 >= (this._y + myYMomentum))) {
_parent.foreground._y = _parent.foreground._y - myYMomentum;
Yparticleshift = myYMomentum;
} else {
this._y = this._y + myYMomentum;
Yparticleshift = 0;
}
}
function arrowcolour() {
myDistance = Math.sqrt(Math.pow(_this._x - _parent.foreground._x, 2) + Math.pow(_this._y - _parent.foreground._y, 2));
}
function explode() {
if (60 >= i) {
duplicateMovieClip (_parent.particle, "mcc" + i, i);
_parent["mcc" + i].myGocommand = "blow";
i++;
blowdelay++;
if (i >= 20) {
this.gotoAndStop(2);
}
}
}
function engineburn() {
if (myPartAmount >= i) {
duplicateMovieClip (_parent.particle, "mc" + i, i);
_parent["mc" + i].myGocommand = "go";
_parent["mc" + i]._x = _x;
_parent["mc" + i]._y = _y;
i++;
} else {
i = 0;
}
}
function gravity() {
origin_x = _root.foreground._x;
origin_y = _root.foreground._y;
mouse_x = this._x;
mouse_y = this._y;
dist_x = mouse_x - origin_x;
dist_y = mouse_y - origin_y;
if (Number(dist_x) < 0) {
normalise = -1 * dist_x;
} else {
normalise = dist_x;
}
if (Number(dist_y) < 0) {
normalise = Number(normalise) + Number(-1 * dist_y);
} else {
normalise = Number(normalise) + Number(dist_y);
}
if ((Number(dist_x) >= 0) and (Number(dist_y) >= 0)) {
direction = 90 * (dist_y / normalise);
} else if ((0 >= Number(dist_x)) and (Number(dist_y) >= 0)) {
direction = Number(-90 * (dist_x / normalise)) + 90;
} else if ((0 >= Number(dist_x)) and (0 >= Number(dist_y))) {
direction = Number(-90 * (dist_y / normalise)) + 180;
} else {
direction = Number(90 * (dist_x / normalise)) + 270;
}
myYGravity = Math.sin((Math.PI/180) * direction) * myGrav;
myXGravity = Math.cos((Math.PI/180) * direction) * myGrav;
_parent.planetfinder._rotation = direction;
}
if (WinLose == "lose") {
if (myFailTime) {
if ((getTimer() - myFailtime) >= 5000) {
myLanded = "stop";
_parent.popup.gotoAndStop("loser");
}
} else {
myFailtime = getTimer();
_root.Angry.go = "stop";
}
} else if (WinLose == "win") {
if (myWinTime) {
if ((getTimer() - myWinTime) >= 2000) {
myLanded = "stop";
_parent.popup.gotoAndStop("winner");
}
} else {
myWinTime = getTimer();
_root.Angry.go = "stop";
}
}
if (exploding == "true") {
explode();
gravity();
constant();
myXMovement = 0;
myYMovement = 0;
WinLose = "lose";
}
if (myLanded == "go") {
gravity();
constant();
if (key.isDown(38)) {
myVelocity = 0.2;
engineburn();
myXMovement = Math.cos((Math.PI/180) * myRotation) * myVelocity;
myYMovement = Math.sin((Math.PI/180) * myRotation) * myVelocity;
} else {
myXmovement = 0;
myYmovement = 0;
}
if (key.isDown(37)) {
rotate(-1);
}
if (key.isDown(39)) {
rotate(1);
}
} else if (myLanded == "stop") {
myXmovement = 0;
myYmovement = 0;
myXMomentum = 0;
myYMomentum = 0;
}
}
Instance of Symbol 187 MovieClip "particle" in Frame 105
onClipEvent (load) {
if (myGoCommand == "blow") {
this._x = _parent.lander._x + (random(20) - 10);
this._y = _parent.lander._y + (random(20) - 10);
gotoAndStop(random(5) + 5 +98);
grow = random(12);
}
if (myGoCommand == "go") {
xDirect = ((random(15) - 7) / 10) + Math.cos((Math.PI/180) * _parent.lander.myRotation);
yDirect = ((random(15) - 7) / 10) + Math.sin((Math.PI/180) * _parent.lander.myRotation);
gotoAndStop(random(2) + 1 +98);
}
myTTL = getTimer();
}
onClipEvent (enterFrame) {
if (myGocommand == "go") {
this._x = this._x - (xDirect + _parent.lander.Xparticleshift);
this._y = this._y - (yDirect + _parent.lander.Yparticleshift);
}
if (myGoCommand == "blow") {
this._xscale = this._xscale + grow;
this._yscale = this._yscale + grow;
}
if ((getTimer() - myTTL) >= 2500) {
removeMovieClip(this);
}
}
Instance of Symbol 130 MovieClip "planetfinder" in Frame 105
onClipEvent (enterFrame) {
this._x = _parent.lander._x;
this._y = _parent.lander._y;
}
Instance of Symbol 228 MovieClip in Frame 105
/* no clip actions */
Instance of Symbol 196 MovieClip "Angry" in Frame 105
onClipEvent (load) {
myTimerStart = getTimer();
myTime = 0;
}
onClipEvent (enterFrame) {
function trim(theNumber, decPlaces) {
if (decPlaces >= 0) {
var temp = Math.pow(10, decPlaces);
return(Math.round(theNumber * temp) / temp);
}
}
distance = int(Math.sqrt(Math.pow(_parent.lander._x - _parent.foreground._x, 2) + Math.pow(_parent.lander._y - _parent.foreground._y, 2)) - 709);
if ((go != "stop") && (myTime != 0)) {
timer = myTime - trim((getTimer() - myTimerStart) / 1000, 2);
if (0 >= timer) {
_parent.popup.gotoAndStop("notime");
_parent.lander.myLanded = "stop";
go = "stop";
}
}
if (-10 >= _parent.Angry.distance) {
_parent.lander.exploding = "true";
_parent.lander.myLanded = "blow";
}
}
Frame 106
stopAllSounds();
stop();
if (_root.onOrOff == "on") {
_root.musicSphere.gotoAndStop("level2");
}
Frame 107
stopAllSounds();
stop();
randSong();
Instance of Symbol 259 MovieClip "battery" in Frame 107
onClipEvent (enterFrame) {
if (_parent.lander.bat == "attached") {
_parent.foreground.batt._visible = false;
_parent.lander.myGrav = 0.12;
this._x = _parent.lander._x;
this._y = _parent.lander._y;
this._rotation = _parent.lander._rotation;
}
}
Instance of Symbol 81 MovieClip "lander" in Frame 107
onClipEvent (load) {
myGrav = 0.06;
i = 0;
if (_quality == "LOW") {
myPartAmount = 5;
} else if (_quality == "MEDIUM") {
myPartAmount = 12;
} else {
myPartAmount = 25;
}
if (_rotation < 0) {
myRotation = 360 + _rotation;
} else {
myRotation = _rotation;
}
}
onClipEvent (enterFrame) {
function rotate(rvar) {
_rotation = (_rotation + (3 * rvar));
if (_rotation < 0) {
myRotation = 360 + _rotation;
} else {
myRotation = _rotation;
}
}
function constant() {
myXMomentum = myXMomentum + (myXMovement - myXGravity);
myYMomentum = myYMomentum + (myYMovement - myYGravity);
if (((this._x + myXMomentum) >= 480) || (120 >= (this._x + myXMomentum))) {
_parent.foreground._x = _parent.foreground._x - myXMomentum;
Xparticleshift = myXMomentum;
} else {
this._x = this._x + myXMomentum;
Xparticleshift = 0;
}
if (((this._y + myYMomentum) >= 280) || (120 >= (this._y + myYMomentum))) {
_parent.foreground._y = _parent.foreground._y - myYMomentum;
Yparticleshift = myYMomentum;
} else {
this._y = this._y + myYMomentum;
Yparticleshift = 0;
}
}
function arrowcolour() {
myDistance = Math.sqrt(Math.pow(_this._x - _parent.foreground._x, 2) + Math.pow(_this._y - _parent.foreground._y, 2));
}
function explode() {
if (60 >= i) {
duplicateMovieClip (_parent.particle, "mcc" + i, i);
_parent["mcc" + i].myGocommand = "blow";
i++;
blowdelay++;
if (i >= 20) {
this.gotoAndStop(2);
}
}
}
function engineburn() {
if (myPartAmount >= i) {
duplicateMovieClip (_parent.particle, "mc" + i, i);
_parent["mc" + i].myGocommand = "go";
_parent["mc" + i]._x = _x;
_parent["mc" + i]._y = _y;
i++;
} else {
i = 0;
}
}
function gravity() {
origin_x = _root.foreground._x;
origin_y = _root.foreground._y;
mouse_x = this._x;
mouse_y = this._y;
dist_x = mouse_x - origin_x;
dist_y = mouse_y - origin_y;
if (Number(dist_x) < 0) {
normalise = -1 * dist_x;
} else {
normalise = dist_x;
}
if (Number(dist_y) < 0) {
normalise = Number(normalise) + Number(-1 * dist_y);
} else {
normalise = Number(normalise) + Number(dist_y);
}
if ((Number(dist_x) >= 0) and (Number(dist_y) >= 0)) {
direction = 90 * (dist_y / normalise);
} else if ((0 >= Number(dist_x)) and (Number(dist_y) >= 0)) {
direction = Number(-90 * (dist_x / normalise)) + 90;
} else if ((0 >= Number(dist_x)) and (0 >= Number(dist_y))) {
direction = Number(-90 * (dist_y / normalise)) + 180;
} else {
direction = Number(90 * (dist_x / normalise)) + 270;
}
myYGravity = Math.sin((Math.PI/180) * direction) * myGrav;
myXGravity = Math.cos((Math.PI/180) * direction) * myGrav;
_parent.planetfinder._rotation = direction;
}
if (WinLose == "lose") {
if (myFailTime) {
if ((getTimer() - myFailtime) >= 5000) {
myLanded = "stop";
_parent.popup.gotoAndStop("loser");
}
} else {
myFailtime = getTimer();
_root.Angry.go = "stop";
}
} else if (WinLose == "win") {
if (myWinTime) {
if ((getTimer() - myWinTime) >= 2000) {
myLanded = "stop";
_parent.popup.gotoAndStop("winner");
}
} else {
myWinTime = getTimer();
_root.Angry.go = "stop";
}
}
if (exploding == "true") {
explode();
gravity();
constant();
myXMovement = 0;
myYMovement = 0;
WinLose = "lose";
}
if (myLanded == "go") {
gravity();
constant();
if (key.isDown(38)) {
myVelocity = 0.2;
engineburn();
myXMovement = Math.cos((Math.PI/180) * myRotation) * myVelocity;
myYMovement = Math.sin((Math.PI/180) * myRotation) * myVelocity;
} else {
myXmovement = 0;
myYmovement = 0;
}
if (key.isDown(37)) {
rotate(-1);
}
if (key.isDown(39)) {
rotate(1);
}
} else if (myLanded == "stop") {
myXmovement = 0;
myYmovement = 0;
myXMomentum = 0;
myYMomentum = 0;
}
}
Instance of Symbol 187 MovieClip "particle" in Frame 107
onClipEvent (load) {
if (myGoCommand == "blow") {
this._x = _parent.lander._x + (random(20) - 10);
this._y = _parent.lander._y + (random(20) - 10);
gotoAndStop(random(5) + 5 +98);
grow = random(12);
}
if (myGoCommand == "go") {
xDirect = ((random(15) - 7) / 10) + Math.cos((Math.PI/180) * _parent.lander.myRotation);
yDirect = ((random(15) - 7) / 10) + Math.sin((Math.PI/180) * _parent.lander.myRotation);
gotoAndStop(random(2) + 1 +98);
}
myTTL = getTimer();
}
onClipEvent (enterFrame) {
if (myGocommand == "go") {
this._x = this._x - (xDirect + _parent.lander.Xparticleshift);
this._y = this._y - (yDirect + _parent.lander.Yparticleshift);
}
if (myGoCommand == "blow") {
this._xscale = this._xscale + grow;
this._yscale = this._yscale + grow;
}
if ((getTimer() - myTTL) >= 2500) {
removeMovieClip(this);
}
}
Instance of Symbol 130 MovieClip "planetfinder" in Frame 107
onClipEvent (enterFrame) {
this._x = _parent.lander._x;
this._y = _parent.lander._y;
}
Instance of Symbol 196 MovieClip "Angry" in Frame 107
onClipEvent (load) {
myTimerStart = getTimer();
myTime = 80;
}
onClipEvent (enterFrame) {
function trim(theNumber, decPlaces) {
if (decPlaces >= 0) {
var temp = Math.pow(10, decPlaces);
return(Math.round(theNumber * temp) / temp);
}
}
distance = int(Math.sqrt(Math.pow(_parent.lander._x - _parent.foreground._x, 2) + Math.pow(_parent.lander._y - _parent.foreground._y, 2)) - 709);
if ((go != "stop") && (myTime != 0)) {
timer = myTime - trim((getTimer() - myTimerStart) / 1000, 2);
if (0 >= timer) {
_parent.popup.gotoAndStop("notime");
_parent.lander.myLanded = "stop";
go = "stop";
}
}
if (-10 >= _parent.Angry.distance) {
_parent.lander.exploding = "true";
_parent.lander.myLanded = "blow";
}
}
Frame 108
stopAllSounds();
stop();
if (_root.onOrOff == "on") {
_root.musicSphere.gotoAndStop("level2");
}
Frame 109
stopAllSounds();
stop();
randSong();
Instance of Symbol 277 MovieClip "bomb" in Frame 109
onClipEvent (enterFrame) {
function bombgrav() {
origin_x = _root.foreground._x;
origin_y = _root.foreground._y;
mouse_x = this._x;
mouse_y = this._y;
dist_x = mouse_x - origin_x;
dist_y = mouse_y - origin_y;
if (Number(dist_x) < 0) {
normalise = -1 * dist_x;
} else {
normalise = dist_x;
}
if (Number(dist_y) < 0) {
normalise = Number(normalise) + Number(-1 * dist_y);
} else {
normalise = Number(normalise) + Number(dist_y);
}
if ((Number(dist_x) >= 0) and (Number(dist_y) >= 0)) {
direction = 90 * (dist_y / normalise);
} else if ((0 >= Number(dist_x)) and (Number(dist_y) >= 0)) {
direction = Number(-90 * (dist_x / normalise)) + 90;
} else if ((0 >= Number(dist_x)) and (0 >= Number(dist_y))) {
direction = Number(-90 * (dist_y / normalise)) + 180;
} else {
direction = Number(90 * (dist_x / normalise)) + 270;
}
myYGravity = Math.sin((Math.PI/180) * direction) * 6;
myXGravity = Math.cos((Math.PI/180) * direction) * 6;
}
if (activate == "yes") {
bombOn = getTimer();
_parent.lander.myGrav = 0.13;
_x = _parent.lander._x;
_y = _parent.lander._y;
_rotation = _parent.lander._rotation;
if (key.isDown(32)) {
activate = "drop";
_parent.lander.myGrav = 0.06;
this.myGrav = 0.07;
myYMovement = _parent.lander.myYMovement;
myXMovement = _parent.lander.myXMovement;
}
} else if (activate == "drop") {
this._y = this._y - ((myYGravity + _parent.lander.Yparticleshift) - myYMovement);
this._x = this._x - ((myXGravity + _parent.lander.Xparticleshift) - myXMovement);
bombgrav();
} else if (activate == "stop") {
this._y = this._y - _parent.lander.Yparticleshift;
this._x = this._x - _parent.lander.Xparticleshift;
}
}
Instance of Symbol 81 MovieClip "lander" in Frame 109
onClipEvent (load) {
myGrav = 0.06;
i = 0;
if (_quality == "LOW") {
myPartAmount = 5;
} else if (_quality == "MEDIUM") {
myPartAmount = 12;
} else {
myPartAmount = 25;
}
if (_rotation < 0) {
myRotation = 360 + _rotation;
} else {
myRotation = _rotation;
}
}
onClipEvent (enterFrame) {
function rotate(rvar) {
_rotation = (_rotation + (3 * rvar));
if (_rotation < 0) {
myRotation = 360 + _rotation;
} else {
myRotation = _rotation;
}
}
function constant() {
myXMomentum = myXMomentum + (myXMovement - myXGravity);
myYMomentum = myYMomentum + (myYMovement - myYGravity);
if (((this._x + myXMomentum) >= 480) || (120 >= (this._x + myXMomentum))) {
_parent.foreground._x = _parent.foreground._x - myXMomentum;
Xparticleshift = myXMomentum;
} else {
this._x = this._x + myXMomentum;
Xparticleshift = 0;
}
if (((this._y + myYMomentum) >= 280) || (120 >= (this._y + myYMomentum))) {
_parent.foreground._y = _parent.foreground._y - myYMomentum;
Yparticleshift = myYMomentum;
} else {
this._y = this._y + myYMomentum;
Yparticleshift = 0;
}
}
function arrowcolour() {
myDistance = Math.sqrt(Math.pow(_this._x - _parent.foreground._x, 2) + Math.pow(_this._y - _parent.foreground._y, 2));
}
function explode() {
if (60 >= i) {
duplicateMovieClip (_parent.particle, "mcc" + i, i);
_parent["mcc" + i].myGocommand = "blow";
i++;
blowdelay++;
if (i >= 20) {
this.gotoAndStop(2);
}
}
}
function engineburn() {
if (myPartAmount >= i) {
duplicateMovieClip (_parent.particle, "mc" + i, i);
_parent["mc" + i].myGocommand = "go";
_parent["mc" + i]._x = _x;
_parent["mc" + i]._y = _y;
i++;
} else {
i = 0;
}
}
function gravity() {
origin_x = _root.foreground._x;
origin_y = _root.foreground._y;
mouse_x = this._x;
mouse_y = this._y;
dist_x = mouse_x - origin_x;
dist_y = mouse_y - origin_y;
if (Number(dist_x) < 0) {
normalise = -1 * dist_x;
} else {
normalise = dist_x;
}
if (Number(dist_y) < 0) {
normalise = Number(normalise) + Number(-1 * dist_y);
} else {
normalise = Number(normalise) + Number(dist_y);
}
if ((Number(dist_x) >= 0) and (Number(dist_y) >= 0)) {
direction = 90 * (dist_y / normalise);
} else if ((0 >= Number(dist_x)) and (Number(dist_y) >= 0)) {
direction = Number(-90 * (dist_x / normalise)) + 90;
} else if ((0 >= Number(dist_x)) and (0 >= Number(dist_y))) {
direction = Number(-90 * (dist_y / normalise)) + 180;
} else {
direction = Number(90 * (dist_x / normalise)) + 270;
}
myYGravity = Math.sin((Math.PI/180) * direction) * myGrav;
myXGravity = Math.cos((Math.PI/180) * direction) * myGrav;
_parent.planetfinder._rotation = direction;
}
if (WinLose == "lose") {
if (myFailTime) {
if ((getTimer() - myFailtime) >= 5000) {
myLanded = "stop";
_parent.popup.gotoAndStop("loser");
}
} else {
myFailtime = getTimer();
_root.Angry.go = "stop";
}
} else if (WinLose == "win") {
if (myWinTime) {
if ((getTimer() - myWinTime) >= 2000) {
myLanded = "stop";
_parent.popup.gotoAndStop("winner");
}
} else {
myWinTime = getTimer();
_root.Angry.go = "stop";
}
}
if (exploding == "true") {
explode();
gravity();
constant();
myXMovement = 0;
myYMovement = 0;
WinLose = "lose";
}
if (myLanded == "go") {
gravity();
constant();
if (key.isDown(38)) {
myVelocity = 0.2;
engineburn();
myXMovement = Math.cos((Math.PI/180) * myRotation) * myVelocity;
myYMovement = Math.sin((Math.PI/180) * myRotation) * myVelocity;
} else {
myXmovement = 0;
myYmovement = 0;
}
if (key.isDown(37)) {
rotate(-1);
}
if (key.isDown(39)) {
rotate(1);
}
} else if (myLanded == "stop") {
myXmovement = 0;
myYmovement = 0;
myXMomentum = 0;
myYMomentum = 0;
}
}
Instance of Symbol 187 MovieClip "particle" in Frame 109
onClipEvent (load) {
if (myGoCommand == "blow") {
this._x = _parent.lander._x + (random(20) - 10);
this._y = _parent.lander._y + (random(20) - 10);
gotoAndStop(random(5) + 5 +98);
grow = random(12);
}
if (myGoCommand == "go") {
xDirect = ((random(15) - 7) / 10) + Math.cos((Math.PI/180) * _parent.lander.myRotation);
yDirect = ((random(15) - 7) / 10) + Math.sin((Math.PI/180) * _parent.lander.myRotation);
gotoAndStop(random(2) + 1 +98);
}
myTTL = getTimer();
}
onClipEvent (enterFrame) {
if (myGocommand == "go") {
this._x = this._x - (xDirect + _parent.lander.Xparticleshift);
this._y = this._y - (yDirect + _parent.lander.Yparticleshift);
}
if (myGoCommand == "blow") {
this._xscale = this._xscale + grow;
this._yscale = this._yscale + grow;
}
if ((getTimer() - myTTL) >= 2500) {
removeMovieClip(this);
}
}
Instance of Symbol 130 MovieClip "planetfinder" in Frame 109
onClipEvent (enterFrame) {
this._x = _parent.lander._x;
this._y = _parent.lander._y;
}
Instance of Symbol 196 MovieClip "Angry" in Frame 109
onClipEvent (load) {
myTimerStart = getTimer();
myTime = 90;
}
onClipEvent (enterFrame) {
function trim(theNumber, decPlaces) {
if (decPlaces >= 0) {
var temp = Math.pow(10, decPlaces);
return(Math.round(theNumber * temp) / temp);
}
}
distance = int(Math.sqrt(Math.pow(_parent.lander._x - _parent.foreground._x, 2) + Math.pow(_parent.lander._y - _parent.foreground._y, 2)) - 709);
if ((go != "stop") && (myTime != 0)) {
timer = myTime - trim((getTimer() - myTimerStart) / 1000, 2);
if (0 >= timer) {
_parent.popup.gotoAndStop("notime");
_parent.lander.myLanded = "stop";
go = "stop";
}
}
if (-10 >= _parent.Angry.distance) {
_parent.lander.exploding = "true";
_parent.lander.myLanded = "blow";
}
}
Frame 110
stopAllSounds();
stop();
if (_root.onOrOff == "on") {
_root.musicSphere.gotoAndStop("level2");
}
Frame 111
stopAllSounds();
stop();
randSong();
Instance of Symbol 312 MovieClip "sput1" in Frame 111
onClipEvent (load) {
this._x = -380;
this._y = -200;
Xdist = this._x - _parent.foreground._x;
Ydist = this._y - _parent.foreground._y;
this._visible = true;
}
onClipEvent (enterFrame) {
if (dead != "dead") {
this._x = _parent.foreground._x + Xdist;
this._y = _parent.foreground._y + Ydist;
if (docked != "dockme") {
if (this.hitTest(_parent.lander._x, _parent.lander._y, true) && (_parent.lander.target == "sput1")) {
docked = "dockme";
_parent.lander.myGrav = 0.09;
_parent.sputnikfinder._visible = false;
} else {
this._x = _parent.foreground._x + Xdist;
this._y = _parent.foreground._y + Ydist;
}
} else {
this._x = _parent.lander._x;
this._y = _parent.lander._y;
this._rotation = _parent.lander._rotation;
if (_parent.lander.myLanded == "stop") {
_parent.sput2._visible = true;
_parent.lander.target = "sput2";
_parent.sputnikfinder._visible = true;
dead = "dead";
_parent.lander.myGrav = 0.06;
nextFrame();
}
}
}
}
Instance of Symbol 312 MovieClip "sput2" in Frame 111
onClipEvent (load) {
this._x = 300;
this._y = 1900;
Xdist = this._x - _parent.foreground._x;
Ydist = this._y - _parent.foreground._y;
this._visible = false;
}
onClipEvent (enterFrame) {
if (dead != "dead") {
this._x = _parent.foreground._x + Xdist;
this._y = _parent.foreground._y + Ydist;
if (docked != "dockme") {
if (this.hitTest(_parent.lander._x, _parent.lander._y, true) && (_parent.lander.target == "sput2")) {
docked = "dockme";
_parent.sputnikfinder._visible = false;
_parent.lander.myGrav = 0.09;
} else {
this._x = _parent.foreground._x + Xdist;
this._y = _parent.foreground._y + Ydist;
}
} else {
this._x = _parent.lander._x;
this._y = _parent.lander._y;
this._rotation = _parent.lander._rotation;
if (_parent.lander.myLanded == "stop") {
_parent.sput3._visible = true;
_parent.lander.target = "sput3";
_parent.sputnikfinder._visible = true;
dead = "dead";
_parent.lander.myGrav = 0.06;
nextFrame();
}
}
}
}
Instance of Symbol 312 MovieClip "sput3" in Frame 111
onClipEvent (load) {
this._x = 1300;
this._y = 1337;
Xdist = this._x - _parent.foreground._x;
Ydist = this._y - _parent.foreground._y;
this._visible = false;
}
onClipEvent (enterFrame) {
if (dead != "dead") {
this._x = _parent.foreground._x + Xdist;
this._y = _parent.foreground._y + Ydist;
if (docked != "dockme") {
if (this.hitTest(_parent.lander._x, _parent.lander._y, true) && (_parent.lander.target == "sput3")) {
docked = "dockme";
_parent.lander.myGrav = 0.135;
_parent.sputnikfinder._visible = false;
} else {
this._x = _parent.foreground._x + Xdist;
this._y = _parent.foreground._y + Ydist;
}
} else {
this._x = _parent.lander._x;
this._y = _parent.lander._y;
this._rotation = _parent.lander._rotation;
}
}
}
Instance of Symbol 81 MovieClip "lander" in Frame 111
onClipEvent (load) {
myGrav = 0.06;
i = 0;
target = "sput1";
if (_quality == "LOW") {
myPartAmount = 5;
} else if (_quality == "MEDIUM") {
myPartAmount = 12;
} else {
myPartAmount = 25;
}
if (_rotation < 0) {
myRotation = 360 + _rotation;
} else {
myRotation = _rotation;
}
}
onClipEvent (enterFrame) {
function rotate(rvar) {
_rotation = (_rotation + (3 * rvar));
if (_rotation < 0) {
myRotation = 360 + _rotation;
} else {
myRotation = _rotation;
}
}
function constant() {
myXMomentum = myXMomentum + (myXMovement - myXGravity);
myYMomentum = myYMomentum + (myYMovement - myYGravity);
if (((this._x + myXMomentum) >= 425) || (175 >= (this._x + myXMomentum))) {
_parent.foreground._x = _parent.foreground._x - myXMomentum;
Xparticleshift = myXMomentum;
} else {
this._x = this._x + myXMomentum;
Xparticleshift = 0;
}
if (((this._y + myYMomentum) >= 225) || (175 >= (this._y + myYMomentum))) {
_parent.foreground._y = _parent.foreground._y - myYMomentum;
Yparticleshift = myYMomentum;
} else {
this._y = this._y + myYMomentum;
Yparticleshift = 0;
}
}
function explode() {
if (60 >= i) {
duplicateMovieClip (_parent.particle, "mcc" + i, i);
_parent["mcc" + i].myGocommand = "blow";
i++;
blowdelay++;
if (i >= 20) {
this.gotoAndStop(2);
}
}
}
function engineburn() {
if (myPartAmount >= i) {
duplicateMovieClip (_parent.particle, "mc" + i, i);
_parent["mc" + i].myGocommand = "go";
_parent["mc" + i]._x = _x;
_parent["mc" + i]._y = _y;
i++;
} else {
i = 0;
}
}
function sputDirection() {
origin_x2 = _parent[target]._x;
origin_y2 = _parent[target]._y;
mouse_x2 = this._x;
mouse_y2 = this._y;
dist_x2 = mouse_x2 - origin_x2;
dist_y2 = mouse_y2 - origin_y2;
if (Number(dist_x2) < 0) {
normalise2 = -1 * dist_x2;
} else {
normalise2 = dist_x2;
}
if (Number(dist_y2) < 0) {
normalise2 = Number(normalise2) + Number(-1 * dist_y2);
} else {
normalise2 = Number(normalise2) + Number(dist_y2);
}
if ((Number(dist_x2) >= 0) and (Number(dist_y2) >= 0)) {
direction2 = 90 * (dist_y2 / normalise2);
} else if ((0 >= Number(dist_x2)) and (Number(dist_y2) >= 0)) {
direction2 = Number(-90 * (dist_x2 / normalise2)) + 90;
} else if ((0 >= Number(dist_x2)) and (0 >= Number(dist_y2))) {
direction2 = Number(-90 * (dist_y2 / normalise2)) + 180;
} else {
direction2 = Number(90 * (dist_x2 / normalise2)) + 270;
}
_root.sputnikfinder._rotation = direction2;
}
function gravity() {
origin_x = _root.foreground._x;
origin_y = _root.foreground._y;
mouse_x = this._x;
mouse_y = this._y;
dist_x = mouse_x - origin_x;
dist_y = mouse_y - origin_y;
if (Number(dist_x) < 0) {
normalise = -1 * dist_x;
} else {
normalise = dist_x;
}
if (Number(dist_y) < 0) {
normalise = Number(normalise) + Number(-1 * dist_y);
} else {
normalise = Number(normalise) + Number(dist_y);
}
if ((Number(dist_x) >= 0) and (Number(dist_y) >= 0)) {
direction = 90 * (dist_y / normalise);
} else if ((0 >= Number(dist_x)) and (Number(dist_y) >= 0)) {
direction = Number(-90 * (dist_x / normalise)) + 90;
} else if ((0 >= Number(dist_x)) and (0 >= Number(dist_y))) {
direction = Number(-90 * (dist_y / normalise)) + 180;
} else {
direction = Number(90 * (dist_x / normalise)) + 270;
}
myYGravity = Math.sin((Math.PI/180) * direction) * myGrav;
myXGravity = Math.cos((Math.PI/180) * direction) * myGrav;
_parent.planetfinder._rotation = direction;
}
if (WinLose == "lose") {
if (myFailTime) {
if ((getTimer() - myFailtime) >= 5000) {
myLanded = "stop";
_parent.popup.gotoAndStop("loser");
}
} else {
myFailtime = getTimer();
_root.Angry.go = "stop";
}
} else if (WinLose == "win") {
if (myWinTime) {
if ((getTimer() - myWinTime) >= 2000) {
myLanded = "stop";
_parent.popup.gotoAndStop("winner");
}
} else {
myWinTime = getTimer();
_root.Angry.go = "stop";
}
}
if (exploding == "true") {
explode();
gravity();
constant();
myXMovement = 0;
myYMovement = 0;
WinLose = "lose";
}
if (myLanded == "go") {
gravity();
constant();
sputDirection();
if (key.isDown(38)) {
myVelocity = 0.2;
engineburn();
myXMovement = Math.cos((Math.PI/180) * myRotation) * myVelocity;
myYMovement = Math.sin((Math.PI/180) * myRotation) * myVelocity;
} else {
myXmovement = 0;
myYmovement = 0;
}
if (key.isDown(37)) {
rotate(-1);
}
if (key.isDown(39)) {
rotate(1);
}
} else if (myLanded == "stop") {
myXmovement = 0;
myYmovement = 0;
myXMomentum = 0;
myYMomentum = 0;
}
}
Instance of Symbol 187 MovieClip "particle" in Frame 111
onClipEvent (load) {
if (myGoCommand == "blow") {
this._x = _parent.lander._x + (random(20) - 10);
this._y = _parent.lander._y + (random(20) - 10);
gotoAndStop(random(5) + 5 +98);
grow = random(12);
}
if (myGoCommand == "go") {
xDirect = ((random(15) - 7) / 10) + Math.cos((Math.PI/180) * _parent.lander.myRotation);
yDirect = ((random(15) - 7) / 10) + Math.sin((Math.PI/180) * _parent.lander.myRotation);
gotoAndStop(random(2) + 1 +98);
}
myTTL = getTimer();
}
onClipEvent (enterFrame) {
if (myGocommand == "go") {
this._x = this._x - (xDirect + _parent.lander.Xparticleshift);
this._y = this._y - (yDirect + _parent.lander.Yparticleshift);
}
if (myGoCommand == "blow") {
this._xscale = this._xscale + grow;
this._yscale = this._yscale + grow;
}
if ((getTimer() - myTTL) >= 2500) {
removeMovieClip(this);
}
}
Instance of Symbol 130 MovieClip "planetfinder" in Frame 111
onClipEvent (enterFrame) {
this._x = _parent.lander._x;
this._y = _parent.lander._y;
}
Instance of Symbol 306 MovieClip "sputnikfinder" in Frame 111
onClipEvent (enterFrame) {
this._x = _parent.lander._x;
this._y = _parent.lander._y;
}
Instance of Symbol 196 MovieClip "Angry" in Frame 111
onClipEvent (load) {
myTimerStart = getTimer();
myTime = 120;
}
onClipEvent (enterFrame) {
function trim(theNumber, decPlaces) {
if (decPlaces >= 0) {
var temp = Math.pow(10, decPlaces);
return(Math.round(theNumber * temp) / temp);
}
}
distance = int(Math.sqrt(Math.pow(_parent.lander._x - _parent.foreground._x, 2) + Math.pow(_parent.lander._y - _parent.foreground._y, 2)) - 709);
if ((go != "stop") && (myTime != 0)) {
timer = myTime - trim((getTimer() - myTimerStart) / 1000, 2);
if (0 >= timer) {
_parent.popup.gotoAndStop("notime");
_parent.lander.myLanded = "stop";
go = "stop";
}
}
if (-17 >= _parent.Angry.distance) {
_parent.lander.exploding = "true";
_parent.lander.myLanded = "blow";
}
}
Frame 112
stopAllSounds();
stop();
if (_root.onOrOff == "on") {
_root.musicSphere.gotoAndStop("level2");
}
Frame 113
stopAllSounds();
stop();
randSong();
Instance of Symbol 81 MovieClip "lander" in Frame 113
onClipEvent (load) {
myGrav = 0.06;
i = 0;
if (_quality == "LOW") {
myPartAmount = 5;
} else if (_quality == "MEDIUM") {
myPartAmount = 12;
} else {
myPartAmount = 25;
}
if (_rotation < 0) {
myRotation = 360 + _rotation;
} else {
myRotation = _rotation;
}
}
onClipEvent (enterFrame) {
function rotate(rvar) {
_rotation = (_rotation + (3 * rvar));
if (_rotation < 0) {
myRotation = 360 + _rotation;
} else {
myRotation = _rotation;
}
}
function constant() {
myXMomentum = myXMomentum + (myXMovement - myXGravity);
myYMomentum = myYMomentum + (myYMovement - myYGravity);
if (((this._x + myXMomentum) >= 425) || (175 >= (this._x + myXMomentum))) {
_parent.foreground._x = _parent.foreground._x - myXMomentum;
Xparticleshift = myXMomentum;
} else {
this._x = this._x + myXMomentum;
Xparticleshift = 0;
}
if (((this._y + myYMomentum) >= 225) || (175 >= (this._y + myYMomentum))) {
_parent.foreground._y = _parent.foreground._y - myYMomentum;
Yparticleshift = myYMomentum;
} else {
this._y = this._y + myYMomentum;
Yparticleshift = 0;
}
}
function arrowcolour() {
myDistance = Math.sqrt(Math.pow(_this._x - _parent.foreground._x, 2) + Math.pow(_this._y - _parent.foreground._y, 2));
}
function explode() {
if (60 >= i) {
duplicateMovieClip (_parent.particle, "mcc" + i, i);
_parent["mcc" + i].myGocommand = "blow";
i++;
blowdelay++;
if (i >= 20) {
this.gotoAndStop(2);
}
}
}
function engineburn() {
if (myPartAmount >= i) {
duplicateMovieClip (_parent.particle, "mc" + i, i);
_parent["mc" + i].myGocommand = "go";
_parent["mc" + i]._x = _x;
_parent["mc" + i]._y = _y;
i++;
} else {
i = 0;
}
}
function gravity() {
origin_x = _root.foreground._x;
origin_y = _root.foreground._y;
mouse_x = this._x;
mouse_y = this._y;
dist_x = mouse_x - origin_x;
dist_y = mouse_y - origin_y;
if (Number(dist_x) < 0) {
normalise = -1 * dist_x;
} else {
normalise = dist_x;
}
if (Number(dist_y) < 0) {
normalise = Number(normalise) + Number(-1 * dist_y);
} else {
normalise = Number(normalise) + Number(dist_y);
}
if ((Number(dist_x) >= 0) and (Number(dist_y) >= 0)) {
direction = 90 * (dist_y / normalise);
} else if ((0 >= Number(dist_x)) and (Number(dist_y) >= 0)) {
direction = Number(-90 * (dist_x / normalise)) + 90;
} else if ((0 >= Number(dist_x)) and (0 >= Number(dist_y))) {
direction = Number(-90 * (dist_y / normalise)) + 180;
} else {
direction = Number(90 * (dist_x / normalise)) + 270;
}
myYGravity = Math.sin((Math.PI/180) * direction) * myGrav;
myXGravity = Math.cos((Math.PI/180) * direction) * myGrav;
_parent.planetfinder._rotation = direction;
}
if (WinLose == "lose") {
if (myFailTime) {
if ((getTimer() - myFailtime) >= 5000) {
myLanded = "stop";
_parent.popup.gotoAndStop("loser");
}
} else {
myFailtime = getTimer();
_root.Angry.go = "stop";
}
} else if (WinLose == "win") {
if (myWinTime) {
if ((getTimer() - myWinTime) >= 2000) {
myLanded = "stop";
stopAllSounds();
_root.nextFrame();
}
} else {
myWinTime = getTimer();
_root.Angry.go = "stop";
}
}
if (exploding == "true") {
explode();
gravity();
constant();
myXMovement = 0;
myYMovement = 0;
WinLose = "lose";
}
if (myLanded == "go") {
gravity();
constant();
if (key.isDown(38)) {
myVelocity = 0.2;
engineburn();
myXMovement = Math.cos((Math.PI/180) * myRotation) * myVelocity;
myYMovement = Math.sin((Math.PI/180) * myRotation) * myVelocity;
} else {
myXmovement = 0;
myYmovement = 0;
}
if (key.isDown(37)) {
rotate(-1);
}
if (key.isDown(39)) {
rotate(1);
}
} else if (myLanded == "stop") {
myXmovement = 0;
myYmovement = 0;
myXMomentum = 0;
myYMomentum = 0;
}
}
Instance of Symbol 187 MovieClip "particle" in Frame 113
onClipEvent (load) {
if (myGoCommand == "blow") {
this._x = _parent.lander._x + (random(20) - 10);
this._y = _parent.lander._y + (random(20) - 10);
gotoAndStop(random(5) + 5 +98);
grow = random(12);
}
if (myGoCommand == "go") {
xDirect = ((random(15) - 7) / 10) + Math.cos((Math.PI/180) * _parent.lander.myRotation);
yDirect = ((random(15) - 7) / 10) + Math.sin((Math.PI/180) * _parent.lander.myRotation);
gotoAndStop(random(2) + 1 +98);
}
myTTL = getTimer();
}
onClipEvent (enterFrame) {
if (myGocommand == "go") {
this._x = this._x - (xDirect + _parent.lander.Xparticleshift);
this._y = this._y - (yDirect + _parent.lander.Yparticleshift);
}
if (myGoCommand == "blow") {
this._xscale = this._xscale + grow;
this._yscale = this._yscale + grow;
}
if ((getTimer() - myTTL) >= 2500) {
removeMovieClip(this);
}
}
Instance of Symbol 130 MovieClip "planetfinder" in Frame 113
onClipEvent (enterFrame) {
this._x = _parent.lander._x;
this._y = _parent.lander._y;
}
Instance of Symbol 196 MovieClip "Angry" in Frame 113
onClipEvent (load) {
myTimerStart = getTimer();
myTime = 120;
}
onClipEvent (enterFrame) {
function trim(theNumber, decPlaces) {
if (decPlaces >= 0) {
var temp = Math.pow(10, decPlaces);
return(Math.round(theNumber * temp) / temp);
}
}
distance = int(Math.sqrt(Math.pow(_parent.lander._x - _parent.foreground._x, 2) + Math.pow(_parent.lander._y - _parent.foreground._y, 2)) - 709);
if ((go != "stop") && (myTime != 0)) {
timer = myTime - trim((getTimer() - myTimerStart) / 1000, 2);
if (0 >= timer) {
_parent.popup.gotoAndStop("notime");
_parent.lander.myLanded = "stop";
go = "stop";
}
}
if (-10 >= _parent.Angry.distance) {
_parent.lander.exploding = "true";
_parent.lander.myLanded = "blow";
}
}
Frame 114
stop();
Symbol 21 MovieClip Frame 99
stop();
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 2
stop();
Symbol 40 MovieClip Frame 3
stop();
Symbol 40 MovieClip Frame 4
stop();
Symbol 40 MovieClip Frame 5
nextFrame();
Symbol 40 MovieClip Frame 6
stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 2
stopAllSounds();
stop();
Symbol 41 MovieClip Frame 3
stop();
Symbol 41 MovieClip Frame 4
stop();
Symbol 41 MovieClip Frame 5
stop();
Symbol 41 MovieClip Frame 6
stop();
Symbol 41 MovieClip Frame 7
stop();
Symbol 41 MovieClip Frame 8
stop();
Symbol 43 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 2
play();
Symbol 55 MovieClip Frame 1
stop();
Instance of Symbol 50 MovieClip "eye" in Symbol 55 MovieClip Frame 1
onClipEvent (enterFrame) {
if (random(100) == 50) {
this.play();
}
}
Symbol 55 MovieClip Frame 2
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
stop();
Symbol 82 MovieClip Frame 646
stop();
_root.nextFrame();
Symbol 88 Button
on (release) {
_root.nextFrame();
}
Symbol 95 Button
on (release) {
_parent.gotoAndStop("b1");
}
Symbol 98 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 101 Button
on (release) {
getURL ("http://www.miniclip.com/signup.htm", "_blank");
}
Symbol 104 Button
on (release) {
gotoAndStop ("howtoplay");
}
Symbol 107 Button
on (release) {
getURL ("http://www.miniclip.com/Downloads.htm", "_blank");
}
Symbol 111 Button
on (release) {
getURL ("http://www.miniclip.com/Homepage.htm", "_blank");
}
Symbol 116 Button
on (release) {
gotoAndStop (1);
}
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 146 MovieClip Frame 41
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Instance of Symbol 43 MovieClip "theorb" in Symbol 148 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 1.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 1.5;
myDelay = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad" in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (700 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
}
if (key.isDown(38) && (1000 < (getTimer() - myLandTime))) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad2" in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (500 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
_parent._parent.lander.WinLose = "win";
}
}
}
Symbol 153 Button
on (release) {
nextFrame();
}
Symbol 157 Button
on (release) {
gotoAndStop(_totalframes);
}
Symbol 179 Button
on (release) {
_root.nextFrame();
}
Symbol 182 Button
on (release) {
_parent.gotoAndPlay(1);
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 5
play();
Symbol 185 MovieClip Frame 26
stop();
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 6
stop();
Symbol 189 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 196 MovieClip Frame 1
stop();
Symbol 203 Button
on (rollOver) {
play();
}
Symbol 207 Button
on (release) {
gotoAndStop(_parent._parent.prevFrame());
}
Symbol 210 Button
on (release) {
_quality = "HIGH";
_parent._parent.lander.myPartAmount = 25;
_parent._parent.lander.myLandTime = getTimer();
}
Symbol 213 Button
on (release) {
_quality = "LOW";
_parent._parent.lander.myPartAmount = 5;
_parent._parent.lander.myLandTime = getTimer();
}
Symbol 216 Button
on (release) {
if (_root.onOrOff == "on") {
_root.onOrOff = "off";
_root.randSong();
} else {
_root.onOrOff = "on";
_root.randSong();
}
}
Symbol 219 Button
on (release) {
if (_parent._parent.noisecube.onOrOff == "on") {
_parent._parent.noisecube.onOrOff = "off";
} else {
_parent._parent.noisecube.onOrOff = "on";
}
}
Symbol 222 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 225 Button
on (release) {
_parent._parent.popup.gotoAndStop(2);
}
Symbol 228 MovieClip Frame 1
stop();
Instance of Symbol 227 MovieClip in Symbol 228 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
} else {
_parent.play();
}
}
Symbol 228 MovieClip Frame 10
stop();
Instance of Symbol 227 MovieClip in Symbol 228 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
} else {
_parent.play();
}
}
Symbol 230 Button
on (release) {
gotoAndStop (1);
}
Symbol 237 Button
on (release) {
_parent.nextFrame();
}
Symbol 240 Button
on (release) {
_parent.prevFrame();
}
Symbol 244 MovieClip Frame 1
stop();
_parent.lander.myLanded = "go";
Symbol 244 MovieClip Frame 2
_parent.lander.myLanded = "pause";
Symbol 244 MovieClip Frame 3
stop();
Symbol 244 MovieClip Frame 4
stop();
if (_root.onOrOff == "on") {
stopAllSounds();
_root.musicSphere.gotoAndStop("gameover");
}
Symbol 244 MovieClip Frame 5
stop();
_root.musiccube.mysound("gameOver");
Symbol 246 Button
on (release) {
gotoAndPlay(_currentframe + 1);
}
Symbol 247 Button
on (release) {
gotoAndStop(_totalframes);
}
Symbol 253 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip "landingpad2" in Symbol 253 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (500 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
}
if (key.isDown(38) && (1000 < (getTimer() - myLandTime))) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 43 MovieClip "theorb" in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 1.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 1.5;
myDelay = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad" in Symbol 253 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (700 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
}
if (key.isDown(38) && (1000 < (getTimer() - myLandTime))) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 43 MovieClip "theorb" in Symbol 253 MovieClip Frame 2
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 1.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 1.5;
myDelay = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad" in Symbol 253 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (700 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
}
if (key.isDown(38) && (1000 < (getTimer() - myLandTime))) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad2" in Symbol 253 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (500 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
}
if (key.isDown(38) && (1000 < (getTimer() - myLandTime))) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Symbol 253 MovieClip Frame 91
stop();
Symbol 253 MovieClip Frame 171
stop();
Symbol 253 MovieClip Frame 262
stop();
Symbol 253 MovieClip Frame 286
stop();
Symbol 254 MovieClip Frame 1
stop();
Instance of Symbol 43 MovieClip "theorb" in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if (_parent._parent.lander.i >= 40) {
_parent._parent.lander.exploding = "stop";
_parent._parent.lander.myLanded = "stop";
} else if (_parent._parent.lander.exploding == "true") {
_parent._parent.lander.myXMomentum = 0;
_parent._parent.lander.myYMomentum = 0;
} else if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 1.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 1.5;
myDelay = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad" in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (700 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
if (_parent._parent.lander.goal == "complete") {
_parent._parent.lander.WinLose = "win";
}
}
if ((key.isDown(38) && (1000 < (getTimer() - myLandTime))) && (_parent._parent.lander.goal != "complete")) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad2" in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (500 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
_parent._parent.lander.goal = "complete";
this.gotoAndStop(2);
}
if (key.isDown(38) && (1000 < (getTimer() - myLandTime))) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 57 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
}
Symbol 260 MovieClip Frame 1
stop();
Instance of Symbol 43 MovieClip "theorb" in Symbol 260 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if (_parent._parent.lander.i >= 40) {
_parent._parent.lander.exploding = "stop";
_parent._parent.lander.myLanded = "stop";
} else if (_parent._parent.lander.exploding == "true") {
_parent._parent.lander.myXMomentum = 0;
_parent._parent.lander.myYMomentum = 0;
} else if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 1.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 1.5;
myDelay = getTimer();
}
}
if (this.hitTest(_parent._parent.bomb._x, _parent._parent.bomb._y, true)) {
if (_parent._parent.bomb.activate == "yes") {
_parent._parent.bomb.play();
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
_parent._parent.bomb.activate = "stop";
} else if (_parent._parent.bomb.activate == "drop") {
_parent._parent.bomb.play();
_parent._parent.bomb.activate = "stop";
}
}
}
Instance of Symbol 257 MovieClip "rocket" in Symbol 260 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
}
Instance of Symbol 55 MovieClip "creat2" in Symbol 260 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
}
Instance of Symbol 55 MovieClip "creat1" in Symbol 260 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
}
Instance of Symbol 259 MovieClip "batt" in Symbol 260 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 147 MovieClip "landingpad2" in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (700 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
_parent._parent.lander.bat = "attached";
}
if ((key.isDown(38) && (1000 < (getTimer() - myLandTime))) && (_parent._parent.lander.goal != "complete")) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad1" in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (700 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
if (_parent._parent.sput3.docked == "dockme") {
_parent._parent.lander.WinLose = "win";
}
}
if ((key.isDown(38) && (1000 < (getTimer() - myLandTime))) && (_parent._parent.lander.goal != "complete")) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad3" in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (700 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
if (_parent._parent.lander.bat == "attached") {
_parent._parent.lander.WinLose = "win";
}
}
if ((key.isDown(38) && (1000 < (getTimer() - myLandTime))) && (_parent._parent.lander.goal != "complete")) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Symbol 268 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 2
stop();
Symbol 268 MovieClip Frame 3
stop();
Symbol 268 MovieClip Frame 4
stop();
Symbol 268 MovieClip Frame 5
play();
Symbol 268 MovieClip Frame 28
stop();
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 2
if (_parent.noisecube.onOrOff == "on") {
_parent.noisecube.gotoAndStop(5);
}
Symbol 277 MovieClip Frame 23
removeMovieClip(this);
stop();
Symbol 278 MovieClip Frame 1000
gotoAndPlay (1);
Symbol 278 MovieClip Frame 1002
stop();
Symbol 279 MovieClip Frame 1
stop();
Instance of Symbol 43 MovieClip "theorb" in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if (_parent._parent.lander.i >= 40) {
_parent._parent.lander.exploding = "stop";
_parent._parent.lander.myLanded = "stop";
} else if (_parent._parent.lander.exploding == "true") {
_parent._parent.lander.myXMomentum = 0;
_parent._parent.lander.myYMomentum = 0;
} else if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 1.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 1.5;
myDelay = getTimer();
}
}
if (this.hitTest(_parent._parent.bomb._x, _parent._parent.bomb._y, true) && (_parent._parent.bomb.bombOn >= 500)) {
if (_parent._parent.bomb.activate == "yes") {
_parent._parent.bomb.play();
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
_parent._parent.bomb.activate = "stop";
_parent._parent.lander.WinLose = "lose";
} else if (_parent._parent.bomb.activate == "drop") {
_parent._parent.bomb.play();
_parent._parent.bomb.activate = "stop";
_parent._parent.lander.WinLose = "lose";
}
}
}
Instance of Symbol 147 MovieClip "landingpad" in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (700 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
}
if ((key.isDown(38) && (1000 < (getTimer() - myLandTime))) && (_parent._parent.lander.goal != "complete")) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 272 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
if (this.hitTest(_parent._parent.bomb._x, _parent._parent.bomb._y, true)) {
if (_parent._parent.bomb.activate == "yes") {
_parent._parent.bomb.play();
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
_parent._parent.bomb.activate = "stop";
} else if (_parent._parent.bomb.activate == "drop") {
_parent._parent.bomb.play();
_parent._parent.bomb.activate = "stop";
}
}
}
Instance of Symbol 278 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
_parent._parent.bomb.activate = "yes";
this.gotoAndStop("FloatBomb");
}
}
Instance of Symbol 55 MovieClip in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (_parent._parent.bomb.activate != "stop")) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
if (this.hitTest(_parent._parent.bomb._x, _parent._parent.bomb._y, true)) {
if (_parent._parent.bomb.activate == "yes") {
_parent._parent.bomb.play();
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
_parent._parent.bomb.activate = "stop";
} else if (_parent._parent.bomb.activate == "drop") {
_parent._parent.bomb.play();
this.play();
_parent._parent.lander.WinLose = "win";
_parent._parent.bomb.activate = "stop";
}
}
}
Symbol 286 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 2
stop();
Symbol 286 MovieClip Frame 3
stop();
Symbol 286 MovieClip Frame 4
stop();
Symbol 286 MovieClip Frame 5
play();
Symbol 286 MovieClip Frame 27
stop();
Symbol 308 MovieClip Frame 625
gotoAndPlay (1);
Symbol 309 MovieClip Frame 1
stop();
Instance of Symbol 43 MovieClip "theorb" in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if (_parent._parent.lander.i >= 40) {
_parent._parent.lander.exploding = "stop";
_parent._parent.lander.myLanded = "stop";
} else if (_parent._parent.lander.exploding == "true") {
_parent._parent.lander.myXMomentum = 0;
_parent._parent.lander.myYMomentum = 0;
} else if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 1.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 1.5;
myDelay = getTimer();
}
}
}
Instance of Symbol 257 MovieClip "rocket" in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad2" in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (700 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
if (_parent._parent.sput3.docked == "dockme") {
_parent._parent.lander.WinLose = "win";
}
}
if ((key.isDown(38) && (1000 < (getTimer() - myLandTime))) && (_parent._parent.lander.goal != "complete")) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
}
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 2
stop();
Symbol 311 MovieClip Frame 3
stop();
Symbol 311 MovieClip Frame 4
stop();
Symbol 311 MovieClip Frame 5
play();
Symbol 311 MovieClip Frame 28
stop();
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 2
stop();
Symbol 321 MovieClip Frame 1
stop();
Instance of Symbol 43 MovieClip "theorb" in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if (_parent._parent.lander.i >= 40) {
_parent._parent.lander.exploding = "stop";
_parent._parent.lander.myLanded = "stop";
} else if (_parent._parent.lander.exploding == "true") {
_parent._parent.lander.myXMomentum = 0;
_parent._parent.lander.myYMomentum = 0;
} else if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 1.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 1.5;
myDelay = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad" in Symbol 321 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (700 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
if ((_parent._parent.lander.pad1 == "done") && (_parent._parent.lander.pad2 == "done")) {
_parent._parent.lander.WinLose = "win";
}
}
if (key.isDown(38) && (1000 < (getTimer() - myLandTime))) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad2" in Symbol 321 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (700 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
_parent._parent.lander.pad1 = "done";
}
if ((key.isDown(38) && (1000 < (getTimer() - myLandTime))) && (_parent._parent.lander.goal != "complete")) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 147 MovieClip "landingpad3" in Symbol 321 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true) && (700 < (getTimer() - myTakeoff))) {
if (_parent._parent.lander.myLanded != "stop") {
myLandTime = getTimer();
}
if (((this._rotation - 10) < _parent._parent.lander._rotation) && (_parent._parent.lander._rotation < (this._rotation + 20))) {
_parent._parent.lander.myLanded = "stop";
this.gotoAndStop(2);
_parent._parent.lander.pad2 = "done";
}
if ((key.isDown(38) && (1000 < (getTimer() - myLandTime))) && (_parent._parent.lander.goal != "complete")) {
_parent._parent.lander.myLanded = "go";
this.gotoAndStop(1);
myTakeoff = getTimer();
}
}
}
Instance of Symbol 308 MovieClip in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
}
Instance of Symbol 57 MovieClip "brick" in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
}
Instance of Symbol 319 MovieClip "bioooze" in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
}
Instance of Symbol 55 MovieClip "creature1 " in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
}
Instance of Symbol 257 MovieClip "rocketwooohh" in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
}
Instance of Symbol 55 MovieClip " creature2" in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
myDelay = -300;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.lander._x, _parent._parent.lander._y, true)) {
if ((myDelay + 300) < getTimer()) {
_parent._parent.lander.myXMomentum = (_parent._parent.lander.myXMomentum * -1) / 2.5;
_parent._parent.lander.myYMomentum = (_parent._parent.lander.myYMomentum * -1) / 2.5;
_parent._parent.lander.exploding = "true";
_parent._parent.lander.myLanded = "blow";
myDelay = getTimer();
}
}
}
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 5
play();
Symbol 326 MovieClip Frame 27
stop();
Symbol 329 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 2
if (_root.onOrOff == "off") {
stopAllSounds();
}
Symbol 342 MovieClip Frame 90
robot.playme = "go";
Symbol 342 MovieClip Frame 200
robot.playme == "stop";
Symbol 342 MovieClip Frame 608
stop();