Frame 1
stop();
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
Frame 2
_root.ball.swapDepths(100000);
_root.ballstart.swapDepths(100005);
_root.info.swapDepths(100010);
Instance of Symbol 54 MovieClip "ball" in Frame 2
onClipEvent (load) {
function StopBall() {
_x = 350;
_y = 275;
_root.xspeed = 0;
_root.yspeed = 0;
_root.nahoda = 0;
_root.vyhoda = 0;
}
function TenisRulez() {
_root.vyhoda = _root.scorehrac - _root.scorepocitac;
if (_root.scorehrac == 1) {
_root.bodyhrace = "15";
}
if (_root.scorehrac == 2) {
_root.bodyhrace = "30";
}
if (_root.scorehrac == 3) {
_root.bodyhrace = "40";
}
if (_root.scorepocitac == 1) {
_root.bodypocitace = "15";
}
if (_root.scorepocitac == 2) {
_root.bodypocitace = "30";
}
if (_root.scorepocitac == 3) {
_root.bodypocitace = "40";
}
if ((_root.scorehrac == 4) && (_root.scorepocitac < 3)) {
_root.bodyhrace = 0;
_root.bodypocitace = 0;
_root.vyhra = 1;
}
if ((_root.scorepocitac == 4) && (_root.scorehrac < 3)) {
_root.bodyhrace = 0;
_root.bodypocitace = 0;
_root.vyhra = -1;
}
if ((_root.scorehrac >= 4) && (_root.scorepocitac == _root.scorehrac)) {
_root.bodyhrace = "40";
_root.bodypocitace = "40";
_root.scorehrac = 4;
_root.scorepocitac = 4;
}
if ((_root.scorehrac >= 4) && (_root.vyhoda == 1)) {
_root.bodyhrace = "AD";
_root.bodypocitace = "40";
}
if ((_root.scorehrac >= 4) && (_root.vyhoda == 2)) {
_root.bodyhrace = 0;
_root.bodypocitace = 0;
_root.vyhra = 1;
}
if ((_root.scorehrac >= 4) && (_root.vyhoda == -1)) {
_root.bodyhrace = "40";
_root.bodypocitace = "AD";
}
if ((_root.scorehrac >= 4) && (_root.vyhoda == -2)) {
_root.bodyhrace = 0;
_root.bodypocitace = 0;
_root.vyhra = -1;
}
}
}
onClipEvent (enterFrame) {
if (_root.zacatek == 1) {
_x = 350;
_y = 275;
_root.nahoda = 0;
_root.yspeed = 3.5;
_root.chybka = 0;
_root.xspeed = (random(40) / 10) - 2;
_root.zacatek = 0;
}
_y = (_y + _root.yspeed);
_x = (_x + _root.xspeed);
if (_x > 590) {
_root.xspeed = Math.abs(_root.xspeed) * -1;
}
if (_x < 110) {
_root.xspeed = Math.abs(_root.xspeed);
}
if (_y > 600) {
StopBall();
_root.scorepocitac = _root.scorepocitac + 1;
TenisRulez();
if (_root.vyhra == -1) {
_root.info.gotoAndStop(3);
stopDrag();
_root.zacatek = 0;
_root.vyherniautomat.gotoAndStop(1);
} else {
tellTarget (_root.ballstart) {
gotoAndPlay (2);
};
}
}
if (_y < 10) {
StopBall();
_root.scorehrac = _root.scorehrac + 1;
TenisRulez();
if (_root.vyhra == 1) {
_root.holka.nextFrame();
_root.vyherniautomat.nextFrame();
_root.scorehrac = 0;
_root.scorepocitac = 0;
_root.gamehrac = _root.gamehrac + 1;
_root.vyhra = 0;
}
if (_root.gamehrac == 4) {
_root.info.gotoAndStop(4);
_root.zacatek = 0;
stopDrag();
} else {
tellTarget (_root.ballstart) {
gotoAndPlay (2);
};
}
}
}
Instance of Symbol 221 MovieClip "holka" in Frame 2
onClipEvent (enterFrame) {
if (_root.ball._x > _x) {
_x = (_x + ((_root.gspeed + _root.nahoda) - _root.chybka));
}
if (_root.ball._x < _x) {
_x = (_x - ((_root.gspeed + _root.nahoda) - _root.chybka));
}
if (_x > 620) {
_x = 620;
}
if (_x < 160) {
_x = 160;
}
}
Instance of Symbol 2 MovieClip in Symbol 4 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = ((100 * _root.getBytesLoaded()) / _root.getBytesTotal());
if (_xscale == 100) {
_root.gotoAndStop(2);
}
}
Symbol 4 MovieClip Frame 2
stop();
Symbol 28 Button
on (release) {
_root.scorehrac = 0;
_root.scorepocitac = 0;
_root.nahoda = 0;
_root.chybka = 0;
tellTarget (_root.ballstart) {
gotoAndPlay (2);
};
tellTarget (_root.holka) {
gotoAndStop (1);
};
startDrag (player, true, 140, 470, 560, 470);
info.gotoAndStop(1);
}
Symbol 34 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 1
stop();
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.nahoda = random(20) / 10;
_root.xspeed = -4;
if (_root.yspeed < 8) {
_root.yspeed = Math.abs(_root.yspeed) * -1.02;
} else {
_root.yspeed = -8;
_root.chybka = 0.5;
}
}
}
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.nahoda = random(20) / 10;
_root.xspeed = -3;
if (_root.yspeed < 8) {
_root.yspeed = Math.abs(_root.yspeed) * -1.02;
} else {
_root.yspeed = -8;
_root.chybka = 0.5;
}
}
}
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.nahoda = random(20) / 10;
_root.xspeed = -2;
if (_root.yspeed < 8) {
_root.yspeed = Math.abs(_root.yspeed) * -1.02;
} else {
_root.yspeed = -8;
_root.chybka = 0.5;
}
}
}
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.nahoda = random(20) / 10;
_root.xspeed = -1;
if (_root.yspeed < 8) {
_root.yspeed = Math.abs(_root.yspeed) * -1.02;
} else {
_root.yspeed = -8;
_root.chybka = 0.5;
}
}
}
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.nahoda = random(20) / 10;
_root.xspeed = 1;
if (_root.yspeed < 8) {
_root.yspeed = Math.abs(_root.yspeed) * -1.02;
} else {
_root.yspeed = -8;
_root.chybka = 0.5;
}
}
}
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.nahoda = random(20) / 10;
_root.xspeed = 2;
if (_root.yspeed < 8) {
_root.yspeed = Math.abs(_root.yspeed) * -1.02;
} else {
_root.yspeed = -8;
_root.chybka = 0.5;
}
}
}
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.nahoda = random(20) / 10;
_root.xspeed = 3;
if (_root.yspeed < 8) {
_root.yspeed = Math.abs(_root.yspeed) * -1.02;
} else {
_root.yspeed = -8;
_root.chybka = 0.5;
}
}
}
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.nahoda = random(20) / 10;
_root.xspeed = 4;
if (_root.yspeed < 8) {
_root.yspeed = Math.abs(_root.yspeed) * -1.02;
} else {
_root.yspeed = -8;
_root.chybka = 0.5;
}
}
}
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 51
_root.zacatek = 1;
gotoAndStop (1);
Symbol 62 Button
on (release) {
_root.scorehrac = 0;
_root.scorepocitac = 0;
_root.gspeed = 3.2;
_root.nahoda = 0;
_root.chybka = 0;
_root.vyhra = 0;
_root.gamehrac = 0;
_root.ballstart.gotoAndPlay(2);
_root.holka.gotoAndStop(1);
_root.vyherniautomat.gotoAndStop(1);
startDrag (_root.player, true, 140, 470, 560, 470);
gotoAndStop (1);
}
Symbol 64 Button
on (release) {
getURL ("http://www.sinfulmood.com");
}
Symbol 66 Button
on (release) {
fscommand ("quit");
}
Symbol 72 Button
on (release) {
getURL ("http://www.sinfulmood.com");
}
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 2
_root.odpal = 0;
Symbol 88 MovieClip Frame 25
Symbol 88 MovieClip Frame 28
gotoAndStop (1);
Instance of Symbol 93 MovieClip "pozoruj" in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
sleduje = ((_root.ball._x - _root.holka._x) / 100) + 2;
_x = sleduje;
}
Symbol 100 Button
on (dragOut) {
_root.scorehrac = 0;
_root.scorepocitac = 0;
_root.gspeed = 1;
_root.nahoda = 0;
_root.chybka = 0;
_root.vyhra = 0;
_root.gamehrac = 0;
_root.ballstart.gotoAndPlay(2);
_root.holka.gotoAndStop(1);
_root.vyherniautomat.gotoAndStop(1);
startDrag (_root.player, true, 140, 470, 560, 470);
gotoAndStop (1);
}
Symbol 101 Button
on (release) {
getURL ("http://www.sinfulmood.com/jenny.html");
}
Symbol 106 Button
on (release) {
_root.scorehrac = 0;
_root.scorepocitac = 0;
_root.gspeed = 3.2;
_root.nahoda = 0;
_root.chybka = 0;
_root.gamehrac = 0;
_root.vyhra = 0;
_root.ballstart.gotoAndPlay(2);
_root.holka.gotoAndStop(1);
_root.vyherniautomat.gotoAndStop(1);
startDrag (_root.player, true, 140, 470, 560, 470);
gotoAndStop (1);
}
Symbol 109 MovieClip Frame 84
stop();
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 7
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 11
stop();
Symbol 154 Button
on (rollOver) {
this.tenistkawin.oboci.gotoAndPlay(2);
}
on (rollOut) {
this.tenistkawin.oboci.gotoAndStop(1);
}
on (press) {
this.tenistkawin.pusinka.gotoAndPlay(2);
}
on (release) {
this.tenistkawin.pusinka.gotoAndStop(1);
}
Symbol 156 MovieClip Frame 2
stop();
Instance of Symbol 88 MovieClip in Symbol 156 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.odpal == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
Symbol 175 MovieClip Frame 1
gotoAndStop (19);
Symbol 175 MovieClip Frame 20
gotoAndStop (2);
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 2
_root.odpal = 0;
Symbol 192 MovieClip Frame 25
Symbol 192 MovieClip Frame 28
gotoAndStop (1);
Symbol 196 MovieClip Frame 50
gotoAndStop (1);
Symbol 208 MovieClip Frame 1
gotoAndStop (19);
Symbol 208 MovieClip Frame 20
gotoAndStop (2);
Symbol 210 MovieClip Frame 50
gotoAndStop (1);
Symbol 215 MovieClip Frame 50
gotoAndStop (1);
Symbol 220 MovieClip Frame 50
gotoAndStop (1);
Symbol 221 MovieClip Frame 1
stop();
Instance of Symbol 163 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball)) {
_root.odpal = 1;
_root.nahoda = random(20) / 10;
_root.xspeed = (random(60) / 10) - (random(60) / 10);
if (_root.yspeed < 8) {
_root.yspeed = Math.abs(_root.yspeed) * 1.02;
} else {
_root.yspeed = 8;
_root.chybka = 0.5;
}
}
}
Instance of Symbol 175 MovieClip "nohy" in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.zmenax > _root.holka._x) {
tellTarget (this) {
prevFrame();
};
}
if (_root.zmenax < _root.holka._x) {
tellTarget (this) {
nextFrame();
};
}
_root.zmenax = _root.holka._x;
}
Instance of Symbol 88 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.odpal == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
Instance of Symbol 192 MovieClip in Symbol 221 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.odpal == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
Instance of Symbol 208 MovieClip "nohy" in Symbol 221 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.zmenax > _root.holka._x) {
tellTarget (this) {
prevFrame();
};
}
if (_root.zmenax < _root.holka._x) {
tellTarget (this) {
nextFrame();
};
}
_root.zmenax = _root.holka._x;
}