Frame 1
stop();
time = 250;
bonus = 49;
flashBonus == 0;
bonusXPlace == 0;
bonusYPlace == 0;
score = 0;
life = 5;
place = 20;
level = 1;
place = int((math.random() * 300) + 90);
place2 = int((math.random() * 300) + 90);
place3 = int((math.random() * 300) + 90);
place4 = int((math.random() * 300) + 90);
speed1 = int((math.random() * 6) + 1);
speed2 = int((math.random() * 6) + 1);
speed3 = int((math.random() * 6) + 1);
speed4 = int((math.random() * 6) + 1);
Frame 2
_root.timesUp._visible = 0;
Instance of Symbol 20 MovieClip "bonusLife" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 22 MovieClip "bonusTime" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 24 MovieClip "bonusSpeed" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 26 MovieClip "bonusScore" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 41 MovieClip "you" in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.log)) {
this._y = 0;
_root.life = _root.life - 1;
_root.ouch.gotoAndPlay(2);
}
if (this.hitTest(_root.log2)) {
this._y = 0;
_root.life = _root.life - 1;
_root.ouch.gotoAndPlay(2);
}
if (this.hitTest(_root.log3)) {
this._y = 0;
_root.life = _root.life - 1;
_root.ouch.gotoAndPlay(2);
}
if (this.hitTest(_root.log4)) {
this._y = 0;
_root.life = _root.life - 1;
_root.ouch.gotoAndPlay(2);
}
if (this.hitTest(_root.bonusLife)) {
_root.bonusLife._visible = 0;
_root.life = _root.life + 1;
_root.bonusLife._x = -20;
}
if (this.hitTest(_root.bonusScore)) {
_root.score = _root.score + 100;
_root.bonusScore._visible = 0;
_root.bonusScore._x = -20;
}
if (this.hitTest(_root.bonusTime)) {
_root.time = _root.time + 50;
_root.bonusTime._visible = 0;
_root.bonusTime._x = -20;
}
if (Key.isDown(key.LEFT)) {
this._x = this._x - _root.swimspeed;
}
if (Key.isDown(key.RIGHT)) {
this._x = this._x + _root.swimspeed;
}
if (Key.isDown(key.DOWN)) {
this._y = this._y + _root.swimspeed;
}
if (this.hitTest(_root.rock3)) {
this._y = this._y - _root.bounceSpeed;
this._x = this._x - _root.bounceSpeed;
}
if (this.hitTest(_root.rock2)) {
this._y = this._y - _root.bounceSpeed;
this._x = this._x + _root.bounceSpeed;
}
if (this.hitTest(_root.rock1)) {
this._y = this._y - _root.bounceSpeed;
this._x = this._x - _root.bounceSpeed;
}
if (this._x < 18) {
this._x = 18;
}
if (390 < this._x) {
this._x = 390;
}
if (this._y < 25) {
this._y = 25;
}
if (540 < this._y) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 45 MovieClip in Frame 2
onClipEvent (load) {
_root.swimspeed = 3;
}
Instance of Symbol 48 MovieClip in Frame 2
onClipEvent (load) {
_root.bounceSpeed = 5;
}
Instance of Symbol 71 MovieClip "log" in Frame 2
onClipEvent (enterFrame) {
this._y = place;
this._x = this._x - 5;
if (this._x < -40) {
_root.place = int((math.random() * 500) + 60);
_root.speed1 = int((math.random() * 300) + 1);
this._y = _root.place;
this._x = 500;
this._rotation = 0;
}
if (this.hitTest(_root.rock1)) {
this._y++;
this._x = this._x + 6;
this._rotation++;
}
if (this.hitTest(_root.rock2)) {
this._y++;
this._x = this._x + 2;
this._rotation++;
}
if (this.hitTest(_root.rock3)) {
this._y++;
this._x = this._x + 6;
this._rotation = this._rotation + 2;
}
}
Instance of Symbol 72 MovieClip "log2" in Frame 2
onClipEvent (enterFrame) {
this._y = place2;
this._x = this._x - 4;
if (this._x < -50) {
_root.place2 = int((math.random() * 500) + 60);
_root.speed2 = int((math.random() * 300) + 1);
this._y = _root.place2;
this._x = 500;
this._rotation = 0;
}
if (this.hitTest(_root.rock1)) {
this._y++;
this._x = this._x + 6;
}
if (this.hitTest(_root.rock2)) {
this._y++;
this._x = this._x + 2;
this._rotation++;
}
if (this.hitTest(_root.rock3)) {
this._y++;
this._x = this._x + 6;
this._rotation++;
}
}
Instance of Symbol 73 MovieClip "log3" in Frame 2
onClipEvent (enterFrame) {
this._y = place3;
this._x = this._x - 3;
if (this._x < -40) {
_root.place3 = int((math.random() * 500) + 60);
_root.speed3 = int((math.random() * 300) + 1);
this._y = _root.place3;
this._x = 500;
this._rotation = 0;
}
if (this.hitTest(_root.rock1)) {
this._y++;
this._x = this._x + 6;
}
if (this.hitTest(_root.rock2)) {
this._y++;
this._x = this._x + 2;
this._rotation++;
}
if (this.hitTest(_root.rock3)) {
this._y++;
this._x = this._x + 6;
this._rotation++;
}
}
Instance of Symbol 74 MovieClip "log4" in Frame 2
onClipEvent (enterFrame) {
this._y = place4;
this._x = this._x - 2;
if (this._x < -40) {
_root.place4 = int((math.random() * 500) + 60);
_root.speed4 = int((math.random() * 300) + 1);
this._y = _root.place4;
this._x = 500;
this._rotation = 0;
}
if (this.hitTest(_root.rock1)) {
this._y++;
this._x = this._x + 6;
this._rotation++;
}
if (this.hitTest(_root.rock2)) {
this._y++;
this._x = this._x + 2;
this._rotation++;
}
if (this.hitTest(_root.rock3)) {
this._y++;
this._x = this._x + 6;
this._rotation++;
}
}
Instance of Symbol 112 MovieClip "you" in Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.log)) {
this._y = 0;
_root.life = _root.life - 1;
_root.ouch.gotoAndPlay(2);
}
if (this.hitTest(_root.log2)) {
this._y = 0;
_root.life = _root.life - 1;
_root.ouch.gotoAndPlay(2);
}
if (this.hitTest(_root.log3)) {
this._y = 0;
_root.life = _root.life - 1;
_root.ouch.gotoAndPlay(2);
}
if (this.hitTest(_root.log4)) {
this._y = 0;
_root.life = _root.life - 1;
_root.ouch.gotoAndPlay(2);
}
if (Key.isDown(key.LEFT)) {
this._x = this._x - 3;
}
if (Key.isDown(key.RIGHT)) {
this._x = this._x + 3;
}
if (Key.isDown(key.DOWN)) {
this._y = this._y + 2;
}
if (this.hitTest(_root.rock3)) {
this._y = this._y - 2;
this._x = this._x - 2;
}
if (this.hitTest(_root.rock2)) {
this._y = this._y - 2;
this._x = this._x + 2;
}
if (this.hitTest(_root.rock1)) {
this._y = this._y - 2;
this._x = this._x - 2;
}
if (this._x < 18) {
this._x = 18;
}
if (390 < this._x) {
this._x = 390;
}
if (this._y < 25) {
this._y = 25;
}
if (540 < this._y) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 71 MovieClip "log" in Frame 4
onClipEvent (enterFrame) {
this._y = place;
this._x = this._x - 5;
if (this._x < -40) {
_root.place = int((math.random() * 500) + 60);
_root.speed1 = int((math.random() * 300) + 1);
this._y = _root.place;
this._x = 500;
this._rotation = 0;
}
if (this.hitTest(_root.rock1)) {
this._y++;
this._x = this._x + 6;
this._rotation++;
}
if (this.hitTest(_root.rock2)) {
this._y++;
this._x = this._x + 2;
this._rotation++;
}
if (this.hitTest(_root.rock3)) {
this._y++;
this._x = this._x + 6;
this._rotation = this._rotation + 2;
}
}
Instance of Symbol 72 MovieClip "log2" in Frame 4
onClipEvent (enterFrame) {
this._y = place2;
this._x = this._x - 4;
if (this._x < -50) {
_root.place2 = int((math.random() * 500) + 60);
_root.speed2 = int((math.random() * 300) + 1);
this._y = _root.place2;
this._x = 500;
this._rotation = 0;
}
if (this.hitTest(_root.rock1)) {
this._y++;
this._x = this._x + 6;
}
if (this.hitTest(_root.rock2)) {
this._y++;
this._x = this._x + 2;
this._rotation++;
}
if (this.hitTest(_root.rock3)) {
this._y++;
this._x = this._x + 6;
this._rotation++;
}
}
Instance of Symbol 73 MovieClip "log3" in Frame 4
onClipEvent (enterFrame) {
this._y = place3;
this._x = this._x - 3;
if (this._x < -40) {
_root.place3 = int((math.random() * 500) + 60);
_root.speed3 = int((math.random() * 300) + 1);
this._y = _root.place3;
this._x = 500;
this._rotation = 0;
}
if (this.hitTest(_root.rock1)) {
this._y++;
this._x = this._x + 6;
}
if (this.hitTest(_root.rock2)) {
this._y++;
this._x = this._x + 2;
this._rotation++;
}
if (this.hitTest(_root.rock3)) {
this._y++;
this._x = this._x + 6;
this._rotation++;
}
}
Instance of Symbol 74 MovieClip "log4" in Frame 4
onClipEvent (enterFrame) {
this._y = place4;
this._x = this._x - 2;
if (this._x < -40) {
_root.place4 = int((math.random() * 500) + 60);
_root.speed4 = int((math.random() * 300) + 1);
this._y = _root.place4;
this._x = 500;
this._rotation = 0;
}
if (this.hitTest(_root.rock1)) {
this._y++;
this._x = this._x + 6;
this._rotation++;
}
if (this.hitTest(_root.rock2)) {
this._y++;
this._x = this._x + 2;
this._rotation++;
}
if (this.hitTest(_root.rock3)) {
this._y++;
this._x = this._x + 6;
this._rotation++;
}
}
Symbol 3 Button
on (release) {
gotoAndStop (2);
}
Symbol 14 MovieClip Frame 2
_root.you._y = _root.you._y - 1;
_root.you._x = _root.you._x - 1;
_root.time--;
_root.bonusXPlace = int((math.random() * 386) + 12);
_root.bonusYPlace = int((math.random() * 534) + 12);
_root.bonus = int((math.random() * 100) + 1);
if (_root.bonus == 5) {
_root.bonusLife._x = _root.bonusXPlace;
_root.bonusLife._y = _root.bonusYPlace;
_root.bonusLife._visible = 100;
} else if (_root.bonus == 6) {
_root.bonusScore._x = _root.bonusXPlace;
_root.bonusScore._y = _root.bonusYPlace;
_root.bonusScore._visible = 100;
} else if (_root.bonus == 7) {
_root.bonusSpeed._x = _root.bonusXPlace;
_root.bonusSpeed._y = _root.bonusYPlace;
_root.bonusSpeed._visible = 100;
} else if (_root.bonus == 8) {
_root.bonusTime._x = _root.bonusXPlace;
_root.bonusTime._y = _root.bonusYPlace;
_root.bonusTime._visible = 100;
}
if (_root.life < 0) {
_root.life = 0;
_root.gotoAndStop(5);
}
if (_root.time < 1) {
_root.timesUp._visible = 100;
_root.time = 0;
_root.you._y = 0;
}
Symbol 20 MovieClip Frame 5
_root.showBonus++;
if (20 < _root.showBonus) {
_root.showBonus = 0;
_root.bonusLife._visible = 0;
}
Symbol 22 MovieClip Frame 5
_root.showBonus++;
if (20 < _root.showBonus) {
_root.showBonus = 0;
_root.bonusTime._visible = 0;
}
Symbol 24 MovieClip Frame 5
_root.showBonus++;
if (20 < _root.showBonus) {
_root.showBonus = 0;
_root.bonusSpeed._visible = 0;
}
Symbol 26 MovieClip Frame 5
_root.showBonus++;
if (20 < _root.showBonus) {
_root.showBonus = 0;
_root.bonusScore._visible = 0;
}
Symbol 79 Button
on (release) {
getURL ("mailto:info@mindgem.nu,jedimind@hehe.com", "_self");
}
Symbol 80 Button
on (release) {
getURL ("http://www.mindgem.nu", "_self");
}
Symbol 81 Button
on (release) {
getURL ("http://www.mindgem.nu/lumberjoe.zip", "_blank");
}
Symbol 97 Button
on (release) {
_root.time = 250;
_root.timesUp._visible = 0;
}
Symbol 100 Button
on (release) {
_root.time = 250;
_root.life = 5;
_root.score = 0;
_root.level = 0;
_root.timesUp._visible = 0;
_root.gotoAndStop(1);
}
Symbol 104 MovieClip Frame 1
stop();
Symbol 110 Button
on (release) {
gotoAndStop (4);
}
Symbol 120 Button
on (release) {
_root.time = 250;
_root.score = 0;
_root.life = 5;
_root.level = 1;
_root.timesUp._visible = 0;
_root.gotoAndStop(2);
}