Frame 1
toggleHighQuality();
Frame 2
loadingstuff = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
gotoAndStop (4);
}
num = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
loaderbar.gotoAndStop(num);
Frame 3
gotoAndPlay (2);
Frame 4
stop();
Frame 5
stop();
_root.p1score = 0;
_root.p2score = 0;
_root.p1balls = 3;
_root.p2balls = 3;
_root.winner = "";
Frame 6
_root.ball_direction = "straight";
_root.goalie_direction = "straight";
_root.goalie_missed = "no";
_root.blocked_it1 = "no";
_root.turn = "one";
stop();
stopAllSounds();
Frame 40
if ((_root.p2balls == 1) and (_root.p1score == (_root.p2score + 2))) {
_root.winner = "brazil";
gotoAndPlay (98);
}
if ((_root.p2balls == 1) and (_root.p1score == (_root.p2score - 1))) {
_root.winner = "england";
gotoAndPlay (98);
}
if ((_root.p1score == 3) and (_root.p2score == 0)) {
_root.winner = "brazil";
gotoAndPlay (98);
}
Frame 52
_root.ball_direction = "straight";
_root.goalie_direction = "straight";
_root.goalie_missed = "no";
_root.blocked_it1 = "no";
_root.turn = "two";
stop();
Frame 86
if (_root.p1score == 3) {
_root.winner = "brazil";
gotoAndPlay (98);
}
if (_root.p2score == 3) {
_root.winner = "england";
gotoAndPlay (98);
}
if ((_root.p2balls == 0) and (_root.p2score < _root.p1score)) {
_root.winner = "brazil";
gotoAndPlay (98);
}
if ((_root.p2balls == 0) and (_root.p1score < _root.p2score)) {
_root.winner = "england";
gotoAndPlay (98);
}
if ((_root.p2balls == 0) and (_root.p2score == _root.p1score)) {
_root.winner = "draw";
gotoAndPlay (98);
}
Frame 97
gotoAndPlay (6);
Frame 98
stop();
Symbol 24 Button
on (release) {
getURL ("http://emeciton.vze.com", "_blank");
}
Symbol 30 Button
on (release) {
gotoAndPlay (5);
}
Symbol 38 Button
on (release) {
_root.opponent = "com";
gotoAndPlay (6);
}
Symbol 44 Button
on (release) {
_root.opponent = "player";
gotoAndPlay (6);
}
Symbol 53 MovieClip Frame 1
stopAllSounds();
Symbol 53 MovieClip Frame 2
stop();
Symbol 64 MovieClip Frame 1
if (_root.opponent == "com") {
stop();
} else {
nextFrame();
}
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 2
if (_root.goalie_direction == "left") {
play();
}
if (_root.goalie_direction == "right") {
gotoAndPlay (30);
}
if (_root.goalie_direction == "straight") {
gotoAndPlay (68);
}
Symbol 80 MovieClip Frame 23
if (_root.goalie_missed == "yes") {
_root.gotoAndPlay("two");
gotoAndPlay (63);
}
Symbol 80 MovieClip Frame 29
stop();
_root.gotoAndPlay("two");
Symbol 80 MovieClip Frame 30
if (_root.goalie_direction == "left") {
play();
}
if (_root.goalie_direction == "right") {
gotoAndPlay (30);
}
Symbol 80 MovieClip Frame 51
if (_root.goalie_missed == "yes") {
_root.gotoAndPlay("two");
gotoAndPlay (58);
}
Symbol 80 MovieClip Frame 57
stop();
_root.gotoAndPlay("two");
Symbol 80 MovieClip Frame 62
gotoAndPlay (58);
Symbol 80 MovieClip Frame 67
gotoAndPlay (63);
Symbol 80 MovieClip Frame 68
if (_root.goalie_missed == "yes") {
_root.gotoAndPlay("two");
gotoAndPlay (70);
}
if (_root.blocked_it1 == "yes") {
_root.gotoAndPlay("two");
gotoAndPlay (1);
}
Symbol 80 MovieClip Frame 69
gotoAndPlay (68);
Symbol 80 MovieClip Frame 74
gotoAndPlay (70);
Symbol 101 MovieClip Frame 10
stop();
Symbol 103 MovieClip Frame 10
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 14
_root.goalie.gotoAndPlay(2);
Symbol 104 MovieClip Frame 26
if (_root.goalie_direction == "left") {
play();
} else {
gotoAndPlay (70);
_root.goalie_missed = "yes";
}
Symbol 104 MovieClip Frame 35
stop();
Symbol 104 MovieClip Frame 49
_root.goalie.gotoAndPlay(2);
Symbol 104 MovieClip Frame 60
if (_root.goalie_direction == "right") {
play();
} else {
gotoAndPlay (71);
_root.goalie_missed = "yes";
}
Symbol 104 MovieClip Frame 69
stop();
Symbol 104 MovieClip Frame 70
stop();
if (_root.turn == "one") {
_root.p1score = _root.p1score + 1;
}
if (_root.turn == "two") {
_root.p2score = _root.p2score + 1;
}
_root.goal.gotoAndPlay(2);
Symbol 104 MovieClip Frame 71
stop();
if (_root.turn == "one") {
_root.p1score = _root.p1score + 1;
}
if (_root.turn == "two") {
_root.p2score = _root.p2score + 1;
}
_root.goal.gotoAndPlay(2);
Symbol 104 MovieClip Frame 72
stop();
if (_root.turn == "one") {
_root.p1score = _root.p1score + 1;
}
if (_root.turn == "two") {
_root.p2score = _root.p2score + 1;
}
_root.goal.gotoAndPlay(2);
Symbol 104 MovieClip Frame 86
_root.goalie.gotoAndPlay(2);
Symbol 104 MovieClip Frame 97
if (_root.goalie_direction == "straight") {
play();
} else {
gotoAndPlay (72);
_root.goalie_missed = "yes";
}
Symbol 104 MovieClip Frame 106
_root.blocked_it1 = "yes";
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 10
if (_root.ball_direction == "left") {
_root.ball.gotoAndPlay(2);
}
if (_root.ball_direction == "right") {
_root.ball.gotoAndPlay(36);
}
if (_root.ball_direction == "straight") {
_root.ball.gotoAndPlay(73);
}
_root.p1balls = _root.p1balls - 1;
Symbol 126 MovieClip Frame 13
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 10
gotoAndPlay (2);
Symbol 153 MovieClip Frame 1
if (Key.isDown(Key.LEFT)) {
_root.ball_direction = "left";
}
if (Key.isDown(Key.RIGHT)) {
_root.ball_direction = "right";
}
if (Key.isDown(Key.UP)) {
_root.ball_direction = "straight";
}
if (Key.isDown(83) and (_root.opponent == "player")) {
_root.goalie_direction = "straight";
}
if (Key.isDown(68) and (_root.opponent == "player")) {
_root.goalie_direction = "right";
}
if (Key.isDown(65) and (_root.opponent == "player")) {
_root.goalie_direction = "left";
} else if (_root.opponent == "com") {
gl = random(5) + 1;
if (gl == 3) {
_root.goalie_direction = "left";
} else if (gl == 2) {
_root.goalie_direction = "left";
} else if (gl == 1) {
_root.goalie_direction = "straight";
} else if (gl == 4) {
_root.goalie_direction = "straight";
} else {
_root.goalie_direction = "right";
}
}
Symbol 153 MovieClip Frame 2
call(1);
Symbol 153 MovieClip Frame 3
call(1);
Symbol 153 MovieClip Frame 4
call(1);
Symbol 153 MovieClip Frame 5
call(1);
Symbol 153 MovieClip Frame 6
call(1);
Symbol 153 MovieClip Frame 7
call(1);
Symbol 153 MovieClip Frame 8
call(1);
Symbol 153 MovieClip Frame 9
call(1);
Symbol 153 MovieClip Frame 10
call(1);
Symbol 153 MovieClip Frame 11
call(1);
Symbol 153 MovieClip Frame 12
call(1);
Symbol 153 MovieClip Frame 13
call(1);
Symbol 153 MovieClip Frame 14
call(1);
Symbol 153 MovieClip Frame 15
call(1);
Symbol 153 MovieClip Frame 16
call(1);
Symbol 153 MovieClip Frame 17
call(1);
Symbol 153 MovieClip Frame 18
call(1);
Symbol 153 MovieClip Frame 19
call(1);
Symbol 153 MovieClip Frame 20
call(1);
Symbol 153 MovieClip Frame 21
call(1);
Symbol 153 MovieClip Frame 22
call(1);
Symbol 153 MovieClip Frame 23
call(1);
Symbol 153 MovieClip Frame 24
call(1);
Symbol 153 MovieClip Frame 25
call(1);
Symbol 153 MovieClip Frame 26
call(1);
Symbol 153 MovieClip Frame 27
call(1);
Symbol 153 MovieClip Frame 28
call(1);
Symbol 153 MovieClip Frame 29
call(1);
Symbol 153 MovieClip Frame 30
call(1);
Symbol 153 MovieClip Frame 31
call(1);
Symbol 153 MovieClip Frame 32
call(1);
Symbol 153 MovieClip Frame 33
call(1);
Symbol 153 MovieClip Frame 34
call(1);
Symbol 153 MovieClip Frame 35
call(1);
Symbol 153 MovieClip Frame 36
call(1);
Symbol 153 MovieClip Frame 37
call(1);
Symbol 153 MovieClip Frame 38
call(1);
Symbol 153 MovieClip Frame 39
call(1);
Symbol 153 MovieClip Frame 40
call(1);
Symbol 153 MovieClip Frame 41
call(1);
Symbol 153 MovieClip Frame 42
call(1);
Symbol 153 MovieClip Frame 43
call(1);
Symbol 153 MovieClip Frame 44
call(1);
Symbol 153 MovieClip Frame 45
call(1);
Symbol 153 MovieClip Frame 46
call(1);
Symbol 153 MovieClip Frame 47
call(1);
Symbol 153 MovieClip Frame 48
call(1);
Symbol 153 MovieClip Frame 49
_root.striker.gotoAndPlay(2);
stop();
Symbol 156 MovieClip Frame 1
if (_root.p1balls == 3) {
stop();
} else if (_root.p1balls == 2) {
nextFrame();
} else if (_root.p1balls == 1) {
gotoAndStop (3);
}
Symbol 156 MovieClip Frame 2
stop();
Symbol 156 MovieClip Frame 3
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
if (_root.goalie_direction == "left") {
play();
}
if (_root.goalie_direction == "right") {
gotoAndPlay (30);
}
if (_root.goalie_direction == "straight") {
gotoAndPlay (68);
}
Symbol 182 MovieClip Frame 23
if (_root.goalie_missed == "yes") {
_root.gotoAndPlay("thirty_eight");
gotoAndPlay (63);
}
Symbol 182 MovieClip Frame 29
stop();
_root.gotoAndPlay("thirty_eight");
Symbol 182 MovieClip Frame 30
if (_root.goalie_direction == "left") {
play();
}
if (_root.goalie_direction == "right") {
gotoAndPlay (30);
}
Symbol 182 MovieClip Frame 51
if (_root.goalie_missed == "yes") {
_root.gotoAndPlay("thirty_eight");
gotoAndPlay (58);
}
Symbol 182 MovieClip Frame 57
stop();
_root.gotoAndPlay("thirty_eight");
Symbol 182 MovieClip Frame 62
gotoAndPlay (58);
Symbol 182 MovieClip Frame 67
gotoAndPlay (63);
Symbol 182 MovieClip Frame 68
if (_root.goalie_missed == "yes") {
_root.gotoAndPlay("thirty_eight");
gotoAndPlay (70);
}
if (_root.blocked_it1 == "yes") {
_root.gotoAndPlay("thirty_eight");
gotoAndPlay (1);
}
Symbol 182 MovieClip Frame 69
gotoAndPlay (68);
Symbol 182 MovieClip Frame 74
gotoAndPlay (70);
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 10
if (_root.ball_direction == "left") {
_root.ball.gotoAndPlay(2);
}
if (_root.ball_direction == "right") {
_root.ball.gotoAndPlay(36);
}
if (_root.ball_direction == "straight") {
_root.ball.gotoAndPlay(73);
}
_root.p2balls = _root.p2balls - 1;
Symbol 201 MovieClip Frame 13
stop();
Symbol 202 MovieClip Frame 1
if (_root.p2balls == 3) {
stop();
} else if (_root.p2balls == 2) {
nextFrame();
} else if (_root.p2balls == 1) {
gotoAndStop (3);
}
Symbol 202 MovieClip Frame 2
stop();
Symbol 202 MovieClip Frame 3
stop();
Symbol 205 MovieClip Frame 1
if (Key.isDown(65) and (_root.opponent == "player")) {
_root.ball_direction = "left";
} else if (_root.opponent == "com") {
gl = random(5) + 1;
if (gl == 3) {
_root.ball_direction = "left";
} else if (gl == 2) {
_root.ball_direction = "left";
} else if (gl == 1) {
_root.ball_direction = "straight";
} else if (gl == 4) {
_root.ball_direction = "straight";
} else {
_root.ball_direction = "right";
}
}
if (Key.isDown(68) and (_root.opponent == "player")) {
_root.ball_direction = "right";
}
if (Key.isDown(83) and (_root.opponent == "player")) {
_root.ball_direction = "straight";
}
if (Key.isDown(Key.RIGHT)) {
_root.goalie_direction = "right";
}
if (Key.isDown(Key.LEFT)) {
_root.goalie_direction = "left";
}
if (Key.isDown(Key.UP)) {
_root.goalie_direction = "straight";
}
Symbol 205 MovieClip Frame 2
call(1);
Symbol 205 MovieClip Frame 3
call(1);
Symbol 205 MovieClip Frame 4
call(1);
Symbol 205 MovieClip Frame 5
call(1);
Symbol 205 MovieClip Frame 6
call(1);
Symbol 205 MovieClip Frame 7
call(1);
Symbol 205 MovieClip Frame 8
call(1);
Symbol 205 MovieClip Frame 9
call(1);
Symbol 205 MovieClip Frame 10
call(1);
Symbol 205 MovieClip Frame 11
call(1);
Symbol 205 MovieClip Frame 12
call(1);
Symbol 205 MovieClip Frame 13
call(1);
Symbol 205 MovieClip Frame 14
call(1);
Symbol 205 MovieClip Frame 15
call(1);
Symbol 205 MovieClip Frame 16
call(1);
Symbol 205 MovieClip Frame 17
call(1);
Symbol 205 MovieClip Frame 18
call(1);
Symbol 205 MovieClip Frame 19
call(1);
Symbol 205 MovieClip Frame 20
call(1);
Symbol 205 MovieClip Frame 21
call(1);
Symbol 205 MovieClip Frame 22
call(1);
Symbol 205 MovieClip Frame 23
call(1);
Symbol 205 MovieClip Frame 24
call(1);
Symbol 205 MovieClip Frame 25
call(1);
Symbol 205 MovieClip Frame 26
call(1);
Symbol 205 MovieClip Frame 27
call(1);
Symbol 205 MovieClip Frame 28
call(1);
Symbol 205 MovieClip Frame 29
call(1);
Symbol 205 MovieClip Frame 30
call(1);
Symbol 205 MovieClip Frame 31
call(1);
Symbol 205 MovieClip Frame 32
call(1);
Symbol 205 MovieClip Frame 33
call(1);
Symbol 205 MovieClip Frame 34
call(1);
Symbol 205 MovieClip Frame 35
call(1);
Symbol 205 MovieClip Frame 36
call(1);
Symbol 205 MovieClip Frame 37
call(1);
Symbol 205 MovieClip Frame 38
call(1);
Symbol 205 MovieClip Frame 39
call(1);
Symbol 205 MovieClip Frame 40
call(1);
Symbol 205 MovieClip Frame 41
call(1);
Symbol 205 MovieClip Frame 42
call(1);
Symbol 205 MovieClip Frame 43
call(1);
Symbol 205 MovieClip Frame 44
call(1);
Symbol 205 MovieClip Frame 45
call(1);
Symbol 205 MovieClip Frame 46
call(1);
Symbol 205 MovieClip Frame 47
call(1);
Symbol 205 MovieClip Frame 48
call(1);
Symbol 205 MovieClip Frame 49
_root.striker.gotoAndPlay(2);
stop();
Symbol 214 MovieClip Frame 1
if (_root.winner == "brazil") {
stop();
} else if (_root.winner == "england") {
nextFrame();
} else if (_root.winner == "draw") {
_root.nextFrame();
} else {
_root.nextFrame();
}
Symbol 217 MovieClip Frame 1
stopAllSounds();
Symbol 217 MovieClip Frame 2
stop();
Symbol 223 Button
on (release) {
gotoAndPlay (5);
}