Frame 1
fscommand ("fullscreen", false);
fscommand ("allowscale", false);
loader_var = int((this.getBytesLoaded() / this.getBytesTotal()) * 100);
loader_var2 = loader_var + " %";
if (this.getBytesLoaded() < this.getBytesTotal()) {
setProperty("loader_bar", _xscale , loader_var);
} else {
_root.first_login = 0;
_root.music = "Music ON";
valid1 = 2;
valid2 = _url.indexOf("mooncrawler.com");
gotoAndPlay (5);
}
Frame 4
gotoAndPlay (1);
Frame 5
if ((valid1 > 0) || (valid2 > 0)) {
gotoAndPlay (10);
}
Frame 7
gotoAndPlay (5);
Frame 10
stop();
Frame 11
_root.max_overs = 15;
_root.max_balls = 6;
_root.is_game_over = 0;
_root.game_state = "game";
_root.player = 0;
_root.number_of_players = 10;
i = 0;
while (i < _root.number_of_players) {
_root.score["p" + player].gotoAndStop(1);
i++;
}
leftA = ["shot1", "shot2", "shot3", "shot16", "shot26", "shot6", "shot1", "shot1", "shot16", "shot2", "shot3", "shot3", "shot26", "shot26"];
frontA = ["shot4", "shot18", "shot21", "shot24", "shot25", "shot5", "shot5", "shot5", "shot18", "shot18", "shot4", "shot21"];
rightA = ["shot11", "shot13", "shot17", "shot22", "shot12", "shot13", "shot17", "shot17", "shot11", "shot11", "shot22", "shot13"];
leftB = ["shot7", "shot23", "shot6", "shot27", "shot28", "shot27", "shot28", "shot27", "shot28", "shot27", "shot7", "shot7"];
(frontB = ["shot24", "shot9", "shot8", "shot19", "shot20", "shot19", "shot19", "shot19"]);
rightB = ["shot10", "shot14", "shot15", "shot29", "shot30", "shot14", "shot29", "shot30"];
_root.ball = 0;
_root.overs = 1;
_root.scoreT = 0;
_root.extras = 0;
_root.wickets = 0;
_root.current = 0;
pscore1 = "--";
pscore2 = "--";
pscore3 = "--";
pscore4 = "--";
pscore5 = "--";
pscore6 = "--";
pscore7 = "--";
pscore8 = "--";
pscore9 = "--";
pscore10 = "--";
_root.toggle_screen = 0;
Instance of Symbol 286 MovieClip in Frame 11
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(random(20));
};
tellTarget (this.flag) {
gotoAndStop(_root.flag1);
};
}
Instance of Symbol 286 MovieClip in Frame 11
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(random(20));
};
tellTarget (this.flag) {
gotoAndStop(_root.flag1);
};
}
Instance of Symbol 286 MovieClip in Frame 11
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(random(20));
};
tellTarget (this.flag) {
gotoAndStop(_root.flag2);
};
}
Instance of Symbol 286 MovieClip in Frame 11
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(random(20));
};
tellTarget (this.flag) {
gotoAndStop(_root.flag2);
};
}
Instance of Symbol 289 MovieClip "flashy2" in Frame 11
onClipEvent (load) {
setProperty(this, _visible , false);
}
Instance of Symbol 293 MovieClip in Frame 11
onClipEvent (load) {
gotoAndPlay(random(5));
}
Instance of Symbol 293 MovieClip in Frame 11
onClipEvent (load) {
gotoAndPlay(random(10) + 1);
}
Instance of Symbol 293 MovieClip in Frame 11
onClipEvent (load) {
gotoAndPlay(random(10) + 10);
}
Instance of Symbol 243 MovieClip "batsman" in Frame 11
onClipEvent (load) {
hitarea = false;
newball = 2;
}
onClipEvent (enterFrame) {
if ((Key.getCode() > 48) && (Key.getCode() < 58)) {
newball = Key.getCode() - 48;
_parent.small_pich.gotoAndStop(newball);
}
if (Key.isDown(40)) {
check = this._currentframe;
if (check == 1) {
this.gotoAndPlay("back");
powermode = false;
}
}
if (Key.isDown(37)) {
check = this._currentframe;
if (check == 1) {
this.gotoAndPlay("left");
if (Key.isDown(16)) {
powermode = true;
} else {
powermode = false;
}
}
}
if (Key.isDown(39)) {
check = this._currentframe;
if (check == 1) {
this.gotoAndPlay("right");
if (Key.isDown(16)) {
powermode = true;
} else {
powermode = false;
}
}
}
if (Key.isDown(38)) {
check = this._currentframe;
if (check == 1) {
this.gotoAndPlay("forward");
if (Key.isDown(16)) {
powermode = true;
} else {
powermode = false;
}
}
}
}
Instance of Symbol 331 MovieClip "score1" in Frame 11
onClipEvent (load) {
vs = (_root.country1 + " VS ") + _root.country2;
}
onClipEvent (enterFrame) {
if (_root.toggle_screen == 0) {
_root.toggle_screen = 1;
ball = _root.ball;
overs = _root.overs;
scoreT = _root.scoreT;
extras = _root.extras;
wickets = _root.player;
current = _root.current;
pscore1 = _root.pscore1;
pscore2 = _root.pscore2;
pscore3 = _root.pscore3;
pscore4 = _root.pscore4;
pscore5 = _root.pscore5;
pscore6 = _root.pscore6;
pscore7 = _root.pscore7;
pscore8 = _root.pscore8;
pscore9 = _root.pscore9;
pscore10 = _root.pscore10;
}
}
Frame 12
stop();
Instance of Symbol 377 MovieClip in Frame 12
onClipEvent (load) {
name = _root.name;
email = _root.email;
country1 = _root.country1;
scoreT = _root.scoreT;
score = _root.scoreT;
extras = _root.extras;
player = _root.player;
wickets = _root.player;
current = _root.current;
if (_root.is_game_over == 1) {
ball = _root.ball;
overs = _root.overs;
loadVariablesNum ("http://www.mooncrawler.co.uk/WorldCricketChallenge/storeHighScore.asp", 50, "GET");
tellTarget (this) {
gotoAndStop ("go2");
};
} else {
this.ball = (_root.ball + " / ") + _root.max_balls;
this.overs = (_root.overs + " / ") + _root.max_overs;
tellTarget (this) {
gotoAndStop ("go1");
};
}
}
onClipEvent (enterFrame) {
if (_root.is_game_over == 0) {
if (Key.isDown(32) == true) {
tellTarget (_root) {
gotoAndPlay ("game");
};
}
}
}
Frame 13
_root.out = false;
_root.swing = "none";
_root.power = 0;
if (_root.ball < _root.max_balls) {
_root.ball = _root.ball + 1;
} else {
_root.ball = 0;
if (_root.overs < _root.max_overs) {
_root.overs = _root.overs + 1;
gotoAndStop (12);
} else if (_root.overs >= _root.max_overs) {
_root.is_game_over = 1;
gotoAndStop (12);
}
}
if (_root.player >= 10) {
_root.is_game_over = 1;
gotoAndStop (12);
}
i = 0;
while (i <= _root.player) {
score1["p" + i].gotoAndStop(3);
score1["p" + (i + 1)].gotoAndStop(2);
i++;
}
Set("_root.pscore" + (_root.player + 1), _root.current);
_root.toggle_screen = 0;
Frame 40
tellTarget ("bowler") {
play();
};
Instance of Symbol 203 MovieClip "ballanim" in Frame 43
onClipEvent (load) {
random_delivery = 1;
}
Frame 147
stop();
Frame 148
i = 0;
while (i <= _root.player) {
score2["p" + i].gotoAndStop(3);
score2["p" + (i + 1)].gotoAndStop(2);
i++;
}
if (_root.swing == "left") {
if (_root.power == 1) {
random_direction = random(leftA.length - 1);
ball_hit.gotoAndPlay(leftA[random_direction + 1]);
} else if (_root.power == 2) {
random_direction = random(leftB.length - 1);
ball_hit.gotoAndPlay(leftB[random_direction + 1]);
}
} else if (_root.swing == "front") {
if (_root.power == 1) {
random_direction = random(frontA.length - 1);
ball_hit.gotoAndPlay(frontA[random_direction + 1]);
} else if (_root.power == 2) {
random_direction = random(frontB.length - 1);
ball_hit.gotoAndPlay(frontB[random_direction + 1]);
}
} else if (_root.swing == "right") {
if (_root.power == 1) {
random_direction = random(rightA.length - 1);
ball_hit.gotoAndPlay(rightA[random_direction + 1]);
} else if (_root.power == 2) {
random_direction = random(rightB.length - 1);
ball_hit.gotoAndPlay(rightB[random_direction + 1]);
}
}
if (_root.power == 2) {
_root.flashes.gotoAndPlay("go");
tellTarget ("soundfx2") {
gotoAndPlay ("fx1");
};
} else {
_root.flashes.gotoAndPlay("go2");
tellTarget ("soundfx2") {
gotoAndPlay ("fx2");
};
}
Instance of Symbol 293 MovieClip in Frame 148
onClipEvent (load) {
gotoAndPlay(random(10) + 1 +147);
}
Instance of Symbol 293 MovieClip in Frame 148
onClipEvent (load) {
gotoAndPlay(random(10) + 1 +147);
}
Instance of Symbol 293 MovieClip in Frame 148
onClipEvent (load) {
gotoAndPlay(random(10) + 1 +147);
}
Instance of Symbol 293 MovieClip in Frame 148
onClipEvent (load) {
gotoAndPlay(random(10) + 1 +147);
}
Instance of Symbol 293 MovieClip in Frame 148
onClipEvent (load) {
gotoAndPlay(random(10) + 1 +147);
}
Instance of Symbol 293 MovieClip in Frame 148
onClipEvent (load) {
gotoAndPlay(random(10) + 1 +147);
}
Instance of Symbol 293 MovieClip in Frame 148
onClipEvent (load) {
gotoAndPlay(random(10) + 1 +147);
}
Instance of Symbol 293 MovieClip in Frame 148
onClipEvent (load) {
gotoAndPlay(random(10) + 1 +147);
}
Instance of Symbol 293 MovieClip in Frame 148
onClipEvent (load) {
gotoAndPlay(random(10) + 1 +147);
}
Instance of Symbol 293 MovieClip in Frame 148
onClipEvent (load) {
gotoAndPlay(random(10) + 1 +147);
}
Instance of Symbol 286 MovieClip in Frame 148
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(random(20));
};
tellTarget (this.flag) {
gotoAndStop(_root.flag1);
};
}
Instance of Symbol 286 MovieClip in Frame 148
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(random(20));
};
tellTarget (this.flag) {
gotoAndStop(_root.flag1);
};
}
Instance of Symbol 286 MovieClip in Frame 148
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(random(20));
};
tellTarget (this.flag) {
gotoAndStop(_root.flag2);
};
}
Instance of Symbol 286 MovieClip in Frame 148
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(random(20));
};
tellTarget (this.flag) {
gotoAndStop(_root.flag2);
};
}
Instance of Symbol 286 MovieClip in Frame 148
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(random(20));
};
tellTarget (this.flag) {
gotoAndStop(_root.flag1);
};
}
Instance of Symbol 331 MovieClip "score2" in Frame 148
onClipEvent (load) {
vs = (_root.country1 + " VS ") + _root.country2;
}
onClipEvent (enterFrame) {
if (_root.toggle_screen == 0) {
_root.toggle_screen = 1;
ball = _root.ball;
overs = _root.overs;
scoreT = _root.scoreT;
extras = _root.extras;
wickets = _root.player;
current = _root.current;
pscore1 = _root.pscore1;
pscore2 = _root.pscore2;
pscore3 = _root.pscore3;
pscore4 = _root.pscore4;
pscore5 = _root.pscore5;
pscore6 = _root.pscore6;
pscore7 = _root.pscore7;
pscore8 = _root.pscore8;
pscore9 = _root.pscore9;
pscore10 = _root.pscore10;
}
}
Instance of Symbol 424 MovieClip "extra_bord" in Frame 148
onClipEvent (load) {
setProperty(this, _visible , false);
}
Frame 234
gotoAndPlay (13);
Symbol 17 MovieClip Frame 8
stop();
Symbol 20 Button
on (release) {
if (_root.music == "Music Off") {
music = "Music ON";
_root.music = "Music ON";
_parent.music.gotoAndPlay("start");
} else {
music = "Music Off";
_root.music = "Music Off";
stopAllSounds();
}
}
Symbol 34 Button
on (release) {
function validate_mail(mail) {
primo = new String();
primo = mail.toLowerCase();
primo_array = new Array();
primo_array = primo.split("@");
if (primo_array.length == "2") {
prefix = new String();
prefix = primo_array[0];
if (((prefix.length > 0) && (prefix.charAt(0) != ".")) && (prefix.charAt(prefix.length - 1) != ".")) {
suffix = new String();
suffix = primo_array[1];
suffix_array = new Array();
suffix_array = suffix.split(".");
if (suffix_array.length > 1) {
index_of_suffix_array = suffix_array.length - 1;
TLD = new String();
TLD = suffix_array[index_of_suffix_array];
if ((TLD.length > 1) && (TLD.length < 5)) {
suffix_particle = new String();
i = 0;
while (i <= (suffix_array.length - 1)) {
suffix_particle = suffix_array[i];
if (suffix_particle.length > 0) {
if (i == (suffix_array.length - 1)) {
char = new Array();
k = 0;
while (k <= (primo.length - 1)) {
char = primo.slice(k, k + 1);
if ((((((((((((((((((((((((((((((((((((((((char == "a") || (char == "b")) || (char == "c")) || (char == "d")) || (char == "e")) || (char == "f")) || (char == "g")) || (char == "h")) || (char == "i")) || (char == "j")) || (char == "k")) || (char == "l")) || (char == "m")) || (char == "n")) || (char == "o")) || (char == "p")) || (char == "q")) || (char == "r")) || (char == "s")) || (char == "t")) || (char == "u")) || (char == "v")) || (char == "w")) || (char == "x")) || (char == "y")) || (char == "z")) || (char == "0")) || (char == "1")) || (char == "2")) || (char == "3")) || (char == "4")) || (char == "5")) || (char == "6")) || (char == "7")) || (char == "8")) || (char == "9")) || (char == ".")) || (char == "@")) || (char == "_")) || (char == "-")) {
if (k == (primo.length - 1)) {
loadVariablesNum ("http://www.mooncrawler.co.uk/WorldCricketChallenge/getGameLogin.asp", 0, "POST");
warning = "submitting ...";
_root.first_login = 1;
_root.name = name;
_root.email = email;
gotoAndPlay (14);
}
} else {
warning = "Unauthorised character " + char;
break;
}
k++;
}
}
} else {
warning = "Error in delimiters (.)";
break;
}
i++;
}
} else {
warning = "Error in Top Level Domain";
}
} else {
warning = "Error in the suffix";
}
} else {
warning = "Malformed Prefix or Missing Prefix";
}
} else {
warning = "Mail must contain one @";
}
}
if ((name == "") || (name == null)) {
warning = "Please fill in your name";
} else if ((email == "") || (email == null)) {
warning = "Please fill in your email";
} else {
validate_mail(email);
}
}
Symbol 43 Button
on (release) {
clicked = 0;
gotoAndPlay (24);
}
Symbol 44 Button
on (release) {
clicked = 1;
gotoAndPlay (24);
}
Symbol 45 Button
on (release) {
clicked = 3;
gotoAndPlay (24);
}
Symbol 76 MovieClip Frame 1
country = "North West";
stop();
Symbol 76 MovieClip Frame 2
country = "Boland";
Symbol 76 MovieClip Frame 3
country = "Border Bears";
Symbol 76 MovieClip Frame 4
country = "Dolphins";
Symbol 76 MovieClip Frame 5
country = "Easterns";
Symbol 76 MovieClip Frame 6
country = "Goodyear Eagles";
Symbol 76 MovieClip Frame 7
country = "Highveld Strikers";
Symbol 76 MovieClip Frame 8
country = "Titans";
Symbol 76 MovieClip Frame 9
country = "Western Province";
Symbol 76 MovieClip Frame 10
country = "Griquas";
Symbol 76 MovieClip Frame 11
country = "Eastern Province";
Symbol 80 Button
on (release) {
if ((_parent.flag_tween._visible == true) && (_parent.flag_tween2._visible == true)) {
} else {
gotoAndPlay (2);
if (player == "player") {
_parent.flag_tween.flag.gotoAndStop(flag3._currentframe);
_root.flag1 = flag3._currentframe;
_root.country1 = flag3.country;
setProperty("_parent.flag_tween", _visible , true);
tellTarget ("_parent.flag_tween") {
gotoAndPlay ("go");
};
} else if (player == "cpu") {
_root.flag2 = flag3._currentframe;
_root.country2 = flag3.country;
_parent.flag_tween2.flag.gotoAndStop(flag3._currentframe);
setProperty("_parent.flag_tween2", _visible , true);
tellTarget ("_parent.flag_tween2") {
gotoAndPlay ("go");
};
}
}
}
Symbol 81 MovieClip Frame 1
flag_array = ["10", "11", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
flag6.gotoAndStop(flag_array[5]);
flag5.gotoAndStop(flag_array[4]);
flag4.gotoAndStop(flag_array[3]);
flag3.gotoAndStop(flag_array[2]);
flag2.gotoAndStop(flag_array[1]);
flag1.gotoAndStop(flag_array[0]);
gotoAndStop (8);
Instance of Symbol 26 MovieClip "runs" in Symbol 81 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.country = ("<P ALIGN='CENTER'><FONT FACE='Arial, Helvetica, san-serif' SIZE='12' COLOR='#FFFFFF'><B>" + flag3.country) + "</B><FONT COLOR='#000000'></FONT></FONT></P>";
}
Symbol 81 MovieClip Frame 2
_parent.country = ("<P ALIGN='CENTER'><FONT FACE='Arial, Helvetica, san-serif' SIZE='12' COLOR='#FFFFFF'><B>" + flag3.country) + "</B><FONT COLOR='#000000'></FONT></FONT></P>";
go = 0;
temp = flag_array.pop();
flag_array.unshift(temp);
flag6.gotoAndStop(flag_array[5]);
flag5.gotoAndStop(flag_array[4]);
flag4.gotoAndStop(flag_array[3]);
flag3.gotoAndStop(flag_array[2]);
flag2.gotoAndStop(flag_array[1]);
flag1.gotoAndStop(flag_array[0]);
Symbol 81 MovieClip Frame 8
go = 1;
_parent.country = ("<P ALIGN='CENTER'><FONT FACE='Arial, Helvetica, san-serif' SIZE='12' COLOR='#FFFFFF'><B>" + flag3.country) + "</B><FONT COLOR='#000000'></FONT></FONT></P>";
gotoAndStop (8);
Symbol 81 MovieClip Frame 9
go = 0;
temp = flag_array.shift();
flag_array.push(temp);
Symbol 81 MovieClip Frame 16
flag6.gotoAndStop(flag_array[5]);
flag5.gotoAndStop(flag_array[4]);
flag4.gotoAndStop(flag_array[3]);
flag3.gotoAndStop(flag_array[2]);
flag2.gotoAndStop(flag_array[1]);
flag1.gotoAndStop(flag_array[0]);
gotoAndStop (8);
Symbol 85 Button
on (release) {
if (flag.go == 1) {
tellTarget ("flag") {
gotoAndPlay ("up");
};
}
}
Symbol 87 Button
on (release) {
if (flag.go == 1) {
tellTarget ("flag") {
gotoAndPlay ("down");
};
}
}
Symbol 93 Button
on (release) {
_parent.goto_var = "play";
tellTarget (_parent) {
gotoAndPlay ("pick_team_exit");
};
}
Symbol 96 Button
on (release) {
goto_var = "cancel";
gotoAndPlay (37);
}
Symbol 100 Button
on (release) {
setProperty(this, _visible , false);
_parent.flag.player = "cpu";
}
Symbol 101 MovieClip Frame 1
ok = 0;
Symbol 101 MovieClip Frame 5
ok = 1;
_parent.flag.player = "player";
stop();
Symbol 102 Button
on (release) {
setProperty(this, _visible , false);
_parent.flag.player = "player";
}
Symbol 103 MovieClip Frame 1
ok = 0;
Symbol 103 MovieClip Frame 5
ok = 1;
_parent.flag.player = "cpu";
stop();
Symbol 112 Button
on (release) {
gotoAndPlay (70);
}
Symbol 115 Button
on (release) {
setProperty(wait, _visible , true);
heading = "Top Countrys";
_root.text_field_var = "";
}
Symbol 116 Button
on (release) {
setProperty(wait, _visible , true);
_root.text_field_var = "";
heading = "Top Players";
}
Symbol 129 Button
on (release) {
_root.scroll_bar_button_toggle = 0;
this.stopDrag();
}
on (press) {
_root.scroll_bar_button_toggle = 1;
left = 0;
top = (getProperty(this, _height) / 2) + (_parent.button_size / 2);
bottom = ((_root.text_field_height - (_parent.button_size * 2)) - (getProperty(this, _height) / 2)) + (_parent.button_size / 2);
this.startDrag(false, left, top, left, bottom);
}
Symbol 135 MovieClip Frame 1
if (count <= 10) {
count = count + 1;
} else if (_root.text_field.scroll <= _root.text_field.maxscroll) {
_root.text_field.scroll = _root.text_field.scroll - 1;
}
Symbol 136 Button
on (release) {
up_button.count = 0;
_root.scroll_bar_buttonscroll_toggle = 0;
if (_root.text_field.scroll <= _root.text_field.maxscroll) {
_root.text_field.scroll = _root.text_field.scroll - 1;
}
}
on (press) {
up_button.count = 0;
_root.scroll_bar_buttonscroll_toggle = 1;
}
Symbol 139 MovieClip Frame 1
if (count <= 10) {
count = count + 1;
} else if (_root.text_field.scroll >= 1) {
_root.text_field.scroll = _root.text_field.scroll + 1;
}
Symbol 140 Button
on (release) {
up_button.count = 0;
_root.scroll_bar_buttonscroll_toggle = 0;
if (_root.text_field.scroll >= 1) {
_root.text_field.scroll = _root.text_field.scroll + 1;
}
}
on (press) {
up_button.count = 0;
_root.scroll_bar_buttonscroll_toggle = 1;
}
Instance of Symbol 127 MovieClip "scroll_plane_back" in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _x , 0);
setProperty(this, _y , _parent.button_size / 2);
}
onClipEvent (enterFrame) {
setProperty(this, _height , _root.text_field_height - (_parent.button_size * 2));
}
Instance of Symbol 130 MovieClip "scroll_bar_button" in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _y , (getProperty(this, _height) / 2) + (_parent.button_size / 2));
}
Symbol 154 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 4
stop();
Symbol 158 MovieClip Frame 6
stop();
Symbol 158 MovieClip Frame 9
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 181 Button
on (release) {
gotoAndPlay (20);
}
Symbol 184 Button
on (release) {
if (random_ball == "Random:Off") {
random_ball = "Random:ON";
ballanim.random_delivery = 1;
} else {
random_ball = "Random:Off";
ballanim.random_delivery = 0;
}
}
Symbol 203 MovieClip Frame 2
_parent.batsman.balltype = _parent.batsman.newball;
if (random_delivery == 0) {
if (_parent.batsman.newball == 1) {
gotoAndPlay (4);
} else if (_parent.batsman.newball == 2) {
gotoAndPlay (52);
} else if (_parent.batsman.newball == 3) {
gotoAndPlay (92);
} else if (_parent.batsman.newball == 4) {
gotoAndPlay (137);
} else if (_parent.batsman.newball == 5) {
gotoAndPlay (182);
} else if (_parent.batsman.newball == 6) {
gotoAndPlay (230);
} else if (_parent.batsman.newball == 7) {
gotoAndPlay (276);
} else if (_parent.batsman.newball == 8) {
gotoAndPlay (326);
} else if (_parent.batsman.newball == 9) {
gotoAndPlay (376);
}
} else {
random_type = random(9) + 1;
gotoAndPlay("type" + random_type);
_parent.small_pich.gotoAndStop(random_type);
_parent.batsman.balltype = random_type;
}
Symbol 203 MovieClip Frame 21
_parent.batsman.hitarea = true;
Symbol 203 MovieClip Frame 22
_parent.batsman.hitarea2 = true;
Symbol 203 MovieClip Frame 23
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 24
_parent.batsman.hitarea = false;
Symbol 203 MovieClip Frame 51
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("game");
};
}
Symbol 203 MovieClip Frame 68
_parent.batsman.hitarea = true;
Symbol 203 MovieClip Frame 70
_parent.batsman.hitarea2 = true;
Symbol 203 MovieClip Frame 71
_parent.batsman.hitarea = false;
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 91
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("game");
};
}
Symbol 203 MovieClip Frame 112
_parent.batsman.hitarea = true;
Symbol 203 MovieClip Frame 113
_parent.batsman.hitarea2 = true;
Symbol 203 MovieClip Frame 115
_parent.batsman.hitarea = false;
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 136
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("game");
};
}
Symbol 203 MovieClip Frame 156
_parent.batsman.hitarea = true;
_parent.batsman.hitarea2 = true;
Symbol 203 MovieClip Frame 158
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 159
_parent.batsman.hitarea = false;
Symbol 203 MovieClip Frame 161
if (_parent.batsman.hitball != true) {
_parent.sfx2.gotoAndPlay(2);
_parent.stumps.gotoAndPlay(2);
setProperty("_parent.flashy2", _visible , true);
_parent.flashy2.gotoAndPlay("go");
if (_root.game_state == "game") {
_parent.soundfx1.gotoAndPlay("fx3");
_root.player = _root.player + 1;
_root.current = 0;
}
if ((getProperty(_root.duck, _currentframe) == 1) && (_root["pscore" + _root.player] == 0)) {
tellTarget ("_root.duck") {
gotoAndPlay ("go");
};
}
}
Symbol 203 MovieClip Frame 181
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("game");
};
}
Symbol 203 MovieClip Frame 201
_parent.batsman.hitarea = true;
_parent.batsman.hitarea2 = true;
Symbol 203 MovieClip Frame 202
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 204
_parent.batsman.hitarea = false;
Symbol 203 MovieClip Frame 207
if (_parent.batsman.hitball != true) {
_parent.sfx2.gotoAndPlay(2);
_parent.stumps.gotoAndPlay(2);
setProperty("_parent.flashy2", _visible , true);
_parent.flashy2.gotoAndPlay("go");
if (_root.game_state == "game") {
_parent.soundfx1.gotoAndPlay("fx3");
_root.player = _root.player + 1;
_root.current = 0;
}
}
Symbol 203 MovieClip Frame 229
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("game");
};
}
Symbol 203 MovieClip Frame 248
_parent.batsman.hitarea = true;
Symbol 203 MovieClip Frame 251
_parent.batsman.hitarea2 = true;
Symbol 203 MovieClip Frame 253
_parent.batsman.hitarea = false;
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 275
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("game");
};
}
Symbol 203 MovieClip Frame 294
_parent.batsman.hitarea = true;
_parent.batsman.hitarea2 = true;
Symbol 203 MovieClip Frame 296
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 297
_parent.batsman.hitarea = false;
Symbol 203 MovieClip Frame 300
if (_parent.batsman.hitball != true) {
_parent.sfx2.gotoAndPlay(2);
_parent.stumps.gotoAndPlay(2);
setProperty("_parent.flashy2", _visible , true);
_parent.flashy2.gotoAndPlay("go");
if (_root.game_state == "game") {
_parent.soundfx1.gotoAndPlay("fx3");
_root.player = _root.player + 1;
_root.current = 0;
}
if ((getProperty(_root.duck, _currentframe) == 1) && (_root["pscore" + _root.player] == 0)) {
tellTarget ("_root.duck") {
gotoAndPlay ("go");
};
}
}
Symbol 203 MovieClip Frame 325
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("game");
};
}
Symbol 203 MovieClip Frame 343
_parent.batsman.hitarea = true;
Symbol 203 MovieClip Frame 344
_parent.batsman.hitarea2 = true;
Symbol 203 MovieClip Frame 346
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 347
_parent.batsman.hitarea = false;
Symbol 203 MovieClip Frame 349
if (_parent.batsman.hitball != true) {
_parent.sfx2.gotoAndPlay(2);
_parent.stumps.gotoAndPlay(2);
setProperty("_parent.flashy2", _visible , true);
_parent.flashy2.gotoAndPlay("go");
if (_root.game_state == "game") {
_parent.soundfx1.gotoAndPlay("fx3");
_root.player = _root.player + 1;
_root.current = 0;
}
if ((getProperty(_root.duck, _currentframe) == 1) && (_root["pscore" + _root.player] == 0)) {
tellTarget ("_root.duck") {
gotoAndPlay ("go");
};
}
}
Symbol 203 MovieClip Frame 375
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("game");
};
}
Symbol 203 MovieClip Frame 393
_parent.batsman.hitarea = true;
Symbol 203 MovieClip Frame 395
_parent.batsman.hitarea2 = true;
Symbol 203 MovieClip Frame 397
_parent.batsman.hitarea = false;
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 415
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("game");
};
}
Symbol 203 MovieClip Frame 418
stop();
Symbol 203 MovieClip Frame 419
stop();
Symbol 203 MovieClip Frame 420
_root.toggle_screen = 0;
stop();
Symbol 203 MovieClip Frame 425
_parent.batsman.hitarea = false;
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 435
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("go");
};
}
Symbol 203 MovieClip Frame 436
_parent.batsman.hitarea = false;
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 451
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("go");
};
}
Symbol 203 MovieClip Frame 453
_parent.batsman.hitarea = false;
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 468
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("go");
};
}
Symbol 203 MovieClip Frame 469
_parent.batsman.hitarea = false;
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 507
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("game");
};
}
Symbol 203 MovieClip Frame 508
_parent.batsman.hitarea = false;
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 526
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("go");
};
}
Symbol 203 MovieClip Frame 528
_parent.batsman.hitarea = false;
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 542
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("go");
};
}
Symbol 203 MovieClip Frame 544
_parent.batsman.hitarea = false;
_parent.batsman.hitarea2 = false;
Symbol 203 MovieClip Frame 557
_root.toggle_screen = 0;
if (_root.game_state == "practice") {
gotoAndPlay (1);
} else {
tellTarget (_root) {
gotoAndPlay ("go");
};
}
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 7
_root.swing = "right";
if (powermode == true) {
_root.power = 2;
if (hitarea2 == true) {
if (balltype == 3) {
_parent.soundfx1.gotoAndPlay("fx2");
_parent.ballanim.gotoAndPlay("result3");
tellTarget ("_parent.strike3") {
play();
};
} else if (balltype == 6) {
_parent.soundfx1.gotoAndPlay("fx2");
_parent.ballanim.gotoAndPlay("result7");
tellTarget ("_parent.strike9") {
play();
};
} else if (balltype == 9) {
_parent.soundfx1.gotoAndPlay("fx2");
_parent.ballanim.gotoAndPlay("result7");
tellTarget ("_parent.strike9") {
play();
};
}
}
} else {
_root.power = 1;
if (hitarea == true) {
if (balltype == 3) {
_parent.soundfx1.gotoAndPlay("fx1");
_parent.ballanim.gotoAndPlay("result3");
} else if (balltype == 6) {
_parent.soundfx1.gotoAndPlay("fx1");
_parent.ballanim.gotoAndPlay("result7");
} else if (balltype == 9) {
_parent.soundfx1.gotoAndPlay("fx1");
_parent.ballanim.gotoAndPlay("result7");
}
}
}
Symbol 243 MovieClip Frame 19
gotoAndStop (1);
Symbol 243 MovieClip Frame 23
_root.swing = "left";
if (powermode == true) {
_root.power = 2;
if (hitarea2 == true) {
if (balltype == 1) {
_parent.soundfx1.gotoAndPlay("fx2");
_parent.ballanim.gotoAndPlay("result1");
tellTarget ("_parent.strike1") {
play();
};
} else if (balltype == 4) {
_parent.soundfx1.gotoAndPlay("fx2");
_parent.ballanim.gotoAndPlay("result1");
tellTarget ("_parent.strike4") {
play();
};
} else if (balltype == 7) {
_parent.soundfx1.gotoAndPlay("fx2");
_parent.ballanim.gotoAndPlay("result5");
tellTarget ("_parent.strike7") {
play();
};
}
}
} else {
_root.power = 1;
if (hitarea == true) {
if (balltype == 1) {
_parent.soundfx1.gotoAndPlay("fx1");
_parent.ballanim.gotoAndPlay("result1");
} else if (balltype == 4) {
_parent.soundfx1.gotoAndPlay("fx1");
_parent.ballanim.gotoAndPlay("result1");
} else if (balltype == 7) {
_parent.soundfx1.gotoAndPlay("fx1");
_parent.ballanim.gotoAndPlay("result5");
}
}
}
Symbol 243 MovieClip Frame 33
gotoAndStop (1);
Symbol 243 MovieClip Frame 39
_root.swing = "front";
if (powermode == true) {
_root.power = 2;
if (hitarea2 == true) {
if (balltype == 2) {
_parent.soundfx1.gotoAndPlay("fx2");
_parent.ballanim.gotoAndPlay("result2");
tellTarget ("_parent.strike2") {
play();
};
} else if (balltype == 5) {
_parent.soundfx1.gotoAndPlay("fx2");
_parent.ballanim.gotoAndPlay("result6");
tellTarget ("_parent.strike8") {
play();
};
} else if (balltype == 8) {
_parent.soundfx1.gotoAndPlay("fx2");
_parent.ballanim.gotoAndPlay("result6");
tellTarget ("_parent.strike8") {
play();
};
}
}
} else {
_root.power = 1;
if (hitarea == true) {
if (balltype == 2) {
_parent.soundfx1.gotoAndPlay("fx1");
_parent.ballanim.gotoAndPlay("result2");
} else if (balltype == 5) {
_parent.soundfx1.gotoAndPlay("fx1");
_parent.ballanim.gotoAndPlay("result6");
} else if (balltype == 8) {
_parent.soundfx1.gotoAndPlay("fx1");
_parent.ballanim.gotoAndPlay("result6");
}
}
}
Symbol 243 MovieClip Frame 49
gotoAndStop (1);
Symbol 243 MovieClip Frame 53
if (hitarea == true) {
if ((((balltype == 4) || (balltype == 5)) || (balltype == 7)) || (balltype == 8)) {
_parent.ballanim.gotoAndPlay("result4");
}
}
Symbol 243 MovieClip Frame 55
if (hitarea == true) {
if ((((balltype == 4) || (balltype == 5)) || (balltype == 7)) || (balltype == 8)) {
_parent.ballanim.gotoAndPlay("result4");
}
}
Symbol 243 MovieClip Frame 72
gotoAndStop (1);
Symbol 255 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 2
_root.out = true;
Symbol 268 MovieClip Frame 1
if (count < 7) {
count = count + 1;
} else {
count = 1;
}
shot = "";
Symbol 268 MovieClip Frame 45
gotoAndPlay("play" + count);
Symbol 268 MovieClip Frame 48
dir = -90;
shot = "Square Cut";
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 48
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 59
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip "button" in Symbol 268 MovieClip Frame 70
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 81
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Symbol 268 MovieClip Frame 105
gotoAndPlay (1);
Symbol 268 MovieClip Frame 106
dir = 90;
shot = "Pull";
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 106
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 117
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 128
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 139
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Symbol 268 MovieClip Frame 163
gotoAndPlay (1);
Symbol 268 MovieClip Frame 164
dir = 180;
shot = "Straight Drive";
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 164
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 175
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 186
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 197
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Symbol 268 MovieClip Frame 223
gotoAndPlay (1);
Symbol 268 MovieClip Frame 224
dir = 0;
shot = "Forward Defensive";
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 224
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 235
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 246
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 257
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Symbol 268 MovieClip Frame 276
gotoAndPlay (1);
Symbol 268 MovieClip Frame 277
dir = -90;
shot = "Power cut";
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 277
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 288
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 299
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 310
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Symbol 268 MovieClip Frame 334
gotoAndPlay (1);
Symbol 268 MovieClip Frame 335
dir = 90;
shot = "Slog Sweep";
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 335
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 346
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 357
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 368
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Symbol 268 MovieClip Frame 392
gotoAndPlay (1);
Symbol 268 MovieClip Frame 393
dir = 180;
shot = "Lofted Power Drive";
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 393
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 404
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 415
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Instance of Symbol 195 MovieClip in Symbol 268 MovieClip Frame 426
onClipEvent (load) {
setProperty("arrow", _rotation , _parent.dir);
}
Symbol 268 MovieClip Frame 452
gotoAndPlay (1);
Symbol 269 Button
on (release) {
gotoAndPlay (169);
}
Symbol 272 MovieClip Frame 1
mcOptin = 1;
_root.first_login = 1;
_level100.server = 0;
_level101.server = 0;
_level103.server = 0;
_level105.server = 0;
_level106.server = 0;
Instance of Symbol 17 MovieClip "music" in Symbol 272 MovieClip Frame 1
onClipEvent (load) {
if (_root.music == "Music Off") {
gotoAndStop (1);
}
}
Instance of Symbol 24 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (load) {
if (_root.music == "Music ON") {
music = "Music ON";
} else {
music = "Music Off";
}
}
Symbol 272 MovieClip Frame 2
if (_root.first_login == 1) {
gotoAndPlay (20);
}
Symbol 272 MovieClip Frame 12
round.button_text = "Submit";
stop();
Symbol 272 MovieClip Frame 13
prevFrame();
Symbol 272 MovieClip Frame 14
round.button_text = "";
Symbol 272 MovieClip Frame 23
stop();
Symbol 272 MovieClip Frame 25
if (clicked == 0) {
gotoAndPlay (146);
} else if (clicked == 1) {
gotoAndPlay (83);
} else if (clicked == 2) {
gotoAndPlay (46);
} else if (clicked == 3) {
if ((_level103.server == null) || (_level103.server == 0)) {
}
gotoAndPlay (26);
} else if (clicked == 4) {
gotoAndPlay (1);
}
Symbol 272 MovieClip Frame 26
Instance of Symbol 81 MovieClip "flag" in Symbol 272 MovieClip Frame 27
onClipEvent (load) {
player = "player";
}
onClipEvent (enterFrame) {
if (Key.isDown(38) == true) {
if (go == 1) {
tellTarget (this) {
gotoAndPlay ("up");
};
}
} else if (Key.isDown(40) == true) {
if (go == 1) {
tellTarget (this) {
gotoAndPlay ("Down");
};
}
}
if ((_parent.flag_tween._visible == true) && (_parent.flag_tween2._visible == true)) {
setProperty("_parent.play_button", _visible , true);
_parent.team_text = "Click \"GO PLAY!\" to start";
} else if ((_parent.flag_tween._visible == false) && (_parent.flag_tween2._visible == true)) {
setProperty("_parent.play_button", _visible , false);
_parent.team_text = "Select Your Team";
} else if ((_parent.flag_tween._visible == true) && (_parent.flag_tween2._visible == false)) {
setProperty("_parent.play_button", _visible , false);
_parent.team_text = "Select Your Opponent";
} else if ((_parent.flag_tween._visible == false) && (_parent.flag_tween2._visible == false)) {
setProperty("_parent.play_button", _visible , false);
_parent.team_text = "Select your team";
}
}
Instance of Symbol 94 MovieClip "play_button" in Symbol 272 MovieClip Frame 27
onClipEvent (load) {
setProperty(this, _visible , false);
_level105.server = 0;
}
Instance of Symbol 101 MovieClip "flag_tween2" in Symbol 272 MovieClip Frame 27
onClipEvent (load) {
setProperty(this, _visible , false);
ok = 1;
}
Instance of Symbol 103 MovieClip "flag_tween" in Symbol 272 MovieClip Frame 27
onClipEvent (load) {
setProperty(this, _visible , false);
ok = 1;
}
Symbol 272 MovieClip Frame 36
stop();
Symbol 272 MovieClip Frame 44
if (goto_var == "cancel") {
gotoAndPlay (20);
} else if (goto_var == "play") {
stopAllSounds();
tellTarget (_root) {
gotoAndPlay ("load_game");
};
}
Instance of Symbol 121 MovieClip "rank" in Symbol 272 MovieClip Frame 65
onClipEvent (load) {
name = _root.name;
email = _root.email;
loadVariablesNum ("http://www.mooncrawler.com/WorldCricketChallenge/getplayerrank.asp", 105, "GET");
}
onClipEvent (enterFrame) {
if (_level105.server == 1) {
rank_var = _level105.rank;
if (_level105.rank == -1) {
rank_var = "<P ALIGN='CENTER'><FONT FACE='Arial, Helvetica, san-serif' SIZE='12' COLOR='#FFFFCC'>You are not yet Ranked.</FONT></P>";
} else {
rank_var = ("<P ALIGN='CENTER'><FONT FACE='Arial, Helvetica, san-serif' SIZE='12' COLOR='#FFFFCC'>You are ranked:<b>" + _level105.rank) + "</b></font></P><P ALIGN='CENTER'>Practice some more to get a Higher score.</FONT></P>";
}
} else {
rank_var = "<P ALIGN='CENTER'><FONT FACE='Arial, Helvetica, san-serif' SIZE='12' COLOR='#FFFFCC'>Loading...</font></P>";
}
}
Instance of Symbol 123 MovieClip in Symbol 272 MovieClip Frame 65
onClipEvent (load) {
_root.text_field_xpos = 240;
_root.text_field_ypos = 60;
_root.text_field_height = 250;
_root.text_field_width = 280;
_root.createTextField("text_field", 200, _root.text_field_xpos, _root.text_field_ypos, _root.text_field_width, _root.text_field_height);
_root.text_field.multiline = true;
_root.text_field.wordwrap = false;
_root.text_field.border = false;
_root.text_field.html = true;
_root.text_field.variable = "_root.text_field_var";
_root.text_field.type = "input";
_root.text_field.selectable = false;
}
Instance of Symbol 141 MovieClip "scroll_bar" in Symbol 272 MovieClip Frame 66
onClipEvent (load) {
button_size = 15;
scroll_button_height = button_size * 2;
setProperty(up_button, _width , button_size);
setProperty(down_button, _width , button_size);
setProperty(up_button, _height , button_size);
setProperty(down_button, _height , button_size);
setProperty(scroll_plane_back, _width , button_size);
setProperty(scroll_bar_button, _width , button_size);
setProperty(scroll_bar_button, _height , scroll_button_height);
setProperty(this, _x , (_root.text_field_xpos + _root.text_field_width) + (button_size / 2));
setProperty(this, _y , _root.text_field_ypos + (button_size / 2));
y_pos = _root.text_field_height - button_size;
setProperty("scroll_bar_button", _x , 0);
setProperty("up_button", _x , 0);
setProperty("up_button", _y , 0);
setProperty("down_button", _x , 0);
setProperty("down_button", _y , _root.text_field_height - button_size);
_root.scroll_bar_button_toggle = 0;
scroll_total = (_root.text_field_height - scroll_button_height) - (button_size * 2);
}
onClipEvent (enterFrame) {
lines = _root.text_field.maxscroll;
if ((lines <= 1) || (Key.isDown(8) == true)) {
setProperty("scroll_bar_button", _visible , false);
} else {
setProperty("scroll_bar_button", _visible , true);
}
scroll_length = (getProperty(scroll_bar_button, _y) - Math.floor(button_size / 2)) - button_size;
scroll_persent = int((scroll_length * 100) / scroll_total);
if (_root.scroll_bar_button_toggle == 1) {
_root.text_field.scroll = (lines * scroll_persent) / 100;
} else if (_root.scroll_bar_button_toggle == 0) {
if (_root.text_field.scroll == 1) {
text_scroll_persent = int(((_root.text_field.scroll - 1) * 100) / lines);
} else {
text_scroll_persent = int((_root.text_field.scroll * 100) / lines);
}
setProperty("scroll_bar_button", _y , (int((scroll_total * text_scroll_persent) / 100) + Math.floor(button_size / 2)) + button_size);
}
}
Symbol 272 MovieClip Frame 67
heading = "Top Players";
stop();
Instance of Symbol 147 MovieClip "wait" in Symbol 272 MovieClip Frame 67
onClipEvent (load) {
_root.text_field_var = "";
_parent.heading = "Top Players";
}
onClipEvent (enterFrame) {
if ((_root.text_field_var == "") || (_root.text_field_var == null)) {
if ((_parent.heading == "Top Players") && (_level100.server == 3)) {
_root.text_field_var = _level100.playershighscore;
setProperty(this, _visible , false);
} else if ((_parent.heading == "Top Countrys") && (_level101.server == 3)) {
_root.text_field_var = _level101.countryhighscore;
setProperty(this, _visible , false);
}
}
if (_level100.server == 1) {
_level100.server = 3;
} else if (_level101.server == 1) {
_level101.server = 3;
}
}
Symbol 272 MovieClip Frame 70
_root.text_field.removeTextField();
Symbol 272 MovieClip Frame 80
gotoAndPlay (20);
Symbol 272 MovieClip Frame 83
_root.game_state = "practice";
Instance of Symbol 178 MovieClip "small_pich" in Symbol 272 MovieClip Frame 112
onClipEvent (load) {
gotoAndPlay (2);
}
Instance of Symbol 203 MovieClip "ballanim" in Symbol 272 MovieClip Frame 131
onClipEvent (load) {
random_delivery = 0;
}
Instance of Symbol 243 MovieClip "batsman" in Symbol 272 MovieClip Frame 131
onClipEvent (load) {
hitarea = false;
newball = 2;
}
onClipEvent (enterFrame) {
if ((Key.getCode() > 48) && (Key.getCode() < 58)) {
newball = Key.getCode() - 48;
_parent.small_pich.gotoAndStop(newball);
}
if (Key.isDown(40)) {
check = this._currentframe;
if (check == 1) {
this.gotoAndPlay("back");
powermode = false;
}
}
if (Key.isDown(37)) {
check = this._currentframe;
if (check == 1) {
this.gotoAndPlay("left");
if (Key.isDown(16)) {
powermode = true;
} else {
powermode = false;
}
}
}
if (Key.isDown(39)) {
check = this._currentframe;
if (check == 1) {
this.gotoAndPlay("right");
if (Key.isDown(16)) {
powermode = true;
} else {
powermode = false;
}
}
}
if (Key.isDown(38)) {
check = this._currentframe;
if (check == 1) {
this.gotoAndPlay("forward");
if (Key.isDown(16)) {
powermode = true;
} else {
powermode = false;
}
}
}
}
Symbol 272 MovieClip Frame 137
stop();
Symbol 272 MovieClip Frame 165
stop();
Symbol 272 MovieClip Frame 186
gotoAndPlay (20);
Symbol 273 MovieClip Frame 2
tellTarget ("_root.interface.interface") {
gotoAndPlay ("login");
};
stop();
Instance of Symbol 277 MovieClip "ad" in Symbol 278 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(random(30));
};
}
Symbol 285 MovieClip Frame 1
country = "South Africa";
stop();
Symbol 285 MovieClip Frame 2
country = "Australia";
Symbol 285 MovieClip Frame 3
country = "Zimbabwe";
Symbol 285 MovieClip Frame 4
country = "New Zealand";
Symbol 285 MovieClip Frame 5
country = "Kenya";
Symbol 285 MovieClip Frame 6
country = "Namibia";
Symbol 285 MovieClip Frame 7
country = "Netherlands";
Symbol 285 MovieClip Frame 8
country = "Bangladesh";
Symbol 285 MovieClip Frame 9
country = "Canada";
Symbol 285 MovieClip Frame 10
country = "India";
Symbol 285 MovieClip Frame 11
country = "Pakistan";
Symbol 285 MovieClip Frame 12
country = "Sri Lanka";
Symbol 285 MovieClip Frame 13
country = "West Indies";
Symbol 285 MovieClip Frame 14
country = "England";
Symbol 289 MovieClip Frame 32
setProperty(this, _visible , false);
stop();
Symbol 299 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 8
gotoAndStop (1);
Symbol 305 MovieClip Frame 1
stop();
Instance of Symbol 76 MovieClip in Symbol 331 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(_root.flag2);
};
}
Instance of Symbol 76 MovieClip in Symbol 331 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(_root.flag1);
};
}
Symbol 340 MovieClip Frame 1
stop();
Symbol 370 Button
on (release) {
tellTarget (_root) {
gotoAndStop ("interface_go");
};
}
Symbol 374 Button
on (release) {
loadVariablesNum ("http://www.mooncrawler.co.uk/WorldCricketChallenge/sendRefMail.asp", 106, "GET");
send_friend.message = "Sending...";
setProperty("refer_button", _visible , false);
setProperty("send", _visible , false);
}
Instance of Symbol 76 MovieClip "flag1" in Symbol 377 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(_root.flag1);
};
}
Instance of Symbol 76 MovieClip "flag2" in Symbol 377 MovieClip Frame 1
onClipEvent (load) {
tellTarget (this) {
gotoAndPlay(_root.flag2);
};
}
Symbol 377 MovieClip Frame 2
name = _root.name;
email = _root.email;
Instance of Symbol 366 MovieClip "rank" in Symbol 377 MovieClip Frame 2
onClipEvent (load) {
name = _root.name;
email = _root.email;
loadVariablesNum ("http://www.mooncrawler.co.uk/WorldCricketChallenge/getplayerrank.asp", 105, "GET");
}
onClipEvent (enterFrame) {
if (_level105.server == 1) {
rank_var = ("<P ALIGN='CENTER'><FONT FACE='Arial, Helvetica, san-serif' SIZE='12' COLOR='#FFFFCC'>You are ranked:" + _level105.rank) + "</font></P>";
} else {
rank_var = "<P ALIGN='CENTER'><FONT FACE='Arial, Helvetica, san-serif' SIZE='12' COLOR='#FFFFCC'>Loading...</font></P>";
}
}
Instance of Symbol 376 MovieClip "send_friend" in Symbol 377 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_level106.server == 1) {
_level106.server = 3;
_parent.send_friend.message = "Done!";
_parent.friend_email = "";
_parent.friend_name = "";
setProperty("_parent.refer_button", _visible , true);
setProperty("_parent.send", _visible , true);
}
}
Symbol 383 MovieClip Frame 35
stop();
Symbol 383 MovieClip Frame 53
stop();
Symbol 412 MovieClip Frame 28
_root.scoreT = _root.scoreT + 3;
_root.current = _root.current + 3;
stop();
Symbol 412 MovieClip Frame 55
_root.scoreT = _root.scoreT + 3;
_root.current = _root.current + 3;
stop();
Symbol 412 MovieClip Frame 80
_root.scoreT = _root.scoreT + 2;
_root.current = _root.current + 2;
stop();
Symbol 412 MovieClip Frame 111
_root.scoreT = _root.scoreT + 4;
_root.current = _root.current + 4;
stop();
Symbol 412 MovieClip Frame 142
_root.scoreT = _root.scoreT + 3;
_root.current = _root.current + 3;
stop();
Symbol 412 MovieClip Frame 163
_root.player = _root.player + 1;
_root.current = 0;
if ((getProperty(_root.duck, _currentframe) == 1) && (_root["pscore" + _root.player] == 0)) {
tellTarget ("_root.duck") {
gotoAndPlay ("go");
};
}
stop();
Symbol 412 MovieClip Frame 192
_root.scoreT = _root.scoreT + 9;
_root.extras = _root.extras + 3;
_root.current = _root.current + 9;
stop();
Symbol 412 MovieClip Frame 217
setProperty(_root.extra_bord, _visible , true);
tellTarget ("_root.extra_bord") {
gotoAndPlay ("hit3");
};
Symbol 412 MovieClip Frame 218
_root.scoreT = _root.scoreT + 9;
_root.extras = _root.extras + 3;
_root.current = _root.current + 9;
stop();
Symbol 412 MovieClip Frame 239
setProperty(_root.extra_bord, _visible , true);
tellTarget ("_root.extra_bord") {
gotoAndPlay ("hit1");
};
Symbol 412 MovieClip Frame 244
_root.scoreT = _root.scoreT + 9;
_root.extras = _root.extras + 3;
_root.current = _root.current + 9;
stop();
Symbol 412 MovieClip Frame 287
_root.player = _root.player + 1;
_root.current = 0;
if ((getProperty(_root.duck, _currentframe) == 1) && (_root["pscore" + _root.player] == 0)) {
tellTarget ("_root.duck") {
gotoAndPlay ("go");
};
}
stop();
Symbol 412 MovieClip Frame 304
_root.scoreT = _root.scoreT + 2;
_root.current = _root.current + 2;
stop();
Symbol 412 MovieClip Frame 329
_root.player = _root.player + 1;
_root.current = 0;
if ((getProperty(_root.duck, _currentframe) == 1) && (_root["pscore" + _root.player] == 0)) {
tellTarget ("_root.duck") {
gotoAndPlay ("go");
};
}
stop();
Symbol 412 MovieClip Frame 357
_root.scoreT = _root.scoreT + 4;
_root.current = _root.current + 4;
stop();
Symbol 412 MovieClip Frame 388
_root.scoreT = _root.scoreT + 6;
_root.current = _root.current + 6;
stop();
Symbol 412 MovieClip Frame 409
_root.player = _root.player + 1;
_root.current = 0;
if ((getProperty(_root.duck, _currentframe) == 1) && (_root["pscore" + _root.player] == 0)) {
tellTarget ("_root.duck") {
gotoAndPlay ("go");
};
}
stop();
Symbol 412 MovieClip Frame 431
_root.scoreT = _root.scoreT + 1;
_root.current = _root.current + 1;
stop();
Symbol 412 MovieClip Frame 454
_root.scoreT = _root.scoreT + 1;
_root.current = _root.current + 1;
stop();
Symbol 412 MovieClip Frame 485
_root.scoreT = _root.scoreT + 3;
_root.current = _root.current + 3;
stop();
Symbol 412 MovieClip Frame 524
_root.scoreT = _root.scoreT + 6;
_root.current = _root.current + 6;
stop();
Symbol 412 MovieClip Frame 546
_root.player = _root.player + 1;
_root.current = 0;
if ((getProperty(_root.duck, _currentframe) == 1) && (_root["pscore" + _root.player] == 0)) {
tellTarget ("_root.duck") {
gotoAndPlay ("go");
};
}
stop();
Symbol 412 MovieClip Frame 573
_root.scoreT = _root.scoreT + 4;
_root.current = _root.current + 4;
stop();
Symbol 412 MovieClip Frame 600
_root.scoreT = _root.scoreT + 3;
_root.current = _root.current + 3;
stop();
Symbol 412 MovieClip Frame 621
_root.player = _root.player + 1;
_root.current = 0;
if ((getProperty(_root.duck, _currentframe) == 1) && (_root["pscore" + _root.player] == 0)) {
tellTarget ("_root.duck") {
gotoAndPlay ("go");
};
}
stop();
Symbol 412 MovieClip Frame 640
stop();
Symbol 412 MovieClip Frame 661
_root.scoreT = _root.scoreT + 1;
_root.current = _root.current + 1;
stop();
Symbol 412 MovieClip Frame 686
_root.scoreT = _root.scoreT + 4;
_root.current = _root.current + 4;
stop();
Symbol 412 MovieClip Frame 714
_root.scoreT = _root.scoreT + 6;
_root.current = _root.current + 6;
stop();
Symbol 412 MovieClip Frame 739
_root.scoreT = _root.scoreT + 6;
_root.current = _root.current + 6;
stop();
Symbol 412 MovieClip Frame 767
_root.scoreT = _root.scoreT + 6;
_root.current = _root.current + 6;
stop();
Symbol 412 MovieClip Frame 801
setProperty(_root.extra_bord, _visible , true);
tellTarget ("_root.extra_bord") {
gotoAndPlay ("hit2");
};
Symbol 412 MovieClip Frame 802
_root.scoreT = _root.scoreT + 9;
_root.extras = _root.extras + 3;
_root.current = _root.current + 9;
stop();
Symbol 424 MovieClip Frame 51
stop();
Symbol 424 MovieClip Frame 99
stop();
Symbol 424 MovieClip Frame 143
stop();
Symbol 427 MovieClip Frame 6
stop();
Symbol 427 MovieClip Frame 10
stop();