Frame 1
stop();
Instance of Symbol 9 MovieClip "hero" in Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 11 MovieClip in Frame 1
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Instance of Symbol 20 MovieClip in Frame 1
onClipEvent (enterFrame) {
text = ((int(_parent.getBytesLoaded() / 1000) add " KBYTES OF ") add int(_parent.getBytesTotal() / 1000)) add " LOADED ...";
if (_parent.getBytesTotal() == _parent.getBytesLoaded()) {
this._visible = 0;
_root.startButton._x = 40;
}
}
Frame 2
function goTime() {
timer--;
if (timer < 1) {
clearInterval(timerID);
}
}
timer = 10000;
timerID = setInterval(goTime, 10);
stop();
Instance of Symbol 9 MovieClip "hero" in Frame 2
onClipEvent (load) {
function move(x, y) {
var _local1 = _root;
var _local2 = y;
var _local3 = x;
h = 0;
if (!_local1.map.hitTest((_x + _local3) + b.xmin, (_y + _local2) + b.ymin, true)) {
if (!_local1.map.hitTest((_x + _local3) + b.xmax, (_y + _local2) + b.ymin, true)) {
if (!_local1.map.hitTest((_x + _local3) + b.xmin, (_y + _local2) + b.ymax, true)) {
if (!_local1.map.hitTest((_x + _local3) + b.xmax, (_y + _local2) + b.ymax, true)) {
_local1.map._x = _local1.map._x - _local3;
_local1.map._y = _local1.map._y - _local2;
h = 1;
}
}
}
}
return(h);
}
jump = 0;
scream = 0;
s = 6;
this.gotoAndStop(1);
b = this.getBounds(this);
}
onClipEvent (enterFrame) {
falling = move(0, s);
if ((Key.isDown(32) && (!falling)) && (!jump)) {
jump = 1;
vel = -10;
_root.jumpSound.gotoAndPlay(2);
} else if (Key.isDown(37)) {
move(-s, 0);
this.play();
} else if (Key.isDown(39)) {
move(s, 0);
this.play();
}
if (jump) {
if (vel <= 10) {
h = move(0, vel - s);
if ((h == false) && (vel < 0)) {
vel = vel * -1;
}
vel++;
} else {
jump = 0;
}
}
if ((_root.map._y < -450) && (!scream)) {
scream = 1;
_root.fallSound.gotoAndPlay(2);
}
if (_root.map._y < -850) {
_root.map._x = 0;
_root.map._y = 0;
scream = 0;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
clearInterval(timerID);
stopAllSounds();
stop();
Instance of Symbol 9 MovieClip "hero" in Frame 8
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 4 MovieClip Frame 1
_parent.dp++;
_name = ("star" + _parent.dp);
nm = "??????" + _parent.dp;
_alpha = (random(70) + 50);
Symbol 5 MovieClip Frame 1
ck++;
if (ck > (5 + rr)) {
ck = 0;
rr = random(20);
r = random(10) + 1;
this["star" + r]._alpha = random(70) + 50;
}
Symbol 5 MovieClip Frame 2
gotoAndPlay (1);
Symbol 17 Button
on (press) {
nextFrame();
}
Instance of Symbol 25 MovieClip in Symbol 26 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.levelSound.gotoAndPlay(2);
_root.nextFrame();
}
}
Symbol 28 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 32 MovieClip Frame 1
stop();
Instance of Symbol 25 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.levelSound.gotoAndPlay(2);
_root.nextFrame();
}
}
Instance of Symbol 11 MovieClip in Symbol 38 MovieClip Frame 1
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Instance of Symbol 11 MovieClip in Symbol 38 MovieClip Frame 1
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Instance of Symbol 25 MovieClip in Symbol 38 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.levelSound.gotoAndPlay(2);
_root.nextFrame();
}
}
Instance of Symbol 25 MovieClip in Symbol 44 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.levelSound.gotoAndPlay(2);
_root.nextFrame();
}
}
Instance of Symbol 43 MovieClip in Symbol 44 MovieClip Frame 1
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip Frame 1
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip Frame 1
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip Frame 1
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Instance of Symbol 25 MovieClip in Symbol 48 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.levelSound.gotoAndPlay(2);
_root.nextFrame();
}
}
Instance of Symbol 11 MovieClip in Symbol 50 MovieClip Frame 1
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Instance of Symbol 11 MovieClip in Symbol 50 MovieClip Frame 1
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Instance of Symbol 25 MovieClip in Symbol 50 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.levelSound.gotoAndPlay(2);
_root.nextFrame();
}
}
Instance of Symbol 47 MovieClip in Symbol 50 MovieClip Frame 1
onClipEvent (load) {
n = 1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Symbol 56 Button
on (press) {
gotoAndStop (1);
}