Frame 3
play();
Instance of Symbol 22 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 26 MovieClip "mainStars" in Frame 3
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 ((starsStartx - stars._width) >= this._x) {
this._x = starsStartx - starsSpeed;
}
}
}
Instance of Symbol 40 MovieClip "spaceship" in Frame 3
onClipEvent (load) {
moveSpeed = 10;
_root.laser._visible = false;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 3;
scrollStart = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.CONTROL)) {
laserCounter++;
_root.laser.duplicateMovieClip("laser" + laserCounter, laserCounter);
_root["laser" + laserCounter]._visible = true;
}
if (Key.isDown(Key.RIGHT)) {
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = true;
}
} else if (Key.isDown(Key.LEFT)) {
this._x = this._x - moveSpeed;
}
if (Key.isDown(Key.DOWN)) {
this._y = this._y + moveSpeed;
} else if (Key.isDown(Key.UP)) {
this._y = this._y - moveSpeed;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == Key.RIGHT) {
scrollStart = false;
}
}
Instance of Symbol 26 MovieClip "mainStars" in Frame 52
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 ((starsStartx - stars._width) >= this._x) {
this._x = starsStartx - starsSpeed;
}
}
}
Instance of Symbol 26 MovieClip "mainStars" in Frame 57
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 ((starsStartx - stars._width) >= this._x) {
this._x = starsStartx - starsSpeed;
}
}
}
Instance of Symbol 22 MovieClip "mainGround" in Frame 82
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 26 MovieClip "mainStars" in Frame 82
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 ((starsStartx - stars._width) >= this._x) {
this._x = starsStartx - starsSpeed;
}
}
}
Instance of Symbol 40 MovieClip "spaceship" in Frame 82
onClipEvent (load) {
moveSpeed = 10;
_root.laser._visible = false;
laserCounter = 1;
scrollx = _root.mainGround.ground._width / 3;
scrollStart = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.CONTROL)) {
laserCounter++;
_root.laser.duplicateMovieClip("laser" + laserCounter, laserCounter);
_root["laser" + laserCounter]._visible = true;
}
if (Key.isDown(Key.RIGHT)) {
if (this._x < scrollx) {
this._x = this._x + moveSpeed;
} else {
scrollStart = true;
}
} else if (Key.isDown(Key.LEFT)) {
this._x = this._x - moveSpeed;
}
if (Key.isDown(Key.DOWN)) {
this._y = this._y + moveSpeed;
} else if (Key.isDown(Key.UP)) {
this._y = this._y - moveSpeed;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == Key.RIGHT) {
scrollStart = false;
}
}
Symbol 11 Button
on (release) {
_root.play();
}
Symbol 12 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
oadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
percentbytes = int(loadedbytes / (totalbytes / 100));
tellTarget (_root.loader) {
gotoAndStop(_root.percentbytes);
};
Symbol 12 MovieClip Frame 2
gotoAndPlay (1);
Symbol 19 Button
on (release) {
gotoAndStop (3);
}