Combined Code
// unknown tag 88 length 70
movieClip 3 gialog {
}
movieClip 5 {
}
movieClip 7 {
}
movieClip 9 {
}
movieClip 11 {
}
movieClip 13 {
}
movieClip 15 {
}
movieClip 17 {
}
movieClip 19 {
}
movieClip 21 {
}
movieClip 30 {
}
movieClip 34 {
}
movieClip 35 {
}
movieClip 36 popup_obj {
}
movieClip 42 {
}
movieClip 43 {
}
movieClip 46 {
}
movieClip 47 {
}
movieClip 48 phrase_area {
}
movieClip 51 {
}
// unknown tag 88 length 68
movieClip 55 button_play {
}
movieClip 59 btn_yes {
}
movieClip 61 btn_no {
}
movieClip 65 btn_next {
}
movieClip 67 btn_more {
}
movieClip 69 btn_enter_room_3 {
}
movieClip 70 btn_enter_room_2 {
}
movieClip 72 btn_enter_room_1 {
}
movieClip 74 btn_again {
}
movieClip 76 {
}
movieClip 78 {
}
movieClip 79 {
}
movieClip 82 counter {
}
movieClip 85 btn_logo {
}
movieClip 89 {
}
movieClip 93 {
frame 1 {
stop();
}
}
movieClip 96 {
}
movieClip 99 {
}
movieClip 100 {
}
movieClip 102 {
}
movieClip 104 {
}
// unknown tag 88 length 63
movieClip 109 {
}
movieClip 110 {
frame 1 {
function drawPercent(per) {
per *= 100;
if (per > 100) {
per = 100;
}
tx = origx + per * 212 / 100;
preloader.movebar._x += (tx - preloader.movebar._x) / 5;
preloader.perc.text = int(per) + '%';
per2 = per;
}
stop();
var per2;
var li = 0;
var tx = 0;
var origx = preloader.movebar._x;
var per = 0;
onEnterFrame = function () {
if (this.ispreview != 'preview') {
var v3 = _parent.getBytesLoaded() / _parent.getBytesTotal();
this.drawPercent(v3);
}
if (per2 > 99) {
++li;
if (li == 10) {
gotoAndPlay(2);
}
}
};
_parent.stop();
}
frame 26 {
_parent.gotoAndPlay(8);
}
}
movieClip 187 __Packages.Texts {
#initclip
if (!_global.Texts) {
var v1 = function (myClip, myFont, xPos, yPos, myWidth, myAlig, myFrame, mySprite, myText) {
this.textObj = _root.attachMovie(myFont, myClip, mySprite);
this.textObj.gotoAndStop(myFrame);
this.textObj.txt = myText;
this.textObj._x = xPos;
this.textObj._y = yPos;
if (myWidth > 0) {
this.textObj.fld._width = myWidth;
}
if (!(myAlig eq '')) {
this.format = new TextFormat();
this.format.align = myAlig;
this.textObj.fld.setTextFormat(this.format);
}
};
_global.Texts = v1;
var v2 = v1.prototype;
v2.pres = function () {
this.rootClip[this.newObject].font.gotoAndStop(3);
};
v2.over = function () {
this.rootClip[this.newObject].font.gotoAndStop(2);
};
v2.norm = function () {
this.rootClip[this.newObject].font.gotoAndStop(1);
};
v2.setMoney = function (myCurrency, mySeparator, myPosition, myMoney, myPrev) {
var v2 = '';
var v5 = 0;
var v3 = (String(myMoney)).length - 1;
while (v3 >= 0) {
v5 += 1;
if (v5 > 3) {
v5 = 1;
if (mySeparator eq 'SPACE') {
v2 += ' ';
} else {
v2 += mySeparator;
}
}
v2 += (String(myMoney)).charAt(v3);
--v3;
}
myMoney = '';
v3 = 0;
while (v3 < (String(v2)).length) {
myMoney += (String(v2)).charAt((String(v2)).length - v3 - 1);
++v3;
}
switch (String(myPosition)) {
case 'beginning':
this.rootClip[this.newObject].font.txt = myPrev + myCurrency + myMoney;
break;
case 'end':
this.rootClip[this.newObject].font.txt = myPrev + myMoney + myCurrency;
break;
default:
this.rootClip[this.newObject].font.txt = myPrev + myCurrency + myMoney;
}
};
v2.textConfigure = function (myText) {
var v3 = myText.split('/n');
var v2 = '';
var v1 = 0;
while (v1 < v3.length) {
v2 += v3[v1];
if (v1 < v3.length - 1) {
v2 += '\n';
}
++v1;
}
return v2;
};
v2.setText = function (myText) {
this.textObj.txt = this.textConfigure(myText);
};
v2.setAlign = function (myAlig) {
this.format.align = myAlig;
this.textObj.fld.setTextFormat(this.format);
};
v2.setPosition = function (myX, myY) {
this.textObj._x = myX;
this.textObj._y = myY;
};
v2.setRotation = function (myRot) {
this.rootClip[this.newObject]._rotation = myRot;
};
v2.setWidth = function (myWidth) {
this.textObj.fld._width = myWidth;
};
v2.setVisible = function (myVis) {
this.textObj._visible = myVis;
};
v2.setAlpha = function (myAlpha) {
this.rootClip[this.newObject]._alpha = myAlpha;
};
v2.textObj = new Object();
ASSetPropFlags(_global.Texts.prototype, null, 1);
}
#endinitclip
}
movieClip 188 __Packages.Strings {
#initclip
if (!_global.Strings) {
var v1 = function () {
super();
this.es_strList = new Object();
this.es_strList.scene_1_1 = 'Hola. ¿Es ok?';
this.es_strList.scene_1_2 = '¡Déjame en paz!';
this.es_strList.scene_1_3 = '¡No mencione aquÃ!';
this.es_strList.scene_1_4 = 'No tiene miedo. ¿Qué siente?';
this.es_strList.scene_1_5 = 'No siento más...';
this.en_strList = new Object();
this.en_strList.scene_1_1 = 'Hello. Are you alright?';
this.en_strList.scene_1_2 = 'Leave me alone!';
this.en_strList.scene_1_3 = 'Don\'t touch here!';
this.en_strList.scene_1_4 = 'Don\'t be afraid. What are you feeling?';
this.en_strList.scene_1_5 = 'I don\'t feel anymore...';
this.ru_strList = new Object();
this.ru_strList.scene_1_1 = 'Привет. Ты в порÑдке?';
this.ru_strList.scene_1_2 = 'ОÑтавь Ð¼ÐµÐ½Ñ Ð¾Ð´Ð½Ð¾Ð³Ð¾!';
this.ru_strList.scene_1_3 = 'Ðе трогай здеÑÑŒ!';
this.ru_strList.scene_1_4 = 'Ðе бойÑÑ. Что Ñ‚Ñ‹ чувÑтвуешь ÑейчаÑ?';
this.ru_strList.scene_1_5 = 'Я не чувÑтвую больше…';
this.fr_strList = new Object();
this.fr_strList.scene_1_1 = 'Salut. Ça va?';
this.fr_strList.scene_1_2 = 'Fiche-moi la paix!';
this.fr_strList.scene_1_3 = 'N\'y touche pas!';
this.fr_strList.scene_1_4 = 'N\'aie pas peur. Qu\'est-ce que tu ressens?';
this.fr_strList.scene_1_5 = 'Plus rien.';
this.hu_strList = new Object();
this.hu_strList.scene_1_1 = 'Szia. Minden rendben?';
this.hu_strList.scene_1_2 = 'Hagyj békén!';
this.hu_strList.scene_1_3 = 'Ne érj hozzám!';
this.hu_strList.scene_1_4 = 'Ne félj. Mit érzel?';
this.hu_strList.scene_1_5 = 'Már nem érzek semmit...';
this.it_strList = new Object();
this.it_strList.scene_1_1 = 'Ciao. Stai bene?';
this.it_strList.scene_1_2 = 'Lasciami stare!';
this.it_strList.scene_1_3 = 'Non toccare lì!';
this.it_strList.scene_1_4 = 'Non aver paura. Che cosa provi?';
this.it_strList.scene_1_5 = 'Non provo più nulla...';
this.pl_strList = new Object();
this.pl_strList.scene_1_1 = 'Cześć. Wszystko OK?';
this.pl_strList.scene_1_2 = 'Zostaw mnie!';
this.pl_strList.scene_1_3 = 'Nie dotykaj tu!';
this.pl_strList.scene_1_4 = 'Nie bój się. Co czujesz?';
this.pl_strList.scene_1_5 = 'Już nic...';
this.de_strList = new Object();
this.de_strList.scene_1_1 = 'Hallo. Bist in Ordnung?';
this.de_strList.scene_1_2 = 'Lass mich allein!';
this.de_strList.scene_1_3 = 'Berühre hier nicht!';
this.de_strList.scene_1_4 = 'Kein Angst. Was fühlst du dich?';
this.de_strList.scene_1_5 = 'Ich fühle nichts mehr...';
this.ro_strList = new Object();
this.ro_strList.scene_1_1 = 'Salut. Esti bine?';
this.ro_strList.scene_1_2 = 'Lasa-ma in pace!';
this.ro_strList.scene_1_3 = 'Nu ma atinge aici!';
this.ro_strList.scene_1_4 = 'Nu-ti fie frica. Ce anume simti?';
this.ro_strList.scene_1_5 = 'Nu mai simt nimic...';
this.bg_strList = new Object();
this.bg_strList.scene_1_1 = 'Здравей. Добре ли Ñи?';
this.bg_strList.scene_1_2 = 'ОÑтави ме на мира!';
this.bg_strList.scene_1_3 = 'Ðе пипай там!';
this.bg_strList.scene_1_4 = 'Ðе Ñе Ñтрахувай. Какво уÑещаш?';
this.bg_strList.scene_1_5 = 'Вече нищо...';
this.pt_strList = new Object();
this.pt_strList.scene_1_1 = 'Olá. Estás bem?';
this.pt_strList.scene_1_2 = 'Deixa-me sozinha!';
this.pt_strList.scene_1_3 = 'Não toques aqui!';
this.pt_strList.scene_1_4 = 'Não tenhas medo. Que sentes?';
this.pt_strList.scene_1_5 = 'Já não sinto nada…';
this.sr_strList = new Object();
this.sr_strList.scene_1_1 = 'Ćao, kako se osećađ?';
this.sr_strList.scene_1_2 = 'Ostavi me na miru!';
this.sr_strList.scene_1_3 = 'Ne pipaj me tu!';
this.sr_strList.scene_1_4 = 'Ne plaši se. Šta sada osećaš?';
this.sr_strList.scene_1_5 = 'Ne osećam više ništa...';
this.ua_strList = new Object();
this.ua_strList.scene_1_1 = 'Привіт! Як тебе звуть?';
this.ua_strList.scene_1_2 = 'Облиш мене!';
this.ua_strList.scene_1_3 = 'Тільки не Ñюди!';
this.ua_strList.scene_1_4 = 'Що ти відчуваєш?';
this.ua_strList.scene_1_5 = 'Вже нічого...';
this.cz_strList = new Object();
this.cz_strList.scene_1_1 = 'Ahoj. Všechno v pořádku?';
this.cz_strList.scene_1_2 = 'Nech mÄ› samotnou!';
this.cz_strList.scene_1_3 = 'Nedotýkej se mě tam!';
this.cz_strList.scene_1_4 = 'Neboj se. Co cÃtÃÅ¡?';
this.cz_strList.scene_1_5 = 'Já už nic necÃtÃm...';
this.ar_strList = new Object();
this.ar_strList.scene_1_1 = 'مرØباً هل أنت بخير؟';
this.ar_strList.scene_1_2 = 'أتركني وشأني!';
this.ar_strList.scene_1_3 = 'لا تلمسني!';
this.ar_strList.scene_1_4 = 'لا تخاÙÙŠ بماذا تشعرين؟';
this.ar_strList.scene_1_5 = 'لا شيء!';
this.nl_strList = new Object();
this.nl_strList.scene_1_1 = 'Hallo. Is alles ok?';
this.nl_strList.scene_1_2 = 'Laat me alleen!';
this.nl_strList.scene_1_3 = 'Raak me hier niet aan!';
this.nl_strList.scene_1_4 = 'Wees niet bang. Wat voel je?';
this.nl_strList.scene_1_5 = 'Ik voel niets meer...';
this.tr_strList = new Object();
this.tr_strList.scene_1_1 = 'Selam. Ä°yi misin?';
this.tr_strList.scene_1_2 = 'Beni yalnız bırak!';
this.tr_strList.scene_1_3 = 'Burama dokunma!';
this.tr_strList.scene_1_4 = 'Korkma. Ne hissediyorsun?';
this.tr_strList.scene_1_5 = 'Hiçbir şey...';
this.cn_strList = new Object();
this.cn_strList.scene_1_1 = '哈罗. ä½ è¿˜å¥½å—?';
this.cn_strList.scene_1_2 = 'ä¸è¦æ‰“扰我!';
this.cn_strList.scene_1_3 = 'ä¸è¦è§¦åŠè¿™å¤„!';
this.cn_strList.scene_1_4 = 'ä¸è¦å®³æ€•. æ„Ÿè§‰æ€Žæ ·?';
this.cn_strList.scene_1_5 = '我已没有感觉...';
this.lv_strList = new Object();
this.lv_strList.scene_1_1 = 'Sveiki. Vai tu esi kÄrtÄ«ba?';
this.lv_strList.scene_1_2 = 'Lieciet mani mierÄ!';
this.lv_strList.scene_1_3 = 'Neaiztiec Å¡eit!';
this.lv_strList.scene_1_4 = 'Nebaidies. Ko tu jūti?';
this.lv_strList.scene_1_5 = 'Es vairs neko nejūtu...';
this.sk_strList = new Object();
this.sk_strList.scene_1_1 = 'Ahoj. Si v poriadku?';
this.sk_strList.scene_1_2 = 'Nechaj ma o samote!';
this.sk_strList.scene_1_3 = 'Tu sa ma nedotýkaj!';
this.sk_strList.scene_1_4 = 'Neboj sa. ÄŒo cÃtiÅ¡?';
this.sk_strList.scene_1_5 = 'Už viac niÄ necÃtim...';
this.kz_strList = new Object();
this.kz_strList.scene_1_1 = 'Cәлем. Бәрі жақÑÑ‹ ма?';
this.kz_strList.scene_1_2 = 'Мені жалғыз қалдырыңыз!';
this.kz_strList.scene_1_3 = 'Бұл жерді Ò±Ñтамаңыз!';
this.kz_strList.scene_1_4 = 'Қорықпаңыз. Ðе ÑезеÑіз?';
this.kz_strList.scene_1_5 = 'Мен енді Ñезбеймін...';
this.langList = new Object();
this.langList.en = 'Play';
this.langList.ru = 'Играть';
this.langList.de = 'Spielen';
this.langList.es = 'Jugar';
this.langList.fr = 'Jouer';
this.langList.hu = 'Play';
this.langList.it = 'Gioca!';
this.langList.pl = 'Zagraj';
this.langList.ro = 'Joacă';
this.langList.cn = '玩';
this.gameNameList = new Object();
this.gameNameList.en = 'Swimming Pool Maniac 2';
this.gameNameList.bg = 'Маниак в Ð¿Ð»ÑƒÐ²Ð½Ð¸Ñ Ð±Ð°Ñейн 2';
this.gameNameList.ru = 'МаньÑк в баÑÑейне 2';
this.gameNameList.de = 'Triebtäter im Schwimmbad 2';
this.gameNameList.es = 'ManÃaco de la Piscina 2';
this.gameNameList.fr = 'Maniaque de Piscine 2';
this.gameNameList.hu = 'Szex a medencénél 2';
this.gameNameList.it = 'Maniaco in Piscina 2';
this.gameNameList.pl = 'Maniak w basenie 2';
this.gameNameList.pt = 'Tarado na Piscina 2';
this.gameNameList.sr = 'Manijak u Bazenu 2';
this.gameNameList.ua = 'МаніÑк у БаÑейні, ЧаÑтина Друга';
this.gameNameList.cz = 'Maniak z plaveckého bazénu 2';
this.gameNameList.ro = 'Maniacul de la Piscina 2';
this.gameNameList.ar = 'مهووس Øوض السباØØ© الجزء الثاني ';
this.gameNameList.nl = 'Zwembad Maniac 2';
this.gameNameList.tr = 'Havuz Manyağı 2';
this.gameNameList.cn = 'æ³³æ± ç‹‚è¿· II';
this.gameNameList.lv = 'Baseina Maniaks 2';
this.gameNameList.sk = 'Kúpaliskový maniak 2';
this.gameNameList.kz = 'Қауыз маньÑгы 2';
};
_global.Strings = v1;
_global.Strings extends MovieClip;
var v2 = v1.prototype;
ASSetPropFlags(_global.Strings.prototype, null, 1);
}
#endinitclip
}
movieClip 189 __Packages.Buttons {
#initclip
if (!_global.Buttons) {
var v1 = function (myList) {
super();
this.buttonList = new Array();
var v5 = 0;
while (v5 < myList.length) {
this.buttonList[v5] = _root.attachMovie(myList[v5].obj, 'button_obj_' + v5, 150 + v5);
this.buttonList[v5]._x = myList[v5].area[0];
this.buttonList[v5]._y = myList[v5].area[1];
this.buttonList[v5].frame = myList[v5].frame;
this.buttonList[v5].url = myList[v5].url;
this.buttonList[v5].gotoAndStop(1);
this.buttonList[v5].onRollOver = function () {
this.gotoAndStop(2);
};
this.buttonList[v5].onRollOut = function () {
this.gotoAndStop(1);
};
this.buttonList[v5].onDragOut = function () {
this.gotoAndStop(1);
};
this.buttonList[v5].onRelease = function () {
if (!(this.url eq '')) {
this.getURL(this.url, 'blank');
}
if (this.frame != 0) {
_root.gotoAndStop(this.frame);
_global.myButtons.kill();
}
};
++v5;
}
};
_global.Buttons = v1;
_global.Buttons extends MovieClip;
var v2 = v1.prototype;
v2.kill = function () {
var v3 = 0;
while (v3 < this.buttonList.length) {
delete this.buttonList[v3].onRollOver;
delete this.buttonList[v3].onRollOut;
delete this.buttonList[v3].onDragOut;
delete this.buttonList[v3].onRelease;
this.buttonList[v3].removeMovieClip();
++v3;
}
delete this.buttonList;
delete _global.myButtons;
};
ASSetPropFlags(_global.Buttons.prototype, null, 1);
}
#endinitclip
}
movieClip 190 __Packages.Waiting {
#initclip
if (!_global.Waiting) {
var v1 = function (myFramesQty, myFrame, snd) {
super();
this.framesQty = myFramesQty;
this.gotoFrame = myFrame;
this.counter = 0;
this.mySound = snd;
if (!(this.mySound eq '') and !(this.mySound eq undefined)) {
this.playSound(this.mySound, false);
}
_root.onEnterFrame = function () {
_global.myWaiting.counter += 1;
if (_global.myWaiting.counter >= _global.myWaiting.framesQty) {
_global.myWaiting.kill();
_root.gotoAndStop(_global.myWaiting.gotoFrame);
}
};
};
_global.Waiting = v1;
_global.Waiting extends MovieClip;
var v2 = v1.prototype;
v2.playSound = function (soundName, loop) {
_root.sound.attachSound(soundName);
_root.sound.start();
};
v2.kill = function () {
delete _root.onEnterFrame;
};
ASSetPropFlags(_global.Waiting.prototype, null, 1);
}
#endinitclip
}
movieClip 191 __Packages.Popup {
#initclip
if (!_global.Popup) {
var v1 = function (myList) {
super();
this.popupObject = new Object();
this.popupObject = _root.attachMovie('popup_obj', 'popup_obj', 50);
this.popupObject.popup_1 = new Array(7);
this.popupObject.popup_1[2] = myList.cloud[1];
this.popupObject.popup_1[3] = myList.cloud[2];
this.popupObject.popup_1[6] = myList.cloud[0];
_root[this.popupObject.popup_1[6]]._visible = false;
if (_root[this.popupObject.popup_1[6]].arrow._y > 0) {
this.popupObject.popup_1[1] = _root[this.popupObject.popup_1[6]]._y + 30;
this.popupObject.popup_1[0] = _root[this.popupObject.popup_1[6]]._x - this.popupObject.popup_1[2] + 75;
this.popupObject.popup_1[4] = true;
this.popupObject.popup_1[5] = false;
} else {
if (_root[this.popupObject.popup_1[6]].arrow._y < 0) {
this.popupObject.popup_1[1] = _root[this.popupObject.popup_1[6]]._y - this.popupObject.popup_1[3] - 30;
this.popupObject.popup_1[0] = _root[this.popupObject.popup_1[6]]._x - 33;
this.popupObject.popup_1[4] = false;
this.popupObject.popup_1[5] = true;
} else {
if (_root[this.popupObject.popup_1[6]].arrow._y == 0) {
this.popupObject.popup_1[4] = false;
this.popupObject.popup_1[5] = false;
this.popupObject.popup_1[1] = _root[this.popupObject.popup_1[6]]._y;
this.popupObject.popup_1[0] = _root[this.popupObject.popup_1[6]]._x;
}
}
}
this.popupObject._x = this.popupObject.popup_1[0];
this.popupObject._y = this.popupObject.popup_1[1];
this.popupObject.frame = myList.frame;
this.popupObject.popup_1_2._width = this.popupObject.popup_1[2] - 40;
this.popupObject.popup_2_2._width = this.popupObject.popup_1[2] - 40;
this.popupObject.popup_3_2._width = this.popupObject.popup_1[2] - 40;
this.popupObject.popup_2_1._height = this.popupObject.popup_1[3] - 40;
this.popupObject.popup_2_2._height = this.popupObject.popup_1[3] - 40;
this.popupObject.popup_2_3._height = this.popupObject.popup_1[3] - 40;
this.popupObject.popup_1_3._x = this.popupObject.popup_1[2] - 20;
this.popupObject.popup_2_3._x = this.popupObject.popup_1[2] - 0;
this.popupObject.popup_3_3._x = this.popupObject.popup_1[2] - 20;
this.popupObject.popup_3_1._y = this.popupObject.popup_1[3] - 20;
this.popupObject.popup_3_2._y = this.popupObject.popup_1[3] - 0;
this.popupObject.popup_3_3._y = this.popupObject.popup_1[3] - 20;
_global.gameTexts.text_0.setText(myList.text);
_global.gameTexts.text_0.setAlign('center');
_global.gameTexts.text_0.setPosition(this.popupObject.popup_1[0] + 10, this.popupObject.popup_1[1] + 15);
_global.gameTexts.text_0.setWidth(this.popupObject.popup_1[2] - 20);
_global.gameTexts.text_0.setVisible(true);
this.popupObject.popup_arrow_up._x = this.popupObject.popup_1[2] - 90;
this.popupObject.popup_arrow_down._y = this.popupObject.popup_1[3] - 0;
this.popupObject.popup_button._x = this.popupObject.popup_1[2] - 50;
this.popupObject.popup_button._y = this.popupObject.popup_1[3] - 15;
this.popupObject.popup_arrow_up._visible = this.popupObject.popup_1[4];
this.popupObject.popup_arrow_down._visible = this.popupObject.popup_1[5];
this.popupObject.popup_button.gotoAndStop(1);
this.popupObject.popup_button.onRollOver = function () {
this.gotoAndStop(2);
};
this.popupObject.popup_button.onRollOut = function () {
this.gotoAndStop(1);
};
this.popupObject.popup_button.onDragOut = function () {
this.gotoAndStop(1);
};
this.popupObject.popup_button.onRelease = function () {
_root.gotoAndStop(this._parent.frame);
_global.myPopup.kill();
};
};
_global.Popup = v1;
_global.Popup extends MovieClip;
var v2 = v1.prototype;
v2.kill = function () {
delete this.popupObject.popup_button.onRollOver;
delete this.popupObject.popup_button.onRollOut;
delete this.popupObject.popup_button.onDragOut;
delete this.popupObject.popup_button.onRelease;
_global.gameTexts.text_0.setText('');
this.popupObject.removeMovieClip();
delete this.popupObject;
delete _global.myPopup;
};
ASSetPropFlags(_global.Popup.prototype, null, 1);
}
#endinitclip
}
movieClip 192 __Packages.Regime {
#initclip
if (!_global.Regime) {
var v1 = function (myList, myBtn, myFrame) {
super();
this.regimeData = myList;
this.nextBtn = myBtn;
this.nextframe = myFrame;
this.regimeCurr = 0;
this._passFR = 0;
this._totalFR = 0;
this.regimeData[0].cntr = 0;
this.regimeData[0].pass = true;
this.regimeData[0].time = this.regimeData[0].time * 30 + 1;
this._totalFR += this.regimeData[0].time;
var v5 = 1;
while (v5 < this.regimeData.length) {
this.regimeData[v5].cntr = 0;
this.regimeData[v5].pass = false;
this.regimeData[v5].time = this.regimeData[v5].time * 30 + 1;
this._totalFR += this.regimeData[v5].time;
++v5;
}
_root.counter.gotoAndStop(1);
this.startAnimation(0);
_root[this.nextBtn].gotoAndStop(1);
_root[this.nextBtn].onRollOver = function () {
this.gotoAndStop(2);
};
_root[this.nextBtn].onRollOut = function () {
this.gotoAndStop(1);
};
_root[this.nextBtn].onDragOut = function () {
this.gotoAndStop(1);
};
_root[this.nextBtn].onRelease = function () {
_global.myRegime.kill();
_root.gotoAndStop(myFrame);
};
_root[this.nextBtn]._visible = false;
this.sound = new Sound();
};
_global.Regime = v1;
_global.Regime extends MovieClip;
var v2 = v1.prototype;
v2.init = function () {
var v4 = 0;
while (v4 < this.regimeData.length) {
_root[this.regimeData[v4].btn].gotoAndStop(1);
if (this.regimeData[v4].pass eq true) {
if (v4 != this.regimeCurr) {
_root[this.regimeData[v4].btn].id = v4;
_root[this.regimeData[v4].btn].onRollOver = function () {
this.gotoAndStop(2);
};
_root[this.regimeData[v4].btn].onRollOut = function () {
this.gotoAndStop(1);
};
_root[this.regimeData[v4].btn].onDragOut = function () {
this.gotoAndStop(1);
};
_root[this.regimeData[v4].btn].onRelease = function () {
_global.myRegime.startAnimation(this.id);
};
} else {
_root[this.regimeData[v4].btn].gotoAndStop(3);
}
_root[this.regimeData[v4].btn]._alpha = 100;
} else {
_root[this.regimeData[v4].btn]._alpha = 30;
}
++v4;
}
};
v2.drop = function () {
var v3 = 0;
while (v3 < this.regimeData.length) {
if (this.regimeData[v3].pass eq true) {
delete _root[this.regimeData[v3].btn].onRollOver;
delete _root[this.regimeData[v3].btn].onRollOut;
delete _root[this.regimeData[v3].btn].onDragOut;
delete _root[this.regimeData[v3].btn].onRelease;
}
++v3;
}
};
v2.startAnimation = function (myID) {
this.drop();
this.regimeCurr = myID;
clearInterval(this.regimeIntr);
_root.gotoAndStop(this.regimeData[myID].frame);
this.regimeIntr = setInterval(this, 'runAnimation', 33);
this.init();
this.sound.stop(this.soundName);
if (myID > 0) {
this.soundName = this.regimeData[myID].snd;
this.playSound(this.soundName, true);
} else {
_root.sound.stop(this._sound);
}
};
v2.runAnimation = function () {
if (this.regimeData[this.regimeCurr].cntr < this.regimeData[this.regimeCurr].time) {
this.regimeData[this.regimeCurr].cntr += 1;
this._passFR += 1;
_root.counter.gotoAndStop(int(500 * this._passFR / this._totalFR));
if (this.regimeData[this.regimeCurr].cntr == this.regimeData[this.regimeCurr].time) {
this.drop();
this.regimeData[this.regimeCurr + 1].pass = true;
this.init();
if (this.regimeCurr == this.regimeData.length - 1) {
_root[this.nextBtn]._visible = true;
}
}
}
};
v2.kill = function () {
_root.sound.stop(this._sound);
this.regimeIntr = setInterval(this, 'runAnimation', 33);
this.drop();
delete this.regimeData;
};
v2.playSound = function (soundName, loop) {
if (!(this._sound eq undefined)) {
_root.sound.stop(this._sound);
}
this._sound = soundName;
_root.sound.attachSound(soundName);
if (loop) {
_root.sound.start(0, 100000);
} else {
_root.sound.start();
}
};
ASSetPropFlags(_global.Regime.prototype, null, 1);
}
#endinitclip
}
movieClip 193 __Packages.Shakehand {
#initclip
if (!_global.Shakehand) {
var v1 = function (myList) {
super();
this.datasList = myList;
this.datasList.dist = 0;
this.datasList.x = _root._xmouse;
this.datasList.y = _root._ymouse;
this.datasList.last_x = _root._xmouse;
this.datasList.last_y = _root._ymouse;
this.datasList.summ_x = 0;
this.datasList.summ_y = 0;
this.datasList.counter = 0;
this.datasList.status = 0;
this.datasList.fr_jump = 0;
this.datasList.c_frame = _root.scene._currentframe;
this.datasList.m_frame = _root.scene._framesloaded;
_root.scene.gotoAndStop(1);
_root.counter.gotoAndStop(1);
this.popupList = new Object();
this.popupList = _root.attachMovie('popup_obj', 'popup_obj', 50);
this.popupList.popup_button.gotoAndStop(1);
this.popupList.popup_button._visible = false;
this.popupList.popup_arrow_up._visible = false;
this.popupList.popup_arrow_down._visible = false;
this.popupList._x = this.datasList.popup[0];
this.popupList._y = this.datasList.popup[1];
this.popupList.popup_1_2._width = this.datasList.popup[2] - 40;
this.popupList.popup_2_2._width = this.datasList.popup[2] - 40;
this.popupList.popup_3_2._width = this.datasList.popup[2] - 40;
this.popupList.popup_2_1._height = this.datasList.popup[3] - 40;
this.popupList.popup_2_2._height = this.datasList.popup[3] - 40;
this.popupList.popup_2_3._height = this.datasList.popup[3] - 40;
this.popupList.popup_1_3._x = this.datasList.popup[2] - 20;
this.popupList.popup_2_3._x = this.datasList.popup[2] - 0;
this.popupList.popup_3_3._x = this.datasList.popup[2] - 20;
this.popupList.popup_3_1._y = this.datasList.popup[3] - 20;
this.popupList.popup_3_2._y = this.datasList.popup[3] - 0;
this.popupList.popup_3_3._y = this.datasList.popup[3] - 20;
_global.gameTexts.text_0.setText(this.datasList.popup[4]);
_global.gameTexts.text_0.setAlign('center');
_global.gameTexts.text_0.setPosition(this.datasList.popup[0] + 10, this.datasList.popup[1] + 15);
_global.gameTexts.text_0.setWidth(this.datasList.popup[2] - 20);
_global.gameTexts.text_0.setVisible(true);
trace(this.datasList.popup[0]);
this.interval = setInterval(this.actionWaiting, 30, this);
};
_global.Shakehand = v1;
_global.Shakehand extends MovieClip;
var v2 = v1.prototype;
v2.actionWaiting = function (obj) {
var v9 = _root._xmouse;
var v10 = _root._ymouse;
var v11 = Math.sqrt(Math.pow(v9 - obj.datasList.x, 2) + Math.pow(v10 - obj.datasList.y, 2));
this.datasList.status -= 1;
if (obj.datasList.dist <= v11) {
obj.datasList.dist = v11;
} else {
var v13 = Math.abs(obj.datasList.x - obj.datasList.last_x) * Math.cos(obj.datasList.angle * Math.PI / 180);
var v12 = Math.abs(obj.datasList.y - obj.datasList.last_y) * Math.sin(obj.datasList.angle * Math.PI / 180);
var v14 = Math.sqrt(Math.pow(v13, 2) + Math.pow(v12, 2));
var v8 = v14 / obj.datasList.counter * obj.datasList.difficulty;
if (v8 > 7 * obj.datasList.counter) {
v8 = 7 * obj.datasList.counter;
}
obj.datasList.status += Math.ceil(v8);
obj.datasList.counter = 0;
obj.datasList.dist = 0;
obj.datasList.x = v9;
obj.datasList.y = v10;
}
var v6 = 100 * obj.datasList.status / 1000;
if (v6 > 100) {
v6 = 100;
}
obj.datasList.fr_jump = Math.ceil(obj.datasList.maxFrameJump * v6 / 100) + obj.datasList.minFrameJump;
var v5 = obj.datasList.c_frame + obj.datasList.fr_jump;
if (v5 > obj.datasList.m_frame) {
v5 -= obj.datasList.m_frame;
}
obj.datasList.c_frame = v5;
_root.scene.gotoAndStop(obj.datasList.c_frame);
if (int(499 * obj.datasList.status / 1000) + 1 > _root.counter._currentframe) {
_root.counter.nextFrame();
_root.counter.nextFrame();
} else {
if (int(499 * obj.datasList.status / 1000) + 1 < _root.counter._currentframe) {
_root.counter.prevFrame();
_root.counter.prevFrame();
}
}
obj.datasList.last_x = v9;
obj.datasList.last_y = v10;
++obj.datasList.counter;
if (obj.datasList.status > 0) {
var v7 = obj.datasList.status * 0.005 + 1;
if (v7 > 5) {
v7 = 5;
}
obj.datasList.status -= v7;
}
if (obj.datasList.status < 0) {
obj.datasList.status = 0;
}
if (v6 >= 100) {
_root.gotoAndStop(obj.datasList.frame);
_global.myShakehand.kill();
}
};
v2.kill = function () {
clearInterval(this.interval);
_global.gameTexts.text_0.setText('');
this.popupList.removeMovieClip();
delete this.popupList;
delete _global.myShakehand;
};
ASSetPropFlags(_global.Shakehand.prototype, null, 1);
}
#endinitclip
}
frame 8 {
_global.LanguageGame = 'de';
_global.OnlineGame = 'online';
_global.gameTexts = new Object();
_global.gameTexts.dialog_0 = new Texts('dialog_0', 'gialog', 10, 10, 0, 'left', 0, 1000, '');
_global.gameTexts.dialog_1 = new Texts('dialog_1', 'gialog', 10, 45, 0, 'left', 0, 1001, '');
_global.gameTexts.dialog_2 = new Texts('dialog_2', 'gialog', 10, 80, 0, 'left', 0, 1002, '');
_global.gameTexts.dialog_3 = new Texts('dialog_3', 'gialog', 10, 80, 0, 'left', 0, 1003, '');
_global.gameTexts.dialog_4 = new Texts('dialog_4', 'gialog', 10, 80, 0, 'left', 0, 1004, '');
_global.gameTexts.text_0 = new Texts('text_0', 'gialog', 10, 80, 0, 'left', 0, 1010, '');
_global.gameTexts.text_1 = new Texts('text_1', 'gialog', 10, 80, 0, 'left', 0, 1011, '');
_global.strings = new Strings();
_global.str = _global.strings[_global.LanguageGame + '_strList'];
_global.str2 = _global.strings.langList;
_global.gameName = _global.strings.gameNameList;
_global.haveOfficeSex = false;
_global.haveRoom_1Sex = false;
_global.haveRoom_2Sex = false;
_root.btn_logo.onRelease = function () {
getURL('http://sexgamesbox.com/?fr=' + _global.LanguageGame + '-Swimming-Pool-Maniac-2-' + _global.OnlineGame, 'blank');
};
_root.sound = new Sound(_root.sound_switch);
_root.sound1 = new Sound(_root.music_switch);
_root.sound1.attachSound('music');
_root.sound1.start(0, 100000);
_root.music_vol = 50;
_root.sound1.setVolume(_root.music_vol);
_root.music_switch.gotoAndStop(1);
_root.music_switch.onRelease = function () {
if (_root.music_vol == 50) {
_root.music_switch.gotoAndStop(2);
_root.music_vol = 0;
} else {
_root.music_switch.gotoAndStop(1);
_root.music_vol = 50;
}
_root.sound1.setVolume(_root.music_vol);
};
_root.sound_vol = 100;
_root.sound_switch.gotoAndStop(1);
_root.sound_switch.onRelease = function () {
if (_root.sound_vol == 100) {
_root.sound_switch.gotoAndStop(2);
_root.sound_vol = 0;
} else {
_root.sound_switch.gotoAndStop(1);
_root.sound_vol = 100;
}
_root.sound.setVolume(_root.sound_vol);
};
}
movieClip 120 {
}
movieClip 123 {
}
frame 9 {
game_name.text = _global.gameName[_global.LanguageGame];
_global.buttonList = new Array({'area': [335, 380], 'obj': 'button_play', 'frame': 13, 'url': ''});
_global.myButtons = new Buttons(_global.buttonList);
stop();
}
movieClip 125 {
frame 33 {
gotoAndPlay(23);
}
}
movieClip 128 {
}
movieClip 130 {
}
frame 13 {
_global.myWaiting = new Waiting(317, _currentframe + 1);
stop();
}
movieClip 133 {
frame 397 {
stop();
}
}
movieClip 136 {
frame 30 {
stop();
}
}
frame 14 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': _currentframe + 1, 'text': _global.str.scene_1_1});
stop();
}
movieClip 138 {
}
movieClip 139 {
}
frame 15 {
_global.myWaiting = new Waiting(46, _currentframe + 1);
stop();
}
movieClip 141 {
frame 257 {
stop();
}
}
frame 16 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': _currentframe + 1, 'text': _global.str.scene_1_2});
stop();
}
frame 17 {
_global.myWaiting = new Waiting(968, _currentframe + 1);
stop();
}
movieClip 143 {
frame 968 {
stop();
}
}
frame 18 {
_global.regimeList = new Array({'btn': 'temp_1', 'time': 0, 'frame': _currentframe + 1, 'snd': ''}, {'btn': 'temp_2', 'time': 9, 'frame': _currentframe + 2, 'snd': 'temp_1'}, {'btn': 'temp_3', 'time': 9, 'frame': _currentframe + 3, 'snd': 'temp_2'}, {'btn': 'temp_4', 'time': 9, 'frame': _currentframe + 4, 'snd': 'temp_3'});
_global.myRegime = new Regime(_global.regimeList, 'btn_next', _currentframe + 5);
stop();
}
movieClip 145 {
frame 203 {
stop();
}
}
movieClip 149 {
}
movieClip 152 {
}
movieClip 155 {
}
movieClip 156 {
}
movieClip 157 {
}
movieClip 158 {
}
movieClip 160 {
frame 85 {
gotoAndPlay(60);
}
}
movieClip 162 {
frame 110 {
gotoAndPlay(83);
}
}
movieClip 164 {
}
frame 23 {
_global.myWaiting = new Waiting(251, _currentframe + 1);
stop();
}
movieClip 166 {
frame 314 {
stop();
}
}
frame 24 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': _currentframe + 1, 'text': _global.str.scene_1_3});
stop();
}
frame 25 {
_global.myWaiting = new Waiting(151, _currentframe + 1);
stop();
}
movieClip 168 {
frame 151 {
stop();
}
}
frame 26 {
_global.myWaiting = new Waiting(53, _currentframe + 1);
stop();
}
movieClip 170 {
frame 53 {
stop();
}
}
frame 27 {
_global.myShakehand = new Shakehand({'angle': 90, 'difficulty': 1, 'minFrameJump': 0, 'maxFrameJump': 3, 'frame': _currentframe + 2, 'popup': [100, 400, 200, 60, 'Shake your mouse up\'n\'down to make it faster']});
stop();
}
movieClip 172 {
}
frame 29 {
_global.myWaiting = new Waiting(67, _currentframe + 1);
stop();
}
movieClip 174 {
frame 172 {
stop();
}
}
frame 30 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': _currentframe + 1, 'text': _global.str.scene_1_4});
stop();
}
frame 31 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': _currentframe + 1, 'text': _global.str.scene_1_5});
stop();
}
movieClip 176 {
frame 35 {
stop();
}
}
frame 32 {
_global.myWaiting = new Waiting(37, _currentframe + 1);
stop();
}
movieClip 178 {
frame 37 {
stop();
}
}
frame 33 {
_global.myShakehand = new Shakehand({'angle': 90, 'difficulty': 1, 'minFrameJump': 0, 'maxFrameJump': 3, 'frame': _currentframe + 2, 'popup': [100, 400, 200, 60, 'Shake your mouse up\'n\'down to make it faster']});
stop();
}
movieClip 180 {
}
frame 35 {
_global.myWaiting = new Waiting(100, 165);
stop();
}
movieClip 185 {
frame 30 {
stop();
}
}
frame 165 {
game_name.text = _global.gameName[_global.LanguageGame];
_global.buttonList = new Array({'area': [-20, 347], 'obj': 'btn_again', 'frame': 13, 'url': ''}, {'area': [-20, 290], 'obj': 'btn_more', 'frame': 0, 'url': 'http://sexgamesbox.com/?fr=' + _global.LanguageGame + '-Swimming-Pool-Maniac-2-' + _global.OnlineGame});
_global.myButtons = new Buttons(_global.buttonList);
stop();
}