Frame 1
stop();
Frame 2
if (this.ling == "eng") {
this.pub.gotoAndPlay(2);
}
if (this.ling == "port") {
this.pub.gotoAndPlay(1);
}
if (this.ling == "fran") {
this.pub.gotoAndPlay(3);
}
paddle1._visible = false;
ball._visible = false;
paddle2._visible = false;
shadow._visible = false;
backbox._visible = false;
bluescoreclip._visible = false;
redscoreclip._visible = false;
ball.scales = 20;
paddle2.ydiff = 10;
paddle2.xdiff = 10;
medium._alpha = 100;
easy._alpha = 20;
hard._alpha = 20;
ball.gravity = 0.1;
ball.increasing = 1;
stop();
Instance of Symbol 30 MovieClip "paddle2" in Frame 2
onClipEvent (enterFrame) {
if (_root.ball.zspeed < 0) {
if (_root.ball._xscale < 37) {
if ((60 - ((_root.ball.realy * 30) / 14)) < _y) {
_y = (_y - ydiff);
}
if (_y < (60 - ((_root.ball.realy * 30) / 14))) {
_y = (_y + ydiff);
}
}
if (_x < (_root.ball.realx - (xdiff / 2))) {
_x = (_x + xdiff);
}
if ((_root.ball.realx + (xdiff / 2)) < _x) {
_x = (_x - xdiff);
}
}
if ((50 - (_height / 2)) < _y) {
_y = (50 - (_height / 2));
}
_rotation = (((_x - 300) * 90) / 84);
if (_rotation > 40) {
_rotation = 40;
}
if (_rotation < -40) {
_rotation = -40;
}
}
Instance of Symbol 32 MovieClip "shadow" in Frame 2
onClipEvent (enterFrame) {
_x = _root.ball._x;
_xscale = _root.ball._xscale;
_yscale = _xscale;
_y = (60 + (3.7143 * (_root.ball._xscale - 30)));
}
Instance of Symbol 33 MovieClip "ball" in Frame 2
onClipEvent (enterFrame) {
if (_root.tub == "0") {
this.speedvar = 4.6;
} else {
this.speedvar = 0.6;
}
this._parent.sc = this._parent.redscoreclip.redscore;
this._parent.sca = this._parent.bluescoreclip.bluescore;
if (realy < 0) {
if ((realx > 216) & (realx < 384)) {
realy = 0;
ydir = ydir * -1;
} else {
realy = 0;
_y = ((60 + (3.7143 * (_xscale - 30))) - ((realy * _xscale) / 14));
if ((zspeed > 0) && (this._parent.ling == "port")) {
score1++;
_root.redscoreclip.redscore = score2 + " - fora";
}
if ((zspeed > 0) && (this._parent.ling == "eng")) {
score1++;
_root.redscoreclip.redscore = score2 + " - out";
}
if ((zspeed > 0) && (this._parent.ling == "fran")) {
score1++;
_root.redscoreclip.redscore = score2 + " - dehors";
}
if ((zspeed < 0) && (this._parent.ling == "port")) {
score2++;
_root.bluescoreclip.bluescore = score1 + " - fora";
}
if ((zspeed < 0) && (this._parent.ling == "eng")) {
score2++;
_root.bluescoreclip.bluescore = score1 + " - out";
}
if ((zspeed < 0) && (this._parent.ling == "fran")) {
score2++;
_root.bluescoreclip.bluescore = score1 + " - dehors";
}
zspeed = 0;
stopDrag();
Mouse.show();
_root.service._visible = true;
}
}
if (_xscale >= 100) {
if (this.hitTest(_root.paddle1.paddle1real)) {
tellTarget (_root.soundbox) {
gotoAndStop (2);
gotoAndStop (3);
};
xspeed = (_x - _root.paddle1._x) / 17;
yspeed = (3.5 / ballspeed) / ballspeed;
ydir = 1;
zspeed = zspeed * -1;
} else if ((zspeed != 0) && (this._parent.ling == "port")) {
score2++;
_root.bluescoreclip.bluescore = score1 + " - falhou";
zspeed = 0;
stopDrag();
Mouse.show();
_root.service._visible = true;
} else if ((zspeed != 0) && (this._parent.ling == "eng")) {
score2++;
_root.bluescoreclip.bluescore = score1 + " - miss";
zspeed = 0;
stopDrag();
Mouse.show();
_root.service._visible = true;
} else if ((zspeed != 0) && (this._parent.ling == "fran")) {
score2++;
_root.bluescoreclip.bluescore = score1 + " - paill\u00E9";
zspeed = 0;
stopDrag();
Mouse.show();
_root.service._visible = true;
}
}
if (_xscale <= 30) {
if (this.hitTest(_root.paddle2.paddle2real)) {
tellTarget (_root.soundbox) {
gotoAndStop (2);
gotoAndStop (3);
};
xspeed = (((_x - _root.paddle2._x) / 17) * 100) / 30;
yspeed = (1.5 / ballspeed) / ballspeed;
ydir = 1;
zspeed = zspeed * -1;
} else if ((zspeed != 0) && (this._parent.ling == "port")) {
score1++;
_root.redscoreclip.redscore = score2 + " - falhou";
zspeed = 0;
stopDrag();
Mouse.show();
_root.service._visible = true;
} else if ((zspeed != 0) && (this._parent.ling == "eng")) {
score1++;
_root.redscoreclip.redscore = score2 + " - miss";
zspeed = 0;
stopDrag();
Mouse.show();
_root.service._visible = true;
} else if ((zspeed != 0) && (this._parent.ling == "fran")) {
score1++;
_root.redscoreclip.redscore = score2 + " - paill\u00E9";
zspeed = 0;
stopDrag();
Mouse.show();
_root.service._visible = true;
}
}
if (zspeed != 0) {
if (yspeed < 0) {
yspeed = yspeed * -1;
ydir = ydir * -1;
}
realx = realx + (((xspeed * 100) / _xscale) * ballspeed);
if (ydir < 0) {
realy = realy - ((((yspeed * 30) / _xscale) * ballspeed) / 0.6);
yspeed = yspeed + (((gravity * 0.42) * 10) / ballspeed);
}
if (ydir > 0) {
realy = realy + ((((yspeed * 30) / _xscale) * ballspeed) / 0.6);
yspeed = yspeed - (((gravity * 0.42) * 10) / ballspeed);
}
_xscale = (_xscale + zspeed);
_yscale = (_yscale + zspeed);
_x = (300 + (((realx - 300) * _xscale) / 30));
_y = ((60 + (3.7143 * (_xscale - 30))) - ((realy * _xscale) / 14));
}
if (increasing == 1) {
ballspeed = ballspeed + (speedvar / 1000);
}
if (zspeed < 0) {
zspeed = -3 * ballspeed;
}
if (zspeed > 0) {
zspeed = 3 * ballspeed;
}
}
Instance of Symbol 45 MovieClip "paddle1" in Frame 2
onClipEvent (enterFrame) {
_rotation = (((_x - 300) * 90) / 275);
if (_rotation > 40) {
_rotation = 40;
}
if (_rotation < -40) {
_rotation = -40;
}
}
Frame 4
if ((ball.score1 >= 21) || (ball.score2 >= 21)) {
if (((ball.score1 - ball.score2) > 1) || ((ball.score2 - ball.score1) > 1)) {
service._visible = false;
wins._visible = false;
lose._visible = false;
} else {
gotoAndPlay (3);
}
} else {
gotoAndPlay (3);
}
Frame 5
stop();
if ((ball.score1 >= 21) && (this.ling == "port")) {
this.resultado = "Ganhou !";
}
if ((ball.score1 >= 21) && (this.ling == "eng")) {
this.resultado = "You Win !";
}
if ((ball.score1 >= 21) && (this.ling == "fran")) {
this.resultado = "Tu Gagne !";
}
if ((ball.score2 >= 21) && (this.ling == "port")) {
this.resultado = "Perdeu !";
}
if ((ball.score2 >= 21) && (this.ling == "eng")) {
this.resultado = "You Lose !";
}
if ((ball.score2 >= 21) && (this.ling == "fran")) {
this.resultado = "Tu Perdu !";
}
Symbol 18 Button
on (release) {
this._parent.ins = "Instruc\u00E7\u00F5es: Utilize o rato para controlar a raquete, e a tecla Espa\u00E7o para activar o turbo.";
this._parent.dificuldade = " F\u00E1cil M\u00E9dio Dif\u00EDcil";
this._parent.ling = "port";
this._parent.inicio = "Inicio";
this._parent.servir = "Servir";
this._parent.novo = "Novo";
_root.gotoAndPlay(2);
}
Symbol 20 Button
on (release) {
this._parent.ins = "Instructions: Use the mouse to control the paddle, and the key Space to activate the turbo.";
this._parent.dificuldade = "Easy Medium Hard";
this._parent.ling = "eng";
this._parent.inicio = "Intro";
this._parent.servir = "Serve";
this._parent.novo = "New";
_root.gotoAndPlay(2);
}
Symbol 22 Button
on (release) {
this._parent.ins = "Instructions: User le mouse pour gouverner le raquette, et le key Space pour activer le turbo.";
this._parent.dificuldade = " Facile Moyen Difficile";
this._parent.ling = "fran";
this._parent.inicio = "D\u00E9but";
this._parent.servir = "Servir";
this._parent.novo = "Nouveau";
_root.gotoAndPlay(2);
}
Symbol 25 MovieClip Frame 60
stop();
_root.onEnterFrame = function () {
percentb = Math.round((_root.getBytesLoaded() * 100) / _root.getBytesTotal());
percent = percentb + " %";
barra._xscale = percentb * 24;
if (percentb == 100) {
_root.intro.nextFrame();
}
};
Symbol 25 MovieClip Frame 101
stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 47 Button
on (release) {
_root.paddle2.xdiff = 13;
_root.paddle2.ydiff = 10;
_root.easy._alpha = 20;
_root.medium._alpha = 20;
_root.hard._alpha = 100;
}
Symbol 49 Button
on (release) {
_root.paddle2.xdiff = 6;
_root.paddle2.ydiff = 10;
_root.easy._alpha = 100;
_root.medium._alpha = 20;
_root.hard._alpha = 20;
}
Symbol 51 Button
on (release) {
_root.paddle2.xdiff = 10;
_root.paddle2.ydiff = 10;
_root.easy._alpha = 20;
_root.medium._alpha = 100;
_root.hard._alpha = 20;
}
Symbol 56 Button
on (release) {
_root.ball.score1 = 0;
_root.ball.score2 = 0;
_root.ball.xspeed = 0;
_root.ball.ballspeed = 1.1;
_root.ball.yspeed = -2.1;
_root.ball._xscale = 99;
_root.ball._yscale = 99;
_root.ball.zspeed = -3;
_root.ball.realx = 300;
_root.ball.realy = 3;
_root.ball.xchill = 5;
_root.ball.ychill = 20;
startDrag (_root.paddle1, true);
Mouse.hide();
gotoAndPlay (3);
_root.paddle2._x = 300;
_root.paddle2._y = 60;
ball._visible = true;
paddle1._visible = true;
shadow._visible = true;
paddle2._visible = true;
backbox._visible = true;
paddle2._xscale = 30;
paddle2._yscale = 30;
ball.ydir = 1;
service._visible = false;
wins._visible = false;
lose._visible = false;
bluescoreclip._visible = true;
redscoreclip._visible = true;
bluescoreclip.bluescore = "0";
redscoreclip.redscore = "0";
}
Symbol 58 Button
on (release) {
getURL ("http://www.meiuga.com", "_blank");
}
Symbol 60 MovieClip Frame 20
stop();
Symbol 65 Button
on (release) {
getURL ("http://www.meiuga.com", "_blank");
}
Symbol 69 Button
on (release) {
getURL ("http://meiuga.ringtone-logo-game.com", "_blank");
}
Symbol 73 Button
on (release) {
getURL ("http://meiuga.sonnerie.net", "_blank");
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
stop();
Symbol 74 MovieClip Frame 3
stop();
Symbol 93 MovieClip Frame 301
var som = new Sound();
som.attachSound("trubocharge");
me = 1;
this.onEnterFrame = function () {
if (Key.isDown(32) && (me == 1)) {
me = 2;
_root.tub = "0";
this.gotoAndStop(304);
som.start();
}
};
Symbol 93 MovieClip Frame 306
this.gotoAndPlay(301);
Symbol 95 Button
on (release) {
this.turbut.gotoAndPlay(1);
_root.tub = "1";
_root.ball.xspeed = 0;
_root.ball.ballspeed = 1.1;
_root.ball.yspeed = -2.1;
_root.ball._xscale = 99;
_root.ball._yscale = 99;
_root.ball.zspeed = -3;
_root.ball.realx = 300;
_root.ball.realy = 3;
_root.ball.xchill = 5;
_root.ball.ychill = 20;
startDrag (_root.paddle1, true);
Mouse.hide();
tellTarget (_root) {
gotoAndPlay (3);
};
_root.paddle2._x = 300;
_root.paddle2._y = 60;
_root.ball._visible = true;
_root.paddle1._visible = true;
_root.shadow._visible = true;
_root.paddle2._visible = true;
_root.backbox._visible = true;
_root.paddle2._xscale = 30;
_root.paddle2._yscale = 30;
_root.ball.ydir = 1;
_root.service._visible = false;
_root.bluescoreclip.bluescore = _root.ball.score1;
_root.redscoreclip.redscore = _root.ball.score2;
}
Symbol 96 Button
on (release) {
_root.ball.score1 = 0;
_root.ball.score2 = 0;
_root.ball.xspeed = 0;
_root.ball.ballspeed = 1.1;
_root.ball.yspeed = -2.1;
_root.ball._xscale = 99;
_root.ball._yscale = 99;
_root.ball.zspeed = -3;
_root.ball.realx = 300;
_root.ball.realy = 3;
_root.ball.xchill = 5;
_root.ball.ychill = 20;
startDrag (_root.paddle1, true);
Mouse.hide();
gotoAndPlay (3);
_root.paddle2._x = 300;
_root.paddle2._y = 60;
ball._visible = true;
paddle1._visible = true;
shadow._visible = true;
paddle2._visible = true;
backbox._visible = true;
paddle2._xscale = 30;
paddle2._yscale = 30;
ball.ydir = 1;
service._visible = false;
wins._visible = false;
lose._visible = false;
bluescoreclip._visible = true;
redscoreclip._visible = true;
bluescoreclip.bluescore = "0";
redscoreclip.redscore = "0";
}
Symbol 99 Button
on (release) {
gotoAndStop (2);
}