Frame 1
stop();
Frame 3
numEnemy = 3;
i = 2;
while (numEnemy >= i) {
enemy1.duplicateMovieClip("enemy" + i, i + 100);
i++;
}
score = 0;
Instance of Symbol 88 MovieClip "mainGround" in Frame 3
onClipEvent (load) {
ground.duplicateMovieClip("ground2", 100);
ground2._x = ground._x + ground._width;
groundStartx = this._x;
groundSpeed = 10;
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x = this._x - groundSpeed;
if ((groundStartx - ground._width) >= this._x) {
this._x = groundStartx - groundSpeed;
}
}
}
Instance of Symbol 102 MovieClip "kay" in Frame 3
onClipEvent (load) {
_root.kay._visible = false;
moveSpeed = 10;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 2;
scrollStart = false;
maxLasers = 4;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(17) and (maxLasers >= laserCounter)) {
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", false);
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", true);
laserCounter++;
_root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(39)) {
_root.spaceship._visible = false;
newlineAccessibility.updateProperties(this.spaceship2);
if (Key.isDown(39)) {
load.kay._visible = true;
}
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = false;
}
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
_root.spaceship._visible = false;
_root.spaceship2._visible = false;
_root.spaceshipk._visible = false;
_root.kay._visible = true;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 37) {
scrollStart = false;
_root.kay._visible = false;
_root.spaceship._visible = false;
_root.spaceshipk._visible = true;
}
}
Instance of Symbol 31 MovieClip "spaceship2" in Frame 3
onClipEvent (load) {
_root.spaceship._visible = false;
_root.spaceship2._visible = false;
_root.spaceshipk._visible = false;
moveSpeed = 10;
_root.fire._visible = false;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 2;
scrollStart = false;
maxLasers = 4;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(17) and (maxLasers >= laserCounter)) {
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", false);
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", true);
laserCounter++;
_root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(39)) {
_root.spaceship2._visible = false;
newlineAccessibility.updateProperties(this.spaceship);
if (Key.isDown(39)) {
_root.spaceship2._visible = true;
}
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = true;
}
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
_root.spaceship2._visible = false;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
scrollStart = false;
_root.spaceship2._visible = false;
_root.spaceship._visible = true;
_root.laser._visible = true;
_root.fire._visible = false;
_root.spaceshipk._visible = false;
}
}
Instance of Symbol 126 MovieClip "spaceship" in Frame 3
onClipEvent (load) {
_root.spaceship._visible = true;
moveSpeed = 10;
_root.laser._visible = false;
_root.laser2._visible = false;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 2;
scrollStart = false;
maxLasers = 5;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(17) and (maxLasers >= laserCounter)) {
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", false);
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", true);
laserCounter++;
_root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
_root.laser.duplicateMovieClip("laser2" + depthCounter, depthCounter);
_root["laser2" + depthCounter]._visible = true;
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(39)) {
_root.spaceship._visible = false;
newlineAccessibility.updateProperties(this.spaceship2);
if (Key.isDown(39)) {
load.spaceship._visible = true;
}
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = true;
}
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
scrollStart = false;
_root.spaceship2._visible = false;
_root.spaceshipk._visible = false;
_root.spaceship._visible = false;
}
}
Instance of Symbol 126 MovieClip "spaceshipk" in Frame 3
onClipEvent (load) {
_root.spaceshipk._visible = false;
moveSpeed = 10;
_root.laser._visible = false;
_root.laser2._visible = false;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 2;
scrollStart = false;
maxLasers = 5;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(17) and (maxLasers >= laserCounter)) {
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", false);
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", true);
laserCounter++;
_root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
_root.laser.duplicateMovieClip("laser2" + depthCounter, depthCounter);
_root["laser2" + depthCounter]._visible = true;
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(39)) {
_root.spaceshipk._visible = false;
newlineAccessibility.updateProperties(this.spaceship2);
if (Key.isDown(39)) {
load.spaceshipk._visible = true;
}
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = true;
}
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
_root.spaceship._visible = false;
_root.spaceshipk._visible = false;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
scrollStart = false;
_root.spaceship2._visible = false;
_root.spaceshipk._visible = false;
_root.kay._visible = false;
}
}
Instance of Symbol 130 MovieClip "laser" in Frame 3
onClipEvent (load) {
_root.laser._visible = false;
_root.laser2._visible = false;
laserMoveSpeed = 20;
this._x = _root.spaceship._x + 79;
this._y = _root.spaceship._y - 70;
}
onClipEvent (enterFrame) {
if (this._name != "laser") {
this._x = this._x + laserMoveSpeed;
if (1250 < this._x) {
_root.spaceship.laserCounter--;
_root.spaceshipk.laserCounter--;
this.removeMovieClip();
}
i = 1;
while (_root.numEnemy >= i) {
if (this.hitTest(_root["enemy" + i])) {
_root.score = _root.score + 100;
_root["enemy" + i].gotoAndPlay(2);
}
i++;
}
}
}
Instance of Symbol 163 MovieClip "enemy1" in Frame 3
onClipEvent (load) {
function reset() {
this._x = 700;
this._y = 302;
enemySpeed = random(2) + 3;
this.gotoAndStop(1);
}
reset();
}
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 (this.hitTest(_root.spaceship)) {
_root.gotoAndStop("hit");
}
}
Frame 4
stop();
Frame 5
numEnemy = 3;
i = 2;
while (numEnemy >= i) {
enemy1.duplicateMovieClip("enemy" + i, i + 100);
i++;
}
score = 0;
Instance of Symbol 88 MovieClip "mainGround" in Frame 5
onClipEvent (load) {
ground.duplicateMovieClip("ground2", 100);
ground2._x = ground._x + ground._width;
groundStartx = this._x;
groundSpeed = 10;
}
onClipEvent (enterFrame) {
if (_root.miku.scrollStart) {
this._x = this._x - groundSpeed;
if ((groundStartx - ground._width) >= this._x) {
this._x = groundStartx - groundSpeed;
}
}
}
Instance of Symbol 188 MovieClip "miku3" in Frame 5
onClipEvent (load) {
_root.miku3._visible = false;
moveSpeed = 10;
_root.laser._visible = false;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 2;
scrollStart = false;
maxLasers = 4;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(17) and (maxLasers >= laserCounter)) {
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", false);
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", true);
laserCounter++;
_root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(39)) {
_root.miku3._visible = false;
newlineAccessibility.updateProperties(this.miku2);
if (Key.isDown(39)) {
load.miku3._visible = true;
}
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = false;
}
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
_root.miku._visible = false;
_root.miku2._visible = false;
_root.miku3._visible = true;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 37) {
scrollStart = false;
_root.miku3._visible = false;
_root.miku._visible = true;
}
}
Instance of Symbol 207 MovieClip "miku2" in Frame 5
onClipEvent (load) {
_root.miku._visible = false;
_root.miku2._visible = false;
moveSpeed = 10;
_root.laser._visible = false;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 2;
scrollStart = false;
maxLasers = 4;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(17) and (maxLasers >= laserCounter)) {
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", false);
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", true);
laserCounter++;
_root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(39)) {
_root.miku2._visible = false;
newlineAccessibility.updateProperties(this.miku);
if (Key.isDown(39)) {
_root.miku2._visible = true;
}
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = true;
}
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
_root.miku2._visible = false;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
scrollStart = false;
_root.miku2._visible = false;
_root.miku._visible = true;
}
}
Instance of Symbol 211 MovieClip "miku" in Frame 5
onClipEvent (load) {
_root.miku._visible = true;
moveSpeed = 10;
_root.laser._visible = false;
_root.laser2._visible = false;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 2;
scrollStart = false;
maxLasers = 5;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(17) and (maxLasers >= laserCounter)) {
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", false);
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", true);
laserCounter++;
_root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
_root.laser.duplicateMovieClip("laser2" + depthCounter, depthCounter);
_root["laser2" + depthCounter]._visible = true;
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(39)) {
_root.miku._visible = false;
newlineAccessibility.updateProperties(this.miku2);
if (Key.isDown(39)) {
load.miku2._visible = true;
}
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = true;
}
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
scrollStart = false;
_root.miku2._visible = false;
_root.miku2._visible = false;
}
}
Instance of Symbol 130 MovieClip "fire" in Frame 5
onClipEvent (load) {
_root.fire._visible = false;
moveSpeed = 10;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 2;
scrollStart = false;
maxLasers = 4;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(17) and (maxLasers >= laserCounter)) {
_root.fire._visible = true;
my_sound.loadSound("shoot.mp3", false);
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", true);
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(39)) {
_root.bot._visible = false;
newlineAccessibility.updateProperties(this.fire);
if (Key.isDown(39)) {
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = false;
}
}
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 17) {
scrollStart = false;
_root.fire._visible = false;
}
}
Instance of Symbol 214 MovieClip "laser" in Frame 5
onClipEvent (load) {
laserMoveSpeed = 60;
this._x = _root.miku._x + 40;
this._y = _root.miku._y + 15;
}
onClipEvent (enterFrame) {
if (this._name != "laser") {
this._x = this._x + laserMoveSpeed;
if (1250 < this._x) {
_root.miku.laserCounter--;
_root.miku.laserCounter--;
this.removeMovieClip();
}
i = 1;
while (_root.numEnemy >= i) {
if (this.hitTest(_root["enemy" + i])) {
_root.score = _root.score + 100;
_root["enemy" + i].gotoAndPlay(2);
}
i++;
}
}
}
Instance of Symbol 163 MovieClip "enemy1" in Frame 5
onClipEvent (load) {
function reset() {
this._x = 700;
this._y = 302;
enemySpeed = random(2) + 3;
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
if (_root.miku.scrollStart) {
this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemySpeed;
}
if (this._x < -10) {
reset();
}
if (this.hitTest(_root.miku)) {
_root.gotoAndStop("hit+");
}
}
Frame 7
numEnemy = 3;
i = 2;
while (numEnemy >= i) {
enemy1.duplicateMovieClip("enemy" + i, i + 100);
i++;
}
score = 0;
Instance of Symbol 88 MovieClip "mainGround" in Frame 7
onClipEvent (load) {
ground.duplicateMovieClip("ground2", 100);
ground2._x = ground._x + ground._width;
groundStartx = this._x;
groundSpeed = 10;
}
onClipEvent (enterFrame) {
if (_root.mikut.scrollStart) {
this._x = this._x - groundSpeed;
if ((groundStartx - ground._width) >= this._x) {
this._x = groundStartx - groundSpeed;
}
}
}
Instance of Symbol 235 MovieClip "mikut3" in Frame 7
onClipEvent (load) {
_root.mikut3._visible = false;
moveSpeed = 10;
_root.laser._visible = false;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 2;
scrollStart = false;
maxLasers = 4;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(17) and (maxLasers >= laserCounter)) {
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", false);
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", true);
laserCounter++;
_root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(39)) {
_root.mikut3._visible = false;
newlineAccessibility.updateProperties(this.mikut2);
if (Key.isDown(39)) {
_root.mikut3._visible = true;
}
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = true;
}
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
_root.mikut._visible = false;
_root.mikut2._visible = false;
_root.mikut3._visible = true;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
scrollStart = false;
_root.mikut3._visible = false;
_root.mikut2._visible = false;
_root.mikut._visible = true;
}
}
Instance of Symbol 235 MovieClip "mikut2" in Frame 7
onClipEvent (load) {
_root.mikut._visible = false;
_root.mikut2._visible = false;
moveSpeed = 10;
_root.laser._visible = false;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 2;
scrollStart = false;
maxLasers = 4;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(17) and (maxLasers >= laserCounter)) {
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", false);
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", true);
laserCounter++;
_root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(39)) {
_root.mikut2._visible = false;
newlineAccessibility.updateProperties(this.mikut);
if (Key.isDown(39)) {
load.mikut2._visible = true;
}
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = true;
}
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
_root.mikut2._visible = false;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 37) {
scrollStart = false;
_root.mikut2._visible = false;
_root.mikut3._visible = false;
_root.mikut._visible = true;
}
}
Instance of Symbol 244 MovieClip "mikut" in Frame 7
onClipEvent (load) {
_root.mikut._visible = true;
moveSpeed = 10;
_root.laser._visible = false;
_root.laser2._visible = false;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 2;
scrollStart = false;
maxLasers = 5;
depthCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(17) and (maxLasers >= laserCounter)) {
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", false);
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", true);
laserCounter++;
_root.laser.duplicateMovieClip("laser" + depthCounter, depthCounter);
_root["laser" + depthCounter]._visible = true;
_root.laser.duplicateMovieClip("laser2" + depthCounter, depthCounter);
_root["laser2" + depthCounter]._visible = true;
depthCounter++;
if (maxLasers < depthCounter) {
depthCounter = 1;
}
}
if (Key.isDown(39)) {
_root.mikut._visible = false;
newlineAccessibility.updateProperties(this.mikut);
if (Key.isDown(39)) {
load.mikut._visible = true;
}
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = true;
}
} else if (Key.isDown(37)) {
this._x = this._x - moveSpeed;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
scrollStart = false;
_root.mikut2._visible = false;
_root.mikut2._visible = false;
}
}
Instance of Symbol 214 MovieClip "laser" in Frame 7
onClipEvent (load) {
laserMoveSpeed = 60;
this._x = _root.mikut._x + 40;
this._y = _root.mikut._y + 15;
}
onClipEvent (enterFrame) {
if (this._name != "laser") {
this._x = this._x + laserMoveSpeed;
if (1200 < this._x) {
_root.mikut.laserCounter--;
_root.mikut.laserCounter--;
this.removeMovieClip();
}
i = 1;
while (_root.numEnemy >= i) {
if (this.hitTest(_root["enemy" + i])) {
_root.score = _root.score + 100;
_root["enemy" + i].gotoAndPlay(2);
}
i++;
}
}
}
Instance of Symbol 163 MovieClip "enemy1" in Frame 7
onClipEvent (load) {
function reset() {
this._x = 700;
this._y = 302;
enemySpeed = random(2) + 3;
this.gotoAndStop(6);
}
reset(6);
}
onClipEvent (enterFrame) {
if (_root.mikut.scrollStart) {
this._x = this._x - (enemySpeed + _root.mainGround.groundSpeed);
} else {
this._x = this._x - enemySpeed;
}
if (this._x < -10) {
reset();
}
if (this.hitTest(_root.mikut)) {
_root.gotoAndPlay(12);
}
}
Frame 9
numEnemy = 3;
i = 2;
while (numEnemy >= i) {
enemy1.duplicateMovieClip("enemy" + i, i + 100);
i++;
}
score = 0;
Frame 10
stop();
Frame 27
stopAllSounds();
Frame 29
stop();
Instance of Symbol 88 MovieClip "mainGround" in Frame 30
onClipEvent (load) {
ground.duplicateMovieClip("ground2", 100);
ground2._x = ground._x + ground._width;
groundStartx = this._x;
groundSpeed = 10;
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x = this._x - groundSpeed;
if ((groundStartx - ground._width) >= this._x) {
this._x = groundStartx - groundSpeed;
}
}
}
Frame 35
stop();
Symbol 51 Button
on (release) {
gotoAndPlay (3);
}
Symbol 126 MovieClip Frame 1
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 7
stop();
Symbol 214 MovieClip Frame 1
stop();
if (Key.isDown(17) and (maxLasers >= laserCounter)) {
this.gotoAndStop(2);
var my_sound:Sound = new Sound();
my_sound.loadSound("shoot.mp3", true);
if (Key.getCode() == 17) {
}
}
Symbol 214 MovieClip Frame 5
stopAllSounds();
Symbol 282 Button
on (release) {
gotoAndStop (35);
}
Symbol 291 Button
on (release) {
gotoAndPlay (1);
}
Symbol 301 Button
on (release) {
gotoAndStop (29);
}
Symbol 302 Button
on (release) {
gotoAndStop (40);
}
Symbol 325 Button
on (release) {
gotoAndStop (5);
}
Symbol 326 Button
on (release) {
gotoAndStop (2);
}
Symbol 327 Button
on (release) {
gotoAndStop (35);
}