Instance of Symbol 70 MovieClip "Start" in Frame 1
onClipEvent (enterFrame) {
if (_root.Start.life == 0) {
gotoAndStop (1);
}
}
Symbol 10 Button
on (release, keyPress "<Space>") {
tellTarget ("_root.Start") {
gotoAndStop (2);
};
}
Symbol 11 MovieClip Frame 1
stop();
Symbol 13 Button
on (release) {
getURL ("mailto:dannycsaky@yahoo.com");
}
Instance of Symbol 17 MovieClip in Symbol 18 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.Start.game.nub.man.hitzone)) {
_root.Start.game.nub.man.ground = true;
}
}
Symbol 19 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 41
stop();
Instance of Symbol 19 MovieClip in Symbol 20 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Start.game.reset == true) {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.Start.game.nub.man.hitzone)) {
_root.Start.game.nub.man.ground = true;
play();
}
}
Symbol 26 MovieClip Frame 41
stop();
Symbol 30 MovieClip Frame 1
stop();
Instance of Symbol 29 MovieClip in Symbol 30 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.Start.game.nub.man)) {
_root.Start.star = "0";
setProperty("_root.Start.game.nub.man", _x , 0);
setProperty("_root.Start.game.nub.man", _y , 0);
_root.Start.level = _root.Start.level + 1;
_root.Start.game.nub.man.ground = true;
tellTarget ("_root.Start.game") {
nextFrame();
_root.Start.game.reset = true;
};
}
}
Instance of Symbol 30 MovieClip "finish" in Symbol 31 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Start.game.reset == true) {
gotoAndStop (1);
}
}
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 6
_root.Start.game.reset = true;
setProperty("_root.Start.game.nub.man", _x , "0");
setProperty("_root.Start.game.nub.man", _y , "0");
_root.Start.game.nub.man.ground = true;
_root.Start.life = _root.Start.life - 1;
_root.Start.star = 0;
_root.Start.game.reset = true;
gotoAndStop (1);
Instance of Symbol 35 MovieClip "man" in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
speed = 5;
_global.ground = true;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
xspeed = 0;
yspeed = 0;
if (Key.isDown(39)) {
xspeed = speed;
_rotation = 90;
tellTarget ("_root.Start.pop") {
play();
};
}
if (Key.isDown(37)) {
xspeed = -speed;
_rotation = 270;
tellTarget ("_root.Start.pop") {
play();
};
}
if (Key.isDown(38)) {
yspeed = -speed;
_rotation = 0;
tellTarget ("_root.Start.pop") {
play();
};
}
if (Key.isDown(40)) {
_rotation = 180;
yspeed = speed;
tellTarget ("_root.Start.pop") {
play();
};
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
if (Key.isDown(37)) {
_rotation = 330;
}
}
if (Key.isDown(40)) {
if (Key.isDown(37)) {
_rotation = 225;
}
}
if (Key.isDown(38)) {
if (Key.isDown(39)) {
_rotation = 45;
}
}
if (Key.isDown(40)) {
if (Key.isDown(39)) {
_rotation = 120;
}
}
}
onClipEvent (enterFrame) {
if (ground == false) {
nextFrame();
}
if (ground == true) {
ground = false;
}
}
Symbol 39 MovieClip Frame 1
stop();
Instance of Symbol 39 MovieClip in Symbol 40 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Start.game.reset == true) {
gotoAndStop (1);
}
if (this.hitTest(_root.Start.game.nub.man.hitzone)) {
nextFrame();
tellTarget ("_root.Start.startoscore") {
play();
};
}
}
Symbol 42 Button
on (keyPress "<Space>") {
gotoAndStop (2);
}
Symbol 45 MovieClip Frame 1
stop();
_root.Start.game.nub.man.speed = 0;
_root.Start.game.reset = false;
Symbol 45 MovieClip Frame 2
_root.Start.game.nub.man.speed = 5;
_root.Start.game.reset = false;
Instance of Symbol 45 MovieClip in Symbol 46 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Start.game.reset == true) {
gotoAndStop (1);
}
}
Instance of Symbol 18 MovieClip in Symbol 47 MovieClip Frame 1
onClipEvent (load) {
timer = 70;
speed = 3;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
timer = timer - 1;
if (timer > 35) {
xspeed = -speed;
if (this.hitTest(_root.Start.game.nub.man)) {
_root.Start.game.nub.man.xspeed = _root.Start.game.nub.man.xspeed - 3;
}
}
if (timer < 35) {
xspeed = speed;
if (this.hitTest(_root.Start.game.nub.man)) {
_root.Start.game.nub.man.xspeed = _root.Start.game.nub.man.xspeed + 3;
}
}
if (timer == 0) {
timer = 70;
if (this.hitTest(_root.Start.game.nub.man)) {
_root.Start.game.nub.man.xspeed = _root.Start.game.nub.man.xspeed - 3;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.Start.game.nub.man.hitzone)) {
_root.Start.game.nub.man.ground = true;
}
}
Symbol 48 MovieClip Frame 1
stop();
_root.Start.life = Number(4);
_root.Start.starmax = 5;
_root.Start.level = Number(1);
Symbol 48 MovieClip Frame 2
stop();
_root.Start.starmax = 7;
Symbol 48 MovieClip Frame 3
stop();
_root.Start.starmax = 6;
Symbol 48 MovieClip Frame 11
tellTarget ("_root.Start") {
gotoAndStop (3);
};
Symbol 53 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 7
_root.Start.star = Number(_root.Start.star + 1);
_root.Start.score = Number(_root.Start.score + 50);
Symbol 68 Button
on (release) {
tellTarget ("_root.Start") {
gotoAndStop (2);
};
}
Symbol 70 MovieClip Frame 1
stopAllSounds();
stop();
Instance of Symbol 11 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) {
ifFrameLoaded (2) {
gotoAndStop (2);
}
}
Instance of Symbol 48 MovieClip "game" in Symbol 70 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Start.star == _root.Start.starmax) {
tellTarget ("_root.Start.game.finishportal.finish") {
gotoAndStop (2);
};
}
}