Frame 1
loadpercent = "0%";
loadBytes = ("0 of " + (Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000)) + " Kb";
Frame 2
loadPercent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
loadBytes = (((Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000) + " Kb of ") + (Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000)) + " Kb total Loaded.";
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
loadPercent = "100%";
loadBytes = (((Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000) + " Kb of ") + (Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000)) + " Kb total Loaded.";
gotoAndPlay (5);
}
Frame 3
gotoAndPlay (2);
Frame 4
stop();
Frame 83
stop();
Frame 135
gotoAndPlay (136);
Frame 1794
stop();
Frame 1796
numEnemy = 10;
numdropship = 2;
numEnemy2 = 2;
i = 2;
while (i <= numEnemy) {
enemy1.duplicateMovieClip("enemy" + i, i + 100);
i++;
}
o = 2;
while (o <= numEnemy2) {
enemy2.duplicateMovieClip("enemy2" + o, o + 100);
o++;
}
n = 2;
while (n <= numdropship) {
dropship.duplicateMovieClip("dropship" + n, n + 100);
n++;
}
score = 0;
_root.gotoAndPlay("bglevel1, 1");
stop();
Instance of Symbol 103 MovieClip "mainStars" in Frame 1796
onClipEvent (load) {
stars.duplicateMovieClip("stars2", 1000);
stars2._x = stars._x + stars._width;
starsStartx = this._x;
starsSpeed = 4;
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x = this._x - starsSpeed;
if (this._x <= (starsStartx - stars._width)) {
this._x = starsStartx - starsSpeed;
}
}
}
Instance of Symbol 258 MovieClip "spaceship" in Frame 1796
onClipEvent (load) {
moveSpeed = 7;
_root.laser._visible = false;
_root.enemylaser._visible = false;
laserCounter = 0;
scrollx = _root.mainGround.ground._width / 1;
scrollStart = false;
maxLasers = 6;
depthCounter = 0;
}
onClipEvent (enterFrame) {
if (_root.spaceship._currentframe < 180) {
if (Key.isDown(67) and (laserCounter <= maxLasers)) {
laserCounter++;
_root.laser.duplicateMovieClip("laser" - depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
depthCounter++;
if (depthCounter > maxLasers) {
depthCounter = 0;
}
}
}
if (Key.isDown(39)) {
this._x = this._x + moveSpeed;
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
}
if (Key.isDown(40)) {
this._y = this._y + moveSpeed;
} else if (Key.isDown(38)) {
this._y = this._y - moveSpeed;
}
if (_root.spaceship._currentframe < 80) {
if (Key.isDown(88)) {
if (_root.spaceship._currentframe < 50) {
if (_root.spaceship._currentframe < 2) {
_root.spaceship.gotoAndPlay(2);
}
}
moveSpeed = 5;
}
if (Key.isDown(90)) {
if (_root.spaceship._currentframe < 50) {
if (_root.spaceship._currentframe > 17) {
_root.spaceship.gotoAndPlay(19);
moveSpeed = 7;
}
}
}
}
}
Instance of Symbol 266 MovieClip "laser" in Frame 1796
onClipEvent (load) {
laserMoveSpeed = 45;
this._x = _root.spaceship._x + 30;
this._y = _root.spaceship._y + 20;
}
onClipEvent (enterFrame) {
if (this._name != "laser") {
this._x = this._x + laserMoveSpeed;
if (this._x > 600) {
_root.spaceship.laserCounter--;
this.removeMovieClip();
}
i = 1;
while (i <= _root.numEnemy) {
if (this.hitTest(_root["enemy" + i])) {
if (_root["enemy" + i]._currentframe < 2) {
_root["enemy" + i].gotoAndPlay(2);
_root.spaceship.laserCounter--;
_root.score = _root.score + 100;
this.removeMovieClip();
}
}
i++;
}
o = 1;
while (o <= _root.numEnemy2) {
if (this.hitTest(_root["enemy2" + o])) {
if (_root["enemy2" + o]._currentframe < 2) {
_root["enemy2" + o].gotoAndPlay(2);
_root.spaceship.laserCounter--;
_root.score = _root.score + 200;
this.removeMovieClip();
}
}
n = 1;
while (n <= _root.numdropship) {
if (this.hitTest(_root["dropship" + n])) {
if (_root["dropship" + n]._currentframe < 47) {
_root["dropship" + n].play();
_root.spaceship.laserCounter--;
_root.score = _root.score + 150;
this.removeMovieClip();
}
}
n++;
}
o++;
}
}
}
Instance of Symbol 293 MovieClip "enemy1" in Frame 1796
onClipEvent (load) {
function reset() {
this._x = 1000;
this._y = random(100) + 50;
enemySpeed = random(10) + 7;
this.gotoAndStop(1);
}
reset();
if (_root.cont._currentframe < 2) {
reset();
}
if ((_root.game1._currentframe = 1)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemySpeed;
}
if (this._x < -10) {
reset();
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 300 MovieClip "dropship2" in Frame 1796
onClipEvent (load) {
this._x = 1000;
this._y = random(100) + 50;
dropshipSpeed = random(2) + 3;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 800) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (dropshipSpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - dropshipSpeed;
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 293 MovieClip "enemy6" in Frame 1796
onClipEvent (load) {
function reset() {
this._x = 1000;
this._y = random(100) + 50;
enemySpeed = random(11) + 6;
this.gotoAndStop(1);
}
reset();
if (_root.cont._currentframe < 2) {
reset();
}
if ((_root.game1._currentframe = 1)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 400) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemySpeed;
}
}
if (this._x < -10) {
reset();
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 342 MovieClip "enemy5" in Frame 1796
onClipEvent (load) {
function reset() {
this._x = 1000;
this._y = random(100) + 50;
enemySpeed = random(10) + 6;
this.gotoAndStop(1);
}
reset();
if (_root.cont._currentframe < 2) {
reset();
}
if ((_root.game1._currentframe = 1)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 550) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemySpeed;
}
}
if (this._x < -10) {
reset();
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 342 MovieClip "enemy4" in Frame 1796
onClipEvent (load) {
function reset() {
this._x = 1000;
this._y = random(100) + 50;
enemySpeed = random(8) + 6;
this.gotoAndStop(1);
}
reset();
if (_root.cont._currentframe < 2) {
reset();
}
if ((_root.game1._currentframe = 1)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemySpeed;
}
if (this._x < -10) {
reset();
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 370 MovieClip "enemy3" in Frame 1796
onClipEvent (load) {
function reset() {
this._x = 1100;
this._y = random(100) + 50;
enemy2Speed = random(5) + 2;
this.gotoAndStop(1);
}
if (_root.cont._currentframe < 2) {
reset();
}
if ((_root.game1._currentframe = 1)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 400) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemy2Speed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemy2Speed;
}
}
if (this._x < -10) {
reset();
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 397 MovieClip "enemy2" in Frame 1796
onClipEvent (load) {
function reset() {
this._x = 1000;
this._y = random(100) + 50;
enemy2Speed = random(5) + 2;
this.gotoAndStop(1);
}
if (_root.cont._currentframe < 2) {
reset();
}
if ((_root.game1._currentframe = 1)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 400) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemy2Speed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemy2Speed;
}
}
if (this._x < -10) {
reset();
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 304 MovieClip "enemylaser" in Frame 1796
/* no clip actions */
Instance of Symbol 399 MovieClip in Frame 1796
onClipEvent (load) {
pipeSpeed = random(2) + 3;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 1000) {
play();
if (_root.spaceship.scrollStart) {
this._x = this._x - (pipeSpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - pipeSpeed;
}
}
}
Instance of Symbol 416 MovieClip "powerup" in Frame 1796
onClipEvent (load) {
this._x = 800;
this._y = random(100) + 50;
powerupSpeed = random(2) + 2;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 800) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (powerupSpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - powerupSpeed;
}
}
if (_currentframe < 2) {
if (this.hitTest(_root.spaceship)) {
nextFrame();
play();
powerupSpeed = 0;
this._x = 150;
this._y = 100;
_root.score = _root.score + 5000;
}
}
if (_root.spaceship._currentframe > 178) {
_root.powerup.gotoAndStop(135);
}
}
Instance of Symbol 155 MovieClip in Frame 1796
onClipEvent (load) {
this._y = random(100) + 50;
flakSpeed = random(10) + 10;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 800) {
play();
if (_root.spaceship.scrollStart) {
this._x = this._x - (flakSpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - flakSpeed;
}
}
if (_currentframe > 35) {
stop();
}
}
Instance of Symbol 155 MovieClip in Frame 1796
onClipEvent (load) {
this._y = random(100) + 50;
flakSpeed = random(10) + 10;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 815) {
play();
if (_root.spaceship.scrollStart) {
this._x = this._x - (flakSpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - flakSpeed;
}
}
if (_currentframe > 35) {
stop();
}
}
Instance of Symbol 155 MovieClip in Frame 1796
onClipEvent (load) {
this._y = random(100) + 50;
flakSpeed = random(10) + 10;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 805) {
play();
if (_root.spaceship.scrollStart) {
this._x = this._x - (flakSpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - flakSpeed;
}
}
if (_currentframe > 35) {
stop();
}
}
Instance of Symbol 155 MovieClip in Frame 1796
onClipEvent (load) {
this._y = random(100) + 50;
flakSpeed = random(10) + 10;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 810) {
play();
if (_root.spaceship.scrollStart) {
this._x = this._x - (flakSpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - flakSpeed;
}
}
if (_currentframe > 35) {
stop();
}
}
Instance of Symbol 418 MovieClip in Frame 1796
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 1768) {
nextFrame();
}
}
Instance of Symbol 419 MovieClip in Frame 1796
onClipEvent (load) {
friendSpeed = random(20) + 10;
this.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
if (_root.bglevel1._currentframe > 50) {
if (_root.spaceship.scrollStart) {
this._x = this._x + (friendSpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x + friendSpeed;
}
}
if (_root.bglevel1._currentframe > 500) {
this.removeMovieClip();
}
}
Instance of Symbol 428 MovieClip "health" in Frame 1796
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.spaceship._currentframe == 109) {
_root.health.gotoAndPlay(3);
}
if (_root.spaceship._currentframe == 110) {
_root.health.gotoAndPlay(27);
}
}
Frame 1799
stop();
Frame 1801
_root.bglevel1.gotoAndStop(1);
Frame 1802
gotoAndPlay (1803);
Frame 2118
stop();
Frame 2120
numEnemy = 10;
numEnemy2 = 2;
numEnemy5 = 4;
i = 2;
while (i <= numEnemy) {
enemy1.duplicateMovieClip("enemy" + i, i + 100);
i++;
}
o = 2;
while (o <= numEnemy2) {
enemy2.duplicateMovieClip("enemy2" + o, o + 100);
o++;
}
j = 2;
while (j <= numEnemy5) {
enemy5.duplicateMovieClip("enemy5" + j, j + 100);
j++;
}
score = 0;
_root.gotoAndPlay("bglevel2, 1");
stop();
Instance of Symbol 103 MovieClip "mainStars" in Frame 2120
onClipEvent (load) {
stars.duplicateMovieClip("stars2", 1000);
stars2._x = stars._x + stars._width;
starsStartx = this._x;
starsSpeed = 4;
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x = this._x - starsSpeed;
if (this._x <= (starsStartx - stars._width)) {
this._x = starsStartx - starsSpeed;
}
}
}
Instance of Symbol 447 MovieClip "spaceship" in Frame 2120
onClipEvent (load) {
moveSpeed = 6;
_root.laser._visible = false;
_root.enemylaser._visible = false;
laserCounter = 0;
scrollx = _root.mainGround.ground._width / 1;
scrollStart = false;
maxLasers = 6;
depthCounter = 0;
}
onClipEvent (enterFrame) {
if (_root.spaceship._currentframe < 180) {
if (Key.isDown(67) and (laserCounter <= maxLasers)) {
laserCounter++;
_root.laser.duplicateMovieClip("laser" - depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
depthCounter++;
if (depthCounter > maxLasers) {
depthCounter = 0;
}
}
}
if (Key.isDown(39)) {
this._x = this._x + moveSpeed;
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
}
if (Key.isDown(40)) {
this._y = this._y + moveSpeed;
} else if (Key.isDown(38)) {
this._y = this._y - moveSpeed;
}
if (_root.spaceship._currentframe < 80) {
if (Key.isDown(88)) {
if (_root.spaceship._currentframe < 50) {
if (_root.spaceship._currentframe < 2) {
_root.spaceship.gotoAndPlay(2);
}
}
moveSpeed = 7;
}
if (Key.isDown(90)) {
if (_root.spaceship._currentframe < 50) {
if (_root.spaceship._currentframe > 17) {
_root.spaceship.gotoAndPlay(19);
moveSpeed = 4;
}
}
}
}
}
Instance of Symbol 451 MovieClip "laser" in Frame 2120
onClipEvent (load) {
laserMoveSpeed = 35;
this._x = _root.spaceship._x + 30;
this._y = _root.spaceship._y + 20;
}
onClipEvent (enterFrame) {
if (this._name != "laser") {
this._x = this._x + laserMoveSpeed;
if (this._x > 600) {
_root.spaceship.laserCounter--;
this.removeMovieClip();
}
i = 1;
while (i <= _root.numEnemy) {
if (this.hitTest(_root["enemy" + i])) {
if (_root["enemy" + i]._currentframe < 2) {
_root["enemy" + i].gotoAndPlay(2);
_root.spaceship.laserCounter--;
_root.score = _root.score + 100;
this.removeMovieClip();
}
}
i++;
}
o = 1;
while (o <= _root.numEnemy2) {
if (this.hitTest(_root["enemy2" + o])) {
if (_root["enemy2" + o]._currentframe < 2) {
_root["enemy2" + o].gotoAndPlay(2);
_root.spaceship.laserCounter--;
_root.score = _root.score + 200;
this.removeMovieClip();
}
}
o++;
}
}
j = 1;
while (j <= _root.numEnemy5) {
if (this.hitTest(_root["enemy5" + j])) {
if (_root["enemy5" + j]._currentframe < 2) {
_root["enemy5" + j].gotoAndPlay(2);
_root.spaceship.laserCounter--;
_root.score = _root.score + 250;
this.removeMovieClip();
}
}
j++;
}
}
Instance of Symbol 397 MovieClip "enemy4" in Frame 2120
onClipEvent (load) {
function reset() {
this._x = 1000;
this._y = random(100) + 50;
enemySpeed = random(8) + 6;
this.gotoAndStop(1);
}
reset();
if (_root.cont2._currentframe < 2) {
reset();
}
if ((_root.game2._currentframe = 1)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_root.bglevel2._currentframe > 800) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemySpeed;
}
}
if (this._x < -10) {
reset();
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 458 MovieClip "enemy5" in Frame 2120
onClipEvent (load) {
function reset() {
this._x = 1000;
this._y = random(100) + 50;
enemy05Speed = random(10) + 5;
this.gotoAndStop(1);
}
if (_root.cont2._currentframe < 2) {
reset();
}
if ((_root.game2._currentframe = 1)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_root.bglevel2._currentframe > 200) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemy05Speed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemy05Speed;
}
}
if (this._x < -10) {
reset();
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 293 MovieClip "enemy1" in Frame 2120
onClipEvent (load) {
function reset() {
this._x = 1000;
this._y = random(100) + 50;
enemySpeed = random(8) + 6;
this.gotoAndStop(1);
}
reset();
if (_root.cont2._currentframe < 2) {
reset();
}
if ((_root.game2._currentframe = 1)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_root.bglevel2._currentframe > 200) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemySpeed;
}
}
if (this._x < -10) {
reset();
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 342 MovieClip "enemy3" in Frame 2120
onClipEvent (load) {
function reset() {
this._x = 1000;
this._y = random(100) + 50;
enemySpeed = random(8) + 6;
this.gotoAndStop(1);
}
reset();
if (_root.cont2._currentframe < 2) {
reset();
}
if ((_root.game2._currentframe = 1)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_root.bglevel2._currentframe > 800) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemySpeed;
}
}
if (this._x < -10) {
reset();
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 458 MovieClip "enemy7" in Frame 2120
onClipEvent (load) {
function reset() {
this._x = 1000;
this._y = random(100) + 50;
enemy05Speed = random(10) + 5;
this.gotoAndStop(1);
}
if (_root.cont2._currentframe < 2) {
reset();
}
if ((_root.game2._currentframe = 1)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_root.bglevel2._currentframe > 200) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemy05Speed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemy05Speed;
}
}
if (this._x < -10) {
reset();
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 293 MovieClip "enemy2" in Frame 2120
onClipEvent (load) {
function reset() {
this._x = 1000;
this._y = random(100) + 50;
enemySpeed = random(8) + 6;
this.gotoAndStop(1);
}
reset();
if (_root.cont2._currentframe < 2) {
reset();
}
if ((_root.game2._currentframe = 1)) {
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_root.bglevel2._currentframe > 150) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemySpeed;
}
}
if (this._x < -10) {
reset();
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe < 55) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(55);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 110) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(111);
}
}
}
if (_currentframe < 2) {
if (_root.spaceship._currentframe == 177) {
if (this.hitTest(_root.spaceship)) {
_root.spaceship.gotoAndPlay(178);
}
}
}
}
Instance of Symbol 416 MovieClip "powerup" in Frame 2120
onClipEvent (load) {
this._x = 800;
this._y = random(100) + 50;
powerupSpeed = random(2) + 2;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.bglevel2._currentframe > 900) {
if (_root.spaceship.scrollStart) {
this._x = this._x - (powerupSpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - powerupSpeed;
}
}
if (_currentframe < 2) {
if (this.hitTest(_root.spaceship)) {
nextFrame();
play();
powerupSpeed = 0;
this._x = 150;
this._y = 100;
_root.score = _root.score + 5000;
}
}
}
Instance of Symbol 428 MovieClip "health" in Frame 2120
onClipEvent (load) {
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.spaceship._currentframe == 109) {
_root.health.gotoAndPlay(3);
}
if (_root.spaceship._currentframe == 110) {
_root.health.gotoAndPlay(27);
}
}
Instance of Symbol 418 MovieClip in Frame 2120
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.bglevel2._currentframe > 2144) {
nextFrame();
}
}
Instance of Symbol 466 MovieClip in Frame 2120
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.bglevel2._currentframe > 1336) {
nextFrame();
}
}
Frame 2123
stop();
Frame 2125
_root.bglevel2.gotoAndStop(1);
Frame 2126
gotoAndPlay (2127);
Frame 2344
gotoAndPlay (5);
Symbol 5 MovieClip [FLabelSymbol] Frame 1
#initclip 2
_global.FLabelClass = function () {
if (this.hostComponent == undefined) {
this.hostComponent = ((this._parent.controller == undefined) ? (this._parent) : (this._parent.controller));
}
if (this.customTextStyle == undefined) {
if (this.hostComponent.textStyle == undefined) {
this.hostComponent.textStyle = new TextFormat();
}
this.textStyle = this.hostComponent.textStyle;
this.enable = true;
}
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
var val = this.hostComponent.styleTable.embedFonts.value;
if (val != undefined) {
this.labelField.embedFonts = val;
}
this.labelField.setNewTextFormat(this.textStyle);
this.labelField.text = label;
this.labelField._height = this.labelField.textHeight + 2;
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
this.enable = enable;
var tmpColor = this.hostComponent.styleTable[(enable ? "textColor" : "textDisabled")].value;
if (tmpColor == undefined) {
tmpColor = (enable ? 0 : 8947848);
}
this.setColor(tmpColor);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 14 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 17 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "background");
Symbol 20 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 22 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 25 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(disabled_mc, "foregroundDisabled");
Symbol 28 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(dot_mc, "radioDot");
Symbol 29 MovieClip [frb_states] Frame 1
stop();
Symbol 29 MovieClip [frb_states] Frame 2
stop();
Symbol 29 MovieClip [frb_states] Frame 3
stop();
Symbol 29 MovieClip [frb_states] Frame 4
stop();
Symbol 29 MovieClip [frb_states] Frame 5
stop();
Symbol 30 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._width = (this.deadPreview._height = 1);
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var i in this.styleFormat_prm) {
this.setStyleProperty(i, this.styleFormat_prm[i]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
this.tabEnabled = (this.focusEnabled = enabledFlag);
if ((!this.enable) && (this.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = ((obj == undefined) ? (this._parent) : (obj));
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var funct in this.methodTable) {
this[funct]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var inner = this.styleTable.focusRectInner.value;
var outer = this.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, outer);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, inner);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!global)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var textProp = propName.subString(4, propName.length);
this.textStyle[textProp] = value;
this.invalidate("setSize");
} else {
for (var j in this.styleTable[propName].coloredMCs) {
var myColor = new Color(this.styleTable[propName].coloredMCs[j]);
if (this.styleTable[propName].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myTObj);
} else {
myColor.setRGB(value);
}
}
}
this.styleTable[propName].useGlobal = global;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var myColor = new Color(skinMCRef);
myColor.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var i in arguments[0]) {
this[i] = arguments[0][i];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var arg = 0;
while (arg < arguments.length) {
var mcRef = arguments[arg];
this.listeners[arguments[arg]] = mcRef;
for (var i in this) {
if (this.isAStyle(i)) {
mcRef.updateStyleProperty(this, i.toString());
}
}
arg++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var prop in this) {
if (this.isAStyle(prop)) {
if (component.styleTable[prop].useGlobal == this.isGlobal) {
component.styleTable[prop].useGlobal = true;
var value = (this.isGlobal ? undefined : (globalStyleFormat[prop]));
component.setStyleProperty(prop, value, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var count = 0;
for (var i in this.listeners) {
var component = this.listeners[i];
if (arguments.length > 0) {
var j = 0;
while (j < arguments.length) {
if (this.isAStyle(arguments[j])) {
component.updateStyleProperty(this, arguments[j]);
}
j++;
}
} else {
for (var j in this) {
if (this.isAStyle(j)) {
component.updateStyleProperty(this, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 34 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 34 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 37 MovieClip [FRadioButtonSymbol] Frame 1
#initclip 3
function FRadioButtonClass() {
this.init();
}
function FRadioButtonGroupClass() {
this.radioInstances = new Array();
}
FRadioButtonClass.prototype = new FUIComponentClass();
FRadioButtonGroupClass.prototype = new FUIComponentClass();
Object.registerClass("FRadioButtonSymbol", FRadioButtonClass);
FRadioButtonClass.prototype.init = function () {
if (this.initialState == undefined) {
this.selected = false;
} else {
this.selected = this.initialState;
}
super.setSize(this._width, this._height);
this.boundingBox_mc.unloadMovie();
this.boundingBox_mc._width = 0;
this.boundingBox_mc._height = 0;
this.attachMovie("frb_hitArea", "frb_hitArea_mc", 1);
this.attachMovie("frb_states", "frb_states_mc", 2);
this.attachMovie("FLabelSymbol", "fLabel_mc", 3);
super.init();
this._xscale = 100;
this._yscale = 100;
this.setSize(this.width, this.height);
this.setChangeHandler(this.changeHandler);
if (this.label != undefined) {
this.setLabel(this.label);
}
if (this.initialState == undefined) {
this.setValue(false);
} else {
this.setValue(this.initialState);
}
if (this.data == "") {
this.data = undefined;
} else {
this.setData(this.data);
}
this.addToRadioGroup();
this.ROLE_SYSTEM_RADIOBUTTON = 45;
this.STATE_SYSTEM_SELECTED = 16;
this.EVENT_OBJECT_STATECHANGE = 32778;
this.EVENT_OBJECT_NAMECHANGE = 32780;
this._accImpl.master = this;
this._accImpl.stub = false;
this._accImpl.get_accRole = this.get_accRole;
this._accImpl.get_accName = this.get_accName;
this._accImpl.get_accState = this.get_accState;
this._accImpl.get_accDefaultAction = this.get_accDefaultAction;
this._accImpl.accDoDefaultAction = this.accDoDefaultAction;
};
FRadioButtonClass.prototype.setHitArea = function (w, h) {
var hit = this.frb_hitArea_mc;
this.hitArea = hit;
if (this.frb_states_mc._width > w) {
hit._width = this.frb_states_mc._width;
} else {
hit._width = w;
}
hit._visible = false;
if (arguments.length > 1) {
hit._height = h;
}
};
FRadioButtonClass.prototype.txtFormat = function (pos) {
var txtS = this.textStyle;
var sTbl = this.styleTable;
txtS.align = ((sTbl.textAlign.value == undefined) ? ((txtS.align = pos)) : undefined);
txtS.leftMargin = ((sTbl.textLeftMargin.value == undefined) ? ((txtS.leftMargin = 0)) : undefined);
txtS.rightMargin = ((sTbl.textRightMargin.value == undefined) ? ((txtS.rightMargin = 0)) : undefined);
if (this.flabel_mc._height > this.height) {
super.setSize(this.width, this.flabel_mc._height);
} else {
super.setSize(this.width, this.height);
}
this.setEnabled(this.enable);
};
FRadioButtonClass.prototype.setSize = function (w, h) {
this.setLabel(this.getLabel());
this.setLabelPlacement(this.labelPlacement);
if (this.frb_states_mc._height < this.flabel_mc.labelField._height) {
super.setSize(w, this.flabel_mc.labelField._height);
}
this.setHitArea(this.width, this.height);
this.setLabelPlacement(this.labelPlacement);
};
FRadioButtonClass.prototype.setLabelPlacement = function (pos) {
this.setLabel(this.getLabel());
this.txtFormat(pos);
var halfLabelH = (this.fLabel_mc._height / 2);
var halfFrameH = (this.frb_states_mc._height / 2);
var vertCenter = (halfFrameH - halfLabelH);
var radioWidth = this.frb_states_mc._width;
var frame = this.frb_states_mc;
var label = this.fLabel_mc;
var w = (this.width - frame._width);
if (frame._width > this.width) {
w = 0;
} else {
w = this.width - frame._width;
}
this.fLabel_mc.setSize(w);
if ((pos == "right") || (pos == undefined)) {
this.labelPlacement = "right";
this.frb_states_mc._x = 0;
this.fLabel_mc._x = radioWidth;
this.txtFormat("left");
} else if (pos == "left") {
this.labelPlacement = "left";
this.fLabel_mc._x = 0;
this.frb_states_mc._x = this.width - radioWidth;
this.txtFormat("right");
}
this.fLabel_mc._y = vertCenter;
this.frb_hitArea_mc._y = vertCenter;
this.setLabel(this.getLabel());
};
FRadioButtonClass.prototype.setData = function (dataValue) {
this.data = dataValue;
};
FRadioButtonClass.prototype.getData = function () {
return(this.data);
};
FRadioButtonClass.prototype.getState = function () {
return(this.selected);
};
FRadioButtonClass.prototype.getSize = function () {
return(this.width);
};
FRadioButtonClass.prototype.getGroupName = function () {
return(this.groupName);
};
FRadioButtonClass.prototype.setGroupName = function (groupName) {
var i = 0;
while (i < this._parent[this.groupName].radioInstances.length) {
if (this._parent[this.groupName].radioInstances[i] == this) {
delete this._parent[this.groupName].radioInstances[i];
}
i++;
}
this.groupName = groupName;
this.addToRadioGroup();
};
FRadioButtonClass.prototype.addToRadioGroup = function () {
if (this._parent[this.groupName] == undefined) {
this._parent[this.groupName] = new FRadioButtonGroupClass();
}
this._parent[this.groupName].addRadioInstance(this);
};
FRadioButtonClass.prototype.setValue = function (selected) {
if (selected || (selected == undefined)) {
this.setState(true);
this.focusRect.removeMovieClip();
this.executeCallBack();
} else if (selected == false) {
this.setState(false);
}
};
FRadioButtonClass.prototype.setTabState = function (selected) {
Selection.setFocus(this);
this.setState(selected);
this.drawFocusRect();
this.executeCallBack();
};
FRadioButtonClass.prototype.setState = function (selected) {
if (selected || (selected == undefined)) {
this.tabEnabled = true;
for (var i in this._parent) {
if ((this != this._parent[i]) && (this._parent[i].groupName == this.groupName)) {
this._parent[i].setState(false);
this._parent[i].tabEnabled = false;
}
}
}
if (this.enable) {
this.flabel_mc.setEnabled(true);
if (selected || (selected == undefined)) {
this.frb_states_mc.gotoAndStop("selectedEnabled");
this.enabled = false;
this.selected = true;
this.tabEnabled = true;
this.tabFocused = true;
} else {
this.frb_states_mc.gotoAndStop("unselectedEnabled");
this.enabled = true;
this.selected = false;
this.tabEnabled = false;
var enabTrue = this._parent[this.groupName].getEnabled();
var noneSelect = (this._parent[this.groupName].getValue() == undefined);
if (enabTrue && (noneSelect)) {
this._parent[this.groupName].radioInstances[0].tabEnabled = true;
}
}
} else {
this.flabel_mc.setEnabled(false);
if (selected || (selected == undefined)) {
this.frb_states_mc.gotoAndStop("selectedDisabled");
this.enabled = false;
this.selected = true;
this.tabEnabled = false;
} else {
this.frb_states_mc.gotoAndStop("unselectedDisabled");
this.enabled = false;
this.selected = false;
this.tabEnabled = false;
}
}
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true);
}
};
FRadioButtonClass.prototype.getValue = function () {
if (this.selected) {
if ((this.data == "") || (this.data == undefined)) {
return(this.getLabel());
}
return(this.data);
}
};
FRadioButtonClass.prototype.setEnabled = function (enable) {
if ((enable == true) || (enable == undefined)) {
this.enable = true;
super.setEnabled(true);
} else {
this.enable = false;
super.setEnabled(false);
}
this.setState(this.selected);
var cgn = (this._parent[this.groupName].getEnabled() == undefined);
var cgnez = (this._parent[this.groupName].radioInstances[0].getEnabled() == false);
if (cgn && (cgnez)) {
var i = 0;
while (i < this._parent[this.groupName].radioInstances.length) {
if (this._parent[this.groupName].radioInstances[i].getEnabled() == true) {
this._parent[this.groupName].radioInstances[i].tabEnabled = true;
return(undefined);
}
i++;
}
}
};
FRadioButtonClass.prototype.getEnabled = function () {
return(this.enable);
};
FRadioButtonClass.prototype.setLabel = function (label) {
this.fLabel_mc.setLabel(label);
this.txtFormat();
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE);
}
};
FRadioButtonClass.prototype.getLabel = function () {
return(this.fLabel_mc.getLabel());
};
FRadioButtonClass.prototype.onPress = function () {
this.pressFocus();
this.frb_states_mc.gotoAndStop("press");
};
FRadioButtonClass.prototype.onRelease = function () {
this.frb_states_mc.gotoAndStop("unselectedDisabled");
this.setValue(!this.selected);
};
FRadioButtonClass.prototype.onReleaseOutside = function () {
this.frb_states_mc.gotoAndStop("unselectedEnabled");
};
FRadioButtonClass.prototype.onDragOut = function () {
this.frb_states_mc.gotoAndStop("unselectedEnabled");
};
FRadioButtonClass.prototype.onDragOver = function () {
this.frb_states_mc.gotoAndStop("press");
};
FRadioButtonClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this._parent[this.groupName]);
};
FRadioButtonGroupClass.prototype.addRadioInstance = function (instance) {
this.radioInstances.push(instance);
this.radioInstances[0].tabEnabled = true;
};
FRadioButtonGroupClass.prototype.setEnabled = function (enableFlag) {
var i = 0;
while (i < this.radioInstances.length) {
this.radioInstances[i].setEnabled(enableFlag);
i++;
}
};
FRadioButtonGroupClass.prototype.getEnabled = function () {
var i = 0;
while (i < this.radioInstances.length) {
if (this.radioInstances[i].getEnabled() != this.radioInstances[0].getEnabled()) {
return(undefined);
}
i++;
}
return(this.radioInstances[0].getEnabled());
};
FRadioButtonGroupClass.prototype.setChangeHandler = function (changeHandler, obj) {
var i = 0;
while (i < this.radioInstances.length) {
this.radioInstances[i].setChangeHandler(changeHandler, obj);
i++;
}
};
FRadioButtonGroupClass.prototype.getValue = function () {
var i = 0;
while (i < this.radioInstances.length) {
if (this.radioInstances[i].selected == true) {
if ((this.radioInstances[i].data == "") || (this.radioInstances[i].data == undefined)) {
return(this.radioInstances[i].getLabel());
}
return(this.radioInstances[i].data);
}
i++;
}
};
FRadioButtonGroupClass.prototype.getData = function () {
var i = 0;
while (i < this.radioInstances.length) {
if (this.radioInstances[i].selected) {
return(this.radioInstances[i].getData());
}
i++;
}
};
FRadioButtonGroupClass.prototype.getInstance = function () {
var i = 0;
while (i < this.radioInstances.length) {
if (this.radioInstances[i].selected == true) {
return(i);
}
i++;
}
};
FRadioButtonGroupClass.prototype.setValue = function (dataValue) {
var i = 0;
while (i < this.radioInstances.length) {
if (this.radioInstances[i].data == dataValue) {
this.radioInstances[i].setValue(true);
return(undefined);
}
i++;
}
var i = 0;
while (i < this.radioInstances.length) {
if (this.radioInstances[i].getLabel() == dataValue) {
this.radioInstances[i].setValue(true);
}
i++;
}
};
FRadioButtonGroupClass.prototype.setSize = function (w) {
var i = 0;
while (i < this.radioInstances.length) {
this.radioInstances[i].setSize(w);
i++;
}
};
FRadioButtonGroupClass.prototype.getSize = function () {
var widestRadio = 0;
var i = 0;
while (i < this.radioInstances.length) {
if (this.radioInstances[i].width >= widestRadio) {
widestRadio = this.radioInstances[i].width;
}
i++;
}
return(widestRadio);
};
FRadioButtonGroupClass.prototype.setGroupName = function (groupName) {
this.oldGroupName = this.radioInstances[0].groupName;
var i = 0;
while (i < this.radioInstances.length) {
this.radioInstances[i].groupName = groupName;
this.radioInstances[i].addToRadioGroup();
i++;
}
delete this._parent[this.oldGroupName];
};
FRadioButtonGroupClass.prototype.getGroupName = function () {
return(this.radioInstances[0].groupName);
};
FRadioButtonGroupClass.prototype.setLabelPlacement = function (pos) {
var i = 0;
while (i < this.radioInstances.length) {
this.radioInstances[i].setLabelPlacement(pos);
i++;
}
};
FRadioButtonGroupClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
var i = 0;
while (i < this.radioInstances.length) {
this.radioInstances[i].setStyleProperty(propName, value, isGlobal);
i++;
}
};
FRadioButtonGroupClass.prototype.addListener = function () {
var i = 0;
while (i < this.radioInstances.length) {
this.radioInstances[i].addListener();
i++;
}
};
FRadioButtonGroupClass.prototype.applyChanges = function () {
var i = 0;
while (i < this.radioInstances.length) {
this.radioInstances[i].applyChanges();
i++;
}
};
FRadioButtonGroupClass.prototype.removeListener = function (component) {
var i = 0;
while (i < this.radioInstances.length) {
this.radioInstances[i].removeListener(component);
i++;
}
};
FRadioButtonClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this._width + 6, this._height - 3);
};
FRadioButtonClass.prototype.myOnKillFocus = function () {
Key.removeListener(this.keyListener);
this.focused = false;
this.focusRect.removeMovieClip();
this._parent[this.groupName].foobar = 0;
};
FRadioButtonClass.prototype.myOnKeyDown = function () {
if ((Key.getCode() == 32) && (this._parent[this.groupName].getValue() == undefined)) {
if (this._parent[this.groupName].radioInstances[0] == this) {
this.setTabState(true);
}
}
if ((Key.getCode() == 40) && (this.pressOnce == undefined)) {
this.foobar = this._parent[this.groupName].getInstance();
var i = this.foobar;
while (i < this._parent[this.groupName].radioInstances.length) {
var inc = (i + 1);
if (this._parent[this.groupName].radioInstances[inc].getEnabled()) {
this._parent[this.groupName].radioInstances[inc].setTabState(true);
return(undefined);
}
i++;
}
}
if ((Key.getCode() == 38) && (this.pressOnce == undefined)) {
this.foobar = this._parent[this.groupName].getInstance();
var i = this.foobar;
while (i >= 0) {
var inc = (i - 1);
if (this._parent[this.groupName].radioInstances[inc].getEnabled()) {
this._parent[this.groupName].radioInstances[inc].setTabState(true);
return(undefined);
}
i--;
}
}
};
FRadioButtonClass.prototype.get_accRole = function (childId) {
return(this.master.ROLE_SYSTEM_RADIOBUTTON);
};
FRadioButtonClass.prototype.get_accName = function (childId) {
return(this.master.getLabel());
};
FRadioButtonClass.prototype.get_accState = function (childId) {
if (this.master.getState()) {
return(this.master.STATE_SYSTEM_SELECTED);
}
return(0);
};
FRadioButtonClass.prototype.get_accDefaultAction = function (childId) {
if (this.master.getState()) {
return("UnCheck");
}
return("Check");
};
FRadioButtonClass.prototype.accDoDefaultAction = function (childId) {
this.master.setValue(!this.master.getValue());
};
#endinitclip
boundingBox_mc._visible = false;
deadPreview._visible = false;
Symbol 48 MovieClip Frame 1
this._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
Symbol 48 MovieClip Frame 2
gotoAndPlay (1);
Symbol 59 MovieClip Frame 785
gotoAndPlay (1);
Symbol 60 Button
on (press, release) {
_root.gotoAndPlay("play_game");
gotoAndPlay (20);
}
on (rollOut) {
gotoAndPlay (39);
}
Symbol 76 MovieClip Frame 6
stop();
Symbol 78 Button
on (release) {
nextFrame();
play();
}
Symbol 79 Button
on (release) {
getURL ("http://www.adragonsdestiny.tk", "_blank");
}
Symbol 80 Button
on (release) {
getURL ("http://invisionfree.com/forums/The_Drakoja_Universe", "_blank");
}
Symbol 83 Button
on (release) {
getURL ("http://www.edgen.com", "_blank");
}
Symbol 85 Button
on (release) {
gotoAndPlay (1675);
}
Symbol 100 Button
on (release) {
nextFrame();
play();
}
Symbol 137 MovieClip Frame 103
stop();
Symbol 155 MovieClip Frame 37
stop();
Symbol 170 MovieClip Frame 1798
_root.gotoAndPlay("cred");
_root.gotoAndStop("bglevel1");
Symbol 204 MovieClip Frame 18
stop();
Symbol 258 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 18
stop();
Symbol 258 MovieClip Frame 50
gotoAndStop (1);
Symbol 258 MovieClip Frame 110
stop();
Symbol 258 MovieClip Frame 111
nextFrame();
play();
Symbol 258 MovieClip Frame 177
stop();
Symbol 258 MovieClip Frame 178
nextFrame();
play();
Symbol 258 MovieClip Frame 291
_root.bglevel1.gotoAndStop(1);
_root.gotoAndStop("gameOver");
gotoAndStop (1);
Symbol 266 MovieClip Frame 1
if (_root.powerup._currentframe > 2) {
gotoAndPlay (5);
}
if (_root.powerup._currentframe > 2) {
if (_root.spaceship._currentframe > 2) {
gotoAndPlay (7);
}
}
if (_root.spaceship._currentframe > 2) {
gotoAndStop (3);
}
Symbol 266 MovieClip Frame 2
stop();
Symbol 266 MovieClip Frame 3
if (_root.spaceship._currentframe < 2) {
gotoAndStop (1);
}
Symbol 266 MovieClip Frame 4
stop();
Symbol 266 MovieClip Frame 5
if (_root.spaceship._currentframe > 2) {
gotoAndStop (7);
}
Symbol 266 MovieClip Frame 6
stop();
Symbol 266 MovieClip Frame 7
if (_root.powerup._currentframe > 2) {
if (_root.spaceship._currentframe < 2) {
gotoAndStop (5);
}
}
Symbol 266 MovieClip Frame 8
stop();
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 2
if (_root.powerup._currentframe > 2) {
gotoAndPlay (70);
}
if (_root.spaceship._currentframe > 2) {
gotoAndPlay (35);
}
Symbol 293 MovieClip Frame 28
stop();
Symbol 293 MovieClip Frame 66
stop();
Symbol 293 MovieClip Frame 70
if (_root.spaceship._currentframe > 2) {
gotoAndPlay (100);
}
Symbol 293 MovieClip Frame 93
stop();
Symbol 293 MovieClip Frame 130
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
play();
if (_root.dropship._currentframe == 46) {
gotoAndPlay (47);
}
if (_root.dropship._currentframe == 41) {
gotoAndPlay (42);
}
if (_root.dropship._currentframe == 36) {
gotoAndPlay (35);
}
if (_root.dropship._currentframe == 31) {
gotoAndPlay (32);
}
if (_root.dropship._currentframe == 26) {
gotoAndPlay (27);
}
if (_root.dropship._currentframe == 21) {
gotoAndPlay (22);
}
if (_root.dropship._currentframe == 16) {
gotoAndPlay (17);
}
if (_root.dropship._currentframe == 6) {
gotoAndPlay (7);
}
if (_root.dropship._currentframe == 11) {
gotoAndPlay (12);
}
play();
Symbol 300 MovieClip Frame 6
stop();
Symbol 300 MovieClip Frame 11
stop();
Symbol 300 MovieClip Frame 16
stop();
Symbol 300 MovieClip Frame 21
stop();
Symbol 300 MovieClip Frame 26
stop();
Symbol 300 MovieClip Frame 31
stop();
Symbol 300 MovieClip Frame 36
stop();
Symbol 300 MovieClip Frame 41
stop();
Symbol 300 MovieClip Frame 46
play();
Symbol 300 MovieClip Frame 59
stop();
Instance of Symbol 304 MovieClip "enemylaser" in Symbol 306 MovieClip Frame 62
/* no clip actions */
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 2
if (_root.powerup._currentframe > 2) {
gotoAndPlay (56);
}
if (_root.spaceship._currentframe > 2) {
gotoAndPlay (25);
}
Symbol 342 MovieClip Frame 14
stop();
Symbol 342 MovieClip Frame 48
stop();
Symbol 342 MovieClip Frame 54
Symbol 342 MovieClip Frame 56
if (_root.spaceship._currentframe > 2) {
gotoAndPlay (74);
}
Symbol 342 MovieClip Frame 73
stop();
Symbol 342 MovieClip Frame 113
stop();
Symbol 370 MovieClip Frame 1
stop();
Symbol 370 MovieClip Frame 2
if (_root.powerup._currentframe > 2) {
gotoAndPlay (65);
}
if (_root.spaceship._currentframe > 2) {
gotoAndPlay (30);
}
Symbol 370 MovieClip Frame 22
stop();
Symbol 370 MovieClip Frame 57
stop();
Symbol 370 MovieClip Frame 65
if (_root.spaceship._currentframe > 2) {
gotoAndPlay (110);
}
Symbol 370 MovieClip Frame 103
stop();
Symbol 370 MovieClip Frame 152
stop();
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 2
if (_root.powerup._currentframe > 2) {
gotoAndPlay (80);
}
if (_root.spaceship._currentframe > 2) {
gotoAndPlay (25);
}
Symbol 397 MovieClip Frame 21
stop();
Symbol 397 MovieClip Frame 77
stop();
Symbol 397 MovieClip Frame 80
if (_root.spaceship._currentframe > 2) {
gotoAndPlay (122);
}
Symbol 397 MovieClip Frame 116
stop();
Symbol 397 MovieClip Frame 156
stop();
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 128
stop();
Symbol 418 MovieClip Frame 21
stop();
Symbol 419 MovieClip Frame 78
stop();
Symbol 422 MovieClip Frame 24
stop();
Symbol 428 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 26
stop();
Symbol 428 MovieClip Frame 86
stop();
Symbol 430 MovieClip Frame 25
stop();
_root.bglevel1.gotoAndStop();
Symbol 434 Button
on (release) {
gotoAndPlay (1796);
_root.bglevel1.gotoAndPlay(1);
}
Symbol 437 MovieClip Frame 30
stop();
Symbol 445 MovieClip Frame 2204
_root.gotoAndPlay("cred2");
_root.gotoAndStop("bglevel2");
Symbol 447 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 18
stop();
Symbol 447 MovieClip Frame 50
gotoAndStop (1);
Symbol 447 MovieClip Frame 110
stop();
Symbol 447 MovieClip Frame 111
nextFrame();
play();
Symbol 447 MovieClip Frame 177
stop();
Symbol 447 MovieClip Frame 178
nextFrame();
play();
Symbol 447 MovieClip Frame 291
_root.bglevel2.gotoAndStop(1);
_root.gotoAndStop("gameOver2");
gotoAndStop (1);
Symbol 451 MovieClip Frame 1
if (_root.powerup._currentframe > 2) {
gotoAndPlay (5);
}
if (_root.powerup._currentframe > 2) {
if (_root.spaceship._currentframe > 2) {
gotoAndPlay (7);
}
}
if (_root.spaceship._currentframe > 2) {
gotoAndStop (3);
}
Symbol 451 MovieClip Frame 2
stop();
Symbol 451 MovieClip Frame 3
if (_root.spaceship._currentframe < 2) {
gotoAndStop (1);
}
Symbol 451 MovieClip Frame 4
stop();
Symbol 451 MovieClip Frame 5
if (_root.spaceship._currentframe > 2) {
gotoAndStop (7);
}
Symbol 451 MovieClip Frame 6
stop();
Symbol 451 MovieClip Frame 7
if (_root.powerup._currentframe > 2) {
if (_root.spaceship._currentframe < 2) {
gotoAndStop (5);
}
}
Symbol 451 MovieClip Frame 8
stop();
Symbol 458 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 2
if (_root.powerup._currentframe > 2) {
gotoAndPlay (80);
}
if (_root.spaceship._currentframe > 2) {
gotoAndPlay (45);
}
Symbol 458 MovieClip Frame 40
stop();
Symbol 458 MovieClip Frame 74
stop();
Symbol 458 MovieClip Frame 80
if (_root.spaceship._currentframe > 2) {
gotoAndPlay (125);
}
Symbol 458 MovieClip Frame 118
stop();
Symbol 458 MovieClip Frame 156
stop();
Symbol 460 MovieClip Frame 105
stop();
Symbol 466 MovieClip Frame 318
stop();
Symbol 467 Button
on (release) {
gotoAndPlay (2120);
_root.bglevel2.gotoAndPlay(1);
}