Frame 1
copyright = "Xtreme Cartoon Co";
sYear = "2001";
developer = "circusx";
developerLink = "http://www.circusx.com/";
sponsor = "gamepug";
sponsorLink = "http://www.gamepug.com/";
playMoreGamesLink = "http://www.gamepug.com/";
gamesForYourSiteLink = "http://www.circusx.com/?page=freegames";
t = new Date();
tYear = t.getFullYear();
if (sYear != tYear) {
copyrightNotice = ((((("(c)" + sYear) + "-") + tYear) + " ") + _root.copyright) + ". All rights reserved.";
} else {
copyrightNotice = ((("(c)" + sYear) + " ") + _root.copyright) + ". All rights reserved.";
}
attachMovie("sponsor_background_" + _root.sponsor, "background", 9997);
attachMovie("loading_bar_" + _root.sponsor, "loading_bar", 10007);
Frame 2
attachMovie("sponsor_button", "sponsor_button", 9998);
attachMovie("movieQualitySetting", "movieQualitySetting", 9999);
attachMovie("sponsor_logo", "sponsor_logo", 10006);
attachMovie("menu_back_" + _root.sponsor, "menu_back", 10008);
attachMovie("menu_play_" + _root.sponsor, "menu_play", 100009);
attachMovie("menu_games_" + _root.sponsor, "menu_games", 100010);
attachMovie("menu_" + _root.sponsor, "menu_volume", 10011);
attachMovie("mask_bottom", "mask_bottom", 10012);
attachMovie("mask_top", "mask_top", 10013);
attachMovie("mask_right", "mask_right", 10014);
attachMovie("mask_left", "mask_left", 10015);
stop();
Frame 3
1();
Frame 6
attachMovie("play_button_" + _root.sponsor, "play_button", 10007);
stop();
Frame 7
1();
Frame 20
attachMovie("developer_background_" + _root.developer, "background", 9997);
attachMovie("developer_button", "developer_button", 9998);
attachMovie("developer_logo", "developer_logo", 10006);
attachMovie("copyright", "copyright", 10007);
Frame 69
developer_button.removeMovieClip();
attachMovie("game_intro_background", "background", 9997);
attachMovie("game_intro", "game_intro", 10006);
attachMovie("stage_buttons_" + _root.sponsor, "stage_buttons", 10007);
stop();
Frame 70
1();
Frame 89
attachMovie("game_instructions_background", "background", 9997);
attachMovie("game_instructions", "game_instructions", 10006);
attachMovie("play_button2_" + _root.sponsor, "play_button2", 10007);
stop();
Frame 90
1();
Frame 109
Mouse.hide();
startDrag ("/red", true, 25, 200, 475, 300);
Set("/:level", 1);
Set("/:redScore", 0);
Set("/:blueScore", 0);
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
stop();
Frame 119
Mouse.hide();
startDrag ("/red", true, 25, 200, 475, 300);
Set("/:level", 2);
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
stop();
Frame 129
Mouse.hide();
startDrag ("/red", true, 25, 200, 475, 300);
Set("/:level", 3);
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
stop();
Frame 139
Mouse.hide();
startDrag ("/red", true, 25, 200, 475, 300);
Set("/:level", 4);
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
stop();
Frame 149
_root.movieQualitySetting.movieQuality = 4;
Mouse.show();
if (Number(/:level) == 1) {
gotoAndPlay (153);
}
if (Number(/:level) == 2) {
gotoAndPlay (181);
}
if (Number(/:level) == 3) {
gotoAndPlay (226);
}
Frame 150
call("trans");
Frame 170
stop();
Frame 214
stop();
Frame 270
stop();
Frame 283
_root.movieQualitySetting.movieQuality = 4;
Mouse.show();
Frame 310
stop();
Frame 321
_root.movieQualitySetting.movieQuality = 4;
Mouse.show();
Frame 355
stop();
Symbol 5 Button
on (release) {
getURL (_root.playMoreGamesLink, "_blank");
}
Symbol 6 MovieClip [menu_play_gamexone] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height;
this._x = Number(this._width / 2) + (10 * stageD);
Symbol 8 Button
on (release) {
getURL (_root.gamesForYourSiteLink, "_blank");
}
Symbol 9 MovieClip [menu_games_gamexone] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height;
this._x = Stage.width - (Number(this._width / 2) + (10 * stageD));
Symbol 11 Button
on (press) {
_root.background.removeMovieClip();
_root.game_intro.removeMovieClip();
_root.gotoAndPlay("game");
this.removeMovieClip();
}
Symbol 12 Button
on (release) {
getURL (_root.gamesForYourSiteLink, "_blank");
}
Symbol 13 Button
on (press) {
_root.gotoAndStop("instructions");
this.removeMovieClip();
}
Symbol 14 Button
on (release) {
getURL (_root.playMoreGamesLink, "_blank");
}
Symbol 15 MovieClip [stage_buttons_gamexone] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - 50;
this._x = Stage.width / 2;
Symbol 25 MovieClip Frame 30
stop();
Symbol 29 MovieClip [sponsor_background_gamexone] Frame 1
this._height = Stage.height + Number(10);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 31 Button
on (press) {
_root.gotoAndPlay("GO");
this.removeMovieClip();
}
Symbol 32 MovieClip [play_button_gamexone] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - 50;
this._x = Stage.width / 2;
Symbol 33 Button
on (press) {
_root.background.removeMovieClip();
_root.game_instructions.removeMovieClip();
_root.gotoAndStop("game");
this.removeMovieClip();
}
Symbol 34 MovieClip [play_button2_gamexone] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - 50;
this._x = Stage.width / 2;
Symbol 37 MovieClip Frame 1
Selection.setFocus(this);
this.onEnterFrame = function () {
if (runThis != 1) {
totalFileSize = _root.getBytesTotal();
this._xscale = 0;
runThis = 1;
}
bytesLoaded = _root.getBytesLoaded();
amountLoaded = bytesLoaded / totalFileSize;
percentLoaded = int(100 * amountLoaded);
this._xscale = percentLoaded;
if (amountLoaded >= 1) {
_level0.gotoAndStop("begin");
}
};
Symbol 39 MovieClip [loading_bar_gamexone] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - 50;
this._x = Stage.width / 2;
Symbol 41 Button
on (release) {
getURL (_root.playMoreGamesLink, "_blank");
}
Symbol 42 MovieClip [menu_play_gamepug] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height;
this._x = Number(this._width / 2) + (10 * stageD);
Symbol 43 Button
on (release) {
getURL (_root.gamesForYourSiteLink, "_blank");
}
Symbol 44 MovieClip [menu_games_gamepug] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height;
this._x = Stage.width - (Number(this._width / 2) + (10 * stageD));
Symbol 46 MovieClip [menu_back_gamepug] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._height = 40 * stageD;
this._width = Stage.width + Number(10);
this._y = Stage.height - (30 * stageD);
this._x = -5;
Symbol 47 Button
on (press) {
_root.background.removeMovieClip();
_root.game_intro.removeMovieClip();
_root.gotoAndPlay("game");
this.removeMovieClip();
}
Symbol 48 Button
on (press) {
_root.gotoAndStop("instructions");
this.removeMovieClip();
}
Symbol 49 MovieClip [stage_buttons_gamepug] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - 50;
this._x = Stage.width / 2;
Symbol 50 Button
on (press) {
_root.gotoAndPlay("GO");
this.removeMovieClip();
}
Symbol 51 MovieClip [play_button_gamepug] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - 50;
this._x = Stage.width / 2;
Symbol 52 Button
on (press) {
_root.background.removeMovieClip();
_root.game_instructions.removeMovieClip();
_root.gotoAndStop("game");
this.removeMovieClip();
}
Symbol 53 MovieClip [play_button2_gamepug] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - 50;
this._x = Stage.width / 2;
Symbol 56 MovieClip Frame 1
Selection.setFocus(this);
this.onEnterFrame = function () {
if (runThis != 1) {
totalFileSize = _root.getBytesTotal();
this._xscale = 0;
runThis = 1;
}
bytesLoaded = _root.getBytesLoaded();
amountLoaded = bytesLoaded / totalFileSize;
percentLoaded = int(100 * amountLoaded);
this._xscale = percentLoaded;
if (amountLoaded >= 1) {
_level0.gotoAndStop("begin");
}
};
Symbol 58 MovieClip [loading_bar_gamepug] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - 50;
this._x = Stage.width / 2;
Symbol 59 MovieClip [developer_logo] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._x = Stage.width / 2;
this._y = (Stage.height / 2) - (30 * stageD);
attachMovie("developer_logo_" + _root.developer, "developer_logo", 100010);
Symbol 61 Button
on (release) {
getURL (_root.sponsorLink, "_blank");
}
Symbol 62 MovieClip [sponsor_button] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._height = Stage.height - (25 * stageD);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 63 Button
on (release) {
getURL (_root.developerLink, "_blank");
}
Symbol 64 MovieClip [developer_button] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._height = Stage.height - (25 * stageD);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 68 MovieClip [copyright] Frame 1
copyrightNotice = _root.copyrightNotice;
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - (50 * stageD);
this._x = Stage.width / 2;
Symbol 69 MovieClip [movieQualitySetting] Frame 1
movieQuality = 4;
_root.movieQualityDefault = 2;
Selection.setFocus(this);
this.onEnterFrame = function () {
if (_root.movieQualitySetting.movieQuality == 4) {
} else if (_root.movieQualityUserSet == 0) {
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
} else {
_root.movieQualitySetting.movieQuality = _root.movieQualityUserSet;
}
};
Symbol 70 MovieClip [mask_top] Frame 1
this._height = Stage.height * 2;
this._width = Stage.width * 2;
this._x = -(Stage.width / 2);
this._y = -(Number(Stage.height * 2) + 5);
Symbol 71 MovieClip [mask_right] Frame 1
this._height = Stage.height * 2;
this._width = Stage.width * 2;
this._x = Stage.width + Number(5);
this._y = -(Stage.height / 2);
Symbol 72 MovieClip [mask_left] Frame 1
this._height = Stage.height * 2;
this._width = Stage.width * 2;
this._x = -((Stage.width * 2) + Number(5));
this._y = -(Stage.height / 2);
Symbol 73 MovieClip [mask_bottom] Frame 1
this._height = Stage.height * 2;
this._width = Stage.width * 2;
this._x = -(Stage.width / 2);
this._y = Number(Stage.height) + 5;
Symbol 74 MovieClip [sponsor_logo] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._x = Stage.width / 2;
this._y = (Stage.height / 2) - (30 * stageD);
attachMovie("sponsor_logo_" + _root.sponsor, "sponsor_logo", 100010);
Symbol 79 Button
on (release) {
_root.game = "pause";
gotoAndStop (5);
}
Symbol 85 Button
on (press) {
_level0.movieQualityUserSet = 1;
gotoAndStop (7);
}
Symbol 87 Button
on (press) {
_level0.movieQualityUserSet = 2;
gotoAndStop (14);
}
Symbol 88 Button
on (press) {
_level0.movieQualityUserSet = 3;
gotoAndStop (22);
}
Symbol 90 Button
on (press) {
_level0.movieQualityUserSet = 2;
_level0.movieQualitySetting.movieQuality = 2;
gotoAndStop (14);
}
Symbol 91 Button
on (press) {
_level0.movieQualityUserSet = 3;
_level0.movieQualitySetting.movieQuality = 3;
gotoAndStop (22);
}
Symbol 92 Button
on (press) {
_level0.movieQualityUserSet = 1;
_level0.movieQualitySetting.movieQuality = 1;
gotoAndStop (7);
}
Symbol 93 MovieClip Frame 1
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
this.gotoAndStop("low");
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
this.gotoAndStop("medium");
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
this.gotoAndStop("high");
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
this.gotoAndStop("high");
}
stop();
Symbol 93 MovieClip Frame 7
stop();
Symbol 93 MovieClip Frame 14
stop();
Symbol 93 MovieClip Frame 22
stop();
Symbol 94 Button
on (press) {
if ((_root.audioVolume > 0) and (_root.audioVolume <= 140)) {
_root.audioVolume = Number(_root.audioVolume) - 20;
s = new Sound(_level0);
s.setVolume(_root.audioVolume);
b = new Sound(_level1);
b.attachSound("beep");
b.start();
b.setVolume(_root.audioVolume);
}
}
Symbol 95 Button
on (press) {
if ((_root.audioVolume >= 0) and (_root.audioVolume < 140)) {
_root.audioVolume = Number(_root.audioVolume) + 20;
s = new Sound(_level0);
s.setVolume(_root.audioVolume);
b = new Sound(_level1);
b.attachSound("beep");
b.start();
b.setVolume(_root.audioVolume);
}
}
Symbol 97 MovieClip Frame 1
if (_root.audioVolume <= 0) {
this.gotoAndStop("zero");
}
if ((_root.audioVolume > 0) and (_root.audioVolume <= 20)) {
this.gotoAndStop("one");
}
if ((_root.audioVolume > 20) and (_root.audioVolume <= 40)) {
this.gotoAndStop("two");
}
if ((_root.audioVolume > 40) and (_root.audioVolume <= 60)) {
this.gotoAndStop("three");
}
if ((_root.audioVolume > 60) and (_root.audioVolume <= 80)) {
this.gotoAndStop("four");
}
if ((_root.audioVolume > 80) and (_root.audioVolume <= 100)) {
this.gotoAndStop("five");
}
if ((_root.audioVolume > 100) and (_root.audioVolume <= 120)) {
this.gotoAndStop("six");
}
if (_root.audioVolume > 120) {
this.gotoAndStop("seven");
}
stop();
Symbol 98 Button
on (release) {
_root.game = "play";
gotoAndStop (1);
}
Symbol 99 MovieClip [menu_gamexone] Frame 1
if (thisRun != "Y") {
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height;
this._x = Stage.width / 2;
_root.movieQualityDefault = 2;
_root.movieQualityUserSet = 0;
thisRun = "Y";
}
Selection.setFocus(this);
this.onEnterFrame = function () {
if (_root.defaultAudioSet != 1) {
_root.defaultAudioSet = 1;
_root.audioVolume = 80;
s = new Sound(_level0);
s.setVolume(_root.audioVolume);
}
if (movieQualityChange != _level0.movieQualitySetting.movieQuality) {
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
}
movieQualityChange = _level0.movieQualitySetting.movieQuality;
}
};
stop();
Symbol 99 MovieClip [menu_gamexone] Frame 2
1();
Symbol 99 MovieClip [menu_gamexone] Frame 5
stop();
Instance of Symbol 93 MovieClip in Symbol 99 MovieClip [menu_gamexone] Frame 5
onClipEvent (enterFrame) {
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
this.gotoAndStop("low");
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
this.gotoAndStop("medium");
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
this.gotoAndStop("high");
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
this.gotoAndStop("high");
}
}
Instance of Symbol 97 MovieClip in Symbol 99 MovieClip [menu_gamexone] Frame 5
onClipEvent (enterFrame) {
if (_root.audioVolume <= 0) {
this.gotoAndStop("zero");
}
if ((_root.audioVolume > 0) and (_root.audioVolume <= 20)) {
this.gotoAndStop("one");
}
if ((_root.audioVolume > 20) and (_root.audioVolume <= 40)) {
this.gotoAndStop("two");
}
if ((_root.audioVolume > 40) and (_root.audioVolume <= 60)) {
this.gotoAndStop("three");
}
if ((_root.audioVolume > 60) and (_root.audioVolume <= 80)) {
this.gotoAndStop("four");
}
if ((_root.audioVolume > 80) and (_root.audioVolume <= 100)) {
this.gotoAndStop("five");
}
if ((_root.audioVolume > 100) and (_root.audioVolume <= 120)) {
this.gotoAndStop("six");
}
if (_root.audioVolume > 120) {
this.gotoAndStop("seven");
}
}
Symbol 99 MovieClip [menu_gamexone] Frame 6
1();
Symbol 100 MovieClip [menu_back_gamexone] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._height = 40 * stageD;
this._width = Stage.width + Number(10);
this._y = Stage.height - (30 * stageD);
this._x = -5;
Symbol 103 Button
on (release) {
_root.game = "pause";
gotoAndStop (5);
}
Symbol 107 Button
on (release) {
_root.game = "play";
gotoAndStop (1);
}
Symbol 108 MovieClip [menu_gamepug] Frame 1
if (thisRun != "Y") {
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height;
this._x = Stage.width / 2;
_root.movieQualityDefault = 2;
_root.movieQualityUserSet = 0;
thisRun = "Y";
}
Selection.setFocus(this);
this.onEnterFrame = function () {
if (_root.defaultAudioSet != 1) {
_root.defaultAudioSet = 1;
_root.audioVolume = 80;
s = new Sound(_level0);
s.setVolume(_root.audioVolume);
}
if (movieQualityChange != _level0.movieQualitySetting.movieQuality) {
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
}
movieQualityChange = _level0.movieQualitySetting.movieQuality;
}
};
_root.game = "play";
stop();
Symbol 108 MovieClip [menu_gamepug] Frame 2
1();
Symbol 108 MovieClip [menu_gamepug] Frame 5
stop();
Instance of Symbol 93 MovieClip in Symbol 108 MovieClip [menu_gamepug] Frame 5
onClipEvent (enterFrame) {
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
this.gotoAndStop("low");
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
this.gotoAndStop("medium");
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
this.gotoAndStop("high");
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
this.gotoAndStop("high");
}
}
Instance of Symbol 97 MovieClip in Symbol 108 MovieClip [menu_gamepug] Frame 5
onClipEvent (enterFrame) {
if (_root.audioVolume <= 0) {
this.gotoAndStop("zero");
}
if ((_root.audioVolume > 0) and (_root.audioVolume <= 20)) {
this.gotoAndStop("one");
}
if ((_root.audioVolume > 20) and (_root.audioVolume <= 40)) {
this.gotoAndStop("two");
}
if ((_root.audioVolume > 40) and (_root.audioVolume <= 60)) {
this.gotoAndStop("three");
}
if ((_root.audioVolume > 60) and (_root.audioVolume <= 80)) {
this.gotoAndStop("four");
}
if ((_root.audioVolume > 80) and (_root.audioVolume <= 100)) {
this.gotoAndStop("five");
}
if ((_root.audioVolume > 100) and (_root.audioVolume <= 120)) {
this.gotoAndStop("six");
}
if (_root.audioVolume > 120) {
this.gotoAndStop("seven");
}
}
Symbol 108 MovieClip [menu_gamepug] Frame 6
1();
Symbol 109 MovieClip [menu_back_gamepug] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._height = 40 * stageD;
this._width = Stage.width + Number(10);
this._y = Stage.height - (30 * stageD);
this._x = -5;
Symbol 110 Button
on (release) {
getURL (_root.playMoreGamesLink, "_blank");
}
Symbol 111 MovieClip [menu_play] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height;
this._x = Number(this._width / 2) + (10 * stageD);
Symbol 112 Button
on (release) {
getURL (_root.gamesForYourSiteLink, "_blank");
}
Symbol 113 MovieClip [menu_games] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height;
this._x = Stage.width - (Number(this._width / 2) + (10 * stageD));
Symbol 127 MovieClip Frame 43
stop();
Symbol 130 MovieClip [sponsor_background_gamepug] Frame 1
this._height = Stage.height + Number(10);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 131 MovieClip [game_intro] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._x = Stage.width / 2;
this._y = (Stage.height / 2) - (80 * stageD);
attachMovie("game_intro_graphic", "game_intro_graphic", 100010);
Symbol 132 MovieClip [game_instructions] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._x = Stage.width / 2;
this._y = (Stage.height / 2) - (30 * stageD);
attachMovie("game_instructions_graphic", "game_instructions_graphic", 100010);
Symbol 137 MovieClip Frame 1
if (((((crack eq "circusX") || (crack eq "circusx")) || (crack eq "CircusX")) || (crack eq "Circusx")) || (crack eq "CIRCUSX")) {
_root.background.removeMovieClip();
_root.stage_buttons.removeMovieClip();
_root.redScore = 250;
_root.blueScore = 250;
_root.gotoAndStop("level 2");
_root.game_intro.removeMovieClip();
}
if (((crack eq "games") || (crack eq "Games")) || (crack eq "GAMES")) {
_root.background.removeMovieClip();
_root.stage_buttons.removeMovieClip();
_root.redScore = 500;
_root.blueScore = 500;
_root.gotoAndStop("level 3");
_root.game_intro.removeMovieClip();
}
if (((crack eq "rule") || (crack eq "Rule")) || (crack eq "RULE")) {
_root.background.removeMovieClip();
_root.stage_buttons.removeMovieClip();
_root.redScore = 1000;
_root.blueScore = 1000;
_root.gotoAndStop("level 4");
_root.game_intro.removeMovieClip();
}
Symbol 137 MovieClip Frame 2
call("eval(\"on\")");
gotoAndPlay (1);
Symbol 156 MovieClip [game_intro_background] Frame 1
this._height = Stage.height + Number(10);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 161 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 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 2
stop();
Symbol 166 MovieClip Frame 3
stop();
Symbol 166 MovieClip Frame 4
if (Number(/:ball2_direction) == 1) {
setProperty("/ball2", _y , Number(getProperty("/ball2", _y)) + Number(/:ballForceBlue1));
}
if (Number(/:ball2_direction) == 2) {
setProperty("/ball2", _y , getProperty("/ball2", _y) - /:ballForceRed);
}
Symbol 166 MovieClip Frame 5
call("on");
tellTarget ("/ccball2") {
gotoAndPlay ("on");
};
Symbol 166 MovieClip Frame 6
call("on");
Symbol 166 MovieClip Frame 7
call("on");
Symbol 166 MovieClip Frame 8
call("on");
Symbol 166 MovieClip Frame 9
call("on");
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
gotoAndStop (1);
Symbol 183 MovieClip [game_instructions_background] Frame 1
this._height = Stage.height + Number(10);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 188 MovieClip [developer_background_circusx] Frame 1
this._height = Stage.height + Number(10);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 192 Button
on (keyPress "<Space>") {
Mouse.show();
stopDrag();
gotoAndStop (2);
}
Symbol 193 Button
on (keyPress "<Space>") {
Mouse.hide();
startDrag ("/red", true, 25, 200, 475, 300);
gotoAndStop (1);
}
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 1
if (Number(/:level) == 1) {
if ((Number(/:redScore) >= 250) and (Number(/:redScore) < 500)) {
tellTarget ("_level0") {
gotoAndPlay ("trans");
};
}
}
if (Number(/:level) == 1) {
if ((Number(/:blueScore) >= 250) and (Number(/:blueScore) < 500)) {
tellTarget ("_level0") {
gotoAndPlay ("lose");
};
}
}
if (Number(/:level) == 2) {
if ((Number(/:redScore) >= 500) and (Number(/:redScore) < 1000)) {
tellTarget ("_level0") {
gotoAndPlay ("trans");
};
}
}
if (Number(/:level) == 2) {
if ((Number(/:blueScore) >= 500) and (Number(/:blueScore) < 1000)) {
tellTarget ("_level0") {
gotoAndPlay ("lose");
};
}
}
if (Number(/:level) == 3) {
if ((Number(/:redScore) >= 1000) and (Number(/:redScore) < 1500)) {
tellTarget ("_level0") {
gotoAndPlay ("trans");
};
}
}
if (Number(/:level) == 3) {
if ((Number(/:blueScore) >= 1000) and (Number(/:blueScore) < 1500)) {
tellTarget ("_level0") {
gotoAndPlay ("lose");
};
}
}
if (Number(/:level) == 4) {
if (Number(/:redScore) >= 1500) {
tellTarget ("_level0") {
gotoAndPlay ("win");
};
}
}
if (Number(/:level) == 4) {
if (Number(/:blueScore) >= 1500) {
tellTarget ("_level0") {
gotoAndPlay ("lose");
};
}
}
ball1X = getProperty("/ball1", _x);
ball1Y = getProperty("/ball1", _y);
ball2X = getProperty("/ball2", _x);
ball2Y = getProperty("/ball2", _y);
if (Number(ball1y) < 40) {
setProperty("/ball1", _y , "40");
}
if (Number(ball1y) > 310) {
setProperty("/ball1", _y , "310");
}
if (Number(ball1X) < 25) {
setProperty("/ball1", _x , "25");
}
if (Number(ball1X) > 475) {
setProperty("/ball1", _x , "475");
}
if (Number(ball2y) < 40) {
setProperty("/ball2", _y , "40");
}
if (Number(ball2y) > 310) {
setProperty("/ball2", _y , "310");
}
if (Number(ball2X) < 25) {
setProperty("/ball2", _x , "25");
}
if (Number(ball2X) > 475) {
setProperty("/ball2", _x , "475");
}
if ((Number(ball1x) < 100) and (Number(ball1y) < 80)) {
setProperty("/ball1", _y , "80");
}
if ((Number(ball2x) < 100) and (Number(ball2y) < 80)) {
setProperty("/ball2", _y , "80");
}
if ((Number(ball1x) > 400) and (Number(ball1y) < 80)) {
setProperty("/ball1", _y , "80");
}
if ((Number(ball2x) > 400) and (Number(ball2y) < 80)) {
setProperty("/ball2", _y , "80");
}
blue1X = getProperty("/blue1", _x);
blue1Y = getProperty("/blue1", _y);
if (Number(blue1y) < 40) {
setProperty("/blue1", _y , "40");
}
if (Number(blue1y) > 140) {
setProperty("/blue1", _y , "140");
}
if (Number(blue1x) < 50) {
setProperty("/blue1", _x , "50");
}
if (Number(blue1x) > 450) {
setProperty("/blue1", _x , "450");
}
if ((Number(blue1x) < 100) and (Number(blue1y) < 80)) {
setProperty("/blue1", _y , "80");
}
if ((Number(blue1x) < 100) and (Number(blue1y) < 80)) {
setProperty("/blue1", _y , "80");
}
if ((Number(blue1x) > 400) and (Number(blue1y) < 80)) {
setProperty("/blue1", _y , "80");
}
if ((Number(blue1x) > 400) and (Number(blue1y) < 80)) {
setProperty("/blue1", _y , "80");
}
ball1 = getProperty("/ball1", _y);
ball2 = getProperty("/ball2", _y);
if (Number(ball1) > 180) {
if (Number(ball2) > 180) {
Set("/:ballInBlueZone", 0);
tellTarget ("/blueGetBall") {
gotoAndPlay ("defense");
};
}
}
if (Number(ball1) < 180) {
if (Number(ball2) < 180) {
if (Number(/:ballNumberBlue1) == 0) {
Set("/:ballInBlueZone", 1);
tellTarget ("/blueGetBall") {
gotoAndPlay ("on");
};
}
}
}
if (Number(/:ballInBlueZone) == 0) {
if (Number(ball1) < 180) {
Set("/:ballInBlueZone", 1);
}
if (Number(ball2) < 180) {
Set("/:ballInBlueZone", 2);
}
}
if (Number(/:ballInBlueZone) == 1) {
tellTarget ("/blueGetBall") {
gotoAndPlay ("on");
};
}
if (Number(/:ballInBlueZone) == 2) {
tellTarget ("/blueGetBall") {
gotoAndPlay ("on");
};
}
Symbol 195 MovieClip Frame 2
call("on");
gotoAndPlay (1);
Symbol 199 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 214 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 2
ball2X = getProperty("/Tball2", _x) - 5;
ball2Y = getProperty("/Tball2", _y) - 5;
redX = getProperty("/red", _x) - 20;
redY = getProperty("/red", _y) - 20;
if (((Number(ball2X) <= Number(Number(redX) + 40)) and (Number(Number(ball2X) + 10) >= Number(redX))) and ((Number(ball2Y) <= Number(Number(redY) + 40)) and (Number(Number(ball2Y) + 10) >= Number(redY)))) {
Set("/:RedDown", Number(/:RedDown) + 1);
tellTarget ("/red") {
gotoAndPlay ("hit3a");
};
tellTarget ("/ccTball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
tellTarget ("/red/power") {
gotoAndStop ("off");
};
if (Number(/:ballNumberRed) == 1) {
setProperty("/ball1", _xscale , 100);
setProperty("/ball1", _yscale , 100);
tellTarget ("/ball1") {
gotoAndStop ("off");
};
}
if (Number(/:ballNumberRed) == 2) {
setProperty("/ball2", _xscale , 100);
setProperty("/ball2", _yscale , 100);
tellTarget ("/ball2") {
gotoAndStop ("off");
};
}
Set("/:ballNumberRed", 0);
}
Symbol 214 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 2
ball1X = getProperty("/Tball1", _x) - 5;
ball1Y = getProperty("/Tball1", _y) - 5;
redX = getProperty("/red", _x) - 20;
redY = getProperty("/red", _y) - 20;
if (((Number(ball1X) <= Number(Number(redX) + 40)) and (Number(Number(ball1X) + 10) >= Number(redX))) and ((Number(ball1Y) <= Number(Number(redY) + 40)) and (Number(Number(ball1Y) + 10) >= Number(redY)))) {
Set("/:RedDown", Number(/:RedDown) + 1);
tellTarget ("/red") {
gotoAndPlay ("hit3b");
};
tellTarget ("/ccTball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
tellTarget ("/red/power") {
gotoAndStop ("off");
};
if (Number(/:ballNumberRed) == 1) {
setProperty("/ball1", _xscale , 100);
setProperty("/ball1", _yscale , 100);
tellTarget ("/ball1") {
gotoAndStop ("off");
};
}
if (Number(/:ballNumberRed) == 2) {
setProperty("/ball2", _xscale , 100);
setProperty("/ball2", _yscale , 100);
tellTarget ("/ball2") {
gotoAndStop ("off");
};
}
Set("/:ballNumberRed", 0);
}
Symbol 220 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 2
ball2X = getProperty("/ball2", _x) - 10;
ball2Y = getProperty("/ball2", _y) - 10;
blue1aX = getProperty("/blue1", _x) - 40;
blue1aY = getProperty("/blue1", _y) - 60;
blue1bX = Number(getProperty("/blue1", _x)) + 30;
blue1bY = getProperty("/blue1", _y) - 60;
if (Number(/:ballNumberBlue1) == 0) {
if ((((Number(ball2X) <= Number(Number(blue1aX) + 10)) and (Number(Number(ball2X) + 20) >= Number(blue1aX))) and (Number(ball2Y) <= Number(Number(blue1aY) + 80))) and (Number(Number(ball2Y) + 20) >= Number(blue1aY))) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/catchball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
}
if (Number(/:ballNumberBlue1) == 0) {
if ((((Number(ball2X) <= Number(Number(blue1bX) + 10)) and (Number(Number(ball2X) + 20) >= Number(blue1bX))) and (Number(ball2Y) <= Number(Number(blue1bY) + 80))) and (Number(Number(ball2Y) + 20) >= Number(blue1bY))) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/catchball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
}
redaX = getProperty("/red", _x) - 40;
redaY = getProperty("/red", _y) - 60;
redbX = Number(getProperty("/red", _x)) + 30;
redbY = getProperty("/red", _y) - 60;
if (Number(/:ballNumberRed) == 0) {
if ((((Number(ball2X) <= Number(Number(redaX) + 10)) and (Number(Number(ball2X) + 20) >= Number(redaX))) and (Number(ball2Y) <= Number(Number(redaY) + 80))) and (Number(Number(ball2Y) + 20) >= Number(redaY))) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/catchball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
}
if (Number(/:ballNumberRed) == 0) {
if ((((Number(ball2X) <= Number(Number(redbX) + 10)) and (Number(Number(ball2X) + 20) >= Number(redbX))) and (Number(ball2Y) <= Number(Number(redbY) + 80))) and (Number(Number(ball2Y) + 20) >= Number(redbY))) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/catchball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
}
Symbol 226 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 2
ball1X = getProperty("/ball1", _x) - 10;
ball1Y = getProperty("/ball1", _y) - 10;
blue1aX = getProperty("/blue1", _x) - 40;
blue1aY = getProperty("/blue1", _y) - 60;
blue1bX = Number(getProperty("/blue1", _x)) + 30;
blue1bY = getProperty("/blue1", _y) - 60;
if (Number(/:ballNumberBlue1) == 0) {
if ((((Number(ball1X) <= Number(Number(blue1aX) + 10)) and (Number(Number(ball1X) + 20) >= Number(blue1aX))) and (Number(ball1Y) <= Number(Number(blue1aY) + 80))) and (Number(Number(ball1Y) + 20) >= Number(blue1aY))) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/catchball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
}
if (Number(/:ballNumberBlue1) == 0) {
if ((((Number(ball1X) <= Number(Number(blue1bX) + 10)) and (Number(Number(ball1X) + 20) >= Number(blue1bX))) and (Number(ball1Y) <= Number(Number(blue1bY) + 80))) and (Number(Number(ball1Y) + 20) >= Number(blue1bY))) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/catchball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
}
redaX = getProperty("/red", _x) - 40;
redaY = getProperty("/red", _y) - 60;
redbX = Number(getProperty("/red", _x)) + 30;
redbY = getProperty("/red", _y) - 60;
if (Number(/:ballNumberRed) == 0) {
if ((((Number(ball1X) <= Number(Number(redaX) + 10)) and (Number(Number(ball1X) + 20) >= Number(redaX))) and (Number(ball1Y) <= Number(Number(redaY) + 80))) and (Number(Number(ball1Y) + 20) >= Number(redaY))) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/catchball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
}
if (Number(/:ballNumberRed) == 0) {
if ((((Number(ball1X) <= Number(Number(redbX) + 10)) and (Number(Number(ball1X) + 20) >= Number(redbX))) and (Number(ball1Y) <= Number(Number(redbY) + 80))) and (Number(Number(ball1Y) + 20) >= Number(redbY))) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/catchball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
}
Symbol 229 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 6
if (Number(/:BlueDown) > 0) {
Set("/:redScore", Number(/:redScore) + 50);
}
gotoAndStop (1);
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 6
if (Number(/:redDown) > 0) {
Set("/:blueScore", Number(/:blueScore) + 50);
}
gotoAndStop (1);
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 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 ((((Number(ball2X) <= Number(Number(blue1X) + 20)) and (Number(Number(ball2X) + 20) >= Number(blue1X))) and (Number(ball2Y) <= Number(Number(blue1Y) + 40))) and (Number(Number(ball2Y) + 20) >= Number(blue1Y))) {
Set("/:BlueDown", Number(/:BlueDown) + 1);
tellTarget ("/blue1") {
gotoAndPlay ("hit");
};
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
Set("/:ballNumberBlue1", 0);
}
if (((Number(ball2X) <= Number(Number(redX) + 20)) and (Number(Number(ball2X) + 20) >= Number(redX))) and ((Number(ball2Y) <= Number(Number(redY) + 75)) and (Number(Number(ball2Y) + 20) >= Number(redY)))) {
Set("/:RedDown", Number(/: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 238 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 238 MovieClip Frame 5
ball2X = getProperty("/ball2", _x) - 10;
ball2Y = getProperty("/ball2", _y) - 10;
blue1aX = getProperty("/blue1", _x) - 40;
blue1aY = getProperty("/blue1", _y) - 60;
blue1bX = Number(getProperty("/blue1", _x)) + 30;
blue1bY = getProperty("/blue1", _y) - 60;
if ((((Number(ball2X) <= Number(Number(blue1aX) + 10)) and (Number(Number(ball2X) + 20) >= Number(blue1aX))) and (Number(ball2Y) <= Number(Number(blue1aY) + 80))) and (Number(Number(ball2Y) + 20) >= Number(blue1aY))) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
if ((((Number(ball2X) <= Number(Number(blue1bX) + 10)) and (Number(Number(ball2X) + 20) >= Number(blue1bX))) and (Number(ball2Y) <= Number(Number(blue1bY) + 80))) and (Number(Number(ball2Y) + 20) >= Number(blue1bY))) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
redaX = getProperty("/red", _x) - 40;
redaY = getProperty("/red", _y) - 60;
redbX = Number(getProperty("/red", _x)) + 30;
redbY = getProperty("/red", _y) - 60;
if ((((Number(ball2X) <= Number(Number(redaX) + 10)) and (Number(Number(ball2X) + 20) >= Number(redaX))) and (Number(ball2Y) <= Number(Number(redaY) + 80))) and (Number(Number(ball2Y) + 20) >= Number(redaY))) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
if ((((Number(ball2X) <= Number(Number(redbX) + 10)) and (Number(Number(ball2X) + 20) >= Number(redbX))) and (Number(ball2Y) <= Number(Number(redbY) + 80))) and (Number(Number(ball2Y) + 20) >= Number(redbY))) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
Symbol 238 MovieClip Frame 6
call("eval(\"on\")");
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 2
if (Number(/:ballInBlueZone) == 1) {
ball1Sx = getProperty("/ball1", _x);
ball1Sy = getProperty("/ball1", _y);
blue1Sx = getProperty("/blue1", _x);
blue1Sy = getProperty("/blue1", _y);
if (Number(ball1Sx) < Number(blue1Sx)) {
setProperty("/blue1", _x , getProperty("/blue1", _x) - 20);
}
if (Number(ball1Sx) > Number(blue1Sx)) {
setProperty("/blue1", _x , Number(getProperty("/blue1", _x)) + 20);
}
if (Number(ball1Sy) < Number(blue1Sy)) {
setProperty("/blue1", _y , getProperty("/blue1", _y) - 20);
}
if (Number(ball1Sy) > Number(blue1Sy)) {
setProperty("/blue1", _y , Number(getProperty("/blue1", _y)) + 20);
}
}
if (Number(/:ballInBlueZone) == 2) {
ball2Sx = getProperty("/ball2", _x);
ball2Sy = getProperty("/ball2", _y);
blue1Sx = getProperty("/blue1", _x);
blue1Sy = getProperty("/blue1", _y);
if (Number(ball2Sx) < Number(blue1Sx)) {
setProperty("/blue1", _x , getProperty("/blue1", _x) - 20);
}
if (Number(ball2Sx) > Number(blue1Sx)) {
setProperty("/blue1", _x , Number(getProperty("/blue1", _x)) + 20);
}
if (Number(ball2Sy) < Number(blue1Sy)) {
setProperty("/blue1", _y , getProperty("/blue1", _y) - 20);
}
if (Number(ball2Sy) > Number(blue1Sy)) {
setProperty("/blue1", _y , Number(getProperty("/blue1", _y)) + 20);
}
}
Symbol 249 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 249 MovieClip Frame 5
redSx = getProperty("/red", _x);
redSy = getProperty("/red", _y);
blue1Sx = getProperty("/blue1", _x) - 20;
blue1Sy = getProperty("/blue1", _y);
if (Number(ball1Sy) < 180) {
if (Number(redSx) < Number(blue1Sx)) {
setProperty("/blue1", _x , getProperty("/blue1", _x) - 20);
}
if (Number(redSx) > Number(blue1Sx)) {
setProperty("/blue1", _x , Number(getProperty("/blue1", _x)) + 20);
}
}
Symbol 249 MovieClip Frame 6
call("offense");
gotoAndPlay (5);
Symbol 249 MovieClip Frame 10
redSx = getProperty("/red", _x);
redSy = getProperty("/red", _y);
blue1Sx = getProperty("/blue1", _x) - 20;
blue1Sy = getProperty("/blue1", _y);
if (Number(ball1Sy) < 180) {
if (Number(redSx) < Number(blue1Sx)) {
setProperty("/blue1", _x , Number(getProperty("/blue1", _x)) + 20);
}
if (Number(redSx) > Number(blue1Sx)) {
setProperty("/blue1", _x , getProperty("/blue1", _x) - 20);
}
}
Symbol 249 MovieClip Frame 11
call("defense");
gotoAndPlay (10);
Symbol 258 MovieClip Frame 1
randomD = random(10);
randomM = Number(random(20)) + 20;
Symbol 258 MovieClip Frame 2
if (Number(randomD) == 2) {
setProperty("/blue1", _x , Number(getProperty("/blue1", _x)) + Number(RandomM));
}
if (Number(randomD) == 3) {
setProperty("/blue1", _x , getProperty("/blue1", _x) - RandomM);
}
if (Number(randomD) == 4) {
setProperty("/blue1", _y , getProperty("/blue1", _y) - RandomM);
}
if (Number(randomD) == 5) {
setProperty("/blue1", _y , Number(getProperty("/blue1", _y)) + Number(RandomM));
}
gotoAndPlay (1);
Symbol 258 MovieClip Frame 5
play();
Symbol 258 MovieClip Frame 25
gotoAndPlay (1);
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 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 ((((Number(ball1X) <= Number(Number(blue1X) + 20)) and (Number(Number(ball1X) + 20) >= Number(blue1X))) and (Number(ball1Y) <= Number(Number(blue1Y) + 40))) and (Number(Number(ball1Y) + 20) >= Number(blue1Y))) {
Set("/:BlueDown", Number(/:BlueDown) + 1);
tellTarget ("/blue1") {
gotoAndPlay ("hit");
};
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
Set("/:ballNumberBlue1", 0);
}
if (((Number(ball1X) <= Number(Number(redX) + 20)) and (Number(Number(ball1X) + 20) >= Number(redX))) and ((Number(ball1Y) <= Number(Number(redY) + 75)) and (Number(Number(ball1Y) + 20) >= Number(redY)))) {
Set("/:RedDown", Number(/: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 264 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 264 MovieClip Frame 5
ball1X = getProperty("/ball1", _x) - 10;
ball1Y = getProperty("/ball1", _y) - 10;
blue1aX = getProperty("/blue1", _x) - 40;
blue1aY = getProperty("/blue1", _y) - 60;
blue1bX = Number(getProperty("/blue1", _x)) + 30;
blue1bY = getProperty("/blue1", _y) - 60;
if ((((Number(ball1X) <= Number(Number(blue1aX) + 10)) and (Number(Number(ball1X) + 20) >= Number(blue1aX))) and (Number(ball1Y) <= Number(Number(blue1aY) + 80))) and (Number(Number(ball1Y) + 20) >= Number(blue1aY))) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
if ((((Number(ball1X) <= Number(Number(blue1bX) + 10)) and (Number(Number(ball1X) + 20) >= Number(blue1bX))) and (Number(ball1Y) <= Number(Number(blue1bY) + 80))) and (Number(Number(ball1Y) + 20) >= Number(blue1bY))) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreRed") {
gotoAndPlay ("on");
};
}
redaX = getProperty("/red", _x) - 40;
redaY = getProperty("/red", _y) - 60;
redbX = Number(getProperty("/red", _x)) + 30;
redbY = getProperty("/red", _y) - 60;
if ((((Number(ball1X) <= Number(Number(redaX) + 10)) and (Number(Number(ball1X) + 20) >= Number(redaX))) and (Number(ball1Y) <= Number(Number(redaY) + 80))) and (Number(Number(ball1Y) + 20) >= Number(redaY))) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
if ((((Number(ball1X) <= Number(Number(redbX) + 10)) and (Number(Number(ball1X) + 20) >= Number(redbX))) and (Number(ball1Y) <= Number(Number(redbY) + 80))) and (Number(Number(ball1Y) + 20) >= Number(redbY))) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
Symbol 264 MovieClip Frame 6
call("eval(\"on\")");
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 2
Set("/:ballForceRed", 40);
Symbol 279 MovieClip Frame 3
Set("/:ballForceRed", 40);
Symbol 279 MovieClip Frame 4
Set("/:ballForceRed", 40);
Symbol 279 MovieClip Frame 5
Set("/:ballForceRed", 60);
Symbol 279 MovieClip Frame 6
Set("/:ballForceRed", 60);
Symbol 279 MovieClip Frame 7
Set("/:ballForceRed", 80);
Symbol 279 MovieClip Frame 8
gotoAndPlay (2);
Symbol 285 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 296 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 = Number(getProperty("/red", _x)) + 30;
redbY = getProperty("/red", _y) - 20;
if ((((Number(ball1X) <= Number(Number(redaX) + 10)) and (Number(Number(ball1X) + 20) >= Number(redaX))) and (Number(ball1Y) <= Number(Number(redaY) + 40))) and (Number(Number(ball1Y) + 20) >= Number(redaY))) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
gotoAndPlay (5);
Set("/:ball1_direction", 2);
Set("/:ballNumberRed", 1);
}
if ((((Number(ball1X) <= Number(Number(redbX) + 10)) and (Number(Number(ball1X) + 20) >= Number(redbX))) and (Number(ball1Y) <= Number(Number(redbY) + 40))) and (Number(Number(ball1Y) + 20) >= Number(redbY))) {
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
gotoAndPlay (5);
Set("/:ball1_direction", 2);
Set("/:ballNumberRed", 1);
}
if ((((Number(ball2X) <= Number(Number(redaX) + 10)) and (Number(Number(ball2X) + 20) >= Number(redaX))) and (Number(ball2Y) <= Number(Number(redaY) + 40))) and (Number(Number(ball2Y) + 20) >= Number(redaY))) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
gotoAndPlay (5);
Set("/:ball2_direction", 2);
Set("/:ballNumberRed", 2);
}
if ((((Number(ball2X) <= Number(Number(redbX) + 10)) and (Number(Number(ball2X) + 20) >= Number(redbX))) and (Number(ball2Y) <= Number(Number(redbY) + 40))) and (Number(Number(ball2Y) + 20) >= Number(redbY))) {
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
gotoAndPlay (5);
Set("/:ball2_direction", 2);
Set("/:ballNumberRed", 2);
}
Symbol 296 MovieClip Frame 2
call("off");
gotoAndPlay (1);
Symbol 296 MovieClip Frame 6
if (Number(/:ballNumberRed) == 1) {
tellTarget ("/ball1") {
gotoAndStop ("ready");
};
}
if (Number(/:ballNumberRed) == 2) {
tellTarget ("/ball2") {
gotoAndStop ("ready");
};
}
Symbol 296 MovieClip Frame 7
if (Number(/:ballNumberRed) == 1) {
setProperty("/ball1", _x , Number(getProperty("/red", _x)) + 10);
setProperty("/ball1", _y , getProperty("/red", _y) - 10);
setProperty("/ball1", _rotation , "0");
}
if (Number(/:ballNumberRed) == 2) {
setProperty("/ball2", _x , Number(getProperty("/red", _x)) + 10);
setProperty("/ball2", _y , getProperty("/red", _y) - 10);
setProperty("/ball2", _rotation , "0");
}
call("ball ready");
Symbol 296 MovieClip Frame 8
call("ball1");
Symbol 296 MovieClip Frame 9
if (Number(/:ballNumberRed) == 1) {
setProperty("/ball1", _x , Number(getProperty("/red", _x)) + 10);
setProperty("/ball1", _y , getProperty("/red", _y) - 10);
setProperty("/ball1", _rotation , "15");
}
if (Number(/:ballNumberRed) == 2) {
setProperty("/ball2", _x , Number(getProperty("/red", _x)) + 10);
setProperty("/ball2", _y , getProperty("/red", _y) - 10);
setProperty("/ball2", _rotation , "15");
}
Symbol 296 MovieClip Frame 10
call("ball2");
Symbol 296 MovieClip Frame 11
call("ball2");
gotoAndPlay (7);
Symbol 296 MovieClip Frame 16
if (Number(/:ballNumberRed) == 1) {
setProperty("/ball1", _x , Number(getProperty("/red", _x)) + 10);
setProperty("/ball1", _y , getProperty("/red", _y) - 10);
setProperty("/ball1", _rotation , "0");
}
if (Number(/:ballNumberRed) == 2) {
setProperty("/ball2", _x , Number(getProperty("/red", _x)) + 10);
setProperty("/ball2", _y , getProperty("/red", _y) - 10);
setProperty("/ball2", _rotation , "0");
}
Symbol 296 MovieClip Frame 17
call("ready");
Symbol 296 MovieClip Frame 18
if (Number(/:ballNumberRed) == 1) {
setProperty("/ball1", _x , Number(getProperty("/red", _x)) + 10);
setProperty("/ball1", _y , getProperty("/red", _y) - 10);
setProperty("/ball1", _rotation , "15");
}
if (Number(/:ballNumberRed) == 2) {
setProperty("/ball2", _x , Number(getProperty("/red", _x)) + 10);
setProperty("/ball2", _y , getProperty("/red", _y) - 10);
setProperty("/ball2", _rotation , "15");
}
Symbol 296 MovieClip Frame 19
call("ready1");
gotoAndPlay (16);
Symbol 296 MovieClip Frame 31
Set("/:ballNumberRed", 0);
gotoAndPlay (1);
Symbol 296 MovieClip Frame 36
stopDrag();
Symbol 296 MovieClip Frame 50
Mouse.hide();
startDrag ("/red", true, 25, 200, 475, 300);
Set("/:RedDown", 0);
gotoAndPlay (1);
Symbol 296 MovieClip Frame 56
stopDrag();
Symbol 296 MovieClip Frame 70
Mouse.hide();
startDrag ("/red", true, 25, 200, 475, 300);
Set("/:RedDown", 0);
gotoAndPlay (1);
Symbol 296 MovieClip Frame 76
stopDrag();
Symbol 296 MovieClip Frame 90
Mouse.hide();
startDrag ("/red", true, 25, 200, 475, 300);
Set("/:RedDown", 0);
gotoAndPlay (1);
Symbol 296 MovieClip Frame 96
stopDrag();
Symbol 296 MovieClip Frame 110
Mouse.hide();
startDrag ("/red", true, 25, 200, 475, 300);
Set("/:RedDown", 0);
gotoAndPlay (1);
Symbol 297 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 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
stop();
Symbol 300 MovieClip Frame 3
stop();
Symbol 300 MovieClip Frame 4
if (Number(/:ball1_direction) == 1) {
setProperty("/ball1", _y , Number(getProperty("/ball1", _y)) + Number(/:ballForceBlue1));
}
if (Number(/:ball1_direction) == 2) {
setProperty("/ball1", _y , getProperty("/ball1", _y) - /:ballForceRed);
}
Symbol 300 MovieClip Frame 5
call("on");
tellTarget ("/ccball1") {
gotoAndPlay ("on");
};
Symbol 300 MovieClip Frame 6
call("on");
Symbol 300 MovieClip Frame 7
call("on");
Symbol 300 MovieClip Frame 8
call("on");
Symbol 300 MovieClip Frame 9
call("on");
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
gotoAndStop (1);
Symbol 308 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 = Number(getProperty("/blue1", _x)) + 30;
blue1bY = getProperty("/blue1", _y) - 60;
if ((((Number(ball1X) <= Number(Number(blue1aX) + 10)) and (Number(Number(ball1X) + 20) >= Number(blue1aX))) and (Number(ball1Y) <= Number(Number(blue1aY) + 80))) and (Number(Number(ball1Y) + 20) >= Number(blue1aY))) {
gotoAndPlay (33);
tellTarget ("/ball1") {
gotoAndStop ("off1");
};
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
Set("/:ballInBlueZone", 3);
Set("/:ballNumberBlue1", 1);
}
if ((((Number(ball1X) <= Number(Number(blue1bX) + 10)) and (Number(Number(ball1X) + 20) >= Number(blue1bX))) and (Number(ball1Y) <= Number(Number(blue1bY) + 80))) and (Number(Number(ball1Y) + 20) >= Number(blue1bY))) {
gotoAndPlay (33);
tellTarget ("/ball1") {
gotoAndStop ("off1");
};
tellTarget ("/ccball1") {
gotoAndStop ("off");
};
Set("/:ballInBlueZone", "3");
Set("/:ballNumberBlue1", 1);
}
if ((((Number(ball2X) <= Number(Number(blue1aX) + 10)) and (Number(Number(ball2X) + 20) >= Number(blue1aX))) and (Number(ball2Y) <= Number(Number(blue1aY) + 80))) and (Number(Number(ball2Y) + 20) >= Number(blue1aY))) {
gotoAndPlay (33);
tellTarget ("/ball2") {
gotoAndStop ("off1");
};
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
Set("/:ballInBlueZone", "3");
Set("/:ball2_direction", 1);
Set("/:ballNumberBlue1", 2);
}
if ((((Number(ball2X) <= Number(Number(blue1bX) + 10)) and (Number(Number(ball2X) + 20) >= Number(blue1bX))) and (Number(ball2Y) <= Number(Number(blue1bY) + 80))) and (Number(Number(ball2Y) + 20) >= Number(blue1bY))) {
gotoAndPlay (33);
tellTarget ("/ball2") {
gotoAndStop ("off1");
};
tellTarget ("/ccball2") {
gotoAndStop ("off");
};
Set("/:ballInBlueZone", "3");
Set("/:ball2_direction", 1);
Set("/:ballNumberBlue1", 2);
}
Symbol 308 MovieClip Frame 2
call("off");
gotoAndPlay (1);
Symbol 308 MovieClip Frame 10
tellTarget ("/bMovement") {
gotoAndPlay ("off");
};
tellTarget ("/blueGetBall") {
gotoAndStop ("off");
};
Symbol 308 MovieClip Frame 26
tellTarget ("/bMovement") {
gotoAndPlay ("on");
};
Symbol 308 MovieClip Frame 27
tellTarget ("/bMovement") {
gotoAndPlay ("on");
};
Set("/:BlueDown", 0);
gotoAndPlay (1);
Symbol 308 MovieClip Frame 33
if (Number(/:ballNumberBlue1) == 1) {
Set("/:ball1_direction", 1);
}
Symbol 308 MovieClip Frame 38
tellTarget ("/blueGetBall") {
gotoAndPlay ("offense");
};
Symbol 308 MovieClip Frame 39
tossR = random(30);
if (Number(/:ballNumberBlue1) == 1) {
setProperty("/ball1", _x , getProperty("/blue1", _x) - 20);
setProperty("/ball1", _y , getProperty("/blue1", _y));
}
if (Number(/:ballNumberBlue1) == 2) {
setProperty("/ball2", _x , getProperty("/blue1", _x) - 20);
setProperty("/ball2", _y , getProperty("/blue1", _y));
}
Symbol 308 MovieClip Frame 40
if (Number(tossR) == 2) {
gotoAndPlay (46);
} else {
gotoAndPlay (39);
}
if (Number(/:ballNumberBlue1) == 1) {
setProperty("/ball1", _x , getProperty("/blue1", _x) - 20);
setProperty("/ball1", _y , getProperty("/blue1", _y));
}
if (Number(/:ballNumberBlue1) == 2) {
setProperty("/ball2", _x , getProperty("/blue1", _x) - 20);
setProperty("/ball2", _y , getProperty("/blue1", _y));
}
Symbol 308 MovieClip Frame 46
tossR = 0;
if (Number(/:ballNumberBlue1) == 1) {
setProperty("/ball1", _x , getProperty("/blue1", _x) - 20);
setProperty("/ball1", _y , getProperty("/blue1", _y));
}
if (Number(/:ballNumberBlue1) == 2) {
setProperty("/ball2", _x , getProperty("/blue1", _x) - 20);
setProperty("/ball2", _y , getProperty("/blue1", _y));
}
Symbol 308 MovieClip Frame 47
if (Number(/:ballNumberBlue1) == 1) {
setProperty("/ball1", _x , getProperty("/blue1", _x) - 20);
setProperty("/ball1", _y , getProperty("/blue1", _y));
}
if (Number(/:ballNumberBlue1) == 2) {
setProperty("/ball2", _x , getProperty("/blue1", _x) - 20);
setProperty("/ball2", _y , getProperty("/blue1", _y));
}
Symbol 308 MovieClip Frame 48
if (Number(/:ballNumberBlue1) == 1) {
setProperty("/ball1", _x , getProperty("/blue1", _x) - 40);
setProperty("/ball1", _y , getProperty("/blue1", _y) - 40);
}
if (Number(/:ballNumberBlue1) == 2) {
setProperty("/ball2", _x , getProperty("/blue1", _x) - 40);
setProperty("/ball2", _y , getProperty("/blue1", _y) - 40);
}
Symbol 308 MovieClip Frame 49
if (Number(/:ballNumberBlue1) == 1) {
setProperty("/ball1", _x , getProperty("/blue1", _x) - 40);
setProperty("/ball1", _y , getProperty("/blue1", _y) - 40);
}
if (Number(/:ballNumberBlue1) == 2) {
setProperty("/ball2", _x , getProperty("/blue1", _x) - 40);
setProperty("/ball2", _y , getProperty("/blue1", _y) - 40);
}
Symbol 308 MovieClip Frame 50
if (Number(/:ballNumberBlue1) == 1) {
tellTarget ("/ball1") {
gotoAndPlay ("on");
};
}
if (Number(/:ballNumberBlue1) == 2) {
tellTarget ("/ball2") {
gotoAndPlay ("on");
};
}
Symbol 308 MovieClip Frame 56
Set("/:ballNumberBlue1", 0);
Set("/:ballInBlueZone", 0);
gotoAndPlay (1);
Symbol 331 MovieClip Frame 1
tellTarget ("/ccTBall1") {
gotoAndStop ("off");
};
setProperty("/Tball1", _x , 50);
setProperty("/Tball1", _y , 40);
setProperty("/Tball1", _xscale , 100);
setProperty("/Tball1", _yscale , 100);
stop();
Symbol 331 MovieClip Frame 2
sine1 = /:sine1;
cosine1 = /:cosine1;
setProperty("/Tball1", _rotation , getProperty("/tube1", _rotation));
setProperty("/Tball1", _x , Number(getProperty("/Tball1", _x)) + Number(50 * cosine1));
setProperty("/Tball1", _y , Number(getProperty("/Tball1", _y)) + Number(50 * sine1));
Symbol 331 MovieClip Frame 3
call("on");
Symbol 331 MovieClip Frame 4
call("on");
Symbol 331 MovieClip Frame 5
call("on");
Symbol 331 MovieClip Frame 6
call("on");
Symbol 331 MovieClip Frame 7
call("on");
Symbol 331 MovieClip Frame 8
call("on");
Symbol 331 MovieClip Frame 9
call("on");
Symbol 331 MovieClip Frame 10
call("on");
gotoAndStop (1);
Symbol 333 MovieClip Frame 1
RandomT = Number(random(7)) + 1;
random = 0;
Symbol 333 MovieClip Frame 2
if (Number(RandomT) == 1) {
gotoAndPlay (5);
}
if (Number(RandomT) == 2) {
gotoAndPlay (20);
}
if (Number(RandomT) == 3) {
gotoAndPlay (35);
}
if (Number(RandomT) == 4) {
gotoAndPlay (50);
}
if (Number(RandomT) == 5) {
gotoAndPlay (65);
}
if (Number(RandomT) == 6) {
gotoAndPlay (80);
}
if (Number(RandomT) == 7) {
gotoAndPlay (95);
}
Symbol 333 MovieClip Frame 5
setProperty("/tube1", _rotation , 15);
Set("/:cosine1", -0.2588);
Set("/:sine1", 0.9659);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (7);
}
Symbol 333 MovieClip Frame 6
gotoAndPlay (5);
Symbol 333 MovieClip Frame 7
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
};
Symbol 333 MovieClip Frame 19
gotoAndPlay (1);
Symbol 333 MovieClip Frame 20
setProperty("/tube1", _rotation , 0);
Set("/:cosine1", 0);
Set("/:sine1", 1);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (22);
}
Symbol 333 MovieClip Frame 21
gotoAndPlay (20);
Symbol 333 MovieClip Frame 22
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
};
Symbol 333 MovieClip Frame 34
gotoAndPlay (1);
Symbol 333 MovieClip Frame 35
setProperty("/tube1", _rotation , -15);
Set("/:cosine1", 0.2588);
Set("/:sine1", 0.9659);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (37);
}
Symbol 333 MovieClip Frame 36
gotoAndPlay (35);
Symbol 333 MovieClip Frame 37
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
};
Symbol 333 MovieClip Frame 49
gotoAndPlay (1);
Symbol 333 MovieClip Frame 50
setProperty("/tube1", _rotation , -30);
Set("/:cosine1", 0.5);
Set("/:sine1", 0.866);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (52);
}
Symbol 333 MovieClip Frame 51
gotoAndPlay (50);
Symbol 333 MovieClip Frame 52
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
};
Symbol 333 MovieClip Frame 64
gotoAndPlay (1);
Symbol 333 MovieClip Frame 65
setProperty("/tube1", _rotation , -45);
Set("/:cosine1", 0.7071);
Set("/:sine1", 0.7071);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (67);
}
Symbol 333 MovieClip Frame 66
gotoAndPlay (65);
Symbol 333 MovieClip Frame 67
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
};
Symbol 333 MovieClip Frame 79
gotoAndPlay (1);
Symbol 333 MovieClip Frame 80
setProperty("/tube1", _rotation , -60);
Set("/:cosine1", 0.866);
Set("/:sine1", 0.5);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (82);
}
Symbol 333 MovieClip Frame 81
gotoAndPlay (80);
Symbol 333 MovieClip Frame 82
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
};
Symbol 333 MovieClip Frame 94
gotoAndPlay (1);
Symbol 333 MovieClip Frame 95
setProperty("/tube1", _rotation , -75);
Set("/:cosine1", 0.9659);
Set("/:sine1", 0.2588);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (97);
}
Symbol 333 MovieClip Frame 96
gotoAndPlay (95);
Symbol 333 MovieClip Frame 97
tellTarget ("/Tball1") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball1") {
gotoAndPlay ("on");
};
Symbol 333 MovieClip Frame 109
gotoAndPlay (1);
Symbol 360 MovieClip Frame 1
tellTarget ("/ccTBall2") {
gotoAndStop ("off");
};
setProperty("/Tball2", _x , 450);
setProperty("/Tball2", _y , 40);
setProperty("/Tball2", _xscale , 100);
setProperty("/Tball2", _yscale , 100);
stop();
Symbol 360 MovieClip Frame 2
sine2 = /:sine2;
cosine2 = /:cosine2;
setProperty("/tball2", _rotation , getProperty("/tube2", _rotation));
setProperty("/Tball2", _x , Number(getProperty("/Tball2", _x)) + Number(50 * cosine2));
setProperty("/Tball2", _y , Number(getProperty("/Tball2", _y)) + Number(50 * sine2));
Symbol 360 MovieClip Frame 3
call("on");
Symbol 360 MovieClip Frame 4
call("on");
Symbol 360 MovieClip Frame 5
call("on");
Symbol 360 MovieClip Frame 6
call("on");
Symbol 360 MovieClip Frame 7
call("on");
Symbol 360 MovieClip Frame 8
call("on");
Symbol 360 MovieClip Frame 9
call("on");
Symbol 360 MovieClip Frame 10
call("on");
gotoAndStop (1);
Symbol 361 MovieClip Frame 1
RandomT = Number(random(7)) + 1;
random = 0;
Symbol 361 MovieClip Frame 2
if (Number(RandomT) == 1) {
gotoAndPlay (5);
}
if (Number(RandomT) == 2) {
gotoAndPlay (20);
}
if (Number(RandomT) == 3) {
gotoAndPlay (35);
}
if (Number(RandomT) == 4) {
gotoAndPlay (50);
}
if (Number(RandomT) == 5) {
gotoAndPlay (65);
}
if (Number(RandomT) == 6) {
gotoAndPlay (80);
}
if (Number(RandomT) == 7) {
gotoAndPlay (95);
}
Symbol 361 MovieClip Frame 5
setProperty("/tube2", _rotation , -15);
Set("/:cosine2", 0.2588);
Set("/:sine2", 0.9659);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (7);
}
Symbol 361 MovieClip Frame 6
gotoAndPlay (5);
Symbol 361 MovieClip Frame 7
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
};
Symbol 361 MovieClip Frame 19
gotoAndPlay (1);
Symbol 361 MovieClip Frame 20
setProperty("/tube2", _rotation , 0);
Set("/:cosine2", 0);
Set("/:sine2", 1);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (22);
}
Symbol 361 MovieClip Frame 21
gotoAndPlay (20);
Symbol 361 MovieClip Frame 22
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
};
Symbol 361 MovieClip Frame 34
gotoAndPlay (1);
Symbol 361 MovieClip Frame 35
setProperty("/tube2", _rotation , 15);
Set("/:cosine2", -0.2588);
Set("/:sine2", 0.9659);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (37);
}
Symbol 361 MovieClip Frame 36
gotoAndPlay (35);
Symbol 361 MovieClip Frame 37
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
};
Symbol 361 MovieClip Frame 49
gotoAndPlay (1);
Symbol 361 MovieClip Frame 50
setProperty("/tube2", _rotation , 30);
Set("/:cosine2", -0.5);
Set("/:sine2", 0.866);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (52);
}
Symbol 361 MovieClip Frame 51
gotoAndPlay (50);
Symbol 361 MovieClip Frame 52
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
};
Symbol 361 MovieClip Frame 64
gotoAndPlay (1);
Symbol 361 MovieClip Frame 65
setProperty("/tube2", _rotation , 45);
Set("/:cosine2", -0.7071);
Set("/:sine2", 0.7071);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (67);
}
Symbol 361 MovieClip Frame 66
gotoAndPlay (65);
Symbol 361 MovieClip Frame 67
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
};
Symbol 361 MovieClip Frame 79
gotoAndPlay (1);
Symbol 361 MovieClip Frame 80
setProperty("/tube2", _rotation , 60);
Set("/:cosine2", -0.866);
Set("/:sine2", 0.5);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (82);
}
Symbol 361 MovieClip Frame 81
gotoAndPlay (80);
Symbol 361 MovieClip Frame 82
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
};
Symbol 361 MovieClip Frame 94
gotoAndPlay (1);
Symbol 361 MovieClip Frame 95
setProperty("/tube2", _rotation , 75);
Set("/:cosine2", -0.9659);
Set("/:sine2", 0.2588);
Random = Number(random(40)) + 1;
if (Number(Random) == 5) {
gotoAndPlay (1);
}
if (Number(Random) == 15) {
gotoAndPlay (97);
}
Symbol 361 MovieClip Frame 96
gotoAndPlay (95);
Symbol 361 MovieClip Frame 97
tellTarget ("/Tball2") {
gotoAndPlay ("on");
};
tellTarget ("/ccTball2") {
gotoAndPlay ("on");
};
Symbol 361 MovieClip Frame 109
gotoAndPlay (1);
Symbol 368 MovieClip Frame 1
random = Number(random(20)) + 1;
randomX = Number(random(500)) + 25;
Symbol 368 MovieClip Frame 2
if (Number(random) == 5) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 368 MovieClip Frame 3
setProperty("/sleder", _x , randomX);
Symbol 368 MovieClip Frame 4
redX = getProperty("/red", _x) - 25;
redY = getProperty("/red", _y) - 50;
slederX = getProperty("/sleder", _x);
slederY = getProperty("/sleder", _y);
if ((((Number(Number(slederX) + 40) >= Number(redX)) and (Number(slederX) <= Number(Number(redX) + 50))) and (Number(Number(slederY) + 40) >= Number(redY))) and (Number(slederY) <= Number(Number(redY) + 75))) {
Set("/:RedDown", Number(/:RedDown) + 1);
if (Number(/:ballNumberRed) == 1) {
tellTarget ("/ball1") {
gotoAndStop ("off");
};
setProperty("/ball1", _xscale , 100);
setProperty("/ball1", _yscale , 100);
}
if (Number(/:ballNumberRed) == 2) {
tellTarget ("/ball2") {
gotoAndStop ("off");
};
setProperty("/ball2", _xscale , 100);
setProperty("/ball2", _yscale , 100);
}
tellTarget ("/red") {
gotoAndPlay ("hit2");
};
tellTarget ("/red/power") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
sleder = getProperty("/sleder", _y);
if (Number(sleder) >= 350) {
setProperty("/sleder", _y , -150);
gotoAndPlay (1);
} else {
setProperty("/sleder", _y , Number(getProperty("/sleder", _y)) + 15);
}
Symbol 368 MovieClip Frame 5
call("on");
gotoAndPlay (4);
Symbol 368 MovieClip Frame 12
redX = getProperty("/red", _x) - 25;
redY = getProperty("/red", _y) - 50;
ropeBoyX = getProperty("/ropeBoy", _x);
ropeBoyY = getProperty("/ropeBoy", _y);
if ((((Number(Number(ropeBoyX) + 25) >= Number(redX)) and (Number(ropeBoyX) <= Number(Number(redX) + 50))) and (Number(Number(ropeBoyY) + 50) >= Number(redY))) and (Number(ropeBoyY) <= Number(Number(redY) + 75))) {
Set("/:RedDown", Number(/:RedDown) + 1);
if (Number(/:ballNumberRed) == 1) {
tellTarget ("/ball1") {
gotoAndStop ("off");
};
setProperty("/ball1", _xscale , 100);
setProperty("/ball1", _yscale , 100);
}
if (Number(/:ballNumberRed) == 2) {
tellTarget ("/ball2") {
gotoAndStop ("off");
};
setProperty("/ball2", _xscale , 100);
setProperty("/ball2", _yscale , 100);
}
tellTarget ("/red") {
gotoAndPlay ("hit2");
};
tellTarget ("/red/power") {
gotoAndStop ("off");
};
tellTarget ("/addScoreBlue") {
gotoAndPlay ("on");
};
}
Symbol 368 MovieClip Frame 13
call("smack");
Symbol 368 MovieClip Frame 30
gotoAndStop (1);
Symbol 370 MovieClip Frame 1
ropeBoy = random(5);
Symbol 370 MovieClip Frame 2
if (Number(ropeBoy) == 1) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 370 MovieClip Frame 3
setProperty("/ropeBoy", _x , Number(random(500)) + 1);
tellTarget ("/ropeBoy") {
gotoAndPlay ("on");
};
Symbol 370 MovieClip Frame 4
stop();
Symbol 393 Button
on (release) {
tellTarget ("_level0") {
gotoAndStop ("level 2");
};
}
Symbol 400 Button
on (release) {
tellTarget ("_level0") {
gotoAndStop ("level 3");
};
}
Symbol 410 Button
on (release) {
tellTarget ("_level0") {
gotoAndStop ("level 4");
};
}
Symbol 421 Button
on (release) {
Set("/:redScore", 0);
Set("/:blueScore", 0);
tellTarget ("_level0") {
gotoAndPlay ("play again");
};
}
Symbol 425 Button
on (release) {
Set("/:redScore", 0);
Set("/:blueScore", 0);
tellTarget ("_level0") {
gotoAndPlay ("play again");
};
}