Frame 2
stop();
instructions.onRelease = function () {
gotoAndStop (5);
};
play.onRelease = function () {
gotoAndStop (6);
};
abs.onRelease = function () {
getURL ("http://www.albinoblacksheep.com/", "_top");
};
Frame 3
function move() {
maxSpeed = (score / 10) + 5;
movement = maxSpeed / 50;
if (!this.dragging) {
this._x = this._x + this.vx;
this._y = this._y + this.vy;
this.vy = this.vy + grav;
if (this._y == 250) {
this.vx = this.vx + movement;
if (this.vx < 0) {
this.vx = 0;
}
}
if (this.vx >= maxSpeed) {
this.vx = maxSpeed;
}
if (this._x < 370) {
if (this._y > 250) {
this.vy = 0;
this._y = 250;
}
}
if (this._y > 525) {
this._y = 250;
this._x = -55;
this.vy = 0;
this.vx = 0;
life = life - 1;
}
if (this._x < -300) {
this.vx = 0;
this._x = -60;
}
} else {
this.vx = this._x - this.oldx;
this.vy = this._y - this.oldy;
this.oldx = this._x;
this.oldy = this._y;
}
if (life < 1) {
gotoAndStop (4);
}
if (xtraLife > 24) {
life = life + 1;
xtraLife = 0;
}
if (score < 6) {
rank = "Pathetic!";
} else if ((score > 5) && (score < 15)) {
rank = "Maybe you should get lessons.";
} else if ((score > 14) && (score < 25)) {
rank = "Average.";
} else if ((score > 24) && (score < 75)) {
rank = "Nice One!";
} else if ((score > 74) && (score < 100)) {
rank = "Get a life!";
} else if ((score > 99) && (score < 200)) {
rank = "Do you sleep at night.";
} else if (score > 199) {
rank = "Amazing";
}
}
function drift() {
this.vx = 3;
this._x = this._x + this.vx;
if (this._x > 650) {
this._x = -100;
}
}
function doDrag() {
this.startDrag();
this.dragging = true;
if (this._x > 370) {
score = score + 1;
xtraLife = xtraLife + 1;
}
}
function noDrag() {
this.stopDrag();
this.dragging = false;
}
stop();
score = 0;
xtraLife = 0;
life = 5;
grav = 2;
cloud._x = -100;
cloud._y = 100;
cloud.onEnterFrame = drift;
lem0.onEnterFrame = move;
lem0.onPress = doDrag;
lem0.onRelease = noDrag;
lem0.onReleaseOutside = nodrag;
lem0._x = -60;
lem0._y = 250;
lem0.vx = 0;
lem1.onEnterFrame = move;
lem1.onPress = doDrag;
lem1.onRelease = noDrag;
lem1.onReleaseOutside = nodrag;
lem1._x = -120;
lem1._y = 250;
lem1.vx = 0;
lem2.onEnterFrame = move;
lem2.onPress = doDrag;
lem2.onRelease = noDrag;
lem2.onReleaseOutside = nodrag;
lem2._x = -180;
lem2._y = 250;
lem2.vx = 0;
lem3.onEnterFrame = move;
lem3.onPress = doDrag;
lem3.onRelease = noDrag;
lem3.onReleaseOutside = nodrag;
lem3._x = -240;
lem3._y = 250;
lem3.vx = 0;
lem4.onEnterFrame = move;
lem4.onPress = doDrag;
lem4.onRelease = noDrag;
lem4.onReleaseOutside = nodrag;
lem4._x = -300;
lem4._y = 250;
lem4.vx = 0;
Frame 4
stop();
replay.onRelease = function () {
gotoAndStop (3);
};
Frame 5
stop();
go.onRelease = function () {
gotoAndStop (6);
};
Frame 6
stop();
normal.onRelease = function () {
gotoAndStop (3);
};
hard.onRelease = function () {
gotoAndStop (7);
};
laptop.onRelease = function () {
gotoAndStop (8);
};
back.onRelease = function () {
gotoAndStop (2);
};
Frame 7
function move() {
maxSpeed = (score / 7.5) + 7;
movement = maxSpeed / 45;
if (!this.dragging) {
this._x = this._x + this.vx;
this._y = this._y + this.vy;
this.vy = this.vy + grav;
if (this._y == 250) {
this.vx = this.vx + movement;
if (this.vx < 0) {
this.vx = 0;
}
}
if (this.vx >= maxSpeed) {
this.vx = maxSpeed;
}
if (this._x < 370) {
if (this._y > 250) {
this.vy = 0;
this._y = 250;
}
}
if (this._y > 525) {
this._y = 250;
this._x = -55;
this.vy = 0;
this.vx = 0;
life = life - 1;
}
if (this._x < -330) {
this.vx = 0;
this._x = -60;
}
} else {
this.vx = this._x - this.oldx;
this.vy = this._y - this.oldy;
this.oldx = this._x;
this.oldy = this._y;
}
if (life < 1) {
gotoAndStop (4);
}
if (xtraLife > 24) {
life = life + 1;
xtraLife = 0;
}
if (score < 4) {
rank = "Pathetic!";
} else if ((score > 3) && (score < 10)) {
rank = "Maybe you should get lessons.";
} else if ((score > 9) && (score < 15)) {
rank = "Average.";
} else if ((score > 14) && (score < 40)) {
rank = "Nice One!";
} else if ((score > 39) && (score < 50)) {
rank = "Get a life!";
} else if ((score > 50) && (score < 101)) {
rank = "Do you sleep at night.";
} else if (score > 99) {
rank = "Amazing";
}
}
function drift() {
this.vx = 3;
this._x = this._x + this.vx;
if (this._x > 650) {
this._x = -100;
}
}
function doDrag() {
this.startDrag();
this.dragging = true;
if (this._x > 370) {
score = score + 1;
xtraLife = xtraLife + 1;
}
}
function noDrag() {
this.stopDrag();
this.dragging = false;
}
stop();
score = 0;
xtraLife = 0;
life = 4;
grav = 2;
cloud._x = -100;
cloud._y = 100;
cloud.onEnterFrame = drift;
lem0.onEnterFrame = move;
lem0.onPress = doDrag;
lem0.onRelease = noDrag;
lem0.onReleaseOutside = nodrag;
lem0._x = -55;
lem0._y = 250;
lem0.vx = 0;
lem1.onEnterFrame = move;
lem1.onPress = doDrag;
lem1.onRelease = noDrag;
lem1.onReleaseOutside = nodrag;
lem1._x = -110;
lem1._y = 250;
lem1.vx = 0;
lem2.onEnterFrame = move;
lem2.onPress = doDrag;
lem2.onRelease = noDrag;
lem2.onReleaseOutside = nodrag;
lem2._x = -165;
lem2._y = 250;
lem2.vx = 0;
lem3.onEnterFrame = move;
lem3.onPress = doDrag;
lem3.onRelease = noDrag;
lem3.onReleaseOutside = nodrag;
lem3._x = -220;
lem3._y = 250;
lem3.vx = 0;
lem4.onEnterFrame = move;
lem4.onPress = doDrag;
lem4.onRelease = noDrag;
lem4.onReleaseOutside = nodrag;
lem4._x = -275;
lem4._y = 250;
lem4.vx = 0;
lem5.onEnterFrame = move;
lem5.onPress = doDrag;
lem5.onRelease = noDrag;
lem5.onReleaseOutside = nodrag;
lem5._x = -330;
lem5._y = 250;
lem5.vx = 0;
Frame 8
function move() {
maxSpeed = (score / 25) + 2;
movement = maxSpeed / 65;
if (!this.dragging) {
this._x = this._x + this.vx;
this._y = this._y + this.vy;
this.vy = this.vy + grav;
if (this._y == 250) {
this.vx = this.vx + movement;
if (this.vx < 0) {
this.vx = 0;
}
}
if (this.vx >= maxSpeed) {
this.vx = maxSpeed;
}
if (this._x < 370) {
if (this._y > 250) {
this.vy = 0;
this._y = 250;
}
}
if (this._y > 525) {
this._y = 250;
this._x = -55;
this.vy = 0;
this.vx = 0;
life = life - 1;
}
if (this._x < -260) {
this.vx = 0;
this._x = -60;
}
} else {
this.vx = this._x - this.oldx;
this.vy = this._y - this.oldy;
this.oldx = this._x;
this.oldy = this._y;
}
if (life < 1) {
gotoAndStop (4);
}
if (xtraLife > 10) {
life = life + 1;
xtraLife = 0;
}
if (score < 6) {
rank = "Pathetic!";
} else if ((score > 5) && (score < 15)) {
rank = "Maybe you should get lessons.";
} else if ((score > 14) && (score < 25)) {
rank = "Average.";
} else if ((score > 24) && (score < 75)) {
rank = "Nice One!";
} else if ((score > 74) && (score < 100)) {
rank = "Get a life!";
} else if ((score > 99) && (score < 200)) {
rank = "Do you sleep at night.";
} else if (score > 199) {
rank = "Amazing";
}
}
function drift() {
this.vx = 3;
this._x = this._x + this.vx;
if (this._x > 650) {
this._x = -100;
}
}
function doDrag() {
this.startDrag();
this.dragging = true;
if (this._x > 370) {
score = score + 1;
xtraLife = xtraLife + 1;
}
}
function noDrag() {
this.stopDrag();
this.dragging = false;
}
stop();
score = 0;
xtraLife = 0;
life = 10;
grav = 2;
cloud._x = -100;
cloud._y = 100;
cloud.onEnterFrame = drift;
lem0.onEnterFrame = move;
lem0.onPress = doDrag;
lem0.onRelease = noDrag;
lem0.onReleaseOutside = nodrag;
lem0._x = -65;
lem0._y = 250;
lem0.vx = 0;
lem1.onEnterFrame = move;
lem1.onPress = doDrag;
lem1.onRelease = noDrag;
lem1.onReleaseOutside = nodrag;
lem1._x = -130;
lem1._y = 250;
lem1.vx = 0;
lem2.onEnterFrame = move;
lem2.onPress = doDrag;
lem2.onRelease = noDrag;
lem2.onReleaseOutside = nodrag;
lem2._x = -195;
lem2._y = 250;
lem2.vx = 0;
lem3.onEnterFrame = move;
lem3.onPress = doDrag;
lem3.onRelease = noDrag;
lem3.onReleaseOutside = nodrag;
lem3._x = -260;
lem3._y = 250;
lem3.vx = 0;
Symbol 5 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(loading_bar, _xscale , PercentLoaded);
} else {
_root.play();
}
Symbol 5 MovieClip Frame 2
gotoAndPlay (1);