Frame 1
stop();
Frame 2
fscommand ("ShowMenu", false);
stop();
AC_FL_RunContent();
Frame 3
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
stopAllSounds();
i = 1;
while (i <= 100) {
t1.removeMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.removeMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.removeMovieClip("t3" + i, i + 400, t3);
i++;
}
Frame 4
stop();
stopAllSounds();
Boolean = false;
Frame 5
stop();
stopAllSounds();
Frame 6
stop();
stop();
stopAllSounds();
Frame 7
gotoAndStop (63);
Frame 8
stop();
Frame 9
stop();
Frame 10
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
if (thebool) {
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
}
stopAllSounds();
var thebool:Boolean = true;
coins = 0;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
stopAllSounds();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 105 MovieClip "t1" in Frame 10
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 106 MovieClip "t2" in Frame 10
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 107 MovieClip "t3" in Frame 10
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 105 MovieClip "t1" in Frame 10
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 106 MovieClip "t2" in Frame 10
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 107 MovieClip "t3" in Frame 10
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 110 MovieClip "dot" in Frame 10
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (11);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 10
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Frame 11
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 11
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 11
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (12);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 12
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 110 MovieClip "dot" in Frame 12
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (13);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 13
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 13
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 13
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 13
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 13
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 13
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 13
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (14);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 13
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 13
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 13
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Frame 14
correct = true;
stop();
Instance of Symbol 125 MovieClip "planetw" in Frame 14
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 125 MovieClip "planetv" in Frame 14
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 125 MovieClip "planetx" in Frame 14
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 125 MovieClip "planety" in Frame 14
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 125 MovieClip "planetz" in Frame 14
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 14
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (15);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 15
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 15
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 15
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 15
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 15
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (16);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 16
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetv" in Frame 16
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 16
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 16
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 16
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 16
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (18);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 17
gotoAndPlay(nextFrame +9);
gotoAndStop(nextFrame +9);
Frame 18
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetw" in Frame 18
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 45 MovieClip "planetv" in Frame 18
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 18
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (19);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 19
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 110 MovieClip "dot" in Frame 19
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (20);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 20
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 20
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 20
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (21);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 21
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 21
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 21
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 21
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 21
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (22);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 22
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 22
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 22
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (23);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 23
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 23
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 23
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 23
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (24);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 24
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 24
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 24
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (25);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 25
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 110 MovieClip "dot" in Frame 25
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (26);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 26
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 26
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 26
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (27);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 27
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 110 MovieClip "dot" in Frame 27
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (28);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 28
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 28
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 28
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetv" in Frame 28
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 28
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (29);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 29
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 29
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 29
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (30);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 30
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 30
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 30
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 30
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (31);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 31
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 31
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 31
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (32);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 32
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 32
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 32
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 32
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (33);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 33
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 110 MovieClip "dot" in Frame 33
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (34);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 34
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 34
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 34
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 34
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (35);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 35
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 35
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 35
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 35
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (36);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 36
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 36
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 36
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 36
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (37);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 37
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 37
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 37
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (38);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 38
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 110 MovieClip "dot" in Frame 38
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (39);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 39
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 39
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 39
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (40);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 40
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 40
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 40
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 40
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (41);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 41
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 41
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 41
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (42);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 42
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 42
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 42
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (43);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 43
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 43
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 43
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (44);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 44
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 44
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 44
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 44
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (45);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 45
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 45
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 45
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (46);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 46
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetw" in Frame 46
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 46
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (47);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 47
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 47
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 47
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetv" in Frame 47
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 47
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (48);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 48
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetw" in Frame 48
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 48
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (49);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 49
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 49
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetv" in Frame 49
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 49
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 49
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (50);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 50
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 105 MovieClip "t1" in Frame 50
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 106 MovieClip "t2" in Frame 50
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 107 MovieClip "t3" in Frame 50
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 45 MovieClip "planetv" in Frame 50
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 50
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 50
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 50
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (51);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 51
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 51
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 51
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 51
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (52);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 52
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetw" in Frame 52
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 52
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 52
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (53);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 53
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 53
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 53
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 53
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (54);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 54
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 54
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 54
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 54
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (55);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 55
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetv" in Frame 55
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 55
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 55
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 55
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (56);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 56
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 56
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 56
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (57);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 57
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetb" in Frame 57
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 57
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 57
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (58);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 58
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 58
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 58
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 58
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 58
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (59);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 59
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 59
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 59
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planeta" in Frame 59
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 59
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (60);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 60
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planeta" in Frame 60
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 60
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 110 MovieClip "dot" in Frame 60
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 9;
} else if (Key.isDown(37)) {
this.xspeed = -3;
}
if (Key.isDown(40)) {
this.yspeed = 9;
} else if (Key.isDown(38)) {
this.yspeed = -3;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (61);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 61
correct = true;
stop();
stopAllSounds();
Frame 62
correct = true;
stop();
stopAllSounds();
Frame 63
stop();
stop();
stopAllSounds();
Frame 64
coins = 0;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
stopAllSounds();
Instance of Symbol 105 MovieClip "t1" in Frame 64
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 106 MovieClip "t2" in Frame 64
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 107 MovieClip "t3" in Frame 64
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 105 MovieClip "t1" in Frame 64
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 106 MovieClip "t2" in Frame 64
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 107 MovieClip "t3" in Frame 64
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 248 MovieClip "dot" in Frame 64
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (65);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 65
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 65
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (66);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 66
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 66
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (67);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 67
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 67
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (68);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 68
correct = true;
stop();
Instance of Symbol 248 MovieClip "dot" in Frame 68
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (69);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 69
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 69
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (70);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 70
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 70
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (72);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 71
gotoAndPlay(nextFrame +9);
gotoAndStop(nextFrame +9);
Frame 72
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 72
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (73);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 73
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 73
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (74);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 74
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 74
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (75);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 75
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 75
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 75
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 248 MovieClip "dot" in Frame 75
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (76);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 76
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 76
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (77);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 77
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 77
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (78);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 78
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 78
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (79);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 79
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 79
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (80);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 80
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 80
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (81);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 81
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 81
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (82);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 82
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 82
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (83);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 83
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 83
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (84);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 84
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 84
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (85);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 85
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 85
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (86);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 86
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 86
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (87);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 87
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 87
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (88);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 88
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 88
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (89);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 89
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 89
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (90);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 90
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 90
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (91);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 91
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 91
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (92);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 92
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 92
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (93);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 93
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 93
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (94);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 94
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 94
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (95);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 95
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 95
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (96);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 96
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 96
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (97);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 97
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 97
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (98);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 98
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 98
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (99);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 99
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 99
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (100);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 100
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 100
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (101);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 101
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 101
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (102);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 102
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 102
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (103);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 103
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 103
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (104);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 104
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 105 MovieClip "t1" in Frame 104
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 106 MovieClip "t2" in Frame 104
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 107 MovieClip "t3" in Frame 104
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 248 MovieClip "dot" in Frame 104
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (105);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 105
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 105
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (106);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 106
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 106
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (107);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 107
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 107
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (108);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 108
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 108
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (109);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 109
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 109
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (110);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 110
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 110
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (111);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 111
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 111
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (112);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 112
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 112
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (113);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 113
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 113
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (114);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 114
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 248 MovieClip "dot" in Frame 114
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 18;
} else if (Key.isDown(37)) {
this.xspeed = -6;
}
if (Key.isDown(40)) {
this.yspeed = 18;
} else if (Key.isDown(38)) {
this.yspeed = -6;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (61);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetb) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 115
coins = 0;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
stopAllSounds();
Instance of Symbol 105 MovieClip "t1" in Frame 115
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 106 MovieClip "t2" in Frame 115
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 107 MovieClip "t3" in Frame 115
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 105 MovieClip "t1" in Frame 115
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 106 MovieClip "t2" in Frame 115
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 107 MovieClip "t3" in Frame 115
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 303 MovieClip "dot" in Frame 115
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (116);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 115
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Frame 116
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 116
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 116
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (117);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 117
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 303 MovieClip "dot" in Frame 117
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (118);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 118
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 118
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 118
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 118
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 118
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 118
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 118
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 118
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 118
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 118
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (119);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 119
correct = true;
stop();
Instance of Symbol 125 MovieClip "planetw" in Frame 119
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 125 MovieClip "planetv" in Frame 119
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 125 MovieClip "planetx" in Frame 119
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 125 MovieClip "planety" in Frame 119
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 125 MovieClip "planetz" in Frame 119
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 119
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (120);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 120
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 120
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 120
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 120
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 120
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (121);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 121
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetv" in Frame 121
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 121
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 121
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 121
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 121
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (123);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 122
gotoAndPlay(nextFrame +9);
gotoAndStop(nextFrame +9);
Frame 123
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetw" in Frame 123
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 45 MovieClip "planetv" in Frame 123
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
_root.dot.swapDepths(9999);
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 123
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (124);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 124
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 303 MovieClip "dot" in Frame 124
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (125);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 125
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 125
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 125
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (126);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 126
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 126
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 126
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 126
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 126
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (127);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 127
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 127
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 127
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (128);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 128
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 128
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 128
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 128
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (129);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 129
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 129
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 129
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (130);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 130
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 303 MovieClip "dot" in Frame 130
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (131);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 131
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 131
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 131
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (132);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 132
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 303 MovieClip "dot" in Frame 132
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (133);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 133
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 133
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 133
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetv" in Frame 133
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 133
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (134);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 134
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 134
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 134
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (135);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 135
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 135
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 135
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 135
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (136);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 136
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 136
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 136
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (137);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 137
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 137
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 137
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 137
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (138);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 138
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 303 MovieClip "dot" in Frame 138
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (139);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 139
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 139
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 139
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 139
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (140);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 140
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 140
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 140
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 140
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (141);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 141
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 141
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 141
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 141
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (142);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 142
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 142
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 142
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (143);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 143
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 303 MovieClip "dot" in Frame 143
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (144);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 144
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 144
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 144
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (145);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 145
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 145
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 145
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 145
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (146);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 146
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 146
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 146
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (147);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 147
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 147
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 147
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (148);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 148
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 148
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 148
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (149);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 149
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 149
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 149
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 149
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (150);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 150
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 150
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 150
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (151);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 151
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetw" in Frame 151
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 151
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (152);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 152
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 152
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 152
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetv" in Frame 152
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 152
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (153);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 153
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetw" in Frame 153
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 153
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (154);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 154
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 154
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetv" in Frame 154
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 154
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 154
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (155);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 155
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 105 MovieClip "t1" in Frame 155
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 106 MovieClip "t2" in Frame 155
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 107 MovieClip "t3" in Frame 155
onClipEvent (load) {
function reset() {
_root.loadstar(this._name);
}
_root.loadstar(this._name);
}
onClipEvent (enterFrame) {
_root.movestar(this._name);
}
Instance of Symbol 45 MovieClip "planetv" in Frame 155
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 155
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 155
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 155
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (156);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 156
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 156
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 156
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 156
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (157);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 157
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetw" in Frame 157
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 157
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 157
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (158);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 158
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 158
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 158
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 158
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (159);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 159
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 159
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 159
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 159
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (160);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 160
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetv" in Frame 160
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 160
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetx" in Frame 160
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 160
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (161);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 161
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetz" in Frame 161
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 161
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (162);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 162
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetb" in Frame 162
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 162
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 162
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (163);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 163
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planetx" in Frame 163
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planety" in Frame 163
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetw" in Frame 163
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 163
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (164);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 164
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planety" in Frame 164
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 164
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planeta" in Frame 164
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 164
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (165);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Frame 165
correct = true;
function loadstar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = random(550);
_local1[_local2]._y = random(400);
_local1[_local2].speed = random(10) + 2;
}
function movestar(varname) {
var _local1 = _root;
var _local2 = varname;
_local1[_local2]._x = _local1[_local2]._x + _local1[_local2].speed;
if (_local1[_local2]._x > 550) {
_local1[_local2].reset();
}
}
stop();
i = 1;
while (i <= 100) {
t1.duplicateMovieClip("t1" + i, i + 100, t1);
i++;
}
i = 1;
while (i <= 40) {
t2.duplicateMovieClip("t2" + i, i + 300, t2);
i++;
}
i = 1;
while (i <= 20) {
t3.duplicateMovieClip("t3" + i, i + 400, t3);
i++;
}
Instance of Symbol 45 MovieClip "planeta" in Frame 165
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 45 MovieClip "planetz" in Frame 165
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Instance of Symbol 303 MovieClip "dot" in Frame 165
onClipEvent (load) {
this.radii = this._width / 2;
this.xspeed = 0;
this.yspeed = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.xspeed = 13;
} else if (Key.isDown(37)) {
this.xspeed = -4;
}
if (Key.isDown(40)) {
this.yspeed = 13;
} else if (Key.isDown(38)) {
this.yspeed = -4;
}
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
}
onClipEvent (enterFrame) {
if (hitTest(_root.earth) == true) {
tellTarget ("_level0") {
gotoAndStop (61);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetx) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planety) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetz) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetw) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planetv) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.planeta) == true) {
tellTarget ("_level0") {
gotoAndStop (62);
removeMovieClip(this);
};
}
}
Symbol 34 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 34 MovieClip Frame 2
gotoAndPlay (1);
Symbol 34 MovieClip Frame 3
_root.gotoAndPlay("Scene 1");
Symbol 50 Button
on (release) {
gotoAndStop (6);
}
Symbol 58 Button
on (release) {
tellTarget ("../sound") {
stopAllSounds();
};
}
on (release) {
nextFrame();
}
Symbol 62 Button
on (release) {
tellTarget ("../sound") {
nextFrame();
};
}
on (release) {
prevFrame();
}
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 2
stop();
gotoAndStop (1);
Symbol 65 MovieClip Frame 3
stop();
gotoAndPlay (1);
Symbol 73 Button
on (release) {
gotoAndStop (7);
}
Symbol 76 Button
on (release) {
gotoAndStop (8);
}
Symbol 79 Button
on (release) {
gotoAndStop (9);
}
Symbol 81 Button
on (release) {
getURL ("http://www.geocities.com/clubalec/", "_self");
}
Symbol 84 Button
on (rollOver) {
gotoAndPlay (3);
}
on (release) {
gotoAndStop (7);
}
Symbol 85 Button
on (rollOver) {
gotoAndPlay (4);
}
on (release) {
gotoAndStop (8);
}
Symbol 86 Button
on (rollOver) {
gotoAndPlay (5);
}
on (release) {
gotoAndStop (9);
}
Symbol 87 Button
on (rollOver) {
gotoAndPlay (6);
}
on (release) {
getURL ("http://www.geocities.com/clubalec/", "_self");
}
Symbol 91 MovieClip Frame 1
play();
Symbol 91 MovieClip Frame 11
gotoAndStop (1);
Symbol 95 Button
on (release) {
gotoAndStop (4);
}
Symbol 96 Button
on (release) {
gotoAndStop (2);
}
Symbol 100 MovieClip Frame 1
onEnterFrame = function () {
if (hitTest(_root.dot)) {
_root.coins = _root.coins + 1;
unloadMovie (this);
}
};
Instance of Symbol 45 MovieClip "planetx" in Symbol 125 MovieClip Frame 1
onClipEvent (load) {
this.mass = 10000;
this.radii = this._width / 2;
this.maxallowedistance = 0;
this.gdistance = 250;
this.totaldist = 0;
this.xdist = 0;
this.ydist = 0;
}
onClipEvent (enterFrame) {
this.maxallowedistance = this.radii + _root.dot.radii;
this.xdist = this._x - _root.dot._x;
this.ydist = this._y - _root.dot._y;
this.totaldist = Math.sqrt((xdist * xdist) + (ydist * ydist));
if (this.totaldist == 0) {
this.totaldist = 1;
}
if (this.totaldist < this.gdistance) {
if (this._x > _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed + ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._x < _root.dot._x) {
_root.dot.xspeed = _root.dot.xspeed - ((Math.abs(this.xdist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
if (this._y > _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed + ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
} else if (this._y < _root.dot._y) {
_root.dot.yspeed = _root.dot.yspeed - ((Math.abs(this.ydist) / this.totaldist) * (this.mass / (this.totaldist * this.totaldist)));
}
}
if (this.totaldist < this.maxallowedistance) {
}
}
Symbol 141 Button
on (release) {
gotoAndStop (2);
}
Symbol 226 Button
on (release) {
gotoAndStop (10);
}
Symbol 229 Button
on (release) {
gotoAndStop (63);
}
Symbol 235 Button
on (release) {
gotoAndStop (64);
}
Symbol 238 Button
on (release) {
gotoAndStop (10);
}
Symbol 244 Button
on (release) {
gotoAndStop (115);
}