Frame 2
myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded / myTotal;
myBar._width = myPercent * 150;
myText = Math.round(myPercent * 100) + "%";
if (myLoaded == myTotal) {
gotoAndStop (3);
} else {
gotoAndPlay (1);
}
Frame 3
stop();
_root.score = 0;
var timing = false;
var paused = false;
var remaining;
var elapsedTime;
var elapsedHours;
var elapsedM;
var elapsedS;
var elapsedH;
var startTime;
var remaining;
var hours;
var minutes;
var seconds;
var hundredths;
_root.play_btn.onPress = function () {
if (!_root.timing) {
if (_root.paused) {
_root.startTime = getTimer() - _root.elapsedTime;
} else {
_root.startTime = getTimer();
}
_root.paused = false;
_root.timing = true;
}
};
_root.onEnterFrame = function () {
if (timing) {
elapsedTime = getTimer() - startTime;
elapsedHours = Math.floor(elapsedTime / 3600000);
remaining = elapsedTime - (elapsedHours * 3600000);
elapsedM = Math.floor(remaining / 60000);
remaining = remaining - (elapsedM * 60000);
elapsedS = Math.floor(remaining / 1000);
remaining = remaining - (elapsedS * 1000);
elapsedH = Math.floor(remaining / 10);
if (elapsedHours < 10) {
hours = "0" + elapsedHours.toString();
} else {
hours = elapsedHours.toString();
}
if (elapsedM < 10) {
minutes = "0" + elapsedM.toString();
} else {
minutes = elapsedM.toString();
}
if (elapsedS < 10) {
seconds = "0" + elapsedS.toString();
} else {
seconds = elapsedS.toString();
}
if (elapsedH < 10) {
hundredths = "0" + elapsedH.toString();
} else {
hundredths = elapsedH.toString();
}
_root.timer_txt = (((((hours + ":") + minutes) + ":") + seconds) + ":") + hundredths;
}
};
Frame 4
beam.onEnterFrame = function () {
beam._x = sun._x + 50;
beam._y = sun._y + 50;
};
rain.onEnterFrame = function () {
rain._x = sun._x + 30;
rain._y = sun._y + 90;
};
Instance of Symbol 34 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.nextFrame();
}
if (Key.isDown(38)) {
this.prevFrame();
}
}
Instance of Symbol 39 MovieClip "sun" in Frame 4
onClipEvent (load) {
power = 0.9;
yspeed = 0;
xspeed = 0;
friction = 0.7;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
_y = (_y + yspeed);
_x = (_x + xspeed);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.leftwall)) {
_x = (_x + 10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.upwall)) {
_y = (_y + 10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.downwall)) {
_y = (_y - 10);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.rightwall)) {
_x = (_x - 10);
}
}
Instance of Symbol 93 MovieClip "beam" in Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_rotation = (_rotation + 3);
}
if (Key.isDown(39)) {
_rotation = (_rotation - 3);
}
}
Frame 5
stop();
if (_root.timing) {
_root.timing = false;
}
Symbol 23 Button
on (release) {
gotoAndStop (4);
}
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 2
stop();
Symbol 34 MovieClip Frame 3
stop();
Symbol 34 MovieClip Frame 4
stop();
Symbol 34 MovieClip Frame 5
stop();
Symbol 34 MovieClip Frame 6
stop();
Symbol 34 MovieClip Frame 7
stop();
Symbol 34 MovieClip Frame 8
stop();
Symbol 34 MovieClip Frame 9
stop();
Symbol 34 MovieClip Frame 10
stop();
Symbol 34 MovieClip Frame 11
stop();
Symbol 34 MovieClip Frame 12
stop();
Symbol 34 MovieClip Frame 13
stop();
Symbol 34 MovieClip Frame 60
stop();
Symbol 34 MovieClip Frame 95
stop();
Symbol 34 MovieClip Frame 96
stop();
_root.dark.gotoAndStop(1);
Symbol 34 MovieClip Frame 97
stop();
_root.dark.gotoAndStop(2);
Symbol 34 MovieClip Frame 98
stop();
_root.dark.gotoAndStop(3);
Symbol 34 MovieClip Frame 99
stop();
_root.dark.gotoAndStop(4);
Symbol 34 MovieClip Frame 100
stop();
_root.dark.gotoAndStop(5);
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
stop();
Symbol 35 MovieClip Frame 3
stop();
Symbol 35 MovieClip Frame 4
stop();
Symbol 35 MovieClip Frame 5
stop();
Symbol 35 MovieClip Frame 6
stop();
Symbol 35 MovieClip Frame 7
stop();
Symbol 35 MovieClip Frame 8
stop();
Symbol 35 MovieClip Frame 9
stop();
Symbol 35 MovieClip Frame 10
stop();
Symbol 35 MovieClip Frame 11
stop();
Symbol 35 MovieClip Frame 12
stop();
Symbol 35 MovieClip Frame 13
stop();
Symbol 35 MovieClip Frame 14
stop();
Symbol 35 MovieClip Frame 15
stop();
Symbol 35 MovieClip Frame 16
stop();
Symbol 35 MovieClip Frame 17
stop();
Symbol 35 MovieClip Frame 18
stop();
Symbol 35 MovieClip Frame 19
stop();
Symbol 35 MovieClip Frame 20
stop();
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
stop();
Symbol 38 MovieClip Frame 16
stop();
_root.beam.gotoAndStop(1);
this._parent.gotoAndStop(1);
Symbol 39 MovieClip Frame 1
stop();
Instance of Symbol 35 MovieClip "sunface" in Symbol 39 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.nextFrame();
}
if (Key.isDown(39)) {
this.prevFrame();
}
}
Instance of Symbol 13 MovieClip in Symbol 39 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_rotation = (_rotation - 7);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 7);
}
}
Symbol 39 MovieClip Frame 2
stop();
_root.grey.gotoAndPlay(2);
Instance of Symbol 37 MovieClip "cloud" in Symbol 40 MovieClip Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.sun.sunface)) {
_root.sun.gotoAndStop(2);
_root.beam.gotoAndStop(2);
_root.rain.gotoAndStop(2);
}
}
Instance of Symbol 37 MovieClip "cloud" in Symbol 40 MovieClip Frame 281
onClipEvent (enterFrame) {
if (this.hitTest(_root.sun.sunface)) {
_root.sun.gotoAndStop(2);
_root.beam.gotoAndStop(2);
_root.rain.gotoAndStop(2);
}
}
Instance of Symbol 37 MovieClip "cloud" in Symbol 40 MovieClip Frame 437
onClipEvent (enterFrame) {
if (this.hitTest(_root.sun.sunface)) {
_root.sun.gotoAndStop(2);
_root.beam.gotoAndStop(2);
_root.rain.gotoAndStop(2);
}
}
Instance of Symbol 37 MovieClip "cloud" in Symbol 40 MovieClip Frame 651
onClipEvent (enterFrame) {
if (this.hitTest(_root.sun.sunface)) {
_root.sun.gotoAndStop(2);
_root.beam.gotoAndStop(2);
_root.rain.gotoAndStop(2);
}
}
Instance of Symbol 37 MovieClip "cloud" in Symbol 40 MovieClip Frame 880
onClipEvent (enterFrame) {
if (this.hitTest(_root.sun.sunface)) {
_root.sun.gotoAndStop(2);
_root.beam.gotoAndStop(2);
_root.rain.gotoAndStop(2);
}
}
Instance of Symbol 37 MovieClip "cloud" in Symbol 40 MovieClip Frame 1064
onClipEvent (enterFrame) {
if (this.hitTest(_root.sun.sunface)) {
_root.sun.gotoAndStop(2);
_root.beam.gotoAndStop(2);
_root.rain.gotoAndStop(2);
}
}
Symbol 57 MovieClip Frame 65
stop();
this._parent._parent.gotoAndPlay(1);
this._parent.gotoAndStop(1);
Symbol 59 MovieClip Frame 8
stop();
Symbol 60 MovieClip Frame 1
stop();
Instance of Symbol 42 MovieClip in Symbol 60 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.rain)) {
this._parent.gotoAndStop(28);
_root.enemies.enemy1.blueman.run.gotoAndStop(2);
}
}
Symbol 60 MovieClip Frame 2
stop();
Symbol 60 MovieClip Frame 3
stop();
Symbol 60 MovieClip Frame 4
stop();
Symbol 60 MovieClip Frame 5
stop();
Symbol 60 MovieClip Frame 6
stop();
Symbol 60 MovieClip Frame 7
stop();
Symbol 60 MovieClip Frame 8
stop();
Symbol 60 MovieClip Frame 9
stop();
Symbol 60 MovieClip Frame 10
stop();
Symbol 60 MovieClip Frame 11
stop();
Symbol 60 MovieClip Frame 12
stop();
Symbol 60 MovieClip Frame 13
stop();
Symbol 60 MovieClip Frame 14
stop();
Symbol 60 MovieClip Frame 15
stop();
Symbol 60 MovieClip Frame 16
stop();
Symbol 60 MovieClip Frame 17
stop();
Symbol 60 MovieClip Frame 18
stop();
Symbol 60 MovieClip Frame 19
stop();
Symbol 60 MovieClip Frame 20
stop();
Symbol 60 MovieClip Frame 21
stop();
Symbol 60 MovieClip Frame 22
stop();
Symbol 60 MovieClip Frame 23
stop();
Symbol 60 MovieClip Frame 24
stop();
Symbol 60 MovieClip Frame 25
stop();
Symbol 60 MovieClip Frame 26
stop();
Symbol 60 MovieClip Frame 27
stop();
Symbol 60 MovieClip Frame 28
stop();
_root.meter.prevFrame();
_root.score = _root.score + 10;
Instance of Symbol 60 MovieClip "blueman" in Symbol 61 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.beam.beamhit)) {
this.nextFrame();
}
}
Symbol 61 MovieClip Frame 2
_root.meter.nextFrame();
Instance of Symbol 60 MovieClip in Symbol 61 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.beam.beamhit)) {
this.nextFrame();
}
}
Symbol 61 MovieClip Frame 97
gotoAndPlay (12);
Symbol 67 MovieClip Frame 65
stop();
this._parent._parent.gotoAndPlay(1);
this._parent.gotoAndStop(1);
Symbol 69 MovieClip Frame 8
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
stop();
Symbol 70 MovieClip Frame 3
stop();
Symbol 70 MovieClip Frame 4
stop();
Symbol 70 MovieClip Frame 5
stop();
Symbol 70 MovieClip Frame 6
stop();
Symbol 70 MovieClip Frame 7
stop();
Symbol 70 MovieClip Frame 8
stop();
Symbol 70 MovieClip Frame 9
stop();
Symbol 70 MovieClip Frame 10
stop();
Symbol 70 MovieClip Frame 11
stop();
Symbol 70 MovieClip Frame 12
stop();
Symbol 70 MovieClip Frame 13
stop();
Symbol 70 MovieClip Frame 14
stop();
Symbol 70 MovieClip Frame 15
stop();
Symbol 70 MovieClip Frame 16
stop();
Symbol 70 MovieClip Frame 17
stop();
Symbol 70 MovieClip Frame 18
stop();
Symbol 70 MovieClip Frame 19
stop();
Symbol 70 MovieClip Frame 20
stop();
Symbol 70 MovieClip Frame 21
stop();
Symbol 70 MovieClip Frame 22
stop();
Symbol 70 MovieClip Frame 23
stop();
Symbol 70 MovieClip Frame 24
stop();
Symbol 70 MovieClip Frame 25
stop();
Symbol 70 MovieClip Frame 26
stop();
Symbol 70 MovieClip Frame 27
stop();
Symbol 70 MovieClip Frame 28
stop();
_root.meter.prevFrame();
_root.score = _root.score + 5;
Instance of Symbol 70 MovieClip in Symbol 71 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.beam.beamhit)) {
this.nextFrame();
}
}
Symbol 71 MovieClip Frame 3
_root.meter.nextFrame();
Symbol 71 MovieClip Frame 23
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
stop();
Symbol 75 MovieClip Frame 3
stop();
Symbol 75 MovieClip Frame 4
stop();
Symbol 75 MovieClip Frame 5
stop();
Symbol 75 MovieClip Frame 6
stop();
Symbol 75 MovieClip Frame 7
stop();
Symbol 75 MovieClip Frame 8
stop();
Symbol 75 MovieClip Frame 9
stop();
Symbol 75 MovieClip Frame 10
stop();
Symbol 75 MovieClip Frame 11
stop();
Symbol 75 MovieClip Frame 12
stop();
Symbol 75 MovieClip Frame 13
stop();
Symbol 75 MovieClip Frame 14
stop();
Symbol 75 MovieClip Frame 15
stop();
Symbol 75 MovieClip Frame 16
stop();
Symbol 75 MovieClip Frame 17
stop();
Symbol 75 MovieClip Frame 18
stop();
Symbol 75 MovieClip Frame 19
stop();
Symbol 75 MovieClip Frame 20
stop();
Symbol 75 MovieClip Frame 21
stop();
Symbol 75 MovieClip Frame 22
stop();
Symbol 75 MovieClip Frame 23
stop();
Symbol 75 MovieClip Frame 24
stop();
Symbol 75 MovieClip Frame 25
stop();
Symbol 75 MovieClip Frame 26
stop();
Symbol 75 MovieClip Frame 27
stop();
Symbol 75 MovieClip Frame 28
stop();
_root.meter.prevFrame();
_root.score = _root.score + 5;
Instance of Symbol 75 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.beam.beamhit)) {
this.nextFrame();
}
}
Symbol 76 MovieClip Frame 2
_root.meter.nextFrame();
Symbol 76 MovieClip Frame 23
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
stop();
Symbol 81 MovieClip Frame 3
stop();
Symbol 81 MovieClip Frame 4
stop();
Symbol 81 MovieClip Frame 5
stop();
Symbol 81 MovieClip Frame 6
stop();
Symbol 81 MovieClip Frame 7
stop();
Symbol 81 MovieClip Frame 8
stop();
Symbol 81 MovieClip Frame 9
stop();
Symbol 81 MovieClip Frame 10
stop();
Symbol 81 MovieClip Frame 11
stop();
Symbol 81 MovieClip Frame 12
stop();
Symbol 81 MovieClip Frame 13
stop();
Symbol 81 MovieClip Frame 14
stop();
Symbol 81 MovieClip Frame 15
stop();
Symbol 81 MovieClip Frame 16
stop();
Symbol 81 MovieClip Frame 17
stop();
Symbol 81 MovieClip Frame 18
stop();
Symbol 81 MovieClip Frame 19
stop();
Symbol 81 MovieClip Frame 20
stop();
Symbol 81 MovieClip Frame 21
stop();
Symbol 81 MovieClip Frame 22
stop();
Symbol 81 MovieClip Frame 23
stop();
Symbol 81 MovieClip Frame 24
stop();
Symbol 81 MovieClip Frame 25
stop();
Symbol 81 MovieClip Frame 26
stop();
Symbol 81 MovieClip Frame 27
stop();
Symbol 81 MovieClip Frame 28
stop();
_root.meter.prevFrame();
_root.score = _root.score + 10;
Instance of Symbol 81 MovieClip in Symbol 82 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.beam.beamhit)) {
this.nextFrame();
}
}
Symbol 82 MovieClip Frame 3
_root.meter.nextFrame();
Symbol 82 MovieClip Frame 100
gotoAndPlay (15);
Symbol 88 MovieClip Frame 8
stop();
Symbol 89 MovieClip Frame 1
stop();
Instance of Symbol 42 MovieClip in Symbol 89 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.rain)) {
this._parent.gotoAndStop(28);
_root.enemies.enemy1.blueman.run.gotoAndStop(2);
}
}
Symbol 89 MovieClip Frame 2
stop();
Symbol 89 MovieClip Frame 3
stop();
Symbol 89 MovieClip Frame 4
stop();
Symbol 89 MovieClip Frame 5
stop();
Symbol 89 MovieClip Frame 6
stop();
Symbol 89 MovieClip Frame 7
stop();
Symbol 89 MovieClip Frame 8
stop();
Symbol 89 MovieClip Frame 9
stop();
Symbol 89 MovieClip Frame 10
stop();
Symbol 89 MovieClip Frame 11
stop();
Symbol 89 MovieClip Frame 12
stop();
Symbol 89 MovieClip Frame 13
stop();
Symbol 89 MovieClip Frame 14
stop();
Symbol 89 MovieClip Frame 15
stop();
Symbol 89 MovieClip Frame 16
stop();
Symbol 89 MovieClip Frame 17
stop();
Symbol 89 MovieClip Frame 18
stop();
Symbol 89 MovieClip Frame 19
stop();
Symbol 89 MovieClip Frame 20
stop();
Symbol 89 MovieClip Frame 21
stop();
Symbol 89 MovieClip Frame 22
stop();
Symbol 89 MovieClip Frame 23
stop();
Symbol 89 MovieClip Frame 24
stop();
Symbol 89 MovieClip Frame 25
stop();
Symbol 89 MovieClip Frame 26
stop();
Symbol 89 MovieClip Frame 27
stop();
Symbol 89 MovieClip Frame 28
stop();
_root.meter.prevFrame();
_root.score = _root.score + 15;
Instance of Symbol 89 MovieClip in Symbol 90 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.beam.beamhit)) {
this.nextFrame();
}
}
Symbol 90 MovieClip Frame 6
_root.meter.nextFrame();
Symbol 90 MovieClip Frame 60
gotoAndPlay (20);
Symbol 91 MovieClip Frame 460
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 2
stop();
Symbol 97 MovieClip Frame 125
_root.sun.gotoAndStop(1);
_root.beam.gotoAndStop(1);
this._parent.gotoAndStop(1);
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
stop();
Symbol 98 MovieClip Frame 3
stop();
Symbol 99 MovieClip Frame 1
stop();
Instance of Symbol 42 MovieClip in Symbol 99 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.sun)) {
_root.beam.gotoAndStop(2);
this._parent.gotoAndStop(2);
}
}
Symbol 99 MovieClip Frame 2
stop();
Instance of Symbol 42 MovieClip in Symbol 99 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.sun)) {
_root.beam.gotoAndStop(1);
this._parent.gotoAndStop(1);
}
}
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 2
stop();
Symbol 102 MovieClip Frame 3
stop();
Symbol 102 MovieClip Frame 4
stop();
Symbol 102 MovieClip Frame 5
stop();
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 25
gotoAndStop (1);
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 2
stop();
Symbol 111 MovieClip Frame 3
stop();
Symbol 111 MovieClip Frame 4
stop();
Symbol 111 MovieClip Frame 5
stop();
Symbol 111 MovieClip Frame 6
stop();
Symbol 111 MovieClip Frame 7
stop();
Symbol 111 MovieClip Frame 8
stop();
Symbol 111 MovieClip Frame 9
stop();
Symbol 111 MovieClip Frame 10
stop();
Symbol 111 MovieClip Frame 11
stop();
Symbol 111 MovieClip Frame 12
stop();
Symbol 111 MovieClip Frame 13
stop();
Symbol 111 MovieClip Frame 14
stop();
Symbol 111 MovieClip Frame 15
stop();
Symbol 111 MovieClip Frame 16
stop();
Symbol 111 MovieClip Frame 17
stop();
Symbol 111 MovieClip Frame 18
stop();
Symbol 111 MovieClip Frame 19
stop();
Symbol 111 MovieClip Frame 20
stop();
Symbol 111 MovieClip Frame 21
stop();
Symbol 111 MovieClip Frame 22
stop();
Symbol 111 MovieClip Frame 23
stop();
Symbol 111 MovieClip Frame 24
stop();
Symbol 111 MovieClip Frame 25
stop();
Symbol 111 MovieClip Frame 26
stop();
Symbol 111 MovieClip Frame 27
stop();
Symbol 111 MovieClip Frame 28
stop();
_root.gotoAndStop(5);
Symbol 116 Button
on (release) {
gotoAndStop (3);
}