Frame 1
i1 = 0;
i2 = 0;
my = 0;
his = 0;
stop();
Frame 2
stop();
Frame 5
stop();
Frame 6
p = new Sound(this);
s = new Sound(this);
p.attachSound("p");
s.attachSound("s");
p.setVolume(80);
s.setVolume(80);
Mouse.hide();
gotoAndPlay (29);
Frame 20
stop();
Instance of Symbol 40 MovieClip "plk" in Frame 20
onClipEvent (load) {
startDrag (this, true);
}
onClipEvent (enterFrame) {
this._rotation = (-(350 - this._x)) / 2;
}
Frame 21
opp.oppr = 1000;
opp.oppry = 1;
mic.odraz = 0;
mic.ping = 0;
mic.pong = 0;
mic.serv = serv;
mic.srv = srv;
mic.strop = strop;
mic.vzd = vzd;
mic.xm = xm;
((xmm != 0) ? ((mic._x = mic._x - (10 * xmm))) : (xmm));
Mouse.hide();
stop();
Instance of Symbol 45 MovieClip "opp" in Frame 21
onClipEvent (load) {
this._y = this._y - _root.yo;
}
onClipEvent (enterFrame) {
this._x = _root.mic._x - ((this._x - 350) / oppr);
this._y = this._y + ((oppry * (_root.mic.zy / 5)) + 0.03);
this._rotation = (-(350 - this._x)) / 2;
}
Instance of Symbol 46 MovieClip "mic" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.opp) && (ping == 1)) {
_root.p.start(0, 1);
opy = _root.opp._y / 10;
this._width = 6.9 + (opy / 10);
this._height = 6.9 + (opy / 10);
_root.stin._y = _root.stin._y + 15;
vzd = -vzd;
xr = (10 - (Math.random() * 20)) - ((this._x - 350) / 50);
odraz = 0;
ping = 0;
_root.opp.xm = 0;
_root.opp.xr = xr;
}
if (0 < vzd) {
if (strop < this._y) {
strop = strop + 8;
} else {
if (_root.stul.hitTest(this._x, this._y, 1)) {
if (0 < serv) {
serv--;
if (serv == 0) {
srv = 90;
vzd = 0.2;
ping = 1;
this._width = 8;
this._height = 8;
} else {
srv = 150;
this._width = 10;
this._height = 10;
}
_root.s.start(0, 1);
} else {
ping = ping + 1;
if (!_root.sit.hitTest(this._x, this._y, 1)) {
(_root.s.start(0, 1));// not popped
} else {
(_root.gotoAndPlay(22));// not popped
}
}
} else {
_root.gotoAndPlay(23);
}
strop = this._y - srv;
}
xm = xm / 1.05;
this._x = this._x + (xm - ((this._x - 350) / 40));
_root.stin._x = this._x;
_root.stin._y = this._y + ((prey - this._y) * 2);
prey = this._y;
} else {
strop = strop + 30;
if (((this._y + 190) - (opy / 2)) < strop) {
strop = this._y + 30;
if (_root.stul.hitTest(this._x, this._y, 1)) {
_root.s.start(0, 1);
pong = 1;
} else {
_root.gotoAndPlay(24);
}
_root.stin._y = _root.stin._y - 10;
}
xr = xr * 1.01;
this._x = this._x + xr;
if (odraz == 0) {
if ((9 < this._width) && (this.hitTest(_root.plk))) {
odraz = 1;
x = _root.plk._x;
y = _root.plk._y;
}
} else {
if (_root.plk._y < 430) {
_root.p.start(0, 1);
pong = 0;
} else {
_root.gotoAndPlay(24);
}
_root.opp.oppry = 1 + (Math.random() * 0.5);
x1 = x;
y1 = y;
x = _root.plk._x;
y = _root.plk._y;
((30 < (y - y1)) ? ((y = y - ((y - y1) - 30))) : (y));
vzd = 0.16 - ((y - y1) / 500);
strop = (40 + y) - y1;
xm = (x - x1) / 2;
_root.opp.xm = xm;
odraz = -1;
x1 = 0;
y1 = 0;
x = 0;
y = 0;
((17 < Math.abs(xm)) ? ((_root.opp.oppr = 5)) : ((_root.opp.oppr = 10)));
}
_root.stin._x = this._x;
_root.stin._y = _root.stin._y - (zy / 1.15);
}
zy = (this._y - strop) / 8;
this._y = this._y - zy;
this._width = this._width - vzd;
this._height = this._height - vzd;
}
Frame 22
his++;
cas1 = getTimer();
while (getTimer() < (cas1 + 1000)) {
}
gotoAndPlay (29);
Frame 23
if (0 < mic.ping) {
my++;
} else {
his++;
}
gotoAndPlay (29);
Frame 24
if (mic.pong == 0) {
my++;
} else {
his++;
}
gotoAndPlay (29);
Frame 30
los._visible = 0;
win._visible = 0;
again._visible = 0;
((his < 1) ? ((i1 = 0)) : ((i1 = his)));
((my < 1) ? ((i2 = 0)) : ((i2 = my)));
Mouse.show();
if (((10 < his) || (10 < my)) && (1 < Math.abs(his - my))) {
service._visible = 0;
if (my < his) {
los._visible = 1;
again._visible = 1;
} else {
win._visible = 1;
user = _root.user;
game = "pingpong";
loadVariablesNum ("ping_zapis.php", 0, "GET");
_root.gotoAndPlay(32);
}
}
Frame 31
stop();
Frame 32
if (_root.stav == 1) {
getURL ("zapis_ping.php", "", "GET");
_root.stav = 0;
}
Frame 33
_root.gotoAndPlay(32);
Symbol 11 MovieClip Frame 1
if (_root._framesloaded == _root._totalframes) {
_root.gotoAndStop(5);
} else {
stazenobar = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
zprava = ((Math.floor(_root.getBytesLoaded() / 1000) + "Kb z ") + Math.floor(_root.getBytesTotal() / 1000)) + "Kb staženo";
stazeno = Math.floor(stazenobar) + "%";
ukazatel1._rotation = ukazatel1._rotation - (stazenobar * 2.7);
ukazatel2._rotation = ukazatel2._rotation - (stazenobar * 2.3);
ukazatel3._rotation = ukazatel3._rotation - (stazenobar * 1.9);
ukazatel4._rotation = ukazatel4._rotation - (stazenobar * 1.5);
ukazatel5._rotation = ukazatel5._rotation - (stazenobar * 1.1);
ukazatel6._rotation = ukazatel6._rotation - (stazenobar * 0.7);
}
Instance of Symbol 9 MovieClip "ukazatel2" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded == _root._totalframes) {
this._visible = false;
}
}
Instance of Symbol 9 MovieClip "ukazatel1" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded == _root._totalframes) {
this._visible = false;
}
}
Instance of Symbol 9 MovieClip "ukazatel3" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded == _root._totalframes) {
this._visible = false;
}
}
Instance of Symbol 9 MovieClip "ukazatel4" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded == _root._totalframes) {
this._visible = false;
}
}
Instance of Symbol 9 MovieClip "ukazatel5" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded == _root._totalframes) {
this._visible = false;
}
}
Instance of Symbol 9 MovieClip "ukazatel6" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded == _root._totalframes) {
this._visible = false;
}
}
Symbol 11 MovieClip Frame 2
gotoAndPlay (1);
Symbol 13 MovieClip Frame 20
_root.gotoAndPlay(2);
Symbol 13 MovieClip Frame 50
stop();
Symbol 15 MovieClip Frame 50
stop();
Symbol 17 MovieClip Frame 58
stop();
Symbol 28 Button
on (release) {
gotoAndPlay (6);
}
Symbol 44 MovieClip Frame 18
_root.p.start(0, 1);
Symbol 44 MovieClip Frame 22
_root.s.start(0, 1);
Symbol 44 MovieClip Frame 33
_root.s.start(0, 1);
Symbol 44 MovieClip Frame 36
x = _root.plk._x;
y = _root.plk._y;
x1 = x;
y1 = y;
Symbol 44 MovieClip Frame 37
x = _root.plk._x;
y = _root.plk._y;
_root.xm = (x - x1) / 2;
((30 < (y - y1)) ? ((y = y - ((y - y1) - 30))) : (y));
_root.vzd = 0.16 - ((y - y1) / 500);
_root.strop = (40 + y) - y1;
if (this.hitTest(_root.plk)) {
_root.p.start(0, 1);
_root.gotoAndPlay(21);
stop();
}
Symbol 44 MovieClip Frame 38
x = _root.plk._x;
y = _root.plk._y;
x1 = x;
y1 = y;
Symbol 44 MovieClip Frame 39
x = _root.plk._x;
y = _root.plk._y;
_root.xm = (x - x1) / 2;
((30 < (y - y1)) ? ((y = y - ((y - y1) - 30))) : (y));
_root.vzd = 0.16 - ((y - y1) / 500);
_root.strop = (40 + y) - y1;
if (this.hitTest(_root.plk)) {
_root.p.start(0, 1);
_root.gotoAndPlay(21);
stop();
}
Symbol 44 MovieClip Frame 40
x = _root.plk._x;
y = _root.plk._y;
x1 = x;
y1 = y;
Symbol 44 MovieClip Frame 41
x = _root.plk._x;
y = _root.plk._y;
_root.xm = (x - x1) / 2;
((30 < (y - y1)) ? ((y = y - ((y - y1) - 30))) : (y));
_root.vzd = 0.16 - ((y - y1) / 500);
_root.strop = (40 + y) - y1;
if (this.hitTest(_root.plk)) {
_root.p.start(0, 1);
_root.gotoAndPlay(21);
stop();
}
Symbol 44 MovieClip Frame 42
x = _root.plk._x;
y = _root.plk._y;
x1 = x;
y1 = y;
Symbol 44 MovieClip Frame 43
x = _root.plk._x;
y = _root.plk._y;
_root.xm = (x - x1) / 2;
((30 < (y - y1)) ? ((y = y - ((y - y1) - 30))) : (y));
_root.vzd = 0.16 - ((y - y1) / 500);
_root.strop = (40 + y) - y1;
if (this.hitTest(_root.plk)) {
_root.p.start(0, 1);
_root.gotoAndPlay(21);
stop();
}
Symbol 44 MovieClip Frame 44
x = _root.plk._x;
y = _root.plk._y;
x1 = x;
y1 = y;
Symbol 44 MovieClip Frame 45
x = _root.plk._x;
y = _root.plk._y;
_root.xm = (x - x1) / 2;
((30 < (y - y1)) ? ((y = y - ((y - y1) - 30))) : (y));
_root.vzd = 0.16 - ((y - y1) / 500);
_root.strop = (40 + y) - y1;
if (this.hitTest(_root.plk)) {
_root.p.start(0, 1);
_root.gotoAndPlay(21);
stop();
}
Symbol 44 MovieClip Frame 46
x = _root.plk._x;
y = _root.plk._y;
x1 = x;
y1 = y;
Symbol 44 MovieClip Frame 47
x = _root.plk._x;
y = _root.plk._y;
_root.xm = (x - x1) / 2;
((30 < (y - y1)) ? ((y = y - ((y - y1) - 30))) : (y));
_root.vzd = 0.16 - ((y - y1) / 500);
_root.strop = (40 + y) - y1;
if (this.hitTest(_root.plk)) {
_root.p.start(0, 1);
_root.gotoAndPlay(21);
stop();
} else {
_root.his++;
_root.gotoAndPlay(29);
}
Symbol 53 Button
on (release) {
getURL ("javascript: onClick=location.reload()");
}
Symbol 59 Button
on (release) {
if ((((_root.his + _root.my) / 5) == Math.round((_root.his + _root.my) / 5)) || ((10 < _root.my) || (10 < _root.his))) {
((_root.change == 2) ? ((_root.change = 1)) : ((_root.change = 2)));
}
if (_root.change == 2) {
_root.yo = 15;
_root.srv = 90;
_root.serv = 0;
_root.strop = 30;
_root.vzd = 0.16;
_root.gotoAndPlay(20);
} else {
_root.xmm = -3;
_root.xm = (_root._xmouse - 350) / 5;
_root.serv = 2;
_root.strop = 120;
_root.yo = 20;
_root.vzd = 0.01;
_root.p.start(0, 1);
_root.gotoAndPlay(21);
}
}