Frame 1
stopAllSounds();
sSound = new Sound();
sSound.attachSound("intro");
sSound.start(0, 99);
function doSomething() {
}
function doSomething2() {
getURL ("http://www.albinoblacksheep.com", _blank);
}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Save the sheep", doSomething);
Functioned2 = new ContextMenuItem(" ---Visit ABS---", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
firesheep = "false";
stop();
onEnterFrame = function () {
loadbar._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
play();
delete onEnterFrame;
}
};
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
yspeed = 7;
blspeed = 4;
pspeed = 6;
rspeed = 8;
bspeed = 8;
bbspeed = 5;
speed = 8;
army = 100;
army2 = 0;
score = 0;
stop();
onEnterFrame = function () {
onMouseUp = function () {
sheep.gotoAndStop(4);
};
score = score + 2;
scoretext.text = Math.round(_root.score);
armytext.text = army2 + "%";
if (sheep._currentframe < 5) {
if (deathsheep.hitTest(_root.sheep)) {
nextFrame();
}
if (sheep._currentframe < 4) {
if (_xmouse >= (sheep._x + 20)) {
sheep.gotoAndStop(2);
sheep._x = sheep._x + speed;
}
if (_xmouse <= (sheep._x - 20)) {
sheep.gotoAndStop(3);
sheep._x = sheep._x - speed;
}
if ((_xmouse < (sheep._x + 20)) && (_xmouse > (sheep._x - 19))) {
sheep.gotoAndStop(1);
}
}
}
if (firesheep == "true") {
if (_xmouse >= sheep._x) {
sheep.gotoAndStop(5);
} else if (_xmouse <= sheep._x) {
sheep.gotoAndStop(6);
}
}
if ((score >= 0) && (score <= 1999)) {
yspeed = 7;
blspeed = 4;
pspeed = 6;
rspeed = 8;
bspeed = 8;
bbspeed = 5;
} else if ((score >= 2000) && (score <= 3999)) {
yspeed = 9;
blspeed = 6;
pspeed = 8;
rspeed = 10;
bspeed = 10;
bbspeed = 8;
} else if ((score >= 4000) && (score <= 4999)) {
yspeed = 11;
blspeed = 8;
pspeed = 10;
rspeed = 12;
bspeed = 12;
bbspeed = 11;
} else if ((score >= 5000) && (score <= 6999)) {
yspeed = 13;
blspeed = 10;
pspeed = 12;
rspeed = 14;
bspeed = 14;
bbspeed = 13;
} else if ((score >= 7000) && (score <= 9999)) {
yspeed = 14;
blspeed = 11;
pspeed = 13;
rspeed = 15;
bspeed = 15;
bbspeed = 14;
} else if ((score >= 10000) && (score <= 1499)) {
yspeed = 15;
blspeed = 12;
pspeed = 14;
rspeed = 16;
bspeed = 16;
bbspeed = 15;
} else if (score >= 15000) {
yspeed = 20;
blspeed = 20;
pspeed = 20;
rspeed = 20;
bspeed = 20;
bbspeed = 20;
}
if (score < 0) {
nextFrame();
}
};
Instance of Symbol 68 MovieClip "sheep" in Frame 5
onClipEvent (load) {
firespeed = 5;
}
onClipEvent (enterFrame) {
if (_root.firesheep == "true") {
endX = _root._xmouse;
endY = _root._ymouse;
_x = (_x + ((endX - _x) / firespeed));
_y = (_y + ((endY - _y) / firespeed));
}
}
Instance of Symbol 72 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 600;
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.blspeed;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 600;
this._x = Math.random() * 750;
_root.score = _root.score + 20;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 600;
this._x = Math.random() * 750;
}
}
Instance of Symbol 76 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 700;
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.pspeed;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 700;
this._x = Math.random() * 750;
_root.score = _root.score + 50;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 700;
this._x = Math.random() * 750;
}
}
Instance of Symbol 72 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 600;
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.blspeed;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 600;
this._x = Math.random() * 750;
_root.score = _root.score + 20;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 600;
this._x = Math.random() * 750;
}
}
Instance of Symbol 81 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 900;
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.yspeed;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 900;
this._x = Math.random() * 750;
_root.score = _root.score + 100;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 900;
this._x = Math.random() * 750;
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 400;
this._x = Math.random() * 640;
}
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 400;
this._x = Math.random() * 640;
_root.army = _root.army - 5;
_root.army2 = _root.army2 + 5;
score = score + 10;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 400;
this._x = Math.random() * 640;
}
}
Instance of Symbol 76 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 700;
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.pspeed;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 700;
this._x = Math.random() * 750;
_root.score = _root.score + 50;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 700;
this._x = Math.random() * 750;
}
}
Instance of Symbol 72 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 600;
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.blspeed;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 600;
this._x = Math.random() * 750;
_root.score = _root.score + 20;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 600;
this._x = Math.random() * 750;
}
}
Instance of Symbol 72 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 600;
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.blspeed;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 600;
this._x = Math.random() * 750;
_root.score = _root.score + 20;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 600;
this._x = Math.random() * 750;
}
}
Instance of Symbol 76 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 700;
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.pspeed;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 700;
this._x = Math.random() * 750;
_root.score = _root.score + 50;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 700;
this._x = Math.random() * 750;
}
}
Instance of Symbol 81 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 900;
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.yspeed;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 900;
this._x = Math.random() * 750;
_root.score = _root.score + 100;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 900;
this._x = Math.random() * 750;
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 400;
this._x = Math.random() * 640;
}
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 400;
this._x = Math.random() * 640;
_root.army = _root.army - 5;
_root.army2 = _root.army2 + 5;
score = score + 10;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 400;
this._x = Math.random() * 640;
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 400;
this._x = Math.random() * 640;
}
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 400;
this._x = Math.random() * 640;
_root.army = _root.army - 5;
_root.army2 = _root.army2 + 5;
score = score + 10;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 400;
this._x = Math.random() * 640;
}
}
Instance of Symbol 85 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 400;
this._x = Math.random() * 640;
}
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 300) - 400;
this._x = Math.random() * 640;
_root.army = _root.army - 5;
_root.army2 = _root.army2 + 5;
score = score + 10;
}
if (this._y >= 320) {
this._y = (Math.random() * 300) - 400;
this._x = Math.random() * 640;
}
}
Instance of Symbol 90 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 600) - 800;
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.bspeed;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 600) - 800;
this._x = Math.random() * 750;
_root.score = _root.score - 300;
}
if (this._y >= 320) {
this._y = (Math.random() * 600) - 800;
this._x = Math.random() * 750;
}
}
Instance of Symbol 96 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 500) - 800;
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.rspeed;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 500) - 800;
this._x = Math.random() * 750;
_root.score = _root.score - 500;
}
if (this._y >= 320) {
this._y = (Math.random() * 500) - 800;
this._x = Math.random() * 750;
}
}
Instance of Symbol 101 MovieClip "deathsheep" in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 300) - 1000;
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + _root.bbspeed;
if (this._y >= 320) {
this._y = (Math.random() * 300) - 1000;
this._x = Math.random() * 750;
}
}
Instance of Symbol 48 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 1000) - (Math.random() * 5000);
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + 6;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 1000) - 5000;
this._x = Math.random() * 750;
_root.score = _root.score + 500;
_root.speed = 4;
_root.slowcounter.play();
}
if (this._y >= 320) {
this._y = (Math.random() * 1000) - 5000;
this._x = Math.random() * 750;
}
}
Instance of Symbol 52 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 1000) - (Math.random() * 5000);
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + 6;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 1000) - 5000;
this._x = Math.random() * 750;
_root.score = _root.score + 500;
_root.speed = 20;
_root.speedcounter.play();
}
if (this._y >= 320) {
this._y = (Math.random() * 1000) - 5000;
this._x = Math.random() * 750;
}
}
Instance of Symbol 44 MovieClip in Frame 5
onClipEvent (load) {
this._y = (Math.random() * 1000) - (Math.random() * 5000);
this._x = Math.random() * 750;
}
onClipEvent (enterFrame) {
this._y = this._y + 6;
if (this.hitTest(_root.sheep)) {
this._y = (Math.random() * 1000) - 5000;
this._x = Math.random() * 750;
_root.score = _root.score + 500;
_root.firesheep = "true";
_root.firecounter.play();
}
if (this._y >= 320) {
this._y = (Math.random() * 1000) - 5000;
this._x = Math.random() * 750;
}
}
Frame 6
stop();
scoretextdie.text = ("you got " + _root.score) + " points";
delete onEnterFrame;
if (score <= 200) {
changetext.text = "Are you TRYING to kill the sheep?!!! you suck.";
} else if ((score <= 500) && (score >= 201)) {
changetext.text = "You deserve the death you brought upon those poor sheep...";
} else if ((score <= 1000) && (score >= 501)) {
changetext.text = "Well, i guess you tried. Bad attempt.";
} else if ((score <= 2000) && (score >= 1001)) {
changetext.text = "Not too bad, but could be a lot better";
} else if ((score <= 3000) && (score >= 2001)) {
changetext.text = "not too bad, but could be a lot better";
} else if ((score <= 4000) && (score >= 3001)) {
changetext.text = "you still have a bit of improving to do...";
} else if ((score <= 6000) && (score >= 4001)) {
changetext.text = "well done. good attempt";
} else if ((score <= 10000) && (score >= 6001)) {
changetext.text = "you're not bad at this, keep up the good work.";
} else if ((score <= 15000) && (score >= 10001)) {
changetext.text = "the sheep are totaly indebted to you. you rock!";
} else if (score > 15000) {
changetext.text = "you kick ass at this game!";
}
Symbol 19 Button
on (release) {
play();
}
Symbol 28 Button
on (release) {
gotoAndStop (3);
}
Symbol 62 MovieClip Frame 19
_parent.gotoAndPlay(1);
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 4
stop();
sheepjump.gotoAndPlay(1);
Symbol 68 MovieClip Frame 5
stop();
Symbol 68 MovieClip Frame 6
stop();
Instance of Symbol 100 MovieClip in Symbol 101 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 15;
}
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 300
_root.firesheep = "false";
_root.sheep.gotoAndPlay(1);
_root.sheep._y = 278;
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 300
_root.speed = 8;
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 300
_root.speed = 8;
Instance of Symbol 128 MovieClip "armybar" in Symbol 132 MovieClip Frame 1
onClipEvent (enterFrame) {
this._yscale = _root.army;
if (this._yscale <= 0) {
_root.score = _root.score + 2000;
_root.army = 100;
_root.army2 = 0;
}
}
Symbol 138 Button
on (release) {
gotoAndStop (1);
}