Frame 1
loaded = false;
playedOnce = false;
Set("/:score", "0");
play();
this.onEnterFrame = function () {
var _local1 = this;
if ((_local1.getBytesLoaded() / _local1.getBytesTotal()) > 0.99) {
loaded = true;
delete _local1.onEnterFrame;
}
};
Frame 2
stop();
Frame 121
stop();
Frame 123
if (playedOnce) {
gotoAndStop (167);
}
playedOnce = true;
Frame 167
skatepos = getProperty("/dog", _x);
setProperty("/skateboard", _x , skatepos);
play();
if (Number(/dog:dead) != 0) {
gotoAndPlay (169);
}
if (Number(frisbeen) != 1) {
frisbeen = 1;
frisbeeStart = ((Number(random(2)) + 1) * 2) - 3;
frisbeeY = Number(random(150)) + 50;
speedRange = /:score / 12;
if (Number(/:score) > 300) {
speedRange = 25;
}
frisbeeSpeed = (Number(random(speedRange)) + 20) * frisbeeStart;
frisbeeChance = 7 - (/:score / 75);
if (Number(frisbeeChance) < 3) {
frisbeeChance = 3;
}
frisbeeType = random(frisbeeChance);
tellTarget ("/frisbee") {
_y = ../:frisbeeY;
gotoAndPlay (5);
};
}
if (Number(ballbeen) != 1) {
ballbeen = 1;
ballStart = ((Number(random(2)) + 1) * 2) - 3;
ballY = Number(random(150)) + 50;
speedRange = /:score / 12;
if (Number(/:score) > 300) {
speedRange = 25;
}
ballSpeed = (Number(random(speedRange)) + 20) * ballStart;
ballChance = 7 - (/:score / 75);
if (Number(ballChance) < 3) {
ballChance = 3;
}
ballType = random(ballChance);
tellTarget ("/ball") {
_y = ../:ballY;
gotoAndPlay (5);
};
}
Frame 168
gotoAndPlay (167);
Frame 176
stop();
stop();
Symbol 10 MovieClip Frame 41
tellTarget ("../") {
play();
};
Symbol 20 Button
on (press) {
_parent.gotoAndPlay("gameOn");
}
Symbol 21 MovieClip Frame 1
play();
Symbol 21 MovieClip Frame 5
if (!_parent.loaded) {
gotoAndPlay (1);
}
Symbol 21 MovieClip Frame 6
stop();
Symbol 28 Button
on (release) {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
}
Symbol 31 Button
on (release) {
getURL ("http://www.freeworldgroup.com", "_blank");
}
Symbol 34 Button
on (release) {
getURL ("http://www.ifungames.com", "_blank");
}
Symbol 36 Button
on (release) {
getURL ("http://www.freeworldgroup.com/verti2.htm", "_blank");
}
Symbol 40 Button
on (release) {
nextFrame();
}
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
play();
Symbol 48 MovieClip Frame 5
gotoAndStop (1);
Symbol 50 Button
on (rollOver) {
startDrag ("board", true, -51, 24, 52, 24);
}
on (rollOut) {
stopDrag();
}
Symbol 51 MovieClip Frame 1
pongScore = 0;
gotoAndPlay ("ballstart");
Symbol 51 MovieClip Frame 5
ballY = -23;
ballX = random(100) - 50;
setProperty("ball", _y , ballY);
setProperty("ball", _x , ballX);
ballAngle = 0;
ballDirection = 6;
pongScore = 0;
gotoAndPlay ("ballplay");
Symbol 51 MovieClip Frame 9
play();
Symbol 51 MovieClip Frame 10
boardX = getProperty("board", _x);
ballX = Number(ballX) + Number(ballAngle);
ballY = Number(ballY) + Number(ballDirection);
if (((Number(ballX) > 57) and (Number(ballAngle) >= 0)) or ((Number(ballX) < Number(-57)) and (Number(ballAngle) < 0))) {
ballX = ballX - (ballAngle * 2);
ballAngle = ballAngle * -1;
}
if ((Number(ballDirection) < 0) and (Number(ballY) == Number(-23))) {
ballY = ballY - ballDirection;
ballDirection = 6;
}
setProperty("ball", _x , ballX);
setProperty("ball", _y , ballY);
if ((Number(ballDirection) > 0) and (Number(ballY) == 19)) {
boardTest = ballX - boardX;
if ((Number(boardTest) > Number(-8)) and (Number(boardTest) < 8)) {
pongScore = Number(pongScore) + 1;
ballDirection = -6;
ballAngle = (Number(ballAngle) + Number((boardTest / 8) * 20)) / 2;
tellTarget ("sfx") {
gotoAndPlay (2);
};
if (Number(pongScore) == 1) {
tellTarget ("pongtext") {
gotoAndStop (2);
};
}
}
}
if ((Number(ballDirection) > 0) and (Number(ballY) == 31)) {
gotoAndPlay ("ballstart");
} else {
prevFrame();
}
Symbol 53 Button
on (release) {
nextFrame();
}
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 2
play();
Symbol 54 MovieClip Frame 10
stop();
Symbol 54 MovieClip Frame 11
play();
Symbol 54 MovieClip Frame 20
gotoAndStop (1);
Symbol 59 MovieClip Frame 50
stop();
Symbol 60 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 1
play();
Symbol 77 MovieClip Frame 2
gotoAndPlay (1);
Symbol 91 MovieClip Frame 9
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 112 Button
on (press) {
tellTarget ("doganimation") {
gotoAndStop ("dogready");
};
dogpower = 1;
gotoAndPlay (6);
}
on (release, releaseOutside) {
stopDrag();
dogpower = dogpower * 5.5;
count = 1;
dogpos = 330;
gotoAndPlay (11);
}
Symbol 121 MovieClip Frame 6
stop();
Symbol 128 MovieClip Frame 6
stop();
Symbol 134 MovieClip Frame 1
play();
Symbol 134 MovieClip Frame 3
gotoAndPlay (1);
Symbol 148 MovieClip Frame 6
stop();
Symbol 154 MovieClip Frame 3
stop();
Symbol 162 MovieClip Frame 7
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 5
play();
Symbol 164 MovieClip Frame 6
startDrag ("", true, 60, 330, 540, 330);
dogpower = Number(Number(dogpower) + Number(/:score / 100)) + 2;
if (Number(dogpower) >= 49) {
dogpower = 49;
}
if (Number(dogpower) < 10) {
tellTarget ("/jumpower") {
gotoAndStop (1);
};
} else {
pframe = Number(int(dogpower / 10)) + 1;
tellTarget ("/jumpower") {
gotoAndStop(/dog:pframe);
};
}
gotoAndPlay (5);
Symbol 164 MovieClip Frame 10
play();
Symbol 164 MovieClip Frame 11
if (Number(count) < 13) {
if (Number(count) < 7) {
dogpower = dogpower * 0.5;
if (Number(dead) == 0) {
tellTarget ("doganimation") {
gotoAndStop ("dogjump");
};
}
} else if (Number(count) == 7) {
dogpower = dogpower * -1;
if ((((Number(catchX) < 50) and (Number(catchX) > Number(-50))) and ((Number(catchY) < 50) and (Number(catchY) > Number(-50)))) and (Number(dead) == 0)) {
if (Number(../:frisbeeType) != 0) {
catch = 1;
setProperty("../frisbee", _visible , false);
Set("../:score", Number(../:score) + 10);
tellTarget ("doganimation") {
gotoAndStop ("catchfrisbee");
};
}
} else if ((((Number(catchXball) < 50) and (Number(catchXball) > Number(-50))) and ((Number(catchYball) < 50) and (Number(catchYball) > Number(-50)))) and (Number(dead) == 0)) {
if (Number(../:ballType) != 0) {
catch = 1;
setProperty("../ball", _visible , false);
Set("../:score", Number(../:score) + 10);
tellTarget ("doganimation") {
gotoAndStop ("catchball");
};
}
} else {
catch = 0;
}
} else {
dogpower = dogpower * 2;
if ((Number(catch) != 1) and (Number(dead) == 0)) {
tellTarget ("doganimation") {
gotoAndStop ("dogdown");
};
}
}
dogpos = dogpos - dogpower;
_y = dogpos;
catchX = /frisbee:frisbeeX - _x;
catchY = Number(../:frisbeeY - _y) + 50;
catchXball = /ball:ballX - _x;
catchYball = Number(../:ballY - _y) + 50;
count = Number(count) + 1;
if (((((Number(catchX) < 50) and (Number(catchX) > Number(-50))) and ((Number(catchY) < 50) and (Number(catchY) > Number(-50)))) and (Number(../:frisbeeType) == 0)) and (Number(dead) != 1)) {
dead = 1;
tellTarget ("doganimation") {
gotoAndStop ("headslice");
};
}
if (((((Number(catchXball) < 50) and (Number(catchXball) > Number(-50))) and ((Number(catchYball) < 50) and (Number(catchYball) > Number(-50)))) and (Number(../:ballType) == 0)) and (Number(dead) != 2)) {
dead = 2;
setProperty("../ball", _visible , false);
tellTarget ("doganimation") {
gotoAndStop ("boom");
};
}
gotoAndPlay (10);
} else if (Number(dead) == 1) {
tellTarget ("doganimation") {
gotoAndStop ("headdrop");
};
tellTarget ("../skateboard") {
gotoAndStop (2);
};
gotoAndStop (15);
} else if (Number(dead) == 2) {
gotoAndStop (15);
} else {
tellTarget ("doganimation") {
gotoAndStop (1);
};
tellTarget ("/jumpower") {
gotoAndStop (1);
};
gotoAndStop (1);
}
Symbol 164 MovieClip Frame 15
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 1
stop();
if (Number(../:frisbeeStart) == Number(-1)) {
_x = 650;
} else {
_x = -50;
}
Set("../:frisbeen", 0);
Symbol 172 MovieClip Frame 4
play();
Symbol 172 MovieClip Frame 5
tellTarget ("frisbeeanimation") {
if (Number(/:frisbeeType) == 0) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
frisbeeX = _x;
frisbeeX = Number(frisbeeX) + Number(../:frisbeeSpeed);
_x = frisbeeX;
if (((Number(frisbeeX) > Number(-10)) and (Number(../:frisbeeStart) == Number(-1))) or ((Number(frisbeeX) < 610) and (Number(../:frisbeeStart) == 1))) {
gotoAndPlay (4);
} else {
_visible = true;
gotoAndStop (1);
}
Symbol 174 MovieClip Frame 1
play();
Symbol 174 MovieClip Frame 5
gotoAndPlay (1);
Symbol 175 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 1
stop();
if (Number(../:ballStart) == Number(-1)) {
_x = 630;
} else {
_x = -30;
}
Set("../:ballbeen", 0);
Symbol 176 MovieClip Frame 4
play();
Symbol 176 MovieClip Frame 5
tellTarget ("ballanimation") {
if (Number(/:ballType) == 0) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
ballX = _x;
ballX = Number(ballX) + Number(../:ballSpeed);
_x = ballX;
if (((Number(ballX) > Number(-10)) and (Number(../:ballStart) == Number(-1))) or ((Number(ballX) < 610) and (Number(../:ballStart) == 1))) {
gotoAndPlay (4);
} else {
_visible = true;
gotoAndStop (1);
}
Symbol 184 MovieClip Frame 1
stop();
Symbol 193 Button
on (press) {
stopAllSounds();
Set("/:score", 0);
Set("/dog:dead", 0);
tellTarget ("/dog") {
gotoAndStop (1);
};
tellTarget ("/dog/doganimation") {
gotoAndStop (1);
};
tellTarget ("/skateboard") {
gotoAndStop (1);
};
gotoAndStop ("menu");
}