Frame 1
_quality = "BEST";
fscommand ("showmenu", "false");
Mouse.show();
stopDrag();
px = 0;
py = 0;
bx = 0;
by = 0;
ball._x = 400;
ball._y = 300;
pad._x = 400;
pad._y = 300;
topscore = 0;
Instance of Symbol 43 MovieClip in Frame 1
onClipEvent (load) {
_root.typea = 1;
_root.go._visible = 0;
_root.main._visible = 0;
_root.menu.optionsmenu._visible = 0;
}
Frame 2
if (score > topscore) {
topscore = score;
}
a = pad._x - ball._x;
b = pad._y - ball._y;
c = Math.sqrt((a * a) + (b * b));
dist = 77.425;
if (c < dist) {
ball.play();
if (v) {
bx = getProperty(ball, _x);
by = getProperty(ball, _y);
px = getProperty(pad, _x);
py = getProperty(pad, _y);
if ((go._visible == 0) && (menu._visible == 0)) {
score = score + 1;
ballsound.play();
}
}
}
factor = (((231 - _root.menu.optionsmenu.sliderhead._x) / 110) + 1) / 5;
ball._x = ball._x - ((((px - bx) * score) * factor) / 25);
ball._y = ball._y - ((((py - by) * score) * factor) / 25);
if ((c > dist) && (drop)) {
lose = 1;
}
if (typea) {
gametype = "single player";
_root.menu.optionsmenu.typea._xscale = 30;
_root.menu.optionsmenu.typea._yscale = 40;
_root.menu.optionsmenu.typeb._xscale = 50;
_root.menu.optionsmenu.typeb._yscale = 60;
hints._visible = 0;
bc._visible = 1;
scrbrd._visible = 1;
hair._visible = 0;
hair.stop();
m = ball._x - 400;
n = ball._y - 300;
o = Math.sqrt((m * m) + (n * n));
if (o > 300) {
lose = 1;
}
}
if (typeb) {
gametype = "practice";
_root.menu.optionsmenu.typeb._xscale = 30;
_root.menu.optionsmenu.typeb._yscale = 40;
_root.menu.optionsmenu.typea._xscale = 50;
_root.menu.optionsmenu.typea._yscale = 60;
hints._visible = 1;
bc._visible = 0;
scrbrd._visible = 0;
if (go._visible == 0) {
hair._visible = 1;
hair.play();
}
hair._x = pad._x;
hair._y = pad._y;
}
if (lose) {
if (score > 10) {
app.play();
}
hider.play();
hints.gotoAndStop(1);
go._visible = 1;
gotoAndPlay (1);
lose = 0;
_root.ply._y = 300;
}
Frame 3
gotoAndPlay (2);
Symbol 12 MovieClip Frame 1
stop();
_root.v = 1;
Symbol 12 MovieClip Frame 2
_root.v = 0;
_root.drop = 0;
Symbol 12 MovieClip Frame 29
_root.drop = 1;
Symbol 14 MovieClip Frame 1
stop();
Symbol 22 Button
on (release) {
_root.menu._visible = 0;
_root.go._visible = 1;
_root.hider.gotoAndStop(1);
_root.score = 0;
_root.pad.xicht.gotoAndStop(1);
Mouse.hide();
startDrag (pad, true);
go._visible = 0;
hider.gotoAndStop(1);
hints.play();
score = 0;
_root.ply._y = 2000;
}
Symbol 27 Button
on (release) {
getURL ("http://www.FreeGamesForYourWebsite.com", "_blank");
}
Symbol 31 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 35 Button
on (release) {
_root.pad.xicht.gotoAndStop(1);
Mouse.hide();
startDrag (pad, true);
go._visible = 0;
hider.gotoAndStop(1);
hints.play();
score = 0;
}
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 2
_root.zapis();
Symbol 48 Button
on (release) {
getURL ("http://www.2dplay.com", "_blank");
}
Symbol 49 MovieClip Frame 60
stop();