Frame 1
ifFrameLoaded (56) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
ifFrameLoaded (57) {
gotoAndPlay (5);
}
Frame 4
gotoAndPlay (3);
Frame 5
ifFrameLoaded (58) {
gotoAndPlay (7);
}
Frame 6
gotoAndPlay (5);
Frame 7
ifFrameLoaded (59) {
gotoAndPlay (9);
}
Frame 8
gotoAndPlay (7);
Frame 9
ifFrameLoaded (66) {
gotoAndPlay (11);
}
Frame 10
gotoAndPlay (9);
Frame 11
ifFrameLoaded (74) {
gotoAndPlay (13);
}
Frame 12
gotoAndPlay (11);
Frame 15
introTime = getTimer();
Frame 50
if (getTimer() < (introTime + "4000")) {
gotoAndPlay (16);
}
Frame 55
gotoAndPlay (54);
Frame 57
level = "1";
bTime = getTimer();
flyEnter = "1";
frTime = getTimer();
setProperty("/beePnt1", _visible , "0");
setProperty("/beePnt2", _visible , "0");
setProperty("/beePnt3", _visible , "0");
Frame 58
flyNum = flyEnter;
if (flyEnter < "10") {
if (getTimer() >= (bTime + "5000")) {
while ((flyNum + "2") >= flyEnter) {
tellTarget ("/flyin" add flyEnter) {
gotoAndPlay (2);
};
flyEnter = flyEnter + "1";
}
bTime = getTimer();
}
if (flyEnter == "1") {
if (getTimer() >= (bTime + "100")) {
while ((flyNum + "3") >= flyEnter) {
tellTarget ("/flyin" add flyEnter) {
gotoAndPlay (2);
};
flyEnter = flyEnter + "1";
}
bTime = getTimer();
}
}
}
if ("0" < frTime) {
if (getTimer() >= (frTime + "10000")) {
tellTarget ("/frog") {
gotoAndPlay (2);
};
frTime = "0";
}
}
startDrag ("/pos", true);
Frame 59
gotoAndPlay (58);
Frame 66
x = input;
arctan = ((((((((((x - (((x * x) * x) / "3")) + (((((x * x) * x) * x) * x) / "5")) - (((((((x * x) * x) * x) * x) * x) * x) / "7")) + (((((((((x * x) * x) * x) * x) * x) * x) * x) * x) / "9")) - (((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "11")) + (((((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "13")) - (((((((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "15")) + (((((((((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "17")) - (((((((((((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "19")) + (((((((((((((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "21")) - (((((((((((((((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "23");
output = arctan;
Frame 74
flyCount = "10";
bindex = "1";
index = "1";
while ("2" >= bindex) {
if ((getProperty(("/buzz" add index) add "/fly1", _x) < (mouse_x + "15")) and ((mouse_x - "15") < getProperty(("/buzz" add index) add "/fly1", _x))) {
if ((getProperty(("/buzz" add index) add "/fly1", _y) < (mouse_y + "15")) and ((mouse_y - "15") < getProperty(("/buzz" add index) add "/fly1", _y))) {
Set("/dline:caught", "3");
beeHit = beeHit + "1";
tellTarget ("/buzz" add index) {
gotoAndPlay (1);
};
index = "11";
bindex = "3";
setProperty("/beePnt" add beeHit, _visible , "1");
} else {
bindex = bindex + "1";
}
} else {
bindex = bindex + "1";
}
}
if (index < "11") {
if ((getProperty("/dfly/fly1", _x) < (mouse_x + "20")) and ((mouse_x - "20") < getProperty("/dfly/fly1", _x))) {
if ((getProperty("/dfly/fly1", _y) < (mouse_y + "20")) and ((mouse_y - "20") < getProperty("/dfly/fly1", _y))) {
Set("/dline:caught", "2");
score = score + "20";
index = "11";
tellTarget ("/dfly") {
gotoAndStop (11);
};
}
}
if ((getProperty("/bfly/fly1", _x) < (mouse_x + "30")) and ((mouse_x - "30") < getProperty("/bfly/fly1", _x))) {
if ((getProperty("/bfly", _y) < (mouse_y + "30")) and ((mouse_y - "30") < getProperty("/bfly", _y))) {
Set("/dline:caught", "4");
score = score + "30";
index = "11";
tellTarget ("/bfly") {
gotoAndStop(getProperty("/bfly", _currentframe));
};
}
}
}
while (flyCount >= index) {
if ((getProperty(("/flyin" add index) add "/fly1", _x) < (mouse_x + "15")) and ((mouse_x - "15") < getProperty(("/flyin" add index) add "/fly1", _x))) {
if ((getProperty(("/flyin" add index) add "/fly1", _y) < (mouse_y + "15")) and ((mouse_y - "15") < getProperty(("/flyin" add index) add "/fly1", _y))) {
Set("/dline:caught", "1");
score = score + "10";
flyCaught = flyCaught + "1";
Set("/dline:gotcha", index);
tellTarget ("/flyin" add index) {
gotoAndStop (11);
};
index = "11";
} else {
index = index + "1";
}
} else {
index = index + "1";
}
}
Frame 82
x = "1";
iterations = "20";
i = "0";
while (i < iterations) {
x = x - (((x * x) - input) / ("2" * x));
i = i + "1";
}
tongLength = x;
Frame 91
flyCaught = "0";
level = level + "1";
tellTarget ("/back") {
if ("4" >= level) {
nextFrame();
play();
}
};
tellTarget ("/dfly") {
gotoAndPlay (1);
};
tellTarget ("/bfly") {
Set("/bfly:pathPick", random("3"));
gotoAndPlay (1);
};
if ("4" < level) {
gotoAndPlay (100);
}
frTime = getTimer();
flyEnter = "1";
bTime = getTimer();
Frame 100
stopAllSounds();
Frame 102
if (getProperty("/yummy", _currentframe) < "20") {
gotoAndPlay (101);
} else {
gotoAndPlay (111);
}
Frame 106
if (getProperty("/yuck", _currentframe) <> "15") {
gotoAndPlay (105);
} else {
gotoAndPlay (107);
}
Frame 110
gotoAndPlay (109);
Frame 114
gotoAndPlay (113);
Frame 116
stopAllSounds();
if (round < "1") {
round = "1";
} else {
round = round + "1";
}
if ("3" < round) {
getURL ("http://www.nick.com", "_parent");
}
Frame 180
gotoAndPlay (116);
Symbol 9 Button
on (rollOver) {
play();
}
Symbol 10 MovieClip Frame 1
stop();
Symbol 26 Button
on (release) {
gotoAndPlay (51);
}
Symbol 38 Button
on (release) {
stopAllSounds();
gotoAndPlay (56);
}
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
size = tongLength * "0.2";
size = size / "240";
setProperty("a", _xscale , size * "100");
tellTarget ("../") {
gotoAndStop (11);
}
Symbol 62 MovieClip Frame 3
size = tongLength * "0.6";
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 62 MovieClip Frame 4
size = tongLength;
size = size / "240";
setProperty("a", _xscale , size * "100");
if (caught == "1") {
gotoAndPlay (7);
caught = "0";
}
Symbol 62 MovieClip Frame 5
size = tongLength * "0.6";
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 62 MovieClip Frame 6
size = tongLength * "0.2";
size = size / "240";
setProperty("a", _xscale , size * "100");
tellTarget ("../") {
gotoAndPlay (8);
};
gotoAndStop (1);
Symbol 62 MovieClip Frame 7
size = tongLength;
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 62 MovieClip Frame 8
size = tongLength * "0.6";
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 62 MovieClip Frame 9
size = tongLength * "0.2";
size = size / "240";
setProperty("a", _xscale , size * "100");
tellTarget ("../") {
gotoAndPlay (8);
};
gotoAndStop (1);
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 6
frTimeExit = getTimer();
tSnap = "1";
Symbol 71 MovieClip Frame 9
if (tSnap == "1") {
if ((frTimeExit + "1500") < getTimer()) {
if (..:flyCaught < "9") {
call("snapIt");
}
}
gotoAndPlay (8);
} else {
frTimeExit = "0";
gotoAndPlay (12);
}
Symbol 71 MovieClip Frame 11
if ("4" < getProperty("fline", _currentframe)) {
tellTarget ("../flyin" add pickedOff) {
gotoAndStop (1);
};
}
if (getProperty("fline", _currentframe) == "1") {
if (..:flyCaught == "10") {
tSnap = "0";
}
frTimeExit = getTimer();
gotoAndPlay (8);
} else {
gotoAndPlay (10);
}
Symbol 71 MovieClip Frame 17
if ("3" < ..:level) {
Set("..:frTime", getTimer());
}
gotoAndStop (1);
Symbol 71 MovieClip Frame 22
call("pickAfly");
mouse_x = getProperty(("../flyin" add pickedOff) add "/fly1", _x);
mouse_y = getProperty(("../flyin" add pickedOff) add "/fly1", _y);
tellTarget ("../flyin" add pickedOff) {
gotoAndStop (1);
};
s_x = getProperty("../fTong", _x);
s_y = getProperty("../fTong", _y);
x_dist = mouse_x - s_x;
y_dist = mouse_y - s_y;
input = (y_dist * y_dist) + (x_dist * x_dist);
call("sqroot");
pi = "3.1416";
deltax = mouse_x - s_x;
deltay = mouse_y - s_y;
ratio = deltay / deltax;
if ("0" < deltax) {
if ("1" < ratio) {
input = "1" / ratio;
call("arctan");
angle = "90" - ((output * "180") / pi);
} else if (("0" < ratio) and (ratio < "1")) {
input = ratio;
call("arctan");
angle = (output * "180") / "3.14";
} else if ((ratio < "0") and ((-"1") < ratio)) {
input = ratio;
call("arctan");
angle = "360" + ((output * "180") / "3.14");
} else if (ratio < (-"1")) {
input = "1" / ratio;
call("arctan");
angle = "270" - ((output * "180") / pi);
}
} else if (deltax < "0") {
if ("1" < ratio) {
input = "1" / ratio;
call("arctan");
angle = "270" - ((output * "180") / pi);
} else if (("0" < ratio) and (ratio < "1")) {
input = ratio;
call("arctan");
angle = "180" + ((output * "180") / "3.14");
} else if ((ratio < "0") and ((-"1") < ratio)) {
input = ratio;
call("arctan");
angle = "180" + ((output * "180") / "3.14");
} else if (ratio < (-"1")) {
input = "1" / ratio;
call("arctan");
angle = "90" - ((output * "180") / pi);
}
} else if (deltax == "0") {
if ("0" < deltay) {
angle = "90";
} else if (deltay < "0") {
angle = -"90";
} else if (deltay == "0") {
angle = "null";
}
}
setProperty("fline", _rotation , angle);
Set("fline:tongLength", tongLength);
tellTarget ("fline") {
gotoAndPlay (2);
}
Symbol 71 MovieClip Frame 34
x = "1";
iterations = "20";
i = "0";
while (i < iterations) {
x = x - (((x * x) - input) / ("2" * x));
i = i + "1";
}
tongLength = x;
Symbol 71 MovieClip Frame 42
x = input;
arctan = ((((((((((x - (((x * x) * x) / "3")) + (((((x * x) * x) * x) * x) / "5")) - (((((((x * x) * x) * x) * x) * x) * x) / "7")) + (((((((((x * x) * x) * x) * x) * x) * x) * x) * x) / "9")) - (((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "11")) + (((((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "13")) - (((((((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "15")) + (((((((((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "17")) - (((((((((((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "19")) + (((((((((((((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "21")) - (((((((((((((((((((((((x * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) * x) / "23");
output = arctan;
Symbol 71 MovieClip Frame 53
flyCount = "10";
index = "1";
while (flyCount >= index) {
if (("0" < getProperty(("../flyin" add index) add "/fly1", _x)) and ("0" < getProperty(("../flyin" add index) add "/fly1", _y))) {
Set("fline:caught", "1");
pickedOff = index;
temp = ..:flyCaught;
Set("..:flyCaught", temp + "1");
Set("fline:gotcha", index);
index = "11";
} else {
index = index + "1";
}
}
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 5
stop();
Symbol 81 MovieClip Frame 10
stop();
Symbol 81 MovieClip Frame 15
stop();
Symbol 81 MovieClip Frame 16
stop();
Symbol 83 MovieClip Frame 3
gotoAndPlay (2);
Symbol 83 MovieClip Frame 7
gotoAndPlay (6);
Symbol 84 MovieClip Frame 1
if ("2" < ..:level) {
tellTarget ("fly1") {
gotoAndPlay (6);
};
}
setProperty("fly1", _x , "0");
setProperty("fly1", _y , "0");
stop();
Symbol 84 MovieClip Frame 2
xL1 = getProperty("fly1", _x);
xL2 = getProperty("fly1", _x);
xL3 = getProperty("fly1", _x);
xL4 = getProperty("fly1", _x);
yL1 = getProperty("fly1", _y);
yL2 = getProperty("fly1", _y);
yL3 = getProperty("fly1", _y);
yL4 = getProperty("fly1", _y);
Symbol 84 MovieClip Frame 5
xSpot = random("320");
ySpot = random("120");
xL1 = xL4;
yL1 = yL4;
xLength = xSpot - xL1;
yLength = ySpot - yL1;
lineLength = (ySpot * ySpot) + (xSpot * xSpot);
lineLength = lineLength * "0.5";
xL2 = xL1 + (xL4 - xL3);
yL2 = yL1 + (yL4 - yL3);
xL3 = xL1 + ((xLength * "2") / "3");
yL3 = yL1 + ((yLength * "2") / "3");
xL4 = xSpot;
yL4 = ySpot;
dcX = "3" * (xL2 - xL1);
dcY = "3" * (yL2 - yL1);
dbX = ("3" * (xL3 - xL2)) - dcX;
dbY = ("3" * (yL3 - yL2)) - dcY;
daX = ((xL4 - xL1) - dcX) - dbX;
daY = ((yL4 - yL1) - dcY) - dbY;
mvx1 = xL1 - xL2;
mvy1 = yL1 - yL2;
mv1 = (mvy1 * mvy1) + (mvx1 * mvx1);
mv1 = mv1 * "0.01";
mvx2 = xL2 - xL3;
mvy2 = yL2 - yL3;
mv2 = (mvy2 * mvy2) + (mvx2 * mvx2);
mv2 = mv2 * "0.01";
mvx3 = xL3 - xL4;
mvy3 = yL3 - yL4;
mv3 = (mvy3 * mvy3) + (mvx3 * mvx3);
mv3 = mv3 * "0.01";
dist = (mv1 + mv2) + mv3;
moveTime = (dist * "1000") / "90";
MoveStart = getTimer();
MoveEnd = moveTime + MoveStart;
Symbol 84 MovieClip Frame 7
theTime = getTimer();
tPassed = theTime - MoveStart;
if ("0" < tPassed) {
pt1 = tPassed / moveTime;
pt2 = pt1 * pt1;
pt3 = pt2 * pt1;
xNP = xL1;
xModPoint = dcx * pt1;
xNP = xNP + xModPoint;
xModPoint = dbx * pt2;
xNP = xNP + xModPoint;
xModPoint = dax * pt3;
xNP = xNP + xModPoint;
yNP = yL1;
yModPoint = dcy * pt1;
yNP = yNP + yModPoint;
yModPoint = dby * pt2;
yNP = yNP + yModPoint;
yModPoint = day * pt3;
yNP = yNP + yModPoint;
setProperty("fly1", _x , xNP);
setProperty("fly1", _y , yNP);
setProperty("fly1", _rotation , random("180"));
}
Symbol 84 MovieClip Frame 8
theTime = getTimer();
if (theTime < MoveEnd) {
gotoAndPlay (6);
} else {
setProperty("fly1", _x , xL4);
setProperty("fly1", _y , yL4);
wherex = getProperty("fly1", _x);
wherey = getProperty("fly1", _y);
if ("320" < wherex) {
setProperty("fly1", _x , "319");
}
if ("120" < wherey) {
setProperty("fly1", _y , "119");
}
if (wherex < "0") {
setProperty("fly1", _x , "1");
}
if (wherey < "0") {
setProperty("fly1", _y , "1");
}
gotoAndPlay (5);
}
Symbol 84 MovieClip Frame 10
setProperty("fly1", _x , xL4);
setProperty("fly1", _y , yL4);
wherex = getProperty("fly1", _x);
wherey = getProperty("fly1", _y);
if ("320" < wherex) {
setProperty("fly1", _x , "319");
}
if ("120" < wherey) {
setProperty("fly1", _y , "119");
}
if (wherex < "0") {
setProperty("fly1", _x , "1");
}
if (wherey < "0") {
setProperty("fly1", _y , "1");
}
Symbol 84 MovieClip Frame 12
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
stop();
Symbol 86 MovieClip Frame 1
setProperty("fly1", _x , "0");
dStart = getTimer();
setProperty("fly1", _y , "0");
Symbol 86 MovieClip Frame 3
if (getTimer() < (dStart + "10000")) {
gotoAndPlay (2);
}
Symbol 86 MovieClip Frame 4
xL1 = getProperty("fly1", _x);
xL2 = getProperty("fly1", _x);
xL3 = getProperty("fly1", _x);
xL4 = getProperty("fly1", _x);
yL1 = getProperty("fly1", _y);
yL2 = getProperty("fly1", _y);
yL3 = getProperty("fly1", _y);
yL4 = getProperty("fly1", _y);
Symbol 86 MovieClip Frame 5
xSpot = random("320");
ySpot = random("120");
xL1 = xL4;
yL1 = yL4;
xLength = xSpot - xL1;
yLength = ySpot - yL1;
lineLength = (ySpot * ySpot) + (xSpot * xSpot);
lineLength = lineLength * "0.5";
xL2 = xL1 + (xL4 - xL3);
yL2 = yL1 + (yL4 - yL3);
xL3 = xL1 + ((xLength * "2") / "3");
yL3 = yL1 + ((yLength * "2") / "3");
xL4 = xSpot;
yL4 = ySpot;
dcX = "3" * (xL2 - xL1);
dcY = "3" * (yL2 - yL1);
dbX = ("3" * (xL3 - xL2)) - dcX;
dbY = ("3" * (yL3 - yL2)) - dcY;
daX = ((xL4 - xL1) - dcX) - dbX;
daY = ((yL4 - yL1) - dcY) - dbY;
mvx1 = xL1 - xL2;
mvy1 = yL1 - yL2;
mv1 = (mvy1 * mvy1) + (mvx1 * mvx1);
mv1 = mv1 * "0.01";
mvx2 = xL2 - xL3;
mvy2 = yL2 - yL3;
mv2 = (mvy2 * mvy2) + (mvx2 * mvx2);
mv2 = mv2 * "0.01";
mvx3 = xL3 - xL4;
mvy3 = yL3 - yL4;
mv3 = (mvy3 * mvy3) + (mvx3 * mvx3);
mv3 = mv3 * "0.01";
dist = (mv1 + mv2) + mv3;
moveTime = (dist * "1000") / "250";
MoveStart = getTimer();
MoveEnd = moveTime + MoveStart;
Symbol 86 MovieClip Frame 7
theTime = getTimer();
tPassed = theTime - MoveStart;
if ("0" < tPassed) {
pt1 = tPassed / moveTime;
pt2 = pt1 * pt1;
pt3 = pt2 * pt1;
xNP = xL1;
xModPoint = dcx * pt1;
xNP = xNP + xModPoint;
xModPoint = dbx * pt2;
xNP = xNP + xModPoint;
xModPoint = dax * pt3;
xNP = xNP + xModPoint;
yNP = yL1;
yModPoint = dcy * pt1;
yNP = yNP + yModPoint;
yModPoint = dby * pt2;
yNP = yNP + yModPoint;
yModPoint = day * pt3;
yNP = yNP + yModPoint;
if (xNP < getProperty("fly1", _x)) {
tellTarget ("fly1") {
gotoAndStop (2);
};
} else {
tellTarget ("fly1") {
gotoAndStop (1);
};
}
setProperty("fly1", _x , xNP);
setProperty("fly1", _y , yNP);
}
Symbol 86 MovieClip Frame 8
theTime = getTimer();
if (theTime < MoveEnd) {
gotoAndPlay (6);
} else {
setProperty("fly1", _x , xL4);
setProperty("fly1", _y , yL4);
wherex = getProperty("fly1", _x);
wherey = getProperty("fly1", _y);
if ("320" < wherex) {
setProperty("fly1", _x , "319");
}
if ("120" < wherey) {
setProperty("fly1", _y , "119");
}
if (wherex < "0") {
setProperty("fly1", _x , "1");
}
if (wherey < "0") {
setProperty("fly1", _y , "1");
}
gotoAndPlay (5);
}
Symbol 86 MovieClip Frame 11
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
stop();
Symbol 88 MovieClip Frame 1
setProperty("fly1", _x , "0");
setProperty("fly1", _y , "0");
Symbol 88 MovieClip Frame 2
if (..:level == "1") {
gotoAndPlay (1);
} else {
gotoAndPlay (3);
}
Symbol 88 MovieClip Frame 4
xL1 = getProperty("fly1", _x);
xL2 = getProperty("fly1", _x);
xL3 = getProperty("fly1", _x);
xL4 = getProperty("fly1", _x);
yL1 = getProperty("fly1", _y);
yL2 = getProperty("fly1", _y);
yL3 = getProperty("fly1", _y);
yL4 = getProperty("fly1", _y);
Symbol 88 MovieClip Frame 5
xSpot = random("320");
ySpot = random("120");
xL1 = xL4;
yL1 = yL4;
xLength = xSpot - xL1;
yLength = ySpot - yL1;
lineLength = (ySpot * ySpot) + (xSpot * xSpot);
lineLength = lineLength * "0.5";
xL2 = xL1 + (xL4 - xL3);
yL2 = yL1 + (yL4 - yL3);
xL3 = xL1 + ((xLength * "2") / "3");
yL3 = yL1 + ((yLength * "2") / "3");
xL4 = xSpot;
yL4 = ySpot;
dcX = "3" * (xL2 - xL1);
dcY = "3" * (yL2 - yL1);
dbX = ("3" * (xL3 - xL2)) - dcX;
dbY = ("3" * (yL3 - yL2)) - dcY;
daX = ((xL4 - xL1) - dcX) - dbX;
daY = ((yL4 - yL1) - dcY) - dbY;
mvx1 = xL1 - xL2;
mvy1 = yL1 - yL2;
mv1 = (mvy1 * mvy1) + (mvx1 * mvx1);
mv1 = mv1 * "0.01";
mvx2 = xL2 - xL3;
mvy2 = yL2 - yL3;
mv2 = (mvy2 * mvy2) + (mvx2 * mvx2);
mv2 = mv2 * "0.01";
mvx3 = xL3 - xL4;
mvy3 = yL3 - yL4;
mv3 = (mvy3 * mvy3) + (mvx3 * mvx3);
mv3 = mv3 * "0.01";
dist = (mv1 + mv2) + mv3;
moveTime = (dist * "1000") / "100";
MoveStart = getTimer();
MoveEnd = moveTime + MoveStart;
Symbol 88 MovieClip Frame 7
theTime = getTimer();
tPassed = theTime - MoveStart;
if ("0" < tPassed) {
pt1 = tPassed / moveTime;
pt2 = pt1 * pt1;
pt3 = pt2 * pt1;
xNP = xL1;
xModPoint = dcx * pt1;
xNP = xNP + xModPoint;
xModPoint = dbx * pt2;
xNP = xNP + xModPoint;
xModPoint = dax * pt3;
xNP = xNP + xModPoint;
yNP = yL1;
yModPoint = dcy * pt1;
yNP = yNP + yModPoint;
yModPoint = dby * pt2;
yNP = yNP + yModPoint;
yModPoint = day * pt3;
yNP = yNP + yModPoint;
if (xNP < getProperty("fly1", _x)) {
tellTarget ("fly1") {
gotoAndStop (2);
};
} else {
tellTarget ("fly1") {
gotoAndStop (1);
};
}
setProperty("fly1", _x , xNP);
setProperty("fly1", _y , yNP);
}
Symbol 88 MovieClip Frame 8
theTime = getTimer();
if (theTime < MoveEnd) {
gotoAndPlay (6);
} else {
setProperty("fly1", _x , xL4);
setProperty("fly1", _y , yL4);
wherex = getProperty("fly1", _x);
wherey = getProperty("fly1", _y);
if ("320" < wherex) {
setProperty("fly1", _x , "319");
}
if ("120" < wherey) {
setProperty("fly1", _y , "119");
}
if (wherex < "0") {
setProperty("fly1", _x , "1");
}
if (wherey < "0") {
setProperty("fly1", _y , "1");
}
gotoAndPlay (5);
}
Symbol 90 MovieClip Frame 1
sbTime = getTimer();
Symbol 90 MovieClip Frame 3
if (getTimer() >= (sbTime + "6000")) {
if (pathPick == "1") {
gotoAndPlay (4);
} else if (pathPick == "2") {
gotoAndPlay (68);
} else {
gotoAndPlay (129);
}
} else {
gotoAndPlay (2);
}
Symbol 90 MovieClip Frame 66
stop();
Symbol 90 MovieClip Frame 128
gotoAndStop (66);
Symbol 90 MovieClip Frame 189
gotoAndStop (66);
Symbol 91 Button
on (press) {
if (getProperty("/frog/fline", _currentframe) < "2") {
if (getProperty("/head", _currentframe) == "1") {
mouse_x = getProperty("/pos", _x);
mouse_y = getProperty("/pos", _y);
s_x = "67.3";
s_y = "156.8";
call("catch");
x_dist = mouse_x - s_x;
y_dist = mouse_y - s_y;
input = (y_dist * y_dist) + (x_dist * x_dist);
call("sqroot");
pi = "3.1416";
deltax = getProperty("/pos", _x) - getProperty("/start", _x);
deltay = getProperty("/pos", _y) - getProperty("/start", _y);
ratio = deltay / deltax;
if ("0" < deltax) {
if ("1" < ratio) {
input = "1" / ratio;
call("arctan");
angle = "90" - ((output * "180") / pi);
} else if (("0" < ratio) and (ratio < "1")) {
input = ratio;
call("arctan");
angle = (output * "180") / "3.14";
} else if ((ratio < "0") and ((-"1") < ratio)) {
input = ratio;
call("arctan");
angle = "360" + ((output * "180") / "3.14");
} else if (ratio < (-"1")) {
input = "1" / ratio;
call("arctan");
angle = "270" - ((output * "180") / pi);
}
} else if (deltax < "0") {
if ("1" < ratio) {
input = "1" / ratio;
call("arctan");
angle = "270" - ((output * "180") / pi);
} else if (("0" < ratio) and (ratio < "1")) {
input = ratio;
call("arctan");
angle = "180" + ((output * "180") / "3.14");
} else if ((ratio < "0") and ((-"1") < ratio)) {
input = ratio;
call("arctan");
angle = "180" + ((output * "180") / "3.14");
} else if (ratio < (-"1")) {
input = "1" / ratio;
call("arctan");
angle = "90" - ((output * "180") / pi);
}
} else if (deltax == "0") {
if ("0" < deltay) {
angle = "90";
} else if (deltay < "0") {
angle = -"90";
} else if (deltay == "0") {
angle = "null";
}
}
setProperty("/dline", _rotation , angle);
Set("/dline:tongLength", tongLength);
tellTarget ("/dline") {
gotoAndPlay (1);
};
}
}
}
Symbol 111 MovieClip Frame 1
if (..:beeHit >= "3") {
tellTarget ("../") {
gotoAndPlay ("yuck");
};
}
if (..:flyCaught == "10") {
Set("../frog:tSnap", "0");
tellTarget ("../") {
call("levels");
};
}
stop();
Symbol 111 MovieClip Frame 2
stop();
Symbol 111 MovieClip Frame 5
gotoAndPlay (20);
Symbol 111 MovieClip Frame 19
gotoAndStop (1);
Symbol 111 MovieClip Frame 26
gotoAndStop (1);
Symbol 118 Button
on (release) {
gotoAndPlay (116);
}
Symbol 133 MovieClip Frame 1
stop();
caught = "0";
Symbol 133 MovieClip Frame 2
size = tongLength * "0.2";
size = size / "240";
setProperty("a", _xscale , size * "100");
tellTarget ("../head") {
gotoAndStop (2);
}
Symbol 133 MovieClip Frame 3
size = tongLength * "0.6";
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 133 MovieClip Frame 4
size = tongLength;
size = size / "240";
setProperty("a", _xscale , size * "100");
if (caught == "1") {
tellTarget ("../flyin" add gotcha) {
gotoAndStop (1);
};
gotoAndPlay (7);
caught = "0";
} else if (caught == "2") {
tellTarget ("../dfly") {
gotoAndPlay (1);
};
gotoAndPlay (10);
caught = "0";
} else if (caught == "3") {
gotoAndPlay (13);
caught = "0";
} else if (caught == "4") {
tellTarget ("/bfly") {
gotoAndStop (1);
};
gotoAndPlay (16);
caught = "0";
}
Symbol 133 MovieClip Frame 5
size = tongLength * "0.6";
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 133 MovieClip Frame 6
size = tongLength * "0.2";
size = size / "240";
setProperty("a", _xscale , size * "100");
tellTarget ("../head") {
gotoAndStop (1);
};
gotoAndStop (1);
Symbol 133 MovieClip Frame 7
size = tongLength;
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 133 MovieClip Frame 8
size = tongLength * "0.6";
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 133 MovieClip Frame 9
size = tongLength * "0.2";
size = size / "240";
setProperty("a", _xscale , size * "100");
tellTarget ("../head") {
gotoAndPlay (3);
};
gotoAndStop (1);
Symbol 133 MovieClip Frame 10
size = tongLength;
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 133 MovieClip Frame 11
size = tongLength * "0.6";
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 133 MovieClip Frame 12
size = tongLength * "0.2";
size = size / "240";
setProperty("a", _xscale , size * "100");
tellTarget ("../head") {
gotoAndPlay (3);
};
gotoAndStop (1);
Symbol 133 MovieClip Frame 13
size = tongLength;
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 133 MovieClip Frame 14
size = tongLength * "0.6";
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 133 MovieClip Frame 15
size = tongLength * "0.2";
size = size / "240";
setProperty("a", _xscale , size * "100");
tellTarget ("../head") {
gotoAndPlay (6);
};
gotoAndStop (1);
Symbol 133 MovieClip Frame 16
size = tongLength;
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 133 MovieClip Frame 17
size = tongLength * "0.6";
size = size / "240";
setProperty("a", _xscale , size * "100");
Symbol 133 MovieClip Frame 18
size = tongLength * "0.2";
size = size / "240";
setProperty("a", _xscale , size * "100");
tellTarget ("../head") {
gotoAndPlay (3);
};
gotoAndStop (1);
Symbol 163 Button
on (release) {
stopAllSounds();
beeHit = "0";
level = "1";
score = "0";
flyCaught = "0";
frTime = getTimer();
gotoAndPlay (57);
}
Symbol 167 Button
on (release) {
beeHit = "0";
level = "1";
score = "0";
flyCaught = "0";
frTime = "0";
gotoAndPlay (116);
}
Symbol 175 Button
on (release) {
stopAllSounds();
beeHit = "0";
level = "1";
score = "0";
flyCaught = "0";
frTime = getTimer();
gotoAndPlay (57);
}
Symbol 176 Button
on (release) {
beeHit = "0";
level = "1";
score = "0";
flyCaught = "0";
frTime = "0";
gotoAndPlay (116);
}
Symbol 185 Button
on (release) {
stopAllSounds();
round = "0";
gotoAndPlay (15);
}