Frame 1
ifFrameLoaded (137) {
gotoAndPlay (3);
}
bytes = int(this.getBytesLoaded() / 1024) add "KB";
A = (this.getBytesLoaded() / this.getBytesTotal()) * 100;
percent = int(A) add "%";
setProperty("_root.bar", _xscale , A);
barWidth = getProperty(bar, _width);
walk_x = 190 + barWidth;
setProperty("walk", _x , walk_x);
setProperty("walk_shadow", _x , walk_x);
Frame 2
gotoAndPlay (1);
Frame 22
gotoAndPlay (3);
Frame 42
stop();
Frame 62
stop();
Frame 63
tellTarget ("/sound") {
gotoAndPlay ("start");
};
stop();
Frame 72
level = 1;
ballsize = 6;
speedx = 4;
ballspeedy_MIN = 40;
ballspeedy_MAX = 80;
ballspeedy_MAX_MIN = int(random((ballspeedy_MAX - ballspeedy_MIN) + 1) + ballspeedy_MIN);
ballspeedy = ballspeedy_MAX_MIN * 0.01;
speedy = ballspeedy;
gameleft = 113;
gameright = 543;
gametop = 51;
gamedown = 207;
gamecenter = 328;
gameleftdown = 123;
gamerightdown = 533;
gameboxtop = 5;
gameboxdown = 253;
right_score = 0;
left_score = 0;
right_balls = 5;
left_balls = 5;
right_wingame = 0;
left_wingame = 0;
startball_r = 1;
startball_l = 1;
openball = "left";
reopenball = "no";
pointok = "nopoint";
pointcheck = "nocheck";
hitpoint = "nopoint";
hitpointcheck = "nocheck";
hitracquet = "no";
shadow_LtoR = 30;
shadow_RtoL = -30;
sMIN = 45;
sMAX = 50;
s_MAX_MIN = int(random((sMAX - sMIN) + 1) + sMIN);
s = s_MAX_MIN * 0.01;
gotoAndPlay (86);
Instance of Symbol 181 MovieClip "left_racquet" in Frame 72
onClipEvent (load) {
mindis = 180;
kx = 0.2;
ky = 0.4;
decay = 0.001;
stick = "no";
}
onClipEvent (enterFrame) {
ball_x = int(_root.ball._x - this._x);
ball_y = int(_root.ball._y - this._y);
if ((0 < ball_x) && (0 < ball_y)) {
quad = Number(4);
}
if ((ball_x < 0) && (0 < ball_y)) {
quad = Number(1);
}
if ((ball_x < 0) && (ball_y < 0)) {
quad = Number(2);
}
if ((0 < ball_x) && (ball_y < 0)) {
quad = Number(3);
}
abs_x = Math.abs(ball_x);
abs_y = Math.abs(ball_y);
tg = abs_y / abs_x;
_root.leo = (Math.atan(tg) * Number(180)) / Math.PI;
if (quad == 1) {
angle = Number(90) - Number(_root.leo);
}
if (quad == 2) {
angle = Number(90) + Number(_root.leo);
}
if (quad == 3) {
angle = Number(270) - Number(_root.leo);
}
if (quad == 4) {
angle = Number(270) + Number(_root.leo);
}
x = this._x;
y = this._y;
mx = _root.ball._x;
my = _root.ball._y;
disx = math.abs(x - mx);
disy = math.abs(y - my);
if (15 >= math.sqrt((disx * disx) + (disy * disy))) {
tellTarget ("_root.left_racquet.player2") {
gotoAndPlay (2);
};
}
if (..:computer_go eq "yes") {
if ((mindis >= math.sqrt((disx * disx) + (disy * disy))) and (stick eq "no")) {
if (308 >= this._x) {
if ((this._y >= 25) && (233 >= this._y)) {
xmov = (kx * (mx - x)) + (decay * xmov);
ymov = (ky * (my - y)) + (decay * ymov);
setProperty(this, _x , xmov + x);
setProperty(this, _y , ymov + y);
}
}
}
}
}
Instance of Symbol 186 MovieClip "right_racquet" in Frame 72
onClipEvent (mouseDown) {
startDrag ("/right_racquet", true, 348, 25, 543, 233);
}
Frame 73
call("action");
call("moveEye");
Frame 74
call("action");
call("moveEye");
gotoAndPlay (73);
Frame 75
if (reopenball eq "Lreopenball") {
reopenball = "no";
computer_go = "no";
hitracquet = "no";
openball = "left";
pointok = "nopoint";
pointcheck = "nocheck";
hitpoint = "nopoint";
hitpointcheck = "nocheck";
shadow_LtoR = 30;
s_MAX_MIN = int(random((sMAX - sMIN) + 1) + sMIN);
s = s_MAX_MIN * 0.01;
left_wingame = left_wingame + 1;
right_balls = right_balls - 1;
speedx = 4;
ballspeedy_MIN = 40;
ballspeedy_MAX = 80;
ballspeedy_MAX_MIN = int(random((ballspeedy_MAX - ballspeedy_MIN) + 1) + ballspeedy_MIN);
ballspeedy = ballspeedy_MAX_MIN * 0.01;
if (0 >= Number(right_balls)) {
gotoAndStop (137);
} else {
startball_l++;
if (((startball_l == 1) or (startball_l == 3)) or (startball_l == 5)) {
setProperty("/left_racquet", _x , 103);
setProperty("/left_racquet", _y , 53);
setProperty("/right__racquet", _x , 553);
setProperty("/right__racquet", _y , 205);
setProperty("/ball", _x , 123);
setProperty("/ball", _y , 53);
setProperty("/ball_shadow", _x , 123);
setProperty("/ball_shadow", _y , 53);
speedy = ballspeedy * 1;
gotoAndPlay (86);
} else {
setProperty("/left_racquet", _x , 103);
setProperty("/left_racquet", _y , 205);
setProperty("/right_racquet", _x , 553);
setProperty("/right_racquet", _y , 53);
setProperty("/ball", _x , 123);
setProperty("/ball", _y , 205);
setProperty("/ball_shadow", _x , 123);
setProperty("/ball_shadow", _y , 205);
speedy = ballspeedy * -1;
gotoAndPlay (86);
}
}
}
if (reopenball eq "Rreopenball") {
reopenball = "no";
computer_go = "no";
hitracquet = "no";
openball = "right";
pointok = "nopoint";
pointcheck = "nocheck";
hitpoint = "nopoint";
hitpointcheck = "nocheck";
shadow_RtoL = 30;
s_MAX_MIN = int(random((sMAX - sMIN) + 1) + sMIN);
s = s_MAX_MIN * 0.01;
right_wingame = right_wingame + 1;
left_balls = left_balls - 1;
speedx = -4;
ballspeedy_MIN = 40;
ballspeedy_MAX = 80;
ballspeedy_MAX_MIN = int(random((ballspeedy_MAX - ballspeedy_MIN) + 1) + ballspeedy_MIN);
ballspeedy = ballspeedy_MAX_MIN * 0.01;
if (0 >= Number(left_balls)) {
gotoAndStop (136);
} else {
startball_r++;
if (((startball_r == 1) or (startball_r == 3)) or (startball_r == 5)) {
setProperty("/left_racquet", _x , 103);
setProperty("/left_racquet", _y , 53);
setProperty("/right_racquet", _x , 553);
setProperty("/right_racquet", _y , 205);
setProperty("/ball", _x , 533);
setProperty("/ball", _y , 205);
setProperty("/ball_shadow", _x , 533);
setProperty("/ball_shadow", _y , 205);
speedy = ballspeedy * -1;
gotoAndPlay (86);
} else {
setProperty("/left_racquet", _x , 103);
setProperty("/left_racquet", _y , 205);
setProperty("/right_racquet", _x , 553);
setProperty("/right_racquet", _y , 53);
setProperty("/ball", _x , 533);
setProperty("/ball", _y , 53);
setProperty("/ball_shadow", _x , 533);
setProperty("/ball_shadow", _y , 53);
speedy = ballspeedy * 1;
gotoAndPlay (86);
}
}
}
Frame 79
eyeX = getProperty("/eye", _x);
eyeY = getProperty("/eye", _y);
ballX = getProperty("/ball", _x);
ballY = getProperty("/ball", _y);
eye_cpuX = getProperty("/eye_cpu", _x);
eye_cpuY = getProperty("/eye_cpu", _y);
ball_cpuX = getProperty("/ball_cpu", _x);
ball_cpuY = getProperty("/ball_cpu", _y);
dy = (ballY - eyeY) - 5;
dx1 = (ballX - eyeX) - 5;
dx2 = (ballX - eyeX) - 15;
dy_cpu = (ballY - eye_cpuY) - 5;
dx1_cpu = (ballX - eye_cpuX) - 5;
dx2_cpu = (ballX - eye_cpuX) - 15;
Set("/math:result", Number(dx1 * dx1) + Number(dy * dy));
call("/math:1");
r = /math:result;
if (Number(r) < 20) {
r = 20;
}
Set("/math_cpu:result", Number(dx1_cpu * dx1_cpu) + Number(dy_cpu * dy_cpu));
call("/math_cpu:1");
r_cpu = /math_cpu:result;
if (Number(r_cpu) < 20) {
r_cpu = 20;
}
dx1 = Number(Number((dx1 * 2.5) / r) + Number(eyeX)) + 2.5;
dy1 = Number(Number((dy * 2.5) / r) + Number(eyeY)) + 2.5;
Set("/math:result", Number(dx2 * dx2) + Number(dy * dy));
call("/math:1");
r = /math:result;
if (Number(r) < 20) {
r = 20;
}
dx1_cpu = Number(Number((dx1_cpu * 2.5) / r_cpu) + Number(eye_cpuX)) + 2.5;
dy1_cpu = Number(Number((dy_cpu * 2.5) / r_cpu) + Number(eye_cpuY)) + 2.5;
Set("/math_cpu:result", Number(dx2_cpu * dx2_cpu) + Number(dy_cpu * dy_cpu));
call("/math_cpu:1");
r_cpu = /math_cpu:result;
if (Number(r_cpu) < 20) {
r_cpu = 20;
}
dx2 = Number(Number((dx2 * 2.5) / r) + Number(eyeX)) + 12.5;
setProperty("/left", _x , dx1);
setProperty("/left", _y , dy1);
setProperty("/right", _x , dx2);
setProperty("/right", _y , dy1);
dx2_cpu = Number(Number((dx2_cpu * 2.5) / r_cpu) + Number(eye_cpuX)) + 12.5;
setProperty("/left_cpu", _x , dx1_cpu);
setProperty("/left_cpu", _y , dy1_cpu);
setProperty("/right_cpu", _x , dx2_cpu);
setProperty("/right_cpu", _y , dy1_cpu);
setProperty("/ball", _x , Number(getProperty("/ball", _x)) + Number(speedx));
setProperty("/ball", _y , Number(getProperty("/ball", _y)) + Number(speedy));
if (0 < speedx) {
computer_go = "no";
} else {
computer_go = "yes";
}
if (_root.left_racquet.paddle_left.hitTest(_root.ball)) {
tellTarget ("/left_racquet") {
gotoAndPlay (2);
};
pointcheck = "nocheck";
hitracquet = "left";
speedx = speedx * -1;
ballspeedy_MIN = 10;
ballspeedy_MAX = 50;
ballspeedy_MAX_MIN = int(random((ballspeedy_MAX - ballspeedy_MIN) + 1) + ballspeedy_MIN);
ballspeedy = ballspeedy_MAX_MIN * 0.01;
randomy = random(2);
if (randomy == 0) {
speedy = ballspeedy * 1;
} else {
speedy = ballspeedy * -1;
}
left_score = Number(left_score) + 1;
tellTarget ("/sound") {
gotoAndPlay ("ping");
};
shadow_LtoR = 30;
s_MAX_MIN = int(random((sMAX - sMIN) + 1) + sMIN);
s = s_MAX_MIN * 0.01;
hit = "left";
}
if (_root.right_racquet.player1.paddle_right.hitTest(_root.ball)) {
hitracquet = "right";
pointcheck = "nocheck";
speedx = speedx * -1;
ballspeedy_MIN = 10;
ballspeedy_MAX = 50;
ballspeedy_MAX_MIN = int(random((ballspeedy_MAX - ballspeedy_MIN) + 1) + ballspeedy_MIN);
ballspeedy = ballspeedy_MAX_MIN * 0.01;
randomy = random(2);
if (randomy == 0) {
speedy = ballspeedy * 1;
} else {
speedy = ballspeedy * -1;
}
right_score = Number(right_score) + 1;
tellTarget ("/sound") {
gotoAndPlay ("ping");
};
shadow_RtoL = 30;
s_MAX_MIN = int(random((sMAX - sMIN) + 1) + sMIN);
s = s_MAX_MIN * 0.01;
hit = "right";
}
if (0 < speedx) {
setProperty("/ball_shadow", _x , Number(getProperty("/ball", _x)) + (Number(speedx) - Number(shadow_LtoR)));
setProperty("/ball_shadow", _y , Number(getProperty("/ball", _y)) + Number(speedy));
shadow_LtoR = shadow_LtoR - s;
if ((openball eq "left") or (hitracquet eq "left")) {
if (((Number(getProperty("/ball_shadow", _x)) - Number(getProperty("/ball", _x))) >= -0.2) and (0.2 >= (Number(getProperty("/ball_shadow", _x)) - Number(getProperty("/ball", _x))))) {
tellTarget ("/sound") {
gotoAndPlay ("pong");
};
tellTarget ("/point") {
setProperty("/point", _x , Number(getProperty("/ball_shadow", _x)));
setProperty("/point", _y , Number(getProperty("/ball_shadow", _y)));
gotoAndPlay (2);
};
pointok = "left_hited";
call("pointcheck");
hitpoint = "leftracquet_hited";
call("hitpointcheck");
}
}
}
if (speedx < 0) {
setProperty("/ball_shadow", _x , Number(getProperty("/ball", _x)) - (Number(speedx) - Number(shadow_RtoL)));
setProperty("/ball_shadow", _y , Number(getProperty("/ball", _y)) + Number(speedy));
shadow_RtoL = shadow_RtoL - s;
if ((openball eq "right") or (hitracquet eq "right")) {
if (((Number(getProperty("/ball", _x)) - Number(getProperty("/ball_shadow", _x))) >= -0.2) and (0.2 >= (Number(getProperty("/ball", _x)) - Number(getProperty("/ball_shadow", _x))))) {
tellTarget ("/sound") {
gotoAndPlay ("pong");
};
tellTarget ("/point") {
setProperty("/point", _x , Number(getProperty("/ball_shadow", _x)));
setProperty("/point", _y , Number(getProperty("/ball_shadow", _y)));
gotoAndPlay (2);
};
pointok = "right_hited";
call("pointcheck");
hitpoint = "rightracquet_hited";
call("hitpointcheck");
}
}
}
if ((openball eq "left") and (pointcheck eq "Lopenfine")) {
if (Number(getProperty("/ball", _x)) >= Number(gameright)) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
tellTarget ("/mv_hitout") {
gotoAndPlay (2);
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
}
if ((openball eq "left") and (pointcheck eq "Lopenfine")) {
if (Number(getProperty("/ball", _y)) >= Number(gameboxdown)) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
tellTarget ("/mv_hitout") {
gotoAndPlay (2);
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
}
if ((openball eq "left") and (pointcheck eq "Lopenfine")) {
if (Number(gameboxtop) >= Number(getProperty("/ball", _y))) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
tellTarget ("/mv_hitout") {
gotoAndPlay (2);
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
}
if ((openball eq "right") and (pointcheck eq "Ropenfine")) {
if (Number(gameleft) >= Number(getProperty("/ball", _x))) {
tellTarget ("/sound") {
gotoAndPlay ("applaud");
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
}
if ((openball eq "right") and (pointcheck eq "Ropenfine")) {
if (Number(getProperty("/ball", _y)) >= Number(gameboxdown)) {
tellTarget ("/sound") {
gotoAndPlay ("applaud");
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
}
if ((openball eq "right") and (pointcheck eq "Ropenfine")) {
if (Number(gameboxtop) >= Number(getProperty("/ball", _y))) {
tellTarget ("/sound") {
gotoAndPlay ("applaud");
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
}
if ((openball eq "left") and (pointok eq "nopoint")) {
if (Number(getProperty("/ball", _x)) >= Number(gamerightdown)) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
tellTarget ("/mv_ballout") {
gotoAndPlay (2);
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
}
if ((openball eq "left") and (pointok eq "nopoint")) {
if (Number(getProperty("/ball", _y)) >= Number(gamedown)) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
tellTarget ("/mv_ballout") {
gotoAndPlay (2);
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
}
if ((openball eq "left") and (pointok eq "nopoint")) {
if (Number(gametop) >= Number(getProperty("/ball", _y))) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
tellTarget ("/mv_ballout") {
gotoAndPlay (2);
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
}
if ((openball eq "right") and (pointok eq "nopoint")) {
if (Number(gameleftdown) >= Number(getProperty("/ball", _x))) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
tellTarget ("/mv_ballout") {
gotoAndPlay (2);
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
}
if ((openball eq "right") and (pointok eq "nopoint")) {
if (Number(getProperty("/ball", _y)) >= Number(gamedown)) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
tellTarget ("/mv_ballout") {
gotoAndPlay (2);
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
}
if ((openball eq "right") and (pointok eq "nopoint")) {
if (Number(gametop) >= Number(getProperty("/ball", _y))) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
tellTarget ("/mv_ballout") {
gotoAndPlay (2);
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
}
if ((hitracquet eq "left") and (hitpointcheck eq "Lhitfine")) {
if (Number(getProperty("/ball", _x)) >= Number(gameright)) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
tellTarget ("/mv_hitout") {
gotoAndPlay (2);
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
}
if ((hitracquet eq "left") and (hitpointcheck eq "Lhitfine")) {
if (Number(getProperty("/ball", _y)) >= Number(gameboxdown)) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
tellTarget ("/mv_hitout") {
gotoAndPlay (2);
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
}
if ((hitracquet eq "left") and (hitpointcheck eq "Lhitfine")) {
if (Number(gameboxtop) >= Number(getProperty("/ball", _y))) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
tellTarget ("/mv_hitout") {
gotoAndPlay (2);
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
}
if ((hitracquet eq "right") and (hitpointcheck eq "Rhitfine")) {
if (Number(gameleft) >= Number(getProperty("/ball", _x))) {
tellTarget ("/sound") {
gotoAndPlay ("applaud");
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
}
if ((hitracquet eq "right") and (hitpointcheck eq "Rhitfine")) {
if (Number(getProperty("/ball", _y)) >= Number(gameboxdown)) {
tellTarget ("/sound") {
gotoAndPlay ("applaud");
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
}
if ((hitracquet eq "right") and (hitpointcheck eq "Rhitfine")) {
if (Number(gameboxtop) >= Number(getProperty("/ball", _y))) {
tellTarget ("/sound") {
gotoAndPlay ("applaud");
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
}
if (hitracquet eq "left") {
if (Number(getProperty("/ball", _x)) >= Number(630)) {
tellTarget ("/sound") {
gotoAndPlay ("applaud");
};
tellTarget ("/mv_hitout") {
gotoAndPlay (2);
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
}
if (hitracquet eq "left") {
if (Number(getProperty("/ball", _y)) >= Number(258)) {
tellTarget ("/sound") {
gotoAndPlay ("applaud");
};
tellTarget ("/mv_hitout") {
gotoAndPlay (2);
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
}
if (hitracquet eq "left") {
if (Number(0) >= Number(getProperty("/ball", _y))) {
tellTarget ("/sound") {
gotoAndPlay ("applaud");
};
tellTarget ("/mv_hitout") {
gotoAndPlay (2);
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
}
if (hitracquet eq "right") {
if (Number(0) >= Number(getProperty("/ball", _x))) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
}
if (hitracquet eq "right") {
if (Number(getProperty("/ball", _y)) >= Number(258)) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
}
if (hitracquet eq "right") {
if (Number(0) >= Number(getProperty("/ball", _y))) {
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
}
Frame 83
if ((openball eq "left") and (computer_go eq "no")) {
if ((pointok eq "left_hited") and (hitracquet eq "no")) {
if ((Number(gamecenter) < Number(getProperty("/ball_shadow", _x))) and (Number(getProperty("/ball_shadow", _x)) < Number(gamerightdown))) {
if ((Number(gametop) < Number(getProperty("/ball_shadow", _y))) and (Number(getProperty("/ball_shadow", _y)) < Number(gamedown))) {
pointcheck = "Lopenfine";
tellTarget ("/Lplayer_ballin") {
gotoAndPlay ("left");
};
} else {
pointcheck = "Lopen_bad";
}
} else {
pointcheck = "Lopen_bad";
}
}
}
if ((openball eq "right") and (computer_go eq "yes")) {
if ((pointok eq "right_hited") and (hitracquet eq "no")) {
if ((Number(gameleftdown) < Number(getProperty("/ball_shadow", _x))) and (Number(getProperty("/ball_shadow", _x)) < Number(gamecenter))) {
if ((Number(gametop) < Number(getProperty("/ball_shadow", _y))) and (Number(getProperty("/ball_shadow", _y)) < Number(gamedown))) {
pointcheck = "Ropenfine";
tellTarget ("/Rplayer_ballin") {
gotoAndPlay ("right");
};
} else {
pointcheck = "Ropen_bad";
}
} else {
pointcheck = "Ropen_bad";
}
}
}
if (pointcheck eq "Lopen_bad") {
tellTarget ("/Lopen_nocenter") {
gotoAndPlay ("left");
};
tellTarget ("/sound") {
gotoAndPlay ("applaud");
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
if (pointcheck eq "Ropen_bad") {
tellTarget ("/Ropen_nocenter") {
gotoAndPlay ("right");
};
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
Frame 84
if ((hitracquet eq "left") and (hitpoint eq "leftracquet_hited")) {
if ((Number(gamecenter) < Number(getProperty("/ball_shadow", _x))) and (Number(getProperty("/ball_shadow", _x)) < Number(gamerightdown))) {
if ((Number(gametop) < Number(getProperty("/ball_shadow", _y))) and (Number(getProperty("/ball_shadow", _y)) < Number(gamedown))) {
hitpoint = "nopoint";
hitpointcheck = "Lhitfine";
tellTarget ("/Lplayer_ballin") {
gotoAndPlay ("left");
};
} else {
hitpoint = "nopoint";
hitpointcheck = "LhitOut";
}
}
}
if ((hitracquet eq "right") and (hitpoint eq "rightracquet_hited")) {
if ((Number(gameleftdown) < Number(getProperty("/ball_shadow", _x))) and (Number(getProperty("/ball_shadow", _x)) < Number(gamecenter))) {
if ((Number(gametop) < Number(getProperty("/ball_shadow", _y))) and (Number(getProperty("/ball_shadow", _y)) < Number(gamedown))) {
hitpoint = "nopoint";
hitpointcheck = "Rhitfine";
tellTarget ("/Rplayer_ballin") {
gotoAndPlay ("right");
};
} else {
hitpoint = "nopoint";
hitpointcheck = "RhitOut";
}
}
}
if (hitpointcheck eq "LhitOut") {
tellTarget ("/LhitOut") {
gotoAndPlay ("left");
};
tellTarget ("/sound") {
gotoAndPlay ("applaud");
};
reopenball = "Rreopenball";
gotoAndPlay (75);
}
if (hitpointcheck eq "RhitOut") {
tellTarget ("/RhitOut") {
gotoAndPlay ("right");
};
tellTarget ("/sound") {
gotoAndPlay ("wa");
};
reopenball = "Lreopenball";
gotoAndPlay (75);
}
Frame 85
stop();
Frame 132
gotoAndPlay (73);
Frame 136
stop();
Frame 137
stop();
Symbol 32 Button
on (release) {
gotoAndPlay (23);
}
Symbol 39 Button
on (release) {
getURL ("http://www.ils.com.tw");
}
Symbol 74 Button
on (release) {
gotoAndPlay (43);
}
Symbol 77 Button
on (release) {
gotoAndPlay (63);
}
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 92
stop();
Symbol 117 MovieClip Frame 110
stop();
Symbol 117 MovieClip Frame 121
stop();
Symbol 117 MovieClip Frame 136
stop();
Symbol 117 MovieClip Frame 152
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 11
gotoAndStop (1);
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 2
ballout = "left";
gotoAndPlay(start);
Symbol 124 MovieClip Frame 3
ballout = "right";
gotoAndPlay(start);
Symbol 124 MovieClip Frame 15
gotoAndStop (1);
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 2
ballout = "left";
gotoAndPlay(start);
Symbol 126 MovieClip Frame 3
ballout = "right";
gotoAndPlay(start);
Symbol 126 MovieClip Frame 10
gotoAndStop (1);
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 2
gotoAndPlay(start);
Symbol 130 MovieClip Frame 3
gotoAndPlay(start);
Symbol 130 MovieClip Frame 15
gotoAndStop (1);
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 2
gotoAndPlay(start);
Symbol 134 MovieClip Frame 3
gotoAndPlay(start);
Symbol 134 MovieClip Frame 15
gotoAndStop (1);
Symbol 136 MovieClip Frame 20
gotoAndPlay (1);
Symbol 136 MovieClip Frame 21
stop();
Symbol 141 Button
on (press) {
stopAllSounds();
tellTarget ("/ball_rotate") {
gotoAndStop ("stop");
};
gotoAndPlay (72);
}
Symbol 151 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 1
i = 10;
var2 = 2;
while (0 < Number(i)) {
var1 = result / var2;
var2 = (Number(var1) + Number(var2)) / 2;
i = i - 1;
}
result = var1;
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 2
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 2
speedx2 = 3;
speedy2 = 0.5;
Symbol 181 MovieClip Frame 3
call("home_action");
Symbol 181 MovieClip Frame 4
call("home_action");
gotoAndPlay (3);
Symbol 181 MovieClip Frame 10
if ((0 < /:speedx) and (Number(getProperty("/left_racquet", _x)) >= 113)) {
setProperty("/left_racquet", _x , Number(getProperty("/left_racquet", _x)) - Number(speedx2));
} else {
gotoAndStop (1);
stick = "no";
}
Symbol 184 MovieClip Frame 1
stop();
Symbol 185 Button
on (press) {
tellTarget ("player1") {
gotoAndPlay (2);
};
}
Symbol 186 MovieClip Frame 1
Symbol 193 Button
on (press) {
gotoAndPlay (63);
}
Symbol 195 Button
on (release) {
gotoAndPlay (63);
}
Symbol 197 Button
on (release) {
gotoAndPlay (43);
}
Symbol 200 Button
on (press) {
gotoAndPlay (63);
}