Frame 1
ifFrameLoaded (5) {
gotoAndPlay (5);
}
Frame 2
call("play agin");
gotoAndPlay (1);
Frame 5
ifFrameLoaded (12) {
gotoAndPlay (12);
}
Frame 6
call("loading title");
gotoAndPlay (5);
Frame 30
ifFrameLoaded (49) {
tellTarget ("/loading bar") {
gotoAndStop ("1");
};
}
ifFrameLoaded (50) {
tellTarget ("/loading bar") {
gotoAndStop ("2");
};
}
ifFrameLoaded (51) {
tellTarget ("/loading bar") {
gotoAndStop ("3");
};
}
ifFrameLoaded (52) {
tellTarget ("/loading bar") {
gotoAndStop ("4");
};
}
ifFrameLoaded (53) {
tellTarget ("/loading bar") {
gotoAndStop ("5");
};
}
ifFrameLoaded (54) {
tellTarget ("/loading bar") {
gotoAndStop ("6");
};
}
ifFrameLoaded (55) {
tellTarget ("/loading bar") {
gotoAndStop ("7");
};
}
ifFrameLoaded (56) {
tellTarget ("/loading bar") {
gotoAndStop ("8");
};
}
ifFrameLoaded (80) {
tellTarget ("/loading bar") {
gotoAndStop ("9");
};
}
ifFrameLoaded (121) {
tellTarget ("/loading bar") {
gotoAndPlay ("10");
};
gotoAndStop (36);
}
Frame 31
call("game loading");
gotoAndPlay (30);
Frame 36
stop();
Frame 60
loadMovieNum ("menubar.swf", 1);
stop();
Frame 70
tellTarget ("_level1") {
gotoAndStop ("off");
};
startDrag ("/red", true, "25", "200", "475", "300");
Set("/:level", "1");
Set("/:redScore", "0");
Set("/:blueScore", "0");
stop();
Frame 80
tellTarget ("_level1") {
gotoAndStop ("off");
};
startDrag ("/red", true, "25", "200", "475", "300");
Set("/:level", "2");
Set("/:redScore", "0");
Set("/:blueScore", "0");
stop();
Frame 90
tellTarget ("_level1") {
gotoAndStop ("on");
};
if (/:level == "1") {
gotoAndPlay (94);
}
if (/:level == "2") {
gotoAndPlay (90);
}
if (/:level == "3") {
gotoAndPlay (90);
}
Frame 91
call("trans");
Frame 110
stop();
Frame 121
tellTarget ("_level1") {
gotoAndStop ("on");
}
Frame 167
stop();
Frame 178
tellTarget ("_level1") {
gotoAndStop ("on");
}
Frame 207
stop();
Symbol 4 Button
on (keyPress "<Enter>") {
setProperty("/nothing", _x , -"10");
}
on (keyPress "<Right>") {
setProperty("/nothing", _x , -"10");
}
on (keyPress "<Left>") {
setProperty("/nothing", _x , -"10");
}
on (keyPress ",") {
setProperty("/nothing", _x , -"10");
}
on (keyPress ".") {
setProperty("/nothing", _x , -"10");
}
Symbol 27 Button
on (release) {
tellTarget ("_level0") {
gotoAndStop ("start");
}
}
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 30
stop();
Symbol 37 Button
on (release) {
getURL ("http://www.CircusX.com/main.html", "_blank");
}
Symbol 45 MovieClip Frame 1
if (((((crack eq "circusX") or (crack eq "circusx")) or (crack eq "CircusX")) or (crack eq "Circusx")) or (crack eq "CIRCUSX")) {
tellTarget ("_level0") {
gotoAndStop ("level 2");
};
}
Symbol 45 MovieClip Frame 2
call("on");
gotoAndPlay (1);
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 2
ball2X = getProperty("/ball2", _x) - "10";
ball2Y = getProperty("/ball2", _y) - "10";
blue1aX = getProperty("/blue1", _x) - "40";
blue1aY = getProperty("/blue1", _y) - "60";
blue1bX = getProperty("/blue1", _x) + "30";
blue1bY = getProperty("/blue1", _y) - "60";
if (/:ballNumberBlue1 == "0") {
if (((((blue1aX + "10") >= ball2X) and ((ball2X + "20") >= blue1aX)) and ((blue1aY + "80") >= ball2Y)) and ((ball2Y + "20") >= blue1aY)) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/catchball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
}
if (/:ballNumberBlue1 == "0") {
if (((((blue1bX + "10") >= ball2X) and ((ball2X + "20") >= blue1bX)) and ((blue1bY + "80") >= ball2Y)) and ((ball2Y + "20") >= blue1bY)) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/catchball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
}
redaX = getProperty("/red", _x) - "40";
redaY = getProperty("/red", _y) - "60";
redbX = getProperty("/red", _x) + "30";
redbY = getProperty("/red", _y) - "60";
if (/:ballNumberRed == "0") {
if (((((redaX + "10") >= ball2X) and ((ball2X + "20") >= redaX)) and ((redaY + "80") >= ball2Y)) and ((ball2Y + "20") >= redaY)) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/catchball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
}
if (/:ballNumberRed == "0") {
if (((((redbX + "10") >= ball2X) and ((ball2X + "20") >= redbX)) and ((redbY + "80") >= ball2Y)) and ((ball2Y + "20") >= redbY)) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/catchball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
}
Symbol 60 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 2
ball1X = getProperty("/ball1", _x) - "10";
ball1Y = getProperty("/ball1", _y) - "10";
blue1X = getProperty("/blue1", _x) - "10";
blue1Y = getProperty("/blue1", _y) - "60";
redX = getProperty("/red", _x) - "10";
redY = getProperty("/red", _y) - "50";
if (((((blue1X + "20") >= ball1X) and ((ball1X + "20") >= blue1X)) and ((blue1Y + "40") >= ball1Y)) and ((ball1Y + "20") >= blue1Y)) {
Set("/:BlueDown", /:BlueDown + "1");
tellTarget ("/blue1") {
gotoAndPlay ("hit");
};
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
Set("/:ballNumberBlue1", "0");
}
if ((((redX + "20") >= ball1X) and ((ball1X + "20") >= redX)) and (((redY + "75") >= ball1Y) and ((ball1Y + "20") >= redY))) {
Set("/:RedDown", /:RedDown + "1");
tellTarget ("/red") {
gotoAndPlay ("hit");
};
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
setProperty("/ball2", _xscale , "100");
setProperty("/ball2", _yscale , "100");
tellTarget ("/ball2") {
gotoAndStop ("off");
};
tellTarget ("/red/power") {
gotoAndStop ("off");
};
Set("/:ballNumberRed", "0");
}
Symbol 61 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 61 MovieClip Frame 5
ball1X = getProperty("/ball1", _x) - "10";
ball1Y = getProperty("/ball1", _y) - "10";
blue1aX = getProperty("/blue1", _x) - "40";
blue1aY = getProperty("/blue1", _y) - "60";
blue1bX = getProperty("/blue1", _x) + "30";
blue1bY = getProperty("/blue1", _y) - "60";
if (((((blue1aX + "10") >= ball1X) and ((ball1X + "20") >= blue1aX)) and ((blue1aY + "80") >= ball1Y)) and ((ball1Y + "20") >= blue1aY)) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
if (((((blue1bX + "10") >= ball1X) and ((ball1X + "20") >= blue1bX)) and ((blue1bY + "80") >= ball1Y)) and ((ball1Y + "20") >= blue1bY)) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
redaX = getProperty("/red", _x) - "40";
redaY = getProperty("/red", _y) - "60";
redbX = getProperty("/red", _x) + "30";
redbY = getProperty("/red", _y) - "60";
if (((((redaX + "10") >= ball1X) and ((ball1X + "20") >= redaX)) and ((redaY + "80") >= ball1Y)) and ((ball1Y + "20") >= redaY)) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
if (((((redbX + "10") >= ball1X) and ((ball1X + "20") >= redbX)) and ((redbY + "80") >= ball1Y)) and ((ball1Y + "20") >= redbY)) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
Symbol 61 MovieClip Frame 6
call("on");
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
ball2X = getProperty("/ball2", _x) - "10";
ball2Y = getProperty("/ball2", _y) - "10";
blue1X = getProperty("/blue1", _x) - "10";
blue1Y = getProperty("/blue1", _y) - "60";
redX = getProperty("/red", _x) - "10";
redY = getProperty("/red", _y) - "50";
if (((((blue1X + "20") >= ball2X) and ((ball2X + "20") >= blue1X)) and ((blue1Y + "40") >= ball2Y)) and ((ball2Y + "20") >= blue1Y)) {
Set("/:BlueDown", /:BlueDown + "1");
tellTarget ("/blue1") {
gotoAndPlay ("hit");
};
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
Set("/:ballNumberBlue1", "0");
}
if ((((redX + "20") >= ball2X) and ((ball2X + "20") >= redX)) and (((redY + "75") >= ball2Y) and ((ball2Y + "20") >= redY))) {
Set("/:RedDown", /:RedDown + "1");
tellTarget ("/red") {
gotoAndPlay ("hit");
};
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
setProperty("/ball1", _xscale , "100");
setProperty("/ball1", _yscale , "100");
tellTarget ("/ball1") {
gotoAndStop ("off");
};
tellTarget ("/red/power") {
gotoAndStop ("off");
};
Set("/:ballNumberRed", "0");
}
Symbol 62 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 62 MovieClip Frame 5
ball2X = getProperty("/ball2", _x) - "10";
ball2Y = getProperty("/ball2", _y) - "10";
blue1aX = getProperty("/blue1", _x) - "40";
blue1aY = getProperty("/blue1", _y) - "60";
blue1bX = getProperty("/blue1", _x) + "30";
blue1bY = getProperty("/blue1", _y) - "60";
if (((((blue1aX + "10") >= ball2X) and ((ball2X + "20") >= blue1aX)) and ((blue1aY + "80") >= ball2Y)) and ((ball2Y + "20") >= blue1aY)) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
if (((((blue1bX + "10") >= ball2X) and ((ball2X + "20") >= blue1bX)) and ((blue1bY + "80") >= ball2Y)) and ((ball2Y + "20") >= blue1bY)) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
redaX = getProperty("/red", _x) - "40";
redaY = getProperty("/red", _y) - "60";
redbX = getProperty("/red", _x) + "30";
redbY = getProperty("/red", _y) - "60";
if (((((redaX + "10") >= ball2X) and ((ball2X + "20") >= redaX)) and ((redaY + "80") >= ball2Y)) and ((ball2Y + "20") >= redaY)) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
if (((((redbX + "10") >= ball2X) and ((ball2X + "20") >= redbX)) and ((redbY + "80") >= ball2Y)) and ((ball2Y + "20") >= redbY)) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
Symbol 62 MovieClip Frame 6
call("on");
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
ball1X = getProperty("/ball1", _x) - "10";
ball1Y = getProperty("/ball1", _y) - "10";
blue1aX = getProperty("/blue1", _x) - "40";
blue1aY = getProperty("/blue1", _y) - "60";
blue1bX = getProperty("/blue1", _x) + "30";
blue1bY = getProperty("/blue1", _y) - "60";
if (/:ballNumberBlue1 == "0") {
if (((((blue1aX + "10") >= ball1X) and ((ball1X + "20") >= blue1aX)) and ((blue1aY + "80") >= ball1Y)) and ((ball1Y + "20") >= blue1aY)) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/catchball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
}
if (/:ballNumberBlue1 == "0") {
if (((((blue1bX + "10") >= ball1X) and ((ball1X + "20") >= blue1bX)) and ((blue1bY + "80") >= ball1Y)) and ((ball1Y + "20") >= blue1bY)) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/catchball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
}
redaX = getProperty("/red", _x) - "40";
redaY = getProperty("/red", _y) - "60";
redbX = getProperty("/red", _x) + "30";
redbY = getProperty("/red", _y) - "60";
if (/:ballNumberRed == "0") {
if (((((redaX + "10") >= ball1X) and ((ball1X + "20") >= redaX)) and ((redaY + "80") >= ball1Y)) and ((ball1Y + "20") >= redaY)) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/catchball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
}
if (/:ballNumberRed == "0") {
if (((((redbX + "10") >= ball1X) and ((ball1X + "20") >= redbX)) and ((redbY + "80") >= ball1Y)) and ((ball1Y + "20") >= redbY)) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/catchball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
}
Symbol 63 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 2
ball1X = getProperty("/Tball1", _x) - "5";
ball1Y = getProperty("/Tball1", _y) - "5";
redX = getProperty("/red", _x) - "20";
redY = getProperty("/red", _y) - "20";
if ((((redX + "40") >= ball1X) and ((ball1X + "10") >= redX)) and (((redY + "40") >= ball1Y) and ((ball1Y + "10") >= redY))) {
Set("/:RedDown", /:RedDown + "1");
tellTarget ("/red") {
gotoAndPlay ("hit");
};
tellTarget ("/ccTball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
tellTarget ("/red/power") {
gotoAndStop ("off");
};
if (/:ballNumberRed == "1") {
setProperty("/ball1", _xscale , "100");
setProperty("/ball1", _yscale , "100");
tellTarget ("/ball1") {
gotoAndStop ("off");
};
}
if (/:ballNumberRed == "2") {
setProperty("/ball2", _xscale , "100");
setProperty("/ball2", _yscale , "100");
tellTarget ("/ball2") {
gotoAndStop ("off");
};
}
Set("/:ballNumberRed", "0");
}
Symbol 64 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 2
ball2X = getProperty("/Tball2", _x) - "5";
ball2Y = getProperty("/Tball2", _y) - "5";
redX = getProperty("/red", _x) - "20";
redY = getProperty("/red", _y) - "20";
if ((((redX + "40") >= ball2X) and ((ball2X + "10") >= redX)) and (((redY + "40") >= ball2Y) and ((ball2Y + "10") >= redY))) {
Set("/:RedDown", /:RedDown + "1");
tellTarget ("/red") {
gotoAndPlay ("hit");
};
tellTarget ("/ccTball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
tellTarget ("/red/power") {
gotoAndStop ("off");
};
if (/:ballNumberRed == "1") {
setProperty("/ball1", _xscale , "100");
setProperty("/ball1", _yscale , "100");
tellTarget ("/ball1") {
gotoAndStop ("off");
};
}
if (/:ballNumberRed == "2") {
setProperty("/ball2", _xscale , "100");
setProperty("/ball2", _yscale , "100");
tellTarget ("/ball2") {
gotoAndStop ("off");
};
}
Set("/:ballNumberRed", "0");
}
Symbol 65 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 67 MovieClip Frame 1
randomD = random("10");
randomM = random("20") + "20";
Symbol 67 MovieClip Frame 2
if (randomD == "2") {
setProperty("/blue1", _x , getProperty("/blue1", _x) + RandomM);
}
if (randomD == "3") {
setProperty("/blue1", _x , getProperty("/blue1", _x) - RandomM);
}
if (randomD == "4") {
setProperty("/blue1", _y , getProperty("/blue1", _y) - RandomM);
}
if (randomD == "5") {
setProperty("/blue1", _y , getProperty("/blue1", _y) + RandomM);
}
gotoAndPlay (1);
Symbol 67 MovieClip Frame 5
play();
Symbol 67 MovieClip Frame 25
gotoAndPlay (1);
Symbol 68 MovieClip Frame 1
blue1X = getProperty("/blue1", _x) - "20";
blue1Y = getProperty("/blue1", _y) - "60";
ballX = getProperty("/ball", _x) - "15";
ballY = getProperty("/ball", _y) - "15";
if ("0" < /:ballPower) {
if (((((blue1X + "40") >= ballX) and ((ballX + "30") >= blue1X)) and ((blue1Y + "60") >= ballY)) and ((ballY + "30") >= blue1Y)) {
tellTarget ("/blue1") {
gotoAndPlay ("mouthfull");
};
tellTarget ("/ball") {
gotoAndStop ("off");
};
setProperty("/ball", _y , "160");
setProperty("/ball", _x , -"50");
Set("/:direction", "2");
}
} else if (((((blue1X + "40") >= ballX) and ((ballX + "30") >= blue1X)) and ((blue1Y + "60") >= ballY)) and ((ballY + "30") >= blue1Y)) {
tellTarget ("/blue1") {
gotoAndPlay ("ball");
};
tellTarget ("/ball") {
gotoAndStop ("off");
};
setProperty("/ball", _y , "160");
setProperty("/ball", _x , -"50");
Set("/:direction", "2");
}
Symbol 68 MovieClip Frame 2
call("on");
gotoAndPlay (1);
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
if (/:ballInBlueZone == "1") {
ball1Sx = getProperty("/ball1", _x);
ball1Sy = getProperty("/ball1", _y);
blue1Sx = getProperty("/blue1", _x);
blue1Sy = getProperty("/blue1", _y);
if (ball1Sx < blue1Sx) {
setProperty("/blue1", _x , getProperty("/blue1", _x) - "20");
}
if (blue1Sx < ball1Sx) {
setProperty("/blue1", _x , getProperty("/blue1", _x) + "20");
}
if (ball1Sy < blue1Sy) {
setProperty("/blue1", _y , getProperty("/blue1", _y) - "20");
}
if (blue1Sy < ball1Sy) {
setProperty("/blue1", _y , getProperty("/blue1", _y) + "20");
}
}
if (/:ballInBlueZone == "2") {
ball2Sx = getProperty("/ball2", _x);
ball2Sy = getProperty("/ball2", _y);
blue1Sx = getProperty("/blue1", _x);
blue1Sy = getProperty("/blue1", _y);
if (ball2Sx < blue1Sx) {
setProperty("/blue1", _x , getProperty("/blue1", _x) - "20");
}
if (blue1Sx < ball2Sx) {
setProperty("/blue1", _x , getProperty("/blue1", _x) + "20");
}
if (ball2Sy < blue1Sy) {
setProperty("/blue1", _y , getProperty("/blue1", _y) - "20");
}
if (blue1Sy < ball2Sy) {
setProperty("/blue1", _y , getProperty("/blue1", _y) + "20");
}
}
Symbol 75 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 75 MovieClip Frame 5
redSx = getProperty("/red", _x);
redSy = getProperty("/red", _y);
blue1Sx = getProperty("/blue1", _x) - "20";
blue1Sy = getProperty("/blue1", _y);
if (ball1Sy < "180") {
if (redSx < blue1Sx) {
setProperty("/blue1", _x , getProperty("/blue1", _x) - "20");
}
if (blue1Sx < redSx) {
setProperty("/blue1", _x , getProperty("/blue1", _x) + "20");
}
}
Symbol 75 MovieClip Frame 6
call("offense");
gotoAndPlay (5);
Symbol 75 MovieClip Frame 10
redSx = getProperty("/red", _x);
redSy = getProperty("/red", _y);
blue1Sx = getProperty("/blue1", _x) - "20";
blue1Sy = getProperty("/blue1", _y);
if (ball1Sy < "180") {
if (redSx < blue1Sx) {
setProperty("/blue1", _x , getProperty("/blue1", _x) + "20");
}
if (blue1Sx < redSx) {
setProperty("/blue1", _x , getProperty("/blue1", _x) - "20");
}
}
Symbol 75 MovieClip Frame 11
call("defense");
gotoAndPlay (10);
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 5
startDrag ("/red", true, "25", "250", "475", "300");
tellTarget ("/bMovement") {
play();
};
tellTarget ("/blueGetBall") {
play();
};
tellTarget ("/ball1") {
play();
};
tellTarget ("/ball2") {
play();
};
tellTarget ("/boundaries") {
play();
}
Symbol 77 MovieClip Frame 6
call("off");
stop();
Symbol 77 MovieClip Frame 10
stopDrag();
tellTarget ("/bMovement") {
stop();
};
tellTarget ("/blueGetBall") {
stop();
};
tellTarget ("/ball1") {
stop();
};
tellTarget ("/ball2") {
stop();
};
tellTarget ("/boundaries") {
stop();
}
Symbol 77 MovieClip Frame 11
call("on");
stop();
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 6
if ("0" < /:redDown) {
Set("/:blueScore", /:blueScore + "50");
}
gotoAndStop (1);
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 6
if ("0" < /:BlueDown) {
Set("/:redScore", /:redScore + "50");
}
gotoAndStop (1);
Symbol 81 MovieClip Frame 1
if (/:level == "1") {
if (/:redScore >= "500") {
tellTarget ("_level0") {
gotoAndPlay ("trans");
};
}
}
if (/:level == "1") {
if (/:blueScore >= "500") {
tellTarget ("_level0") {
gotoAndPlay ("lose");
};
}
}
if (/:level == "2") {
if (/:redScore >= "1000") {
tellTarget ("_level0") {
gotoAndPlay ("win");
};
}
}
if (/:level == "2") {
if (/:blueScore >= "1000") {
tellTarget ("_level0") {
gotoAndPlay ("lose");
};
}
}
ball1X = getProperty("/ball1", _x);
ball1Y = getProperty("/ball1", _y);
ball2X = getProperty("/ball2", _x);
ball2Y = getProperty("/ball2", _y);
if (ball1y < "40") {
setProperty("/ball1", _y , "40");
}
if ("310" < ball1y) {
setProperty("/ball1", _y , "310");
}
if (ball1X < "25") {
setProperty("/ball1", _x , "25");
}
if ("475" < ball1X) {
setProperty("/ball1", _x , "475");
}
if (ball2y < "40") {
setProperty("/ball2", _y , "40");
}
if ("310" < ball2y) {
setProperty("/ball2", _y , "310");
}
if (ball2X < "25") {
setProperty("/ball2", _x , "25");
}
if ("475" < ball2X) {
setProperty("/ball2", _x , "475");
}
if ((ball1x < "100") and (ball1y < "80")) {
setProperty("/ball1", _y , "80");
}
if ((ball2x < "100") and (ball2y < "80")) {
setProperty("/ball2", _y , "80");
}
if (("400" < ball1x) and (ball1y < "80")) {
setProperty("/ball1", _y , "80");
}
if (("400" < ball2x) and (ball2y < "80")) {
setProperty("/ball2", _y , "80");
}
blue1X = getProperty("/blue1", _x);
blue1Y = getProperty("/blue1", _y);
if (blue1y < "40") {
setProperty("/blue1", _y , "40");
}
if ("140" < blue1y) {
setProperty("/blue1", _y , "140");
}
if (blue1x < "50") {
setProperty("/blue1", _x , "50");
}
if ("450" < blue1x) {
setProperty("/blue1", _x , "450");
}
if ((blue1x < "100") and (blue1y < "80")) {
setProperty("/blue1", _y , "80");
}
if ((blue1x < "100") and (blue1y < "80")) {
setProperty("/blue1", _y , "80");
}
if (("400" < blue1x) and (blue1y < "80")) {
setProperty("/blue1", _y , "80");
}
if (("400" < blue1x) and (blue1y < "80")) {
setProperty("/blue1", _y , "80");
}
ball1 = getProperty("/ball1", _y);
ball2 = getProperty("/ball2", _y);
if ("180" < ball1) {
if ("180" < ball2) {
Set("/:ballInBlueZone", "0");
tellTarget ("/blueGetBall") {
gotoAndPlay ("defense");
};
}
}
if (ball1 < "180") {
if (ball2 < "180") {
if (/:ballNumberBlue1 == "0") {
Set("/:ballInBlueZone", "1");
tellTarget ("/blueGetBall") {
gotoAndPlay ("on");
};
}
}
}
if (/:ballInBlueZone == "0") {
if (ball1 < "180") {
Set("/:ballInBlueZone", "1");
}
if (ball2 < "180") {
Set("/:ballInBlueZone", "2");
}
}
if (/:ballInBlueZone == "1") {
tellTarget ("/blueGetBall") {
gotoAndPlay ("on");
};
}
if (/:ballInBlueZone == "2") {
tellTarget ("/blueGetBall") {
gotoAndPlay ("on");
};
}
Symbol 81 MovieClip Frame 2
call("on");
gotoAndPlay (1);
call("on");
gotoAndPlay (1);
call("on");
call("on");
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 2
Set("/:ballForceRed", "40");
Symbol 90 MovieClip Frame 3
Set("/:ballForceRed", "40");
Symbol 90 MovieClip Frame 4
Set("/:ballForceRed", "40");
Symbol 90 MovieClip Frame 5
Set("/:ballForceRed", "60");
Symbol 90 MovieClip Frame 6
Set("/:ballForceRed", "60");
Symbol 90 MovieClip Frame 7
Set("/:ballForceRed", "80");
Symbol 90 MovieClip Frame 8
gotoAndPlay (2);
Symbol 96 MovieClip Frame 1
tellTarget ("/ccTBall1") {
gotoAndStop ("off");
};
setProperty("/Tball1", _x , "50");
setProperty("/Tball1", _y , "40");
stop();
Symbol 96 MovieClip Frame 2
sine1 = /:sine1;
cosine1 = /:cosine1;
setProperty("/Tball1", _x , getProperty("/Tball1", _x) + ("50" * cosine1));
setProperty("/Tball1", _y , getProperty("/Tball1", _y) + ("50" * sine1));
Symbol 96 MovieClip Frame 3
call("on");
Symbol 96 MovieClip Frame 4
call("on");
Symbol 96 MovieClip Frame 5
call("on");
Symbol 96 MovieClip Frame 6
call("on");
Symbol 96 MovieClip Frame 7
call("on");
Symbol 96 MovieClip Frame 8
call("on");
Symbol 96 MovieClip Frame 9
call("on");
Symbol 96 MovieClip Frame 10
call("on");
gotoAndStop (1);
Symbol 97 MovieClip Frame 1
tellTarget ("/ccTBall2") {
gotoAndStop ("off");
};
setProperty("/Tball2", _x , "450");
setProperty("/Tball2", _y , "40");
stop();
Symbol 97 MovieClip Frame 2
sine2 = /:sine2;
cosine2 = /:cosine2;
setProperty("/Tball2", _x , getProperty("/Tball2", _x) + ("50" * cosine2));
setProperty("/Tball2", _y , getProperty("/Tball2", _y) + ("50" * sine2));
Symbol 97 MovieClip Frame 3
call("on");
Symbol 97 MovieClip Frame 4
call("on");
Symbol 97 MovieClip Frame 5
call("on");
Symbol 97 MovieClip Frame 6
call("on");
Symbol 97 MovieClip Frame 7
call("on");
Symbol 97 MovieClip Frame 8
call("on");
Symbol 97 MovieClip Frame 9
call("on");
Symbol 97 MovieClip Frame 10
call("on");
gotoAndStop (1);
Symbol 99 MovieClip Frame 1
RandomT = random("7") + "1";
random = "0";
Symbol 99 MovieClip Frame 2
if (RandomT == "1") {
gotoAndPlay (5);
}
if (RandomT == "2") {
gotoAndPlay (20);
}
if (RandomT == "3") {
gotoAndPlay (35);
}
if (RandomT == "4") {
gotoAndPlay (50);
}
if (RandomT == "5") {
gotoAndPlay (65);
}
if (RandomT == "6") {
gotoAndPlay (80);
}
if (RandomT == "7") {
gotoAndPlay (95);
}
Symbol 99 MovieClip Frame 5
setProperty("/tube1", _rotation , "15");
Set("/:cosine1", -"0.2588");
Set("/:sine1", "0.9659");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (7);
}
Symbol 99 MovieClip Frame 6
gotoAndPlay (5);
Symbol 99 MovieClip Frame 7
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
}
Symbol 99 MovieClip Frame 19
gotoAndPlay (1);
Symbol 99 MovieClip Frame 20
setProperty("/tube1", _rotation , "0");
Set("/:cosine1", "0");
Set("/:sine1", "1");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (22);
}
Symbol 99 MovieClip Frame 21
gotoAndPlay (20);
Symbol 99 MovieClip Frame 22
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
}
Symbol 99 MovieClip Frame 34
gotoAndPlay (1);
Symbol 99 MovieClip Frame 35
setProperty("/tube1", _rotation , -"15");
Set("/:cosine1", "0.2588");
Set("/:sine1", "0.9659");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (37);
}
Symbol 99 MovieClip Frame 36
gotoAndPlay (35);
Symbol 99 MovieClip Frame 37
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
}
Symbol 99 MovieClip Frame 49
gotoAndPlay (1);
Symbol 99 MovieClip Frame 50
setProperty("/tube1", _rotation , -"30");
Set("/:cosine1", "0.5");
Set("/:sine1", "0.866");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (52);
}
Symbol 99 MovieClip Frame 51
gotoAndPlay (50);
Symbol 99 MovieClip Frame 52
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
}
Symbol 99 MovieClip Frame 64
gotoAndPlay (1);
Symbol 99 MovieClip Frame 65
setProperty("/tube1", _rotation , -"45");
Set("/:cosine1", "0.7071");
Set("/:sine1", "0.7071");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (67);
}
Symbol 99 MovieClip Frame 66
gotoAndPlay (65);
Symbol 99 MovieClip Frame 67
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
}
Symbol 99 MovieClip Frame 79
gotoAndPlay (1);
Symbol 99 MovieClip Frame 80
setProperty("/tube1", _rotation , -"60");
Set("/:cosine1", "0.866");
Set("/:sine1", "0.5");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (82);
}
Symbol 99 MovieClip Frame 81
gotoAndPlay (80);
Symbol 99 MovieClip Frame 82
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
}
Symbol 99 MovieClip Frame 94
gotoAndPlay (1);
Symbol 99 MovieClip Frame 95
setProperty("/tube1", _rotation , -"75");
Set("/:cosine1", "0.9659");
Set("/:sine1", "0.2588");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (97);
}
Symbol 99 MovieClip Frame 96
gotoAndPlay (95);
Symbol 99 MovieClip Frame 97
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
}
Symbol 99 MovieClip Frame 109
gotoAndPlay (1);
Symbol 100 MovieClip Frame 1
RandomT = random("7") + "1";
random = "0";
Symbol 100 MovieClip Frame 2
if (RandomT == "1") {
gotoAndPlay (5);
}
if (RandomT == "2") {
gotoAndPlay (20);
}
if (RandomT == "3") {
gotoAndPlay (35);
}
if (RandomT == "4") {
gotoAndPlay (50);
}
if (RandomT == "5") {
gotoAndPlay (65);
}
if (RandomT == "6") {
gotoAndPlay (80);
}
if (RandomT == "7") {
gotoAndPlay (95);
}
Symbol 100 MovieClip Frame 5
setProperty("/tube2", _rotation , -"15");
Set("/:cosine2", "0.2588");
Set("/:sine2", "0.9659");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (7);
}
Symbol 100 MovieClip Frame 6
gotoAndPlay (5);
Symbol 100 MovieClip Frame 7
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
}
Symbol 100 MovieClip Frame 19
gotoAndPlay (1);
Symbol 100 MovieClip Frame 20
setProperty("/tube2", _rotation , "0");
Set("/:cosine2", "0");
Set("/:sine2", "1");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (22);
}
Symbol 100 MovieClip Frame 21
gotoAndPlay (20);
Symbol 100 MovieClip Frame 22
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
}
Symbol 100 MovieClip Frame 34
gotoAndPlay (1);
Symbol 100 MovieClip Frame 35
setProperty("/tube2", _rotation , "15");
Set("/:cosine2", -"0.2588");
Set("/:sine2", "0.9659");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (37);
}
Symbol 100 MovieClip Frame 36
gotoAndPlay (35);
Symbol 100 MovieClip Frame 37
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
}
Symbol 100 MovieClip Frame 49
gotoAndPlay (1);
Symbol 100 MovieClip Frame 50
setProperty("/tube2", _rotation , "30");
Set("/:cosine2", -"0.5");
Set("/:sine2", "0.866");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (52);
}
Symbol 100 MovieClip Frame 51
gotoAndPlay (50);
Symbol 100 MovieClip Frame 52
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
}
Symbol 100 MovieClip Frame 64
gotoAndPlay (1);
Symbol 100 MovieClip Frame 65
setProperty("/tube2", _rotation , "45");
Set("/:cosine2", -"0.7071");
Set("/:sine2", "0.7071");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (67);
}
Symbol 100 MovieClip Frame 66
gotoAndPlay (65);
Symbol 100 MovieClip Frame 67
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
}
Symbol 100 MovieClip Frame 79
gotoAndPlay (1);
Symbol 100 MovieClip Frame 80
setProperty("/tube2", _rotation , "60");
Set("/:cosine2", -"0.866");
Set("/:sine2", "0.5");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (82);
}
Symbol 100 MovieClip Frame 81
gotoAndPlay (80);
Symbol 100 MovieClip Frame 82
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
}
Symbol 100 MovieClip Frame 94
gotoAndPlay (1);
Symbol 100 MovieClip Frame 95
setProperty("/tube2", _rotation , "75");
Set("/:cosine2", -"0.9659");
Set("/:sine2", "0.2588");
Random = random("40") + "1";
if (Random == "5") {
gotoAndPlay (1);
}
if (Random == "15") {
gotoAndPlay (97);
}
Symbol 100 MovieClip Frame 96
gotoAndPlay (95);
Symbol 100 MovieClip Frame 97
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
}
Symbol 100 MovieClip Frame 109
gotoAndPlay (1);
Symbol 104 Button
on (press) {
tellTarget ("/ballPower") {
gotoAndPlay ("on");
};
gotoAndPlay (16);
tellTarget ("/ballPower") {
gotoAndPlay ("on");
}
}
on (release) {
tellTarget ("/ballPower") {
gotoAndPlay ("off");
};
gotoAndPlay (26);
tellTarget ("/ballPower") {
gotoAndPlay ("off");
}
}
on (releaseOutside) {
tellTarget ("/ballPower") {
gotoAndPlay ("off");
};
gotoAndPlay (26);
tellTarget ("/ballPower") {
gotoAndPlay ("off");
}
}
Symbol 109 MovieClip Frame 1
ball1X = getProperty("/ball1", _x) - "10";
ball1Y = getProperty("/ball1", _y) - "10";
ball2X = getProperty("/ball2", _x) - "10";
ball2Y = getProperty("/ball2", _y) - "10";
redaX = getProperty("/red", _x) - "40";
redaY = getProperty("/red", _y) - "20";
redbX = getProperty("/red", _x) + "30";
redbY = getProperty("/red", _y) - "20";
if (((((redaX + "10") >= ball1X) and ((ball1X + "20") >= redaX)) and ((redaY + "40") >= ball1Y)) and ((ball1Y + "20") >= redaY)) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
gotoAndPlay (5);
Set("/:ball1_direction", "2");
Set("/:ballNumberRed", "1");
}
if (((((redbX + "10") >= ball1X) and ((ball1X + "20") >= redbX)) and ((redbY + "40") >= ball1Y)) and ((ball1Y + "20") >= redbY)) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
gotoAndPlay (5);
Set("/:ball1_direction", "2");
Set("/:ballNumberRed", "1");
}
if (((((redaX + "10") >= ball2X) and ((ball2X + "20") >= redaX)) and ((redaY + "40") >= ball2Y)) and ((ball2Y + "20") >= redaY)) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
gotoAndPlay (5);
Set("/:ball2_direction", "2");
Set("/:ballNumberRed", "2");
}
if (((((redbX + "10") >= ball2X) and ((ball2X + "20") >= redbX)) and ((redbY + "40") >= ball2Y)) and ((ball2Y + "20") >= redbY)) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
gotoAndPlay (5);
Set("/:ball2_direction", "2");
Set("/:ballNumberRed", "2");
}
Symbol 109 MovieClip Frame 2
call("off");
gotoAndPlay (1);
Symbol 109 MovieClip Frame 6
if (/:ballNumberRed == "1") {
tellTarget ("/ball1") {
gotoAndStop ("ready");
};
}
if (/:ballNumberRed == "2") {
tellTarget ("/ball2") {
gotoAndStop ("ready");
};
}
Symbol 109 MovieClip Frame 7
if (/:ballNumberRed == "1") {
setProperty("/ball1", _x , getProperty("/red", _x) + "10");
setProperty("/ball1", _y , getProperty("/red", _y) - "10");
setProperty("/ball1", _rotation , "0");
}
if (/:ballNumberRed == "2") {
setProperty("/ball2", _x , getProperty("/red", _x) + "10");
setProperty("/ball2", _y , getProperty("/red", _y) - "10");
setProperty("/ball2", _rotation , "0");
}
call("ball ready");
Symbol 109 MovieClip Frame 8
call("ball1");
Symbol 109 MovieClip Frame 9
if (/:ballNumberRed == "1") {
setProperty("/ball1", _x , getProperty("/red", _x) + "10");
setProperty("/ball1", _y , getProperty("/red", _y) - "10");
setProperty("/ball1", _rotation , "15");
}
if (/:ballNumberRed == "2") {
setProperty("/ball2", _x , getProperty("/red", _x) + "10");
setProperty("/ball2", _y , getProperty("/red", _y) - "10");
setProperty("/ball2", _rotation , "15");
}
Symbol 109 MovieClip Frame 10
call("ball2");
Symbol 109 MovieClip Frame 11
call("ball2");
gotoAndPlay (7);
Symbol 109 MovieClip Frame 16
if (/:ballNumberRed == "1") {
setProperty("/ball1", _x , getProperty("/red", _x) + "10");
setProperty("/ball1", _y , getProperty("/red", _y) - "10");
setProperty("/ball1", _rotation , "0");
}
if (/:ballNumberRed == "2") {
setProperty("/ball2", _x , getProperty("/red", _x) + "10");
setProperty("/ball2", _y , getProperty("/red", _y) - "10");
setProperty("/ball2", _rotation , "0");
}
Symbol 109 MovieClip Frame 17
call("ready");
Symbol 109 MovieClip Frame 18
if (/:ballNumberRed == "1") {
setProperty("/ball1", _x , getProperty("/red", _x) + "10");
setProperty("/ball1", _y , getProperty("/red", _y) - "10");
setProperty("/ball1", _rotation , "15");
}
if (/:ballNumberRed == "2") {
setProperty("/ball2", _x , getProperty("/red", _x) + "10");
setProperty("/ball2", _y , getProperty("/red", _y) - "10");
setProperty("/ball2", _rotation , "15");
}
Symbol 109 MovieClip Frame 19
call("ready1");
gotoAndPlay (16);
Symbol 109 MovieClip Frame 31
Set("/:ballNumberRed", "0");
gotoAndPlay (1);
Symbol 109 MovieClip Frame 36
stopDrag();
Symbol 109 MovieClip Frame 50
startDrag ("/red", true, "25", "200", "475", "300");
Set("/:RedDown", "0");
gotoAndPlay (1);
Symbol 109 MovieClip Frame 53
stopDrag();
Symbol 109 MovieClip Frame 67
startDrag ("/red", true, "25", "200", "475", "300");
Set("/:RedDown", "0");
gotoAndPlay (1);
Symbol 132 MovieClip Frame 1
ball1X = getProperty("/ball1", _x) - "10";
ball1Y = getProperty("/ball1", _y) - "10";
ball2X = getProperty("/ball2", _x) - "10";
ball2Y = getProperty("/ball2", _y) - "10";
blue1aX = getProperty("/blue1", _x) - "40";
blue1aY = getProperty("/blue1", _y) - "60";
blue1bX = getProperty("/blue1", _x) + "30";
blue1bY = getProperty("/blue1", _y) - "60";
if (((((blue1aX + "10") >= ball1X) and ((ball1X + "20") >= blue1aX)) and ((blue1aY + "80") >= ball1Y)) and ((ball1Y + "20") >= blue1aY)) {
gotoAndPlay (35);
tellTarget ("/ball1") {
gotoAndStop ("off1");
};
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
Set("/:ballInBlueZone", "3");
Set("/:ballNumberBlue1", "1");
}
if (((((blue1bX + "10") >= ball1X) and ((ball1X + "20") >= blue1bX)) and ((blue1bY + "80") >= ball1Y)) and ((ball1Y + "20") >= blue1bY)) {
gotoAndPlay (35);
tellTarget ("/ball1") {
gotoAndStop ("off1");
};
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
Set("/:ballInBlueZone", "3");
Set("/:ballNumberBlue1", "1");
}
if (((((blue1aX + "10") >= ball2X) and ((ball2X + "20") >= blue1aX)) and ((blue1aY + "80") >= ball2Y)) and ((ball2Y + "20") >= blue1aY)) {
gotoAndPlay (35);
tellTarget ("/ball2") {
gotoAndStop ("off1");
};
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
Set("/:ballInBlueZone", "3");
Set("/:ball2_direction", "1");
Set("/:ballNumberBlue1", "2");
}
if (((((blue1bX + "10") >= ball2X) and ((ball2X + "20") >= blue1bX)) and ((blue1bY + "80") >= ball2Y)) and ((ball2Y + "20") >= blue1bY)) {
gotoAndPlay (35);
tellTarget ("/ball2") {
gotoAndStop ("off1");
};
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
Set("/:ballInBlueZone", "3");
Set("/:ball2_direction", "1");
Set("/:ballNumberBlue1", "2");
}
Symbol 132 MovieClip Frame 2
call("off");
gotoAndPlay (1);
Symbol 132 MovieClip Frame 10
tellTarget ("/bMovement") {
gotoAndPlay ("off");
};
tellTarget ("/blueGetBall") {
gotoAndStop ("off");
}
Symbol 132 MovieClip Frame 28
tellTarget ("/bMovement") {
gotoAndPlay ("on");
}
Symbol 132 MovieClip Frame 29
tellTarget ("/bMovement") {
gotoAndPlay ("on");
};
Set("/:BlueDown", "0");
gotoAndPlay (1);
Symbol 132 MovieClip Frame 35
if (/:ballNumberBlue1 == "1") {
Set("/:ball1_direction", "1");
}
Symbol 132 MovieClip Frame 40
tellTarget ("/blueGetBall") {
gotoAndPlay ("offense");
}
Symbol 132 MovieClip Frame 41
tossR = random("30");
if (/:ballNumberBlue1 == "1") {
setProperty("/ball1", _x , getProperty("/blue1", _x) - "20");
setProperty("/ball1", _y , getProperty("/blue1", _y));
}
if (/:ballNumberBlue1 == "2") {
setProperty("/ball2", _x , getProperty("/blue1", _x) - "20");
setProperty("/ball2", _y , getProperty("/blue1", _y));
}
Symbol 132 MovieClip Frame 42
if (tossR == "2") {
gotoAndPlay (48);
} else {
gotoAndPlay (41);
}
if (/:ballNumberBlue1 == "1") {
setProperty("/ball1", _x , getProperty("/blue1", _x) - "20");
setProperty("/ball1", _y , getProperty("/blue1", _y));
}
if (/:ballNumberBlue1 == "2") {
setProperty("/ball2", _x , getProperty("/blue1", _x) - "20");
setProperty("/ball2", _y , getProperty("/blue1", _y));
}
Symbol 132 MovieClip Frame 48
tossR = "0";
if (/:ballNumberBlue1 == "1") {
setProperty("/ball1", _x , getProperty("/blue1", _x) - "20");
setProperty("/ball1", _y , getProperty("/blue1", _y));
}
if (/:ballNumberBlue1 == "2") {
setProperty("/ball2", _x , getProperty("/blue1", _x) - "20");
setProperty("/ball2", _y , getProperty("/blue1", _y));
}
Symbol 132 MovieClip Frame 49
if (/:ballNumberBlue1 == "1") {
setProperty("/ball1", _x , getProperty("/blue1", _x) - "20");
setProperty("/ball1", _y , getProperty("/blue1", _y));
}
if (/:ballNumberBlue1 == "2") {
setProperty("/ball2", _x , getProperty("/blue1", _x) - "20");
setProperty("/ball2", _y , getProperty("/blue1", _y));
}
Symbol 132 MovieClip Frame 50
if (/:ballNumberBlue1 == "1") {
setProperty("/ball1", _x , getProperty("/blue1", _x) - "40");
setProperty("/ball1", _y , getProperty("/blue1", _y) - "40");
}
if (/:ballNumberBlue1 == "2") {
setProperty("/ball2", _x , getProperty("/blue1", _x) - "40");
setProperty("/ball2", _y , getProperty("/blue1", _y) - "40");
}
Symbol 132 MovieClip Frame 51
if (/:ballNumberBlue1 == "1") {
setProperty("/ball1", _x , getProperty("/blue1", _x) - "40");
setProperty("/ball1", _y , getProperty("/blue1", _y) - "40");
}
if (/:ballNumberBlue1 == "2") {
setProperty("/ball2", _x , getProperty("/blue1", _x) - "40");
setProperty("/ball2", _y , getProperty("/blue1", _y) - "40");
}
Symbol 132 MovieClip Frame 52
if (/:ballNumberBlue1 == "1") {
tellTarget ("/ball1") {
gotoAndPlay ("on");
};
}
if (/:ballNumberBlue1 == "2") {
tellTarget ("/ball2") {
gotoAndPlay ("on");
};
}
Symbol 132 MovieClip Frame 58
Set("/:ballNumberBlue1", "0");
Set("/:ballInBlueZone", "0");
gotoAndPlay (1);
Symbol 137 Button
on (press) {
setProperty("/ball1", _xscale , "300");
setProperty("/balL1", _yscale , "300");
tellTarget ("/red") {
gotoAndPlay ("ready");
};
tellTarget ("/red/power") {
gotoAndPlay ("on");
}
}
on (release) {
tellTarget ("/red/power") {
gotoAndStop ("off");
};
tellTarget ("/red") {
gotoAndPlay ("throw");
};
tellTarget ("/ball1") {
gotoAndPlay ("on");
};
setProperty("/ball1", _xscale , "100");
setProperty("/ball1", _yscale , "100");
}
on (releaseOutside) {
tellTarget ("/red/power") {
gotoAndStop ("off");
};
tellTarget ("/red") {
gotoAndPlay ("throw");
};
tellTarget ("/ball1") {
gotoAndPlay ("on");
};
setProperty("/ball1", _xscale , "100");
setProperty("/ball1", _yscale , "100");
}
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 140 MovieClip Frame 3
stop();
Symbol 140 MovieClip Frame 4
if (/:ball1_direction == "1") {
setProperty("/ball1", _y , getProperty("/ball1", _y) + /:ballForceBlue1);
}
if (/:ball1_direction == "2") {
setProperty("/ball1", _y , getProperty("/ball1", _y) - /:ballForceRed);
}
Symbol 140 MovieClip Frame 5
call("on");
tellTarget ("/ccball1") {
gotoAndPlay ("on");
}
Symbol 140 MovieClip Frame 6
call("on");
Symbol 140 MovieClip Frame 7
call("on");
Symbol 140 MovieClip Frame 8
call("on");
Symbol 140 MovieClip Frame 9
call("on");
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
gotoAndStop (1);
Symbol 143 Button
on (press) {
setProperty("/ball2", _xscale , "300");
setProperty("/ball2", _yscale , "300");
tellTarget ("/red") {
gotoAndPlay ("ready");
};
tellTarget ("/red/power") {
gotoAndPlay ("on");
}
}
on (release) {
tellTarget ("/red/power") {
gotoAndStop ("off");
};
tellTarget ("/red") {
gotoAndPlay ("throw");
};
tellTarget ("/ball2") {
gotoAndPlay ("on");
};
setProperty("/ball2", _xscale , "100");
setProperty("/ball2", _yscale , "100");
}
on (releaseOutside) {
tellTarget ("/red/power") {
gotoAndStop ("off");
};
tellTarget ("/red") {
gotoAndPlay ("throw");
};
tellTarget ("/ball2") {
gotoAndPlay ("on");
};
setProperty("/ball2", _xscale , "100");
setProperty("/ball2", _yscale , "100");
}
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
stop();
Symbol 146 MovieClip Frame 3
stop();
Symbol 146 MovieClip Frame 4
if (/:ball2_direction == "1") {
setProperty("/ball2", _y , getProperty("/ball2", _y) + /:ballForceBlue1);
}
if (/:ball2_direction == "2") {
setProperty("/ball2", _y , getProperty("/ball2", _y) - /:ballForceRed);
}
Symbol 146 MovieClip Frame 5
call("on");
tellTarget ("/ccball2") {
gotoAndPlay ("on");
}
Symbol 146 MovieClip Frame 6
call("on");
Symbol 146 MovieClip Frame 7
call("on");
Symbol 146 MovieClip Frame 8
call("on");
Symbol 146 MovieClip Frame 9
call("on");
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
gotoAndStop (1);
Symbol 159 Button
on (release) {
getURL ("http://www.CircusX.com/main.html", "_self");
}
Symbol 166 Button
on (release) {
gotoAndStop (70);
}
Symbol 236 Button
on (release) {
tellTarget ("_level0") {
gotoAndStop ("level 2");
}
}
Symbol 246 Button
on (release) {
Set("/:redScore", "0");
Set("/:blueScore", "0");
tellTarget ("_level0") {
gotoAndPlay ("play again");
}
}
Symbol 252 Button
on (release) {
getURL ("http://www.CircusX.com/games/ultimate_dodgeball.html", "_blank");
}
Symbol 261 Button
on (release) {
Set("/:redScore", "0");
Set("/:blueScore", "0");
tellTarget ("_level0") {
gotoAndPlay ("play again");
}
}