Frame 1
fscommand ("fullscreen", "true");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Frame 21
stop();
Instance of Symbol 85 MovieClip "progressbar" in Frame 21
onClipEvent (load) {
totalFileSize = _root.getBytesTotal();
startTime = getTimer();
startBytes = _root.getBytesLoaded();
this._xscale = 0;
}
onClipEvent (enterFrame) {
bytesLoaded = _root.getBytesLoaded();
amountLoaded = bytesLoaded / totalFileSize;
percentLoaded = int(100 * amountLoaded);
this._xscale = percentLoaded;
timeSoFar = getTimer() - startTime;
speed = bytesLoaded / timeSoFar;
bytesLeft = totalFileSize - bytesLoaded;
timeLeft = (bytesLeft / 1000) * (speed / 1000);
speed = int(10 * speed) / 10;
_root.bytesMessage = ((int(bytesLoaded / 1000) + "kb/") + int(totalFileSize / 1000)) + "kb";
_root.speedMessage = speed + "k/sec";
_root.timeMessage = int(timeLeft) + " seconds remaining";
if (amountLoaded >= 0.4) {
_root.gotoAndStop("complete");
}
}
Frame 22
stop();
Frame 23
stopAllSounds();
Frame 27
stop();
Frame 28
stopAllSounds();
stop();
Frame 29
stopAllSounds();
stop();
Frame 30
stop();
Frame 31
stop();
Frame 32
stop();
Frame 33
age01 = false;
age02 = false;
age03 = false;
stop();
Frame 61
stop();
Frame 91
stop();
Frame 117
stop();
Frame 118
function getPoints() {
point = new Sound();
point.attachSound("arcade");
point.start(0, 1);
}
function jumpSound() {
jump = new Sound();
jump.attachSound("jumping");
jump.start(0, 1);
}
function chickensFreak() {
chickens = new Sound();
chickens.attachSound("chickens");
chickens.start(0, 1);
}
function playSong() {
song = new Sound();
song.attachSound("Music");
song.start(0, 1000);
}
function initGame() {
cow._x = 66.8;
cow._y = 350;
cowShade._x = 65;
cowShade._y = 348;
playGame = false;
jPower = 0;
levelEnd = false;
levelStart = false;
points = 0;
vel_y = jPower;
ground = 350;
jumping = false;
moving = false;
bouncing = false;
cantReach = false;
mountain = false;
mountainRange = false;
crouch = false;
dx = 0;
yogurtItem = 1;
broccoliItem = 1;
milkItem = 1;
pizzaItem = 1;
iceCreamItem = 1;
cheeseItem = 1;
spinachItem = 1;
burritoItem = 1;
macItem = 1;
chocMilkItem = 1;
farmHanddx = 0;
farmHandChase = false;
farmHandInterest = false;
rufusdx = 0;
rufusMove = true;
joedx = 0;
joeMove = true;
dogdx = 0;
dogChase = false;
foods = 0;
hedgedx = 0;
special = false;
playGame = true;
playSong();
jPower = 14;
nextFrame();
}
function cowJump() {
if (((Key.isDown(38) && (Key.isDown(39))) && (hit == true)) || ((Key.isDown(38) && (Key.isDown(37))) && (hit == true))) {
moving = true;
if (dx == 8) {
cow._x = cow._x - 10;
} else {
cow._x = cow._x + 10;
}
jumpSound();
cowShade._visible = 0;
vel_y = jPower;
jumping = true;
cow.gotoAndStop(3);
} else {
moving = false;
}
if ((Key.isDown(38) && (!jumping)) && (playGame == true)) {
moving = true;
if (BG02.hitTest(cow._x, cow._y, true)) {
jPower = 16;
}
jumpSound();
cowShade._visible = 0;
vel_y = jPower;
jumping = true;
cow.gotoAndStop(3);
}
if (jumping == true) {
vel_y = vel_y - 1;
}
if (vel_y <= -10) {
vel_y = -10;
} else {
moving = false;
}
cow._y = cow._y - vel_y;
if (Key.isDown(40) && (playGame == true)) {
moving = false;
crouch = true;
cow.gotoAndStop(5);
} else {
crouch = false;
moving = false;
}
if (((Key.isDown(39) && (playGame == true)) && (!crouch)) && (mountain == false)) {
dx = 8;
cowShade._x = cow._x;
moving = true;
cow.gotoAndStop(2);
cow._xscale = Math.abs(cow._xscale);
cow._x = cow._x + dx;
} else if (((Key.isDown(39) && (playGame == true)) && (!crouch)) && (mountain == true)) {
cowShade._x = cow._x;
dx = 8;
moving = true;
cow.gotoAndStop(2);
cow._xscale = Math.abs(cow._xscale);
cow._x = cow._x + dx;
cow._y = cow._y - (dx / 2);
} else if (((Key.isDown(37) && (playGame == true)) && (!crouch)) && (mountain == false)) {
cowShade._x = cow._x;
dx = -8;
moving = true;
cow.gotoAndStop(2);
cow._xscale = -Math.abs(cow._xscale);
cow._x = cow._x + dx;
} else if (((Key.isDown(37) && (playGame == true)) && (!crouch)) && (mountain == true)) {
cowShade._x = cow._x;
dx = -8;
moving = true;
cow.gotoAndStop(2);
cow._xscale = -Math.abs(cow._xscale);
cow._x = cow._x + dx;
cow._y = cow._y - vel_y;
} else {
moving = false;
dx = 0;
if (!jumping) {
if (Key.isDown(40) != true) {
cow.gotoAndStop(1);
}
}
}
if (cow._y > ground) {
cowShade._visible = 1;
vel_y = 0;
jumping = false;
if ((!moving) && (!crouch)) {
cow.gotoAndStop(1);
} else if (bouncing == true) {
cow.gotoAndStop(3);
}
}
if (((cow._x > 570) && (!levelEnd)) && (!mountainRange)) {
cow._x = 20;
cow._y = prevY - 5;
nextFrame();
} else if (((cow._x > 570) && (!levelEnd)) && (mountainRange == true)) {
cow._x = 20;
cow._y = 316;
nextFrame();
} else if (((cow._x < 0) && (!levelStart)) && (!mountainRange)) {
cow._x = 570;
cow._y = prevY - 5;
prevFrame();
} else if (((cow._x < 0) && (!levelStart)) && (mountainRange == true)) {
cow._x = 570;
cow._y = 140;
prevFrame();
} else if (((cow._x < 0) && (levelStart == true)) && (mountainRange == false)) {
cow._x = 570;
cow._y = prevY;
} else if ((cow._x < 20) && (levelStart == true)) {
cow._x = 20;
} else if ((((cow._x > 450) && (levelEnd == true)) && (age01 == true)) && (points >= 800)) {
joe._name = "joe_Done";
cow._x = 450;
cow.gotoAndStop(1);
level01_completed.gotoAndPlay(2);
level02_completed.gotoAndPlay(2);
level03_completed.gotoAndPlay(2);
playGame = false;
Mouse.show();
} else if ((((cow._x > 450) && (levelEnd == true)) && (age01 == true)) && (points < 800)) {
needPoints.gotoAndPlay(2);
cow._x = 450;
} else if ((((cow._x > 450) && (levelEnd == true)) && (age02 == true)) && (points >= 1300)) {
joe._name = "joe_Done";
cow._x = 450;
cow.gotoAndStop(1);
level01_completed.gotoAndPlay(2);
level02_completed.gotoAndPlay(2);
level03_completed.gotoAndPlay(2);
playGame = false;
Mouse.show();
} else if ((((cow._x > 450) && (levelEnd == true)) && (age02 == true)) && (points < 1300)) {
needPoints.gotoAndPlay(145);
cow._x = 450;
} else if ((((cow._x > 450) && (levelEnd == true)) && (age03 == true)) && (points >= 1000)) {
joe._name = "joe_Done";
cow._x = 450;
cow.gotoAndStop(1);
level01_completed.gotoAndPlay(2);
level02_completed.gotoAndPlay(2);
level03_completed.gotoAndPlay(2);
playGame = false;
Mouse.show();
} else if ((((cow._x > 450) && (levelEnd == true)) && (age03 == true)) && (points < 1000)) {
needPoints.gotoAndPlay(280);
cow._x = 450;
}
}
function cowHit() {
if (BG01.hitTest(cow._x, cow._y, true)) {
hit = true;
cow._x = prevX;
cow._y = prevY;
vel_y = 0;
jumping = false;
} else if (BG02.hitTest(cow._x, cow._y, true)) {
hit = true;
cow._x = prevX;
cow._y = prevY;
vel_y = 0;
jumping = false;
} else if (BG03.hitTest(cow._x, cow._y, true)) {
cow._x = prevX;
cow._y = prevY;
if (cow._y < BG03._y) {
cow._x = cow._x + 10;
}
vel_y = 0;
jumping = true;
} else if (BG04.hitTest(cow._x, cow._y, true)) {
hit = true;
cow._x = prevX;
cow._y = prevY;
vel_y = 0;
jumping = false;
} else if ((BG05.hitTest(cow._x, cow._y, true) && (points > 500)) && (cow._y < BG05._y)) {
hit = true;
cow._x = prevX;
cow._y = prevY;
vel_y = 0;
jumping = false;
} else if (boulder.hitTest(cow) || (boulder2.hitTest(cow))) {
playGame = false;
boulder.removeMovieClip();
boulder2.removeMovieClip();
cow.gotoAndStop(1);
goAgain.gotoAndStop(2);
Mouse.show();
} else if (sheepA.hitTest(cow._x, cow._y - 10, true)) {
hit = true;
cow._x = prevX;
if (cow._y < sheepA._y) {
cow._y = prevY;
sheepA.gotoAndPlay(90);
jPower = 18;
vel_y = jPower;
jumping = false;
}
} else if (bear.hitTest(cow._x, cow._y - 10, true)) {
hit = true;
cow._x = prevX;
if (cow._y < bear._y) {
cow._y = prevY;
bear.gotoAndPlay(2);
jPower = 18;
vel_y = jPower;
jumping = false;
}
} else if (milkedCow.hitTest(cow._x, cow._y, true)) {
hit = true;
jumping = false;
cow._x = prevX;
if (cow._y < milkedCow._y) {
if (SP._currentframe == 1) {
milkedCow.gotoAndPlay(2);
milkedCow.milkedCowHead.gotoAndPlay(130);
jPower = 16;
}
cow._y = prevY;
vel_y = jPower;
}
} else if (pig01.hitTest(cow._x, cow._y - 5, true)) {
hit = true;
cow._x = prevX;
if (cow._y < pig01._y) {
pig01.gotoAndPlay("p01_freak");
cow._y = prevY;
jPower = 16;
vel_y = jPower;
jumping = false;
}
} else if (pig02.hitTest(cow._x, cow._y - 5, true)) {
hit = true;
cow._x = prevX;
if (cow._y < pig02._y) {
pig02.gotoAndPlay("p02_freak");
cow._y = prevY;
jPower = 16;
vel_y = jPower;
jumping = false;
}
} else if (pig03.hitTest(cow._x, cow._y - 5, true)) {
hit = true;
cow._x = prevX;
if (cow._y < pig03._y) {
pig03.gotoAndPlay("p03_freak");
cow._y = prevY;
jPower = 16;
vel_y = jPower;
jumping = false;
}
} else if (visitor.hitTest(cow)) {
hit = true;
cow._x = prevX;
if (cow._y < visitor._y) {
visitor.gotoAndPlay(2);
cow._y = prevY;
jPower = 16;
vel_y = jPower;
jumping = false;
}
} else if (chick02.hitTest(cow._x, cow._y, true)) {
chickensFreak();
chick02.gotoAndPlay(3);
} else if (acorn.hitTest(cow)) {
cow.gotoAndStop(1);
goAgain.gotoAndStop(2);
Mouse.show();
} else if (m01.hitTest(cow._x, cow._y, true)) {
hit = true;
cow._x = prevX;
cow._y = prevY;
vel_y = 0;
jumping = false;
} else if ((m02.hitTest(cow._x, cow._y, true) || m03.hitTest(cow._x, cow._y, true)) || m04.hitTest(cow._x, cow._y, true)) {
mountain = true;
hit = true;
cow._x = prevX;
cow._y = prevY;
vel_y = 0;
jumping = false;
} else {
hit = false;
noChick._name = "chick02";
if (special == false) {
jPower = 14;
}
if (cow._y <= ground) {
jumping = true;
}
}
prevX = cow._x;
prevY = cow._y;
}
function owlFly() {
if (owlAttack.hitTest(cow)) {
cheese.removeMovieClip();
playGame = false;
owlAttack.stop;
cow.gotoAndStop(1);
goAgain.gotoAndStop(2);
Mouse.show();
}
}
function eagleFly() {
if (eagle.hitTest(cow)) {
cheese.removeMovieClip();
playGame = false;
eagle.gotoAndStop(201);
cow.gotoAndStop(1);
goAgain.gotoAndStop(2);
Mouse.show();
}
}
function hedgehogs() {
if (cow._x < hedgeA._x) {
hedgedx = -2;
hedgeA._xscale = -Math.abs(hedgeA._xscale);
} else if (cow._x > hedgeA._x) {
hedgedx = 2;
hedgeA._xscale = Math.abs(hedgeA._xscale);
}
hedgeA._x = hedgeA._x + hedgedx;
if (hedgeDist < 150) {
hedgeA.gotoAndPlay(5);
} else {
hedgeA.gotoAndPlay(1);
}
if (hedgeA.hitTest(cow)) {
playGame = false;
hedgeA.gotoAndStop(1);
hedgeA._x = cow._x;
cow.gotoAndStop(1);
cow._x = cow._x;
goAgain.gotoAndStop(2);
Mouse.show();
}
if ((cow._x < hedgeB._x) || (hedgeB._x > 400)) {
hedgedx = -2;
hedgeB._xscale = -Math.abs(hedgeB._xscale);
} else if ((cow._x > hedgeB._x) && (cow._x < 400)) {
hedgedx = 2;
hedgeB._xscale = Math.abs(hedgeB._xscale);
}
hedgeB._x = hedgeB._x + hedgedx;
if (hedgeDist < 150) {
hedgeB.gotoAndPlay(5);
} else {
hedgeB.gotoAndPlay(1);
}
if (hedgeB.hitTest(cow)) {
playGame = false;
hedgeB.gotoAndStop(1);
hedgeB._x = cow._x;
cow.gotoAndStop(1);
cow._x = cow._x;
goAgain.gotoAndStop(2);
Mouse.show();
}
}
function barrelJump() {
if (barrel.hitTest(cow._x, cow._y, true)) {
hit = true;
cow._y = prevY;
barrel.gotoAndPlay(2);
jPower = 17;
vel_y = jPower;
jumping = false;
}
}
function dogBark() {
if ((cow._x < dog._x) && (cow._x > 200)) {
dogdx = -5;
dog._xscale = -Math.abs(dog._xscale);
} else if (cow._x > dog._x) {
dogdx = 5;
dog._xscale = Math.abs(dog._xscale);
}
if (cow._x > 200) {
dogChase = true;
} else {
dogChase = false;
}
if ((dogChase == true) && (cow._y >= ground)) {
dog.gotoAndStop(4);
dog._x = dog._x + dogdx;
if (dog._x <= 345) {
dog._x = 347;
dog.gotoAndStop(3);
}
} else if ((dogChase == true) && (cow._y < ground)) {
dog._x = dog._x + dogdx;
if (dog._x <= 345) {
dog._x = 347;
dog.gotoAndStop(3);
}
}
if (dogChase == false) {
dog.gotoAndStop(2);
dog._x = dog._x + dogdx;
if (dog._x >= 550) {
dogdx = dogdx - 3;
dog._xscale = -Math.abs(dog._xscale);
} else if (dog._x < 345) {
dogdx = dogdx + 3;
dog._xscale = Math.abs(dog._xscale);
}
}
if (dog.hitTest(cow._x, cow._y, true)) {
playGame = false;
dog.gotoAndStop(1);
dog._x = cow._x;
cow.gotoAndStop(1);
cow._x = cow._x;
goAgain.gotoAndStop(2);
Mouse.show();
}
}
function acornsLand() {
i = 0;
while (i < 50) {
_root.attachMovie("acorn_still", "a" + i, i);
_root["a" + i]._x = 148;
_root["a" + i]._y = 350;
i++;
i++;
}
}
function helpers() {
if (cow._x < farmHand._x) {
farmHanddx = -5;
farmHand._xscale = -Math.abs(farmHand._xscale);
} else if (cow._x > farmHand._x) {
farmHanddx = 5;
farmHand._xscale = Math.abs(farmHand._xscale);
}
if ((cow._x > 10) && (cow._y > 250)) {
farmHandChase = true;
if (farmHandChase == true) {
farmHand.gotoAndStop(2);
farmHand._x = farmHand._x + farmHanddx;
if (farmHand._x > 400) {
farmHand.gotoAndStop(1);
farmHand._x = 400;
} else if (farmHand._x < 10) {
farmHand.gotoAndStop(1);
farmHand._x = 10;
}
}
} else if ((cow._x > 10) && (cow._y <= 250)) {
farmHandChase = false;
if ((farmHandChase == false) && (cantReach == false)) {
farmHand.gotoAndStop(2);
farmHand._x = farmHand._x + farmHanddx;
if (farmHand._x > 400) {
farmHand.gotoAndStop(1);
farmHand._x = 400;
} else if (farmHand._x < 10) {
farmHand.gotoAndStop(1);
farmHand._x = 10;
}
}
}
if (farmHand.hitTest(cow._x, cow._y, true)) {
playGame = false;
farmHand.gotoAndStop(1);
cow.gotoAndStop(1);
goAgain.gotoAndStop(2);
Mouse.show();
}
}
function rufusChase() {
if (cow._x < rufus._x) {
rufusdx = -4;
rufus._xscale = -Math.abs(rufus._xscale);
} else if (cow._x > rufus._x) {
rufusdx = 4;
rufus._xscale = Math.abs(rufus._xscale);
}
if ((cow._x > 80) && (rufusMove == true)) {
rufus.gotoAndStop(2);
rufus._x = rufus._x + rufusdx;
}
if (cow._y < 250) {
rufusMove = false;
rufus.gotoAndStop(1);
rufus.rufusLook.gotoAndPlay(21);
rufus._x = rufus._x;
} else {
rufus.rufusLook.gotoAndPlay(1);
rufusMove = true;
}
if (rufus.hitTest(cow._x, cow._y, true)) {
playGame = false;
rufus.gotoAndStop(1);
cow.gotoAndStop(1);
goAgain.gotoAndStop(2);
Mouse.show();
}
}
function joeChase() {
if (cow._x < joe._x) {
joedx = -4;
joe._xscale = -Math.abs(joe._xscale);
} else if (cow._x > joe._x) {
joedx = 4;
joe._xscale = Math.abs(joe._xscale);
}
if ((cow._x > 50) && (joeMove == true)) {
joe.gotoAndStop(2);
joe._x = joe._x + joedx;
}
if (cow._y < 250) {
joeMove = false;
joe.gotoAndStop(1);
joe.joeLook.gotoAndPlay(21);
joe._x = joe._x;
} else {
joe.joeLook.gotoAndPlay(1);
joeMove = true;
}
if (joe.hitTest(cow._x, cow._y, true)) {
playGame = false;
joe.gotoAndStop(1);
cow.gotoAndStop(1);
goAgain.gotoAndStop(2);
Mouse.show();
}
}
function duckSwim() {
if (duckA.hitTest(cow)) {
hit = true;
cow._x = prevX;
if (cow._y < duckA._y) {
cow._y = prevY;
duckA.gotoAndPlay(2);
jPower = 17;
vel_y = jPower;
jumping = false;
}
} else if (duckB.hitTest(cow)) {
hit = true;
cow._x = prevX;
if (cow._y < duckB._y) {
cow._y = prevY;
duckB.gotoAndPlay(2);
jPower = 17;
vel_y = jPower;
jumping = false;
}
prevX = cow._x;
prevY = cow._y;
}
if (pond.hitTest(cow._x, cow._y, true)) {
cow.gotoAndStop(4);
playGame = false;
goAgain.gotoAndStop(2);
Mouse.show();
}
}
function fishHit() {
if (fishA.hitTest(cow)) {
hit = true;
cow._x = prevX;
if (cow._y < fishA._y) {
jumpSound();
cow._y = prevY;
jPower = 16;
vel_y = jPower;
jumping = false;
}
} else if (fishB.hitTest(cow)) {
hit = true;
cow._x = prevX;
if (cow._y < fishB._y) {
jumpSound();
cow._y = prevY;
jPower = 16;
vel_y = jPower;
jumping = false;
}
prevX = cow._x;
prevY = cow._y;
}
}
function foodHit() {
if (cow.hitTest(yogurt)) {
yogurt._name = "yogurt_done";
yogurt_done.gotoAndPlay(2);
getPoints();
points = points + 290;
yogurtItem = 0;
}
if (cow.hitTest(Pizza)) {
Pizza._name = "Pizza_done";
Pizza_done.gotoAndPlay(2);
getPoints();
points = points + 220;
pizzaItem = 0;
jPower = 22;
SP.gotoAndPlay(2);
}
if (cow.hitTest(broccoli)) {
broccoli._name = "broccoli_done";
broccoli_done.gotoAndPlay(2);
getPoints();
points = points + 90;
broccoliItem = 0;
}
if (cow.hitTest(iceCream)) {
iceCream._name = "cream_done";
cream_done.gotoAndPlay(2);
getPoints();
points = points + 118;
iceCreamItem = 0;
}
if (cow.hitTest(milk)) {
milk._name = "milk_done";
milk_done.gotoAndPlay(2);
getPoints();
points = points + 300;
milkItem = 0;
}
if (cow.hitTest(chocMilk)) {
chocMilk._name = "chocMilk_done";
chocMilk_done.gotoAndPlay(2);
getPoints();
points = points + 300;
chocMilkItem = 0;
}
if (cow.hitTest(cheese)) {
cheese._name = "cheese_done";
cheese_done.gotoAndPlay(2);
getPoints();
points = points + 204;
cheeseItem = 0;
}
if (cow.hitTest(spinach)) {
spinach._name = "spinach_done";
spinach_done.gotoAndPlay(2);
getPoints();
points = points + 122;
spinachItem = 0;
}
if (cow.hitTest(mac)) {
mac._name = "mac_done";
mac_done.gotoAndPlay(2);
getPoints();
points = points + 180;
macItem = 0;
}
if (cow.hitTest(burrito)) {
burrito._name = "burrito_done";
burrito_done.gotoAndPlay(2);
getPoints();
points = points + 130;
burritoItem = 0;
}
}
function itemSpot() {
if ((_currentframe != "food01") || (_currentframe != "food12")) {
yogurt.removeMovieClip();
}
if (_currentframe != "food02") {
Pizza.removeMovieClip();
}
if ((_currentframe != "food03") || (_currentframe != "food06")) {
broccoli.removeMovieClip();
}
if ((_currentframe != "food03a") || (_currentframe != "food08a")) {
mac.removeMovieClip();
}
if (((_currentframe != "food04") || (_currentframe != "food09")) || (_currentframe != "food16a")) {
iceCream.removeMovieClip();
}
if (((_currentframe != "food05") || (_currentframe != "food10")) || (_currentframe != "food15")) {
milk.removeMovieClip();
}
if ((_currentframe != "food02a") || (_currentframe != "food17")) {
chocMilk.removeMovieClip();
}
if ((_currentframe != "food05") || (_currentframe != "food06a")) {
burrito.removeMovieClip();
}
if ((_currentframe != "food07") || (_currentframe != "food16")) {
cheese.removeMovieClip();
}
if ((_currentframe != "food08") || (_currentframe != "food13")) {
spinach.removeMovieClip();
}
}
initGame();
totalPoints = 0;
stop();
prevY = cow._y;
Instance of Symbol 384 MovieClip "engine" in Frame 118
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
}
Frame 119
itemSpot();
levelStart = true;
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 119
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.dogBark();
if (_root.cow.hitTest(_root.yogurt._x, _root.yogurt._y, true)) {
_root.foodHit();
} else if (_root.cow.hitTest(_root.Pizza._x, _root.Pizza._y, true)) {
_root.foodHit();
} else if (_root.cow.hitTest(_root.broccoli._x, _root.broccoli._y, true)) {
_root.foodHit();
}
if (_root.SP._currentframe > 1) {
_root.BG04._name = "BGnone";
_root.barrel._name = "Bnone";
}
}
Frame 120
itemSpot();
levelStart = false;
if (yogurtItem == 1) {
_root.attachMovie("yogurt", "yogurt", 2);
yogurt._x = 417;
yogurt._y = 143;
}
stop();
Frame 121
itemSpot();
if (pizzaItem == 1) {
_root.attachMovie("Pizza", "Pizza", 2);
Pizza._x = 300;
Pizza._y = 67;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 121
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.dogBark();
if (_root.cow.hitTest(_root.Pizza._x, _root.Pizza._y, true)) {
_root.foodHit();
_root.special = true;
}
if (_root.SP._currentframe > 1) {
_root.BG04._name = "BGnone";
_root.barrel._name = "Bnone";
}
}
Frame 122
itemSpot();
if (chocMilkItem == 1) {
_root.attachMovie("chocMilk", "chocMilk", 2);
chocMilk._x = 100;
chocMilk._y = 150;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 122
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.helpers();
_root.barrelJump();
if (_root.SP._currentframe > 1) {
_root.BG04._name = "BGnone";
_root.barrel._name = "Bnone";
}
if (_root.cow.hitTest(_root.chocMilk._x, _root.chocMilk._y, true)) {
_root.foodHit();
}
}
Frame 123
itemSpot();
special = false;
if (broccoliItem == 1) {
_root.attachMovie("broccoli", "broccoli", 2);
broccoli._x = 444;
broccoli._y = 110;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 123
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
if (_root.cow.hitTest(_root.broccoli._x, _root.broccoli._y, true)) {
_root.foodHit();
}
}
Frame 124
itemSpot();
if (macItem == 1) {
_root.attachMovie("mac", "mac", 2);
mac._x = 415;
mac._y = 75;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 124
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.duckSwim();
if (_root.cow.hitTest(_root.mac._x, _root.mac._y, true)) {
_root.foodHit();
}
}
Frame 125
itemSpot();
if (iceCreamItem == 1) {
_root.attachMovie("iceCream", "iceCream", 2);
iceCream._x = 315;
iceCream._y = 55;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 125
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
if (_root.cow.hitTest(_root.iceCream._x, _root.iceCream._y, true)) {
_root.foodHit();
}
}
Frame 126
itemSpot();
levelEnd = false;
if (milkItem == 1) {
_root.attachMovie("milk", "milk", 2);
milk._x = 315;
milk._y = 75;
}
if (burritoItem == 1) {
_root.attachMovie("burrito", "burrito", 3);
burrito._x = 70;
burrito._y = 145;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 126
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.barrelJump();
if (_root.cow.hitTest(_root.milk._x, _root.milk._y, true)) {
_root.foodHit();
}
if (_root.cow.hitTest(_root.burrito._x, _root.burrito._y, true)) {
_root.foodHit();
}
}
Frame 127
totalPoints = totalPoints + points;
itemSpot();
levelEnd = true;
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 127
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.joeChase();
_root.barrelJump();
}
Frame 128
initGame();
lasso.removeMovieClip();
rope.removeMovieClip();
stop();
Instance of Symbol 534 MovieClip "duckA" in Frame 128
onClipEvent (load) {
_x = 230;
duckdx = 3;
}
onClipEvent (enterFrame) {
_x = (_x + duckdx);
if (_x > 500) {
_x = prevDuckx;
_xscale = (-Math.abs(_xscale));
duckdx = -3;
_x = (_x + duckdx);
} else if (_x < 230) {
this._xscale = Math.abs(this._xscale);
duckdx = 3;
_x = (_x + duckdx);
}
prevDuckx = _x;
}
Instance of Symbol 534 MovieClip "duckB" in Frame 128
onClipEvent (load) {
_x = 480;
duckdx2 = 3;
}
onClipEvent (enterFrame) {
_x = (_x + duckdx2);
if (_x > 500) {
_x = prevDuckx2;
_xscale = (-Math.abs(_xscale));
duckdx2 = -3;
_x = (_x + duckdx2);
} else if (_x < 230) {
_xscale = Math.abs(_xscale);
duckdx2 = 3;
_x = (_x + duckdx2);
}
prevDuckx2 = _x;
}
Instance of Symbol 384 MovieClip "engine" in Frame 128
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.duckSwim();
if (_root.cow.hitTest(_root.broccoli._x, _root.broccoli._y, true)) {
_root.foodHit();
}
}
Frame 129
itemSpot();
levelStart = true;
if (broccoliItem == 1) {
_root.attachMovie("broccoli", "broccoli", 2);
broccoli._x = 330;
broccoli._y = 80;
}
stop();
Frame 130
itemSpot();
levelStart = false;
if (burritoItem == 1) {
_root.attachMovie("burrito", "burrito", 2);
burrito._x = 300;
burrito._y = 180;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 130
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.hedgehogs();
if (_root.cow.hitTest(_root.burrito._x, _root.burrito._y, true)) {
_root.foodHit();
}
}
Frame 131
itemSpot();
if (cheeseItem == 1) {
_root.attachMovie("cheese", "cheese", 2);
cheese._x = 327;
cheese._y = 200;
}
stop();
Instance of Symbol 555 MovieClip "owl" in Frame 131
onClipEvent (load) {
this._name = "owl";
this.gotoAndStop(1);
}
Instance of Symbol 384 MovieClip "engine" in Frame 131
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.owlFly();
if (_root.cow.hitTest(_root.cheese._x, _root.cheese._y, true)) {
_root.foodHit();
}
if (_root.moving == true) {
_root.owl.gotoAndPlay(2);
} else {
_root.owl.gotoAndStop(1);
}
}
Frame 132
itemSpot();
if (spinachItem == 1) {
_root.attachMovie("spinach", "spinach", 2);
spinach._x = 335;
spinach._y = 65;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 132
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.rufusChase();
if (_root.cow.hitTest(_root.spinach._x, _root.spinach._y, true)) {
_root.foodHit();
}
}
Frame 133
itemSpot();
if (macItem == 1) {
_root.attachMovie("mac", "mac", 2);
mac._x = 340;
mac._y = 60;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 133
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.rufusChase();
if (_root.cow.hitTest(_root.mac._x, _root.mac._y, true)) {
_root.foodHit();
}
if (_root.rufus._x > 230) {
_root.rufus._x = 230;
_root.rufusMove = false;
_root.rufus.gotoAndStop(1);
}
}
Frame 134
itemSpot();
if (iceCreamItem == 1) {
_root.attachMovie("iceCream", "iceCream", 2);
iceCream._x = 340;
iceCream._y = 140;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 134
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.hedgehogs();
if (_root.cow.hitTest(_root.iceCream._x, _root.iceCream._y, true)) {
_root.foodHit();
}
}
Frame 135
itemSpot();
if (milkItem == 1) {
_root.attachMovie("milk", "milk", 2);
milk._x = 280;
milk._y = 70;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 135
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.fishHit();
_root.duckSwim();
if (_root.cow.hitTest(_root.milk._x, _root.milk._y, true)) {
_root.foodHit();
}
}
Frame 136
levelEnd = false;
itemSpot();
if (pizzaItem == 1) {
_root.attachMovie("pizza", "pizza", 2);
pizza._x = 300;
pizza._y = 110;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 136
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
if (_root.cow.hitTest(_root.pizza._x, _root.pizza._y, true)) {
_root.foodHit();
}
}
Frame 137
totalPoints = totalPoints + points;
levelEnd = true;
itemSpot();
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 137
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
if (_root.cow.hitTest(_root.iceCream._x, _root.iceCream._y, true)) {
_root.foodHit();
}
}
Frame 138
initGame();
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 138
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
if (_root.cow.hitTest(_root.yogurt._x, _root.yogurt._y, true)) {
_root.foodHit();
}
}
Frame 139
itemSpot();
if (rockFall == true) {
_root.attachMovie("boulder2", "boulder2", 100);
boulder2._x = 535;
boulder2._y = 150;
} else {
boulder2.removeMovieClip();
}
levelStart = true;
mountainRange = false;
mountain = false;
if (yogurtItem == 1) {
_root.attachMovie("yogurt", "yogurt", 2);
yogurt._x = 230;
yogurt._y = 140;
}
stop();
Frame 140
itemSpot();
if (rockFall == true) {
_root.attachMovie("boulder", "boulder", 100);
boulder._x = 556;
boulder._y = 43;
} else {
boulder.removeMovieClip();
}
levelStart = false;
mountainRange = true;
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 140
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
}
Frame 141
itemSpot();
if (spinachItem == 1) {
_root.attachMovie("spinach", "spinach", 2);
spinach._x = 320;
spinach._y = 50;
}
if (rockFall == true) {
_root.attachMovie("boulder", "boulder", 100);
boulder._x = 556;
boulder._y = 43;
} else {
boulder.removeMovieClip();
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 141
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.eagleFly();
if (_root.cow.hitTest(_root.spinach._x, _root.spinach._y, true)) {
_root.foodHit();
}
}
Frame 142
itemSpot();
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 142
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
}
Frame 143
itemSpot();
boulder.removeMovieClip();
mountain = false;
mountainRange = false;
if (pizzaItem == 1) {
_root.attachMovie("pizza", "pizza", 2);
pizza._x = 230;
pizza._y = 60;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 143
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
if (_root.cow.hitTest(_root.pizza._x, _root.pizza._y, true)) {
_root.foodHit();
}
}
Frame 144
itemSpot();
if (milkItem == 1) {
_root.attachMovie("milk", "milk", 2);
milk._x = 458;
milk._y = 140;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 144
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
if (_root.cow.hitTest(_root.milk._x, _root.milk._y, true)) {
_root.foodHit();
}
if (_root.cow._x > 400) {
_root.sqrl.gotoAndStop(30);
_root.acorn.gotoAndStop(130);
} else {
_root.sqrl.play();
_root.acorn.play();
}
}
Frame 145
itemSpot();
if (cheeseItem == 1) {
_root.attachMovie("cheese", "cheese", 2);
cheese._x = 320;
cheese._y = 60;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 145
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
if (_root.cow.hitTest(_root.cheese._x, _root.cheese._y, true)) {
_root.foodHit();
}
}
Frame 146
levelEnd = false;
itemSpot();
if (iceCreamItem == 1) {
_root.attachMovie("iceCream", "iceCream", 2);
iceCream._x = 320;
iceCream._y = 160;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 146
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
_root.hedgehogs();
if (_root.cow.hitTest(_root.iceCream._x, _root.iceCream._y, true)) {
_root.foodHit();
}
}
Frame 147
totalPoints = totalPoints + points;
levelEnd = true;
itemSpot();
if (chocMilkItem == 1) {
_root.attachMovie("chocMilk", "chocMilk", 2);
chocMilk._x = 320;
chocMilk._y = 130;
}
stop();
Instance of Symbol 384 MovieClip "engine" in Frame 147
onClipEvent (enterFrame) {
_root.cowJump();
_root.cowHit();
if (_root.cow.hitTest(_root.chocMilk._x, _root.chocMilk._y, true)) {
_root.foodHit();
}
}
Frame 148
stopAllSounds();
stop();
Frame 149
play();
Frame 178
stop();
Frame 179
stop();
Frame 180
stop();
Frame 181
Mouse.show();
stopAllSounds();
stop();
Symbol 13 MovieClip [spinach] Frame 1
stop();
Symbol 13 MovieClip [spinach] Frame 45
this.removeMovieClip();
Symbol 17 MovieClip [Pizza] Frame 1
stop();
Symbol 17 MovieClip [Pizza] Frame 45
this.removeMovieClip();
Symbol 24 MovieClip [counter] Frame 1
var startCount = 3;
Symbol 24 MovieClip [counter] Frame 59
startCount--;
if (startCount == 0) {
gotoAndPlay (60);
} else {
gotoAndPlay (2);
}
Symbol 24 MovieClip [counter] Frame 60
_root.playGame = true;
_root.playSong();
_root.jPower = 14;
Mouse.hide();
_root.nextFrame();
Symbol 24 MovieClip [counter] Frame 95
this.removeMovieClip();
Symbol 28 MovieClip [iceCream] Frame 1
stop();
Symbol 28 MovieClip [iceCream] Frame 45
this.removeMovieClip();
Symbol 34 MovieClip [chocMilk] Frame 1
stop();
Symbol 34 MovieClip [chocMilk] Frame 45
this.removeMovieClip();
Symbol 38 MovieClip [milk] Frame 1
stop();
Symbol 38 MovieClip [milk] Frame 45
this.removeMovieClip();
Symbol 42 MovieClip [cheese] Frame 1
stop();
Symbol 42 MovieClip [cheese] Frame 45
this.removeMovieClip();
Symbol 47 MovieClip [boulder2] Frame 97
_root.rockFall = false;
this.removeMovieClip();
Symbol 53 MovieClip [burrito] Frame 1
stop();
Symbol 53 MovieClip [burrito] Frame 45
this.removeMovieClip();
Symbol 57 MovieClip [mac] Frame 1
stop();
Symbol 57 MovieClip [mac] Frame 45
this.removeMovieClip();
Symbol 58 MovieClip [acorn] Frame 1
acornDrop = random(15);
Symbol 58 MovieClip [acorn] Frame 14
if (acornDrop <= 5) {
gotoAndPlay (15);
} else if ((acornDrop > 5) && (acornDrop <= 10)) {
gotoAndPlay (55);
} else if (acornDrop > 10) {
gotoAndPlay (86);
}
Symbol 58 MovieClip [acorn] Frame 15
_root.sqrl.gotoAndPlay(10);
Symbol 58 MovieClip [acorn] Frame 54
gotoAndPlay (1);
Symbol 58 MovieClip [acorn] Frame 55
_root.sqrl.gotoAndPlay(10);
Symbol 58 MovieClip [acorn] Frame 85
gotoAndPlay (1);
Symbol 58 MovieClip [acorn] Frame 86
_root.sqrl.gotoAndPlay(10);
Symbol 58 MovieClip [acorn] Frame 129
gotoAndPlay (1);
Symbol 58 MovieClip [acorn] Frame 130
stop();
Symbol 59 MovieClip [boulder] Frame 123
stop();
Symbol 63 MovieClip [yogurt] Frame 1
stop();
Symbol 63 MovieClip [yogurt] Frame 45
this.removeMovieClip();
Symbol 67 MovieClip [broccoli] Frame 1
stop();
Symbol 67 MovieClip [broccoli] Frame 45
this.removeMovieClip();
Symbol 94 Button
on (release) {
gotoAndStop (27);
}
Symbol 105 Button
on (release) {
gotoAndStop (28);
}
Symbol 125 MovieClip Frame 60
stop();
Symbol 139 MovieClip Frame 120
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 250
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 140
stop();
Symbol 202 MovieClip Frame 59
gotoAndPlay (1);
Symbol 202 MovieClip Frame 120
stop();
Symbol 215 MovieClip Frame 45
stop();
Symbol 216 MovieClip Frame 130
stop();
Symbol 220 MovieClip Frame 130
stop();
Symbol 235 MovieClip Frame 400
stop();
Symbol 237 MovieClip Frame 200
stop();
Symbol 252 MovieClip Frame 7
stop();
Symbol 255 MovieClip Frame 190
stop();
Symbol 266 MovieClip Frame 250
stop();
Symbol 267 MovieClip Frame 876
stopAllSounds();
Symbol 267 MovieClip Frame 1205
fairAdd.gotoAndPlay(60);
Symbol 267 MovieClip Frame 2705
_root.gotoAndStop("instruction");
stop();
Symbol 269 Button
on (release) {
gotoAndStop (29);
}
Symbol 278 Button
on (release) {
nextFrame();
}
Symbol 281 Button
on (release) {
prevFrame();
}
Symbol 305 MovieClip Frame 20
gotoAndPlay (1);
Symbol 305 MovieClip Frame 40
gotoAndPlay (21);
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 2
stop();
Symbol 330 Button
on (release) {
gotoAndStop (33);
}
Symbol 336 Button
on (release) {
gotoAndPlay (34);
}
Symbol 340 Button
on (release) {
gotoAndPlay (62);
}
Symbol 343 Button
on (release) {
gotoAndPlay (92);
}
Symbol 345 Button
on (release) {
gotoAndStop (118);
age01 = true;
}
Symbol 347 Button
on (release) {
gotoAndStop (118);
age02 = true;
}
Symbol 349 Button
on (release) {
gotoAndStop (118);
age03 = true;
}
Symbol 362 MovieClip Frame 5
stop();
Symbol 364 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 2
stop();
Symbol 368 MovieClip Frame 3
stop();
Symbol 368 MovieClip Frame 4
stop();
Symbol 368 MovieClip Frame 5
stop();
Symbol 382 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 2
stop();
Symbol 382 MovieClip Frame 3
this._name = "noChick";
Symbol 382 MovieClip Frame 35
this._x = this._x + 40;
Symbol 382 MovieClip Frame 70
gotoAndStop (1);
Symbol 391 Button
on (release) {
stopAllSounds();
_root.yogurt.removeMovieClip();
_root.yogurt_done.removeMovieClip();
_root.broccoli.removeMovieClip();
_root.broccoli_done.removeMovieClip();
_root.Pizza.removeMovieClip();
_root.Pizza_done.removeMovieClip();
_root.milk.removeMovieClip();
_root.milk_done.removeMovieClip();
_root.spinach.removeMovieClip();
_root.spinach_done.removeMovieClip();
_root.iceCream.removeMovieClip();
_root.iceCream_done.removeMovieClip();
_root.burrito.removeMovieClip();
_root.burrito_done.removeMovieClip();
_root.mac.removeMovieClip();
_root.mac_done.removeMovieClip();
_root.cheese.removeMovieClip();
_root.cheese_done.removeMovieClip();
_root.chocMilk.removeMovieClip();
_root.chocMilk_done.removeMovieClip();
_root.SP.gotoAndStop(1);
gotoAndStop (29);
}
Symbol 394 MovieClip Frame 5
stop();
Symbol 395 Button
on (release, keyPress "<Enter>") {
stopAllSounds();
_root.gotoAndStop("startGame");
gotoAndStop (1);
}
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 2
stopAllSounds();
_root.yogurt.removeMovieClip();
_root.yogurt_done.removeMovieClip();
_root.broccoli.removeMovieClip();
_root.broccoli_done.removeMovieClip();
_root.Pizza.removeMovieClip();
_root.Pizza_done.removeMovieClip();
_root.milk.removeMovieClip();
_root.milk_done.removeMovieClip();
_root.spinach.removeMovieClip();
_root.spinach_done.removeMovieClip();
_root.iceCream.removeMovieClip();
_root.iceCream_done.removeMovieClip();
_root.burrito.removeMovieClip();
_root.burrito_done.removeMovieClip();
_root.mac.removeMovieClip();
_root.mac_done.removeMovieClip();
_root.cheese.removeMovieClip();
_root.cheese_done.removeMovieClip();
_root.chocMilk.removeMovieClip();
_root.chocMilk_done.removeMovieClip();
_root.SP.gotoAndStop(1);
stop();
Symbol 400 Button
on (keyPress "1") {
stopAllSounds();
gotoAndPlay (118);
}
on (keyPress "2") {
stopAllSounds();
gotoAndPlay (128);
}
on (keyPress "3") {
stopAllSounds();
gotoAndPlay (138);
}
on (keyPress "4") {
stopAllSounds();
gotoAndStop (149);
}
Symbol 407 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 2
stop();
Symbol 418 MovieClip Frame 3
stop();
Symbol 418 MovieClip Frame 4
stop();
Symbol 434 MovieClip Frame 129
gotoAndPlay (1);
Symbol 434 MovieClip Frame 146
stop();
Symbol 437 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 1
spTime = 10;
stop();
Symbol 447 MovieClip Frame 2
if (spTime <= 0) {
gotoAndStop (1);
_root.special = false;
}
Symbol 447 MovieClip Frame 20
spTime--;
gotoAndPlay (2);
Symbol 453 MovieClip Frame 1
stop();
Symbol 461 MovieClip Frame 1
stop();
Symbol 461 MovieClip Frame 2
stop();
Symbol 475 MovieClip Frame 89
gotoAndPlay (1);
Symbol 486 MovieClip Frame 1
if (_root.cow._x < this._x) {
this._xscale = Math.abs(this._xscale);
} else {
this._xscale = -Math.abs(this._xscale);
}
Symbol 495 MovieClip Frame 35
gotoAndPlay (1);
Symbol 498 MovieClip Frame 35
gotoAndPlay (1);
Symbol 501 MovieClip Frame 45
gotoAndPlay (1);
Symbol 513 MovieClip Frame 1
stop();
Symbol 513 MovieClip Frame 2
stop();
Symbol 515 MovieClip Frame 5
stop();
Symbol 516 Button
on (release, keyPress "<Enter>") {
stopAllSounds();
_root.gotoAndStop("startLevel02");
gotoAndStop (1);
}
Symbol 521 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 2
_root.yogurt.removeMovieClip();
_root.yogurt_done.removeMovieClip();
_root.broccoli.removeMovieClip();
_root.broccoli_done.removeMovieClip();
_root.Pizza.removeMovieClip();
_root.Pizza_done.removeMovieClip();
_root.milk.removeMovieClip();
_root.milk_done.removeMovieClip();
_root.SP.gotoAndStop(1);
stop();
Symbol 526 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 144
gotoAndStop (1);
Symbol 526 MovieClip Frame 279
gotoAndStop (1);
Symbol 526 MovieClip Frame 440
gotoAndStop (1);
Symbol 534 MovieClip Frame 1
stop();
Symbol 538 Button
on (release, keyPress "<Enter>") {
Mouse.hide();
stopAllSounds();
_root.gotoAndStop("startLevel02");
gotoAndStop (1);
}
Symbol 539 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 2
stopAllSounds();
_root.yogurt.removeMovieClip();
_root.yogurt_done.removeMovieClip();
_root.broccoli.removeMovieClip();
_root.broccoli_done.removeMovieClip();
_root.Pizza.removeMovieClip();
_root.Pizza_done.removeMovieClip();
_root.milk.removeMovieClip();
_root.milk_done.removeMovieClip();
_root.spinach.removeMovieClip();
_root.spinach_done.removeMovieClip();
_root.iceCream.removeMovieClip();
_root.iceCream_done.removeMovieClip();
_root.burrito.removeMovieClip();
_root.burrito_done.removeMovieClip();
_root.mac.removeMovieClip();
_root.mac_done.removeMovieClip();
_root.cheese.removeMovieClip();
_root.cheese_done.removeMovieClip();
_root.chocMilk.removeMovieClip();
_root.chocMilk_done.removeMovieClip();
_root.sheep.gotoAndStop(1);
_root.SP.gotoAndStop(1);
stop();
Symbol 546 MovieClip Frame 1
a = this._x - _root.cow._x;
b = this._y - _root.cow._y;
_root.hedgeDist = Math.sqrt((a * a) + (b * b));
Symbol 546 MovieClip Frame 4
gotoAndPlay (1);
Symbol 546 MovieClip Frame 5
a = this._x - _root.cow._x;
b = this._y - _root.cow._y;
_root.hedgeDist = Math.sqrt((a * a) + (b * b));
Symbol 546 MovieClip Frame 8
gotoAndPlay (5);
Symbol 555 MovieClip Frame 1
this._name = "owl";
stop();
Symbol 555 MovieClip Frame 2
this._name = "owlAttack";
Symbol 555 MovieClip Frame 120
gotoAndStop (1);
Symbol 564 MovieClip Frame 1
stop();
Symbol 564 MovieClip Frame 2
stop();
Symbol 580 MovieClip Frame 1
fishJump = random(5);
play();
Symbol 580 MovieClip Frame 19
if (fishJump == 3) {
gotoAndPlay (20);
} else {
gotoAndPlay (1);
}
Symbol 580 MovieClip Frame 86
gotoAndPlay (1);
Symbol 581 MovieClip Frame 1
fishJump2 = random(10);
play();
Symbol 581 MovieClip Frame 19
if (fishJump2 == 7) {
gotoAndPlay (20);
} else {
gotoAndPlay (1);
}
Symbol 581 MovieClip Frame 86
gotoAndPlay (1);
Symbol 586 Button
on (release, keyPress "<Enter>") {
stopAllSounds();
_root.gotoAndStop("startLevel03");
gotoAndStop (1);
}
Symbol 588 MovieClip Frame 1
stop();
Symbol 588 MovieClip Frame 2
_root.yogurt.removeMovieClip();
_root.yogurt_done.removeMovieClip();
_root.broccoli.removeMovieClip();
_root.broccoli_done.removeMovieClip();
_root.Pizza.removeMovieClip();
_root.Pizza_done.removeMovieClip();
_root.milk.removeMovieClip();
_root.milk_done.removeMovieClip();
_root.SP.gotoAndStop(1);
stop();
Symbol 594 Button
on (release, keyPress "<Enter>") {
Mouse.hide();
stopAllSounds();
_root.gotoAndStop("startLevel03");
gotoAndStop (1);
}
Symbol 595 MovieClip Frame 1
stop();
Symbol 595 MovieClip Frame 2
stopAllSounds();
_root.yogurt.removeMovieClip();
_root.yogurt_done.removeMovieClip();
_root.broccoli.removeMovieClip();
_root.broccoli_done.removeMovieClip();
_root.Pizza.removeMovieClip();
_root.Pizza_done.removeMovieClip();
_root.milk.removeMovieClip();
_root.milk_done.removeMovieClip();
_root.spinach.removeMovieClip();
_root.spinach_done.removeMovieClip();
_root.iceCream.removeMovieClip();
_root.iceCream_done.removeMovieClip();
_root.burrito.removeMovieClip();
_root.burrito_done.removeMovieClip();
_root.mac.removeMovieClip();
_root.mac_done.removeMovieClip();
_root.cheese.removeMovieClip();
_root.cheese_done.removeMovieClip();
_root.chocMilk.removeMovieClip();
_root.chocMilk_done.removeMovieClip();
_root.sheep.gotoAndStop(1);
_root.SP.gotoAndStop(1);
stop();
Symbol 616 MovieClip Frame 200
gotoAndPlay (1);
Symbol 616 MovieClip Frame 201
stop();
Symbol 628 MovieClip Frame 89
gotoAndPlay (1);
Symbol 637 MovieClip Frame 9
stop();
Symbol 637 MovieClip Frame 29
gotoAndPlay (1);
Symbol 637 MovieClip Frame 30
stop();
Symbol 647 MovieClip Frame 1
stop();
Symbol 656 MovieClip Frame 1
stop();
Symbol 658 MovieClip Frame 1
stop();
Symbol 658 MovieClip Frame 2
_root.yogurt.removeMovieClip();
_root.yogurt_done.removeMovieClip();
_root.broccoli.removeMovieClip();
_root.broccoli_done.removeMovieClip();
_root.Pizza.removeMovieClip();
_root.Pizza_done.removeMovieClip();
_root.milk.removeMovieClip();
_root.milk_done.removeMovieClip();
_root.spinach.removeMovieClip();
_root.spinach_done.removeMovieClip();
_root.cheese.removeMovieClip();
_root.cheese_done.removeMovieClip();
_root.SP.gotoAndStop(1);
Symbol 658 MovieClip Frame 15
_root.gotoAndStop("Finish");
Symbol 662 MovieClip Frame 81
stop();
Symbol 670 MovieClip Frame 1
totalPoints = _root.totalPoints;
Symbol 670 MovieClip Frame 339
_root.gotoAndPlay("endMovie");
stop();
Symbol 695 MovieClip Frame 390
_root.nextFrame();
stop();
Symbol 751 MovieClip Frame 1
stop();
Symbol 751 MovieClip Frame 2
stop();
Symbol 763 MovieClip Frame 1
stop();
Symbol 763 MovieClip Frame 2
stop();
Symbol 774 MovieClip Frame 1
stop();
Symbol 774 MovieClip Frame 2
stop();
Symbol 781 MovieClip Frame 1
stop();
Symbol 781 MovieClip Frame 2
stop();
Symbol 782 MovieClip Frame 381
sledge.gotoAndStop(2);
Symbol 782 MovieClip Frame 792
girl.gotoAndStop(2);
Symbol 782 MovieClip Frame 986
sledge.gotoAndStop(2);
Symbol 782 MovieClip Frame 1237
girl.gotoAndStop(2);
Symbol 782 MovieClip Frame 1515
sledge.gotoAndStop(2);
Symbol 782 MovieClip Frame 1656
stop();
_parent.nextFrame();
Symbol 796 MovieClip Frame 170
stop();
Symbol 797 MovieClip Frame 71
stop();
Symbol 801 MovieClip Frame 235
stop();
Symbol 803 MovieClip Frame 400
stop();
_parent.nextFrame();
Symbol 805 Button
on (release) {
gotoAndStop (28);
}
Symbol 807 Button
on (release) {
fscommand ("quit");
}
Symbol 812 Button
on (release) {
getURL ("http://www.nichd.nih.gov/milk/milk.cfm", "_blank");
}