Combined Code
movieClip 6 {
}
movieClip 7 counter {
frame 500 {
stop();
}
}
frame 1 {
var progress_arr = new Array(0, 41, 83, 125, 166, 208, 250, 291, 333, 374, 416, 458, 500, 542);
var total = _root.getBytesTotal();
var loaded = _root.getBytesLoaded();
if (total > loaded) {
preloader.gotoAndStop(Math.floor(541 * (loaded / total)));
preloader.txt.text = Math.floor((loaded / total) * 100) + ' %';
preloader.text01.qqww.text = Math.floor((loaded / total) * 100) + ' %';
preloader.text02.qqww.text = Math.floor((loaded / total) * 100) + ' %';
preloader.text03.qqww.text = Math.floor((loaded / total) * 100) + ' %';
_global.preload_comlete = false;
} else {
trace(this);
if (!_global.preload_comlete) {
_global.preload_comlete = true;
gotoAndPlay(14);
}
}
}
// unknown tag 88 length 48
// unknown tag 88 length 138
movieClip 14 {
}
movieClip 15 {
}
movieClip 21 {
}
movieClip 24 {
}
movieClip 27 {
frame 1 {
stop();
}
frame 570 {
stop();
}
}
movieClip 268 __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 269 __Packages.Strings {
#initclip
if (!_global.Strings) {
var v1 = function () {
super();
this.es_strList = new Object();
this.es_strList.scene_1_1 = '¡Hola! ¡Usted es tan bonita! ¿Anda usted aquà sola?';
this.es_strList.scene_1_2 = '¡Hola!! SÃ. Espero a mi mamá.';
this.es_strList.scene_1_3 = 'Qué jovencita tan atractiva. ¡Me parece que nadie aún tiene cuidado de su cuerpo dulce!';
this.es_strList.scene_1_4 = '¿Que quiere, viejo? ¿De qué habla usted? ¡Yo gritaré!';
this.es_strList.scene_1_5 = '¡Hola! ¿Usted es perdido? ¿Quiere acompañar usted a casa?';
this.es_strList.scene_1_6 = 'No. Y yo no habla a los forasteros.';
this.es_strList.scene_1_7 = '¿En que clase es usted estudia?';
this.es_strList.scene_1_8 = 'Estudia en 4 clase. ¡Mi madre deberÃa encontrarme después de escuela!';
this.es_strList.scene_1_9 = '¿Tiene usted un novio? ¿Si él visitó sus bragas?';
this.es_strList.scene_1_10 = '¡No! ¿Qué cosas tan lascivas usted dicen?';
this.es_strList.scene_1_11 = '¿Qué piensa usted en el paseo conjuntos? Compraré a usted un helado ... ';
this.es_strList.scene_1_12 = 'Mi mamá me prohÃbe pasear con unas personas desconocidas...';
this.en_strList = new Object();
this.en_strList.scene_1_1 = 'Hello, sempai! Do you wanna go outside and have some fun, mmm?';
this.en_strList.scene_1_2 = 'I don\'t think so... The headmaster is watching';
this.en_strList.scene_1_3 = 'Oh... shit! He noticed us!';
this.en_strList.scene_1_4 = 'Switch on the light, please!';
this.en_strList.scene_1_5 = 'Hikaru, let\'s go together somewhere after classes?';
this.en_strList.scene_1_6 = 'Sorry, I can\'t.';
this.en_strList.scene_1_7 = 'Don\'t be upset. Ask somebody else, I\'m sure you will find a companion';
this.en_strList.scene_1_8 = 'See you in a dormitory!';
this.en_strList.scene_1_9 = 'But I wanted to go with you, I don\'t need anybody else.';
this.en_strList.scene_1_10 = 'Except you';
this.en_strList.scene_1_11 = 'I wish we were together...with you...';
this.en_strList.scene_1_12 = 'Hikaru-tyan!';
this.en_strList.scene_1_13 = 'I know how does it feel to be all alone';
this.en_strList.scene_1_14 = 'And I must say I like you, Nodzomi';
this.en_strList.scene_1_15 = 'Are you kidding me?';
this.en_strList.scene_1_16 = 'No. From the first day we are here I liked you';
this.en_strList.scene_1_17 = 'But I was afraid to confess it to myself';
this.en_strList.scene_1_18 = 'Stop it!';
this.en_strList.scene_1_19 = 'I want to rape you right now on this sofa';
this.en_strList.scene_1_20 = 'But this all is too fast...';
this.en_strList.scene_1_21 = 'Okay...';
this.en_strList.scene_1_22 = 'Leave me alone!';
this.en_strList.scene_1_23 = 'I will come to you later.';
this.en_strList.scene_1_24 = 'Chibi!';
this.en_strList.scene_1_25 = 'I caught you!';
this.en_strList.scene_1_26 = 'Oh, I forgot my phone in the room. Can you bring it?';
this.en_strList.scene_1_27 = 'Whatewer you want, Nodzomi-tyan!';
this.en_strList.scene_1_28 = 'Guess the hand!';
this.en_strList.scene_1_29 = 'Right hand!';
this.en_strList.scene_1_30 = 'Wrong guess!';
this.en_strList.scene_1_31 = 'Are you asleep?';
this.en_strList.scene_1_32 = 'Yes, and I saw a dream about you just now...';
this.en_strList.scene_1_33 = 'All that your strange behavior this morning... what does it mean?';
this.en_strList.scene_1_34 = 'Oh, nothing special. Forget it.';
this.en_strList.scene_1_35 = 'I guess you are attracted to me, right?';
this.en_strList.scene_1_36 = 'I\'ve given everything to be with you, sempai.';
this.en_strList.scene_1_37 = 'Wanna me to prove it?';
this.en_strList.scene_1_38 = 'What are you doing?';
this.en_strList.scene_1_39 = 'Stop it!';
this.en_strList.scene_1_40 = 'Don\'t say you don\'t like it!';
this.en_strList.scene_1_41 = 'You make me embarrassed';
this.en_strList.scene_1_42 = 'You shouldn’t hesitate your nature...';
this.en_strList.scene_1_43 = 'Someday my dream will come true...';
this.en_strList.scene_1_44 = 'I dream to feel the taste of your sweet lips, sempai...';
this.en_strList.scene_1_45 = 'Shall we do it right now?';
this.en_strList.scene_1_46 = 'I don\'t think so.';
this.en_strList.scene_1_47 = 'Get off your back!';
this.en_strList.scene_1_48 = 'What are you going to do?';
this.en_strList.scene_1_49 = 'Taste me!';
this.en_strList.scene_1_50 = 'I don\'t want... at least yet...';
this.en_strList.scene_1_51 = 'Just relax and get pleasure!';
this.en_strList.scene_1_52 = 'We shouldn\'t...!';
this.en_strList.scene_1_53 = 'Now let\'s switch';
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.ru_strList.scene_1_6 = 'Ðет, Ñ Ð½Ðµ потерÑлаÑÑŒ. Я проÑто гулÑÑŽ и не разговариваю Ñ Ð½ÐµÐ·Ð½Ð°ÐºÐ¾Ð¼Ñ†Ð°Ð¼Ð¸.';
this.ru_strList.scene_1_7 = 'Ты как учишьÑÑ?';
this.ru_strList.scene_1_8 = 'Я учуÑÑŒ во вторую Ñмену. Мама должна забирать Ð¼ÐµÐ½Ñ Ð¿Ð¾Ñле школы.';
this.ru_strList.scene_1_9 = 'У Ñ‚ÐµÐ±Ñ ÐµÑÑ‚ÑŒ приÑтель? Он уже забиралÑÑ Ðº тебе в труÑики?';
this.ru_strList.scene_1_10 = 'Ðет! Что за мерзоÑти Ñ‚Ñ‹ неÑешь!?';
this.ru_strList.scene_1_11 = 'Хочешь погулÑем вмеÑте! Я куплю тебе мороженое…';
this.ru_strList.scene_1_12 = 'Вообще-то мама запрещает мне говорить Ñ Ð½ÐµÐ·Ð½Ð°ÐºÐ¾Ð¼Ñ‹Ð¼Ð¸ парнÑми…';
this.fr_strList = new Object();
this.fr_strList.scene_1_1 = 'Salut! Tu es tellement belle ! Tu te promènes toute seule?';
this.fr_strList.scene_1_2 = 'Salut! Oui. J\'attend ma mère.';
this.fr_strList.scene_1_3 = 'Quelle choupette sexy. J\'imagine que personne n\'a pas encore pris soin de ton corps doux!';
this.fr_strList.scene_1_4 = 'T\'es un vieux connard ! De quoi tu parle ? Je vais crier au secours!';
this.fr_strList.scene_1_5 = 'Salut! Tu es perdue ? Je peux t\'aider à chercher la maison?';
this.fr_strList.scene_1_6 = 'Non, je ne suis pas perdue. Je me promène juste et je ne parle pas aux inconnus.';
this.fr_strList.scene_1_7 = 'Quel est ton emploi de temps ?';
this.fr_strList.scene_1_8 = 'Je fais mes études dans la section 4. Ma mère doit venir me chercher après l\'école.';
this.fr_strList.scene_1_9 = 'Tu as un copin ? Il a déjà été dans ta culotte?';
this.fr_strList.scene_1_10 = 'Non ! Quelles sales choses tu dis là !?';
this.fr_strList.scene_1_11 = 'Qu\'est-ce que tu pense si on se promène ensemble. Je t\'achèterai une glace...';
this.fr_strList.scene_1_12 = 'Ma mère m\'interdit de parler avec des garçon étrangers...';
this.hu_strList = new Object();
this.hu_strList.scene_1_1 = 'Szia! Gyönyörű vagy! Egyedül vagy?';
this.hu_strList.scene_1_2 = 'Helló! Igen. Anyukámra várok.';
this.hu_strList.scene_1_3 = 'Milyen szexi kis nyalóka.Szerintem még senki sem simogatta végig az édes kis testedet!';
this.hu_strList.scene_1_4 = 'Hülye perverz! MirÅ‘l beszél? SikÃtani fogok!';
this.hu_strList.scene_1_5 = 'Szia! Eltévedtél? HazakÃsérjelek?';
this.hu_strList.scene_1_6 = 'Nem tévedtem el. Csak sétálgatok, de nem akarok idegenekkel beszélgetni.';
this.hu_strList.scene_1_7 = 'Hányadikos vagy?';
this.hu_strList.scene_1_8 = 'Negyedikes. Anyukám jön értem iskola után!';
this.hu_strList.scene_1_9 = 'Van barátod? Beengedted már a bugyidba?';
this.hu_strList.scene_1_10 = 'Nem! Egyáltalán miről beszél?';
this.hu_strList.scene_1_11 = 'Mi lenne, ha együtt sétálgatnánk? Veszek neked fagyit...';
this.hu_strList.scene_1_12 = 'Anyukám megtiltotta, hogy idegen férfiakkal mászkáljak...';
this.it_strList = new Object();
this.it_strList.scene_1_1 = 'Ciao! Sei tanto bellissima! Stai camminando da sola?';
this.it_strList.scene_1_2 = 'Ciao! Sì. Sto aspettando la mia mamma.';
this.it_strList.scene_1_3 = 'Che sexy ragazzina. Credo che nessuno abbia mai accarezzato il tuo dolcissimo corpo!';
this.it_strList.scene_1_4 = 'Maledetto vecchio mostro! Di che cosa stai parlando? Urlerò per aiuto!';
this.it_strList.scene_1_5 = 'Ciao! Ti sei persa? Forse dovrei accompagnarti?';
this.it_strList.scene_1_6 = 'No, non lo sono. Sto solo camminando e io non parlo a sconosciuti.';
this.it_strList.scene_1_7 = 'A che tipo di scuola studi?';
this.it_strList.scene_1_8 = 'Studio alla quarta classe. La mia mamma dovrebbe incontrarmi dopo scuola!';
this.it_strList.scene_1_9 = 'Hai un ragazzo? Ha già messo le sue mani nelle mutandine tue?';
this.it_strList.scene_1_10 = 'No! Di che terribili cose stai parlando?';
this.it_strList.scene_1_11 = 'Che ne dici di camminare insieme? Ti comprerò un gelato…';
this.it_strList.scene_1_12 = 'La mia mamma mi proibita di camminare con uomini strani…';
this.pl_strList = new Object();
this.pl_strList.scene_1_1 = 'Cześć! Jesteś taka piękna! Jesteś tu sama?';
this.pl_strList.scene_1_2 = 'Witam! Tak. czekam na mojÄ… mamÄ™.';
this.pl_strList.scene_1_3 = 'Jaka seksowna z Ciebie lolitka. Założę się, że nikt jeszcze nie zaopiekował się Twoim słodkim ciałem!';
this.pl_strList.scene_1_4 = 'Pierdolony zboczony staruch! O czym Ty gadasz? Zaraz zacznę krzyczeć o pomoc!';
this.pl_strList.scene_1_5 = 'Cześć! Zgubiłaś się? Chcesz żebym Cię odprowadził do domu?';
this.pl_strList.scene_1_6 = 'Nie, wcale się nie zgubiłam. Po prostu sobię spaceruję i nie rozmawiam z nieznajomymi.';
this.pl_strList.scene_1_7 = 'W której klasie się uczysz?';
this.pl_strList.scene_1_8 = 'Jestem w czwartej klasie. Moja mama zaraz tu będzie odebrać mnie ze szkoły!';
this.pl_strList.scene_1_9 = 'Masz chłopaka? Czy on się już dobierał do Twoich majteczek?';
this.pl_strList.scene_1_10 = 'Nie! O jakich zboczonych rzeczach mi tu opowiadasz?';
this.pl_strList.scene_1_11 = 'Co byś powiedziała na to, że się przejdziemy razem? Mogę kupić Ci loda...';
this.pl_strList.scene_1_12 = 'Mama zabrania mi spacerować z nieznajomymi facetami...';
this.de_strList = new Object();
this.de_strList.scene_1_1 = 'Hi! Du bist so nett! Schliffst Du hier allein?';
this.de_strList.scene_1_2 = 'Hallo! Nein! Ich warte auf meine Mutti!';
this.de_strList.scene_1_3 = 'Was für ein sexy Teens-Mädel! Deiner Körper braucht Liebkosen!';
this.de_strList.scene_1_4 = 'Du bist ein alter Arschloch! Worüber sprichst Du? Ich werde schreien!';
this.de_strList.scene_1_5 = 'Hi! Bist Du allein hier? Darf ich Dich nach Hause begleiten?';
this.de_strList.scene_1_6 = 'Nein, danke. Ich will allein hier spazieren. Außerdem ich spreche mit dem Unbekannten nicht!';
this.de_strList.scene_1_7 = 'Wie alt bist Du?';
this.de_strList.scene_1_8 = 'Ich besuche in die Schule noch. Ich warte auf meine Mutter. Sie holt mich nach der Schule nach Hause ab.';
this.de_strList.scene_1_9 = 'Hast Du einen Freund? Hat er schon in deine Höschen eingekrochen?';
this.de_strList.scene_1_10 = 'Nein! Wie können sie so sagen!';
this.de_strList.scene_1_11 = 'Gehen wir vielleicht zusammen spazieren? Ich kaufe Dich Ice-cream...';
this.de_strList.scene_1_12 = 'Meine Mutter verbietet mir mit unbekannten Männer spazierenzugehen!';
this.ro_strList = new Object();
this.ro_strList.scene_1_1 = 'Salut! Eşti atât de frumoasă! Mergi singură pe aici?';
this.ro_strList.scene_1_2 = 'Salut! Da. O aÅŸtept pe mama mea. ';
this.ro_strList.scene_1_3 = 'Ce fetiţă sexy! Cred că nimeni nu a avut grijă până acum de trupul tău dulce!';
this.ro_strList.scene_1_4 = 'Ciudat bătrân! Despre ce vorbeşti? Voi ţipa după ajutor!';
this.ro_strList.scene_1_5 = 'Salut! Te-ai rătăcit? Poate ar trebui să te conduc acasă?';
this.ro_strList.scene_1_6 = 'Nu, nu m-am piedut. Mă plimb doar şi nu vorbesc cu străinii.';
this.ro_strList.scene_1_7 = 'În ce clasă eşti?';
this.ro_strList.scene_1_8 = 'Sunt în clasa a 4 a. Trebuie să mă întâlnesc cu mama mea după ore!';
this.ro_strList.scene_1_9 = 'Ai un iubit? Te-a atins?';
this.ro_strList.scene_1_10 = 'Nu! Despre ce lucruri păcătoase vorbeşti?';
this.ro_strList.scene_1_11 = 'Ce ai zice să ne plimbăm împreună? Îţi voi cumpăra o îngheţată...';
this.ro_strList.scene_1_12 = 'Mama mea îmi interzice să mă plimb cu tipii ciudaţi...';
this.hintKeys = new Object();
this.hintKeys.en = 'Please, type the appearing letters with the help of your keyboard';
this.hintKeys.ru = 'Играть12';
this.hintKeys.de = 'Spielen12';
this.hintKeys.es = 'Jugar12';
this.hintKeys.fr = 'Jouer12';
this.hintKeys.hu = 'Play12';
this.hintKeys.it = 'Gioca!12';
this.hintKeys.pl = 'Zagraj12';
this.hintKeys.ro = 'Joacă12';
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.gameNameList = new Object();
this.gameNameList.en = 'Dormitory Secrets';
this.gameNameList.ru = 'Трахни Конфетку';
this.gameNameList.de = 'Lollipop Fick Trip';
this.gameNameList.es = 'Jovencita Viaja por Pollas ';
this.gameNameList.fr = 'Grosse queue pour la Choupette';
this.gameNameList.hu = 'Nyalókás kislány';
this.gameNameList.it = 'Cazzo Lecca-Lecca';
this.gameNameList.pl = 'Chujowa Wycieczka Lolitki';
this.gameNameList.ro = 'Călătorie pe penis cu minora';
};
_global.Strings = v1;
_global.Strings extends MovieClip;
var v2 = v1.prototype;
ASSetPropFlags(_global.Strings.prototype, null, 1);
}
#endinitclip
}
movieClip 270 __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 271 __Packages.Dialog {
#initclip
if (!_global.Dialog) {
var v1 = function (myList, xPos, yPos, popup_1, popup_2, myFrame) {
super();
this.dailogList = new Array();
var v5 = 0;
while (v5 < myList.length) {
this.dailogList[v5] = _root.attachMovie('phrase_area', 'phrase_obj_' + v5, 100 + v5);
this.dailogList[v5]._x = xPos;
this.dailogList[v5]._y = yPos + v5 * 35;
this.dailogList[v5].phrase = myList[v5].phrase;
this.dailogList[v5].answer = myList[v5].answer;
this.dailogList[v5].correct = myList[v5].correct;
this.dailogList[v5].frame = myList[v5].frame;
this.dailogList[v5].snd = myList[v5].snd;
this.dailogList[v5].visited = false;
this.dailogList[v5].numb = v5;
this.dailogList[v5].gotoAndStop(1);
_global.gameTexts['dialog_' + v5].setText(myList[v5].phrase);
_global.gameTexts['dialog_' + v5].setAlign('left');
_global.gameTexts['dialog_' + v5].setPosition(xPos + 5, yPos + v5 * 35 + 7);
_global.gameTexts['dialog_' + v5].setVisible(true);
this.dailogList[v5].onRollOver = function () {
if (this.visited eq false) {
this.gotoAndStop(2);
}
};
this.dailogList[v5].onRollOut = function () {
if (this.visited eq false) {
this.gotoAndStop(1);
}
};
this.dailogList[v5].onDragOut = function () {
if (this.visited eq false) {
this.gotoAndStop(1);
}
};
this.dailogList[v5].onRelease = function () {
if (this.visited eq false) {
_global.myDialog.makePopup(this.numb, 1);
}
};
++v5;
}
this.popupObject = new Object();
this.popupObject = _root.attachMovie('popup_obj', 'popup_obj', 50, {'_visible': false});
this.popupObject.popup_1 = new Array(7);
this.popupObject.popup_1[2] = popup_1[1];
this.popupObject.popup_1[3] = popup_1[2];
this.popupObject.popup_1[6] = popup_1[0];
this.popupObject.popup_2 = new Array(7);
this.popupObject.popup_2[2] = popup_2[1];
this.popupObject.popup_2[3] = popup_2[2];
this.popupObject.popup_2[6] = popup_2[0];
this.popupObject.popup_button.gotoAndStop(1);
_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;
}
}
}
_root[this.popupObject.popup_2[6]]._visible = false;
if (_root[this.popupObject.popup_2[6]].arrow._y > 0) {
this.popupObject.popup_2[1] = _root[this.popupObject.popup_2[6]]._y + 30;
this.popupObject.popup_2[0] = _root[this.popupObject.popup_2[6]]._x - this.popupObject.popup_2[2] + 75;
this.popupObject.popup_2[4] = true;
this.popupObject.popup_2[5] = false;
} else {
if (_root[this.popupObject.popup_2[6]].arrow._y < 0) {
this.popupObject.popup_2[1] = _root[this.popupObject.popup_2[6]]._y - this.popupObject.popup_2[3] - 30;
this.popupObject.popup_2[0] = _root[this.popupObject.popup_2[6]]._x - 33;
this.popupObject.popup_2[4] = false;
this.popupObject.popup_2[5] = true;
} else {
if (_root[this.popupObject.popup_2[6]].arrow._y == 0) {
this.popupObject.popup_2[4] = false;
this.popupObject.popup_2[5] = false;
this.popupObject.popup_2[1] = _root[this.popupObject.popup_2[6]]._y;
this.popupObject.popup_2[0] = _root[this.popupObject.popup_2[6]]._x;
}
}
}
_root.startFrame = _root._currentframe + 1;
_root.finishFrame = myFrame;
this.sound = new Sound();
};
_global.Dialog = v1;
_global.Dialog extends MovieClip;
var v2 = v1.prototype;
v2.makePopup = function (choiceNumb, popupNumb) {
this.hideDialog();
this.popupObject._visible = true;
this.popupObject._x = this.popupObject['popup_' + popupNumb][0];
this.popupObject._y = this.popupObject['popup_' + popupNumb][1];
this.popupObject.popup_1_2._width = this.popupObject['popup_' + popupNumb][2] - 40;
this.popupObject.popup_2_2._width = this.popupObject['popup_' + popupNumb][2] - 40;
this.popupObject.popup_3_2._width = this.popupObject['popup_' + popupNumb][2] - 40;
this.popupObject.popup_2_1._height = this.popupObject['popup_' + popupNumb][3] - 40;
this.popupObject.popup_2_2._height = this.popupObject['popup_' + popupNumb][3] - 40;
this.popupObject.popup_2_3._height = this.popupObject['popup_' + popupNumb][3] - 40;
this.popupObject.popup_1_3._x = this.popupObject['popup_' + popupNumb][2] - 20;
this.popupObject.popup_2_3._x = this.popupObject['popup_' + popupNumb][2] - 0;
this.popupObject.popup_3_3._x = this.popupObject['popup_' + popupNumb][2] - 20;
this.popupObject.popup_3_1._y = this.popupObject['popup_' + popupNumb][3] - 20;
this.popupObject.popup_3_2._y = this.popupObject['popup_' + popupNumb][3] - 0;
this.popupObject.popup_3_3._y = this.popupObject['popup_' + popupNumb][3] - 20;
if (popupNumb == 1) {
_global.gameTexts.text_0.setText(this.dailogList[choiceNumb].phrase);
} else {
_global.gameTexts.text_0.setText(this.dailogList[choiceNumb].answer);
this.playSound(_global.myDialog.dailogList[choiceNumb].snd, false);
}
_global.gameTexts.text_0.setAlign('center');
_global.gameTexts.text_0.setPosition(this.popupObject['popup_' + popupNumb][0] + 10, this.popupObject['popup_' + popupNumb][1] + 15);
_global.gameTexts.text_0.setWidth(this.popupObject['popup_' + popupNumb][2] - 20);
_global.gameTexts.text_0.setVisible(true);
this.popupObject.popup_arrow_up._x = this.popupObject['popup_' + popupNumb][2] - 90;
this.popupObject.popup_arrow_down._y = this.popupObject['popup_' + popupNumb][3] - 0;
this.popupObject.popup_button._x = this.popupObject['popup_' + popupNumb][2] - 50;
this.popupObject.popup_button._y = this.popupObject['popup_' + popupNumb][3] - 15;
this.popupObject.popup_arrow_up._visible = this.popupObject['popup_' + popupNumb][4];
this.popupObject.popup_arrow_down._visible = this.popupObject['popup_' + popupNumb][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 () {
_global.myDialog.kullPopup(popupNumb);
if (popupNumb == 1) {
_root.gotoAndStop(_global.myDialog.dailogList[choiceNumb].frame);
_global.myDialog.makePopup(choiceNumb, 2);
} else {
if (_global.myDialog.dailogList[choiceNumb].correct eq false) {
_global.myDialog.dailogList[choiceNumb].visited = true;
_global.myDialog.dailogList[choiceNumb].gotoAndStop(3);
_root.gotoAndStop(_root.startFrame);
_global.myDialog.showDialog();
} else {
_root.gotoAndStop(_root.finishFrame);
_global.myDialog.kill();
}
}
};
};
v2.showDialog = function () {
var v3 = 0;
while (v3 < this.dailogList.length) {
this.dailogList[v3]._visible = true;
_global.gameTexts['dialog_' + v3].setVisible(true);
++v3;
}
};
v2.hideDialog = function () {
var v3 = 0;
while (v3 < this.dailogList.length) {
this.dailogList[v3]._visible = false;
_global.gameTexts['dialog_' + v3].setVisible(false);
++v3;
}
};
v2.kullPopup = function (popupNumb) {
delete this.popupObject.popup_button.onRollOver;
delete this.popupObject.popup_button.onRollOut;
delete this.popupObject.popup_button.onDragOut;
delete this.popupObject.popup_button.onRelease;
this.popupObject._visible = false;
_global.gameTexts.text_0.setVisible(false);
};
v2.kill = function () {
this.popupObject.removeMovieClip();
delete this.popupObject;
var v3 = 0;
while (v3 < this.dailogList.length) {
delete this.dailogList[v3].onRollOver;
delete this.dailogList[v3].onRollOut;
delete this.dailogList[v3].onDragOut;
delete this.dailogList[v3].onRelease;
this.dailogList[v3].removeMovieClip();
++v3;
}
delete this.dailogList;
delete _global.myDialog;
};
v2.playSound = function (soundName, loop) {
_root.sound.attachSound(soundName);
if (loop) {
_root.sound.start(0, 100000);
} else {
_root.sound.start();
}
};
ASSetPropFlags(_global.Dialog.prototype, null, 1);
}
#endinitclip
}
movieClip 272 __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;
};
v2.moveTexts = function (x, y) {
_global.gameTexts.text_0.setPosition(x, y);
};
v2.movePopup = function (x, y) {
this.popupObject._x = x;
this.popupObject._y = y;
this.moveTexts(x + 10, y + 5);
};
v2.hideArrows = function () {
this.popupObject.popup_button._visible = false;
this.popupObject.popup_arrow_up._visible = false;
this.popupObject.popup_arrow_down._visible = false;
};
v2.instantKill = 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 273 __Packages.HiddenButton {
#initclip
if (!_global.HiddenButton) {
var v1 = function (mc, gotoFrame) {
super();
this.clip = mc;
this.clip.onRelease = function () {
_root.gotoAndPlay(gotoFrame);
};
};
_global.HiddenButton = v1;
_global.HiddenButton extends MovieClip;
var v2 = v1.prototype;
ASSetPropFlags(_global.HiddenButton.prototype, null, 1);
}
#endinitclip
}
movieClip 274 __Packages.PressWord {
#initclip
if (!_global.PressWord) {
var v1 = function (mc, _str, _winFrame, _gameoverFrame) {
super();
this.clip = mc;
this.str = _str;
this.winFrame = _winFrame;
this.gameoverFrame = _gameoverFrame;
var v15;
v15.textWidth;
this.clip.window.stop();
this.clip.mc.words.text = this.str;
this.word_x = this.clip.mc._x;
this.word_y = this.clip.mc._y;
this.clip.window.letter_black.text = this.str.charAt(_global.count);
this.clip.window.letter_color.text = this.str.charAt(_global.count);
this.clip.window.gotoAndStop(1);
_root.onEnterFrame = function () {
function t(s) {}
function t2(s) {}
function newDirection(num) {
t('newDirection num = ' + num);
var v1;
var v3 = 1;
var v2 = 8;
v1 = Math.round(Math.random() * v2 * 100) / 100 + v3;
if (num > 0) {
v1 *= -1;
}
t(' new_dir = ' + v1);
return v1;
}
function nextLetter() {
z.i = 0;
++z.count;
if (z.count == z.str.length) {
gameWin();
}
z.clip.window.letter_black.text = z.str.charAt(z.count);
z.clip.window.letter_color.text = z.str.charAt(z.count);
}
function gameOver() {
delete _root.onKeyDown;
Key.removeListener(_root);
delete _root.onEnterFrame;
_root.gotoAndStop(z.gameoverFrame);
}
function gameWin() {
Key.removeListener(_root);
delete _root.onKeyDown;
delete _root.onEnterFrame;
_root.gotoAndStop(z.winFrame);
}
var z = _global.pl;
if (Stage.displayState == 'normal' || Stage.displayState == undefined) {
z.clip.window._visible = true;
z.clip.mc._x = z.word_x;
z.clip.mc._y = z.word_y;
Key.addListener(_root);
_root.onKeyDown = function () {
var v1 = z.str.charAt(z.count);
if (Key.getAscii() == (v1.toUpperCase()).charCodeAt(0) || Key.getAscii() == (v1.toLowerCase()).charCodeAt(0)) {
nextLetter();
} else {
gameOver();
}
};
z.i += 1;
z.clip.window.gotoAndStop(z.i);
if (z.i >= 100) {
gameOver();
}
} else {
if (_global.myPopUp) {
_global.myPopUp.instantKill();
}
z.clip.window._visible = false;
var v9 = z.clip.mc.words.textWidth / 2;
var v10 = z.clip.mc.words.textHeight / 2;
var v5 = v9;
var v6 = v10;
var v3 = Stage.width - v9;
var v4 = Stage.height - v10;
t2('--- w_max = ' + v3 + ' h_max = ' + v4 + ' mc._x = ' + z.clip.mc._x + ' mc._y = ' + z.clip.mc._y);
if (z.direction_x == 0) {
z.direction_x = newDirection(z.direction_x);
}
if (z.direction_y == 0) {
z.direction_y = newDirection(z.direction_y);
}
if (z.clip.mc._x >= v5 && z.clip.mc._x <= v3) {
z.clip.mc._x += z.direction_x;
if (z.clip.mc._x < v5) {
z.direction_x = newDirection(z.direction_x);
z.clip.mc._x = v5 + z.direction_x;
}
if (z.clip.mc._x > v3) {
z.direction_x = newDirection(z.direction_x);
z.clip.mc._x = v3 + z.direction_x;
}
} else {
if (z.clip.mc._x < v5) {
z.direction_x = newDirection(z.direction_x);
z.clip.mc._x = v5 + z.direction_x;
}
if (z.clip.mc._x > v4) {
z.direction_x = newDirection(z.direction_x);
z.clip.mc._x = v4 + z.direction_x;
}
}
if (z.clip.mc._y >= v6 && z.clip.mc._y <= v4) {
z.clip.mc._y += z.direction_y;
if (z.clip.mc._y < v6) {
z.direction_y = newDirection(z.direction_y);
z.clip.mc._y = v6 + z.direction_y;
}
if (z.clip.mc._y > v4) {
z.direction_y = newDirection(z.direction_y);
z.clip.mc._y = v4 + z.direction_y;
}
} else {
if (z.clip.mc._y < v6) {
z.direction_y = newDirection(z.direction_y);
z.clip.mc._y = v6 + z.direction_y;
}
if (z.clip.mc._y > v3) {
z.direction_y = newDirection(z.direction_y);
z.clip.mc._y = v3 + z.direction_y;
}
}
z.clip.mc.onRelease = function () {
gameWin();
};
}
};
};
_global.PressWord = v1;
_global.PressWord extends MovieClip;
var v2 = v1.prototype;
v2.count = 0;
v2.i = 0;
v2.direction_x = 0;
v2.direction_y = 0;
ASSetPropFlags(_global.PressWord.prototype, null, 1);
}
#endinitclip
}
movieClip 275 __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
}
movieClip 276 __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) {
_root[this.regimeData[v5].btn].gotoAndStop(1);
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) {
if (this.regimeData[v4].pass eq true) {
if (v4 != this.regimeCurr) {
_root[this.regimeData[v4].btn].gotoAndStop(1);
_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
}
frame 2 {
gotoAndPlay(1);
}
movieClip 29 {
}
movieClip 31 {
}
movieClip 33 {
}
movieClip 35 {
}
movieClip 37 {
}
movieClip 39 {
}
movieClip 41 {
}
movieClip 43 {
}
movieClip 45 {
}
movieClip 56 {
}
movieClip 60 {
}
movieClip 61 {
}
movieClip 62 popup_obj {
}
movieClip 65 {
}
movieClip 68 {
}
movieClip 69 {
}
movieClip 71 phrase_area {
}
movieClip 74 {
}
movieClip 75 {
frame 10 {
stop();
}
}
movieClip 76 {
}
movieClip 77 {
}
movieClip 78 {
}
movieClip 80 {
}
movieClip 83 {
}
movieClip 84 {
frame 10 {
stop();
}
}
movieClip 85 btn_next {
}
movieClip 88 {
}
movieClip 89 {
frame 10 {
stop();
}
}
movieClip 90 {
}
movieClip 91 {
}
movieClip 92 {
}
movieClip 93 {
}
movieClip 96 {
}
movieClip 97 {
frame 10 {
stop();
}
}
movieClip 98 {
}
movieClip 99 {
}
movieClip 100 {
}
movieClip 101 {
}
movieClip 104 {
}
movieClip 105 {
frame 10 {
stop();
}
}
movieClip 106 {
}
movieClip 107 {
}
movieClip 108 {
}
movieClip 109 {
}
movieClip 112 {
}
movieClip 113 {
frame 10 {
stop();
}
}
movieClip 114 {
}
movieClip 115 {
}
movieClip 116 {
}
movieClip 117 {
}
// unknown tag 88 length 70
movieClip 120 gialog {
}
frame 14 {
function proverka() {
function check_url(_start) {
trace('start = ' + _start);
var v4 = _global.mainUrl.substring(_start, _global.mainUrl.length);
trace('tmp_str = ' + v4);
var v3 = v4.split('.');
trace('Длинна маÑÑива = ' + v3.length + ' МаÑÑив = ' + v3);
if (v3.length > 1) {
var v2 = 0;
while (v2 < v3.length - 1) {
if (v3[v2] == 'lestaigames') {
if (v2 == 0 || v2 == 1) {
if (v2 == 1) {
if (v3[0].indexOf('/') != -1 || v3[0].indexOf('?') != -1) {
error_url();
}
}
if (v3[v2 + 1] == 'com' && v2 + 1 == v3.length - 1) {
} else {
if (v3[v2 + 1].indexOf('com/') != 0 && v3[v2 + 1].indexOf('com?') != 0) {
error_url();
}
}
} else {
error_url();
}
break;
}
++v2;
}
} else {
error_url();
}
}
function error_url() {
_global.mainUrl = def_url;
_global.urlWindow = def_window;
}
if (_global.urlWindow != '_self' && _global.urlWindow != 'blank') {
trace('var_window = |' + var_window + '|');
if (var_window.indexOf('old') == 0) {
_global.urlWindow = '_self';
trace('old - _self');
} else {
if (var_window.indexOf('new') == 0) {
_global.urlWindow = 'blank';
trace('new - blank');
} else {
_global.urlWindow = def_window;
trace('def - self');
}
}
}
trace('получен = ' + _global.mainUrl);
trace('получен = ' + _global.urlWindow);
if (_global.mainUrl.indexOf('http://www.') == 0) {
check_url(11);
} else {
if (_global.mainUrl.indexOf('http://') == 0) {
check_url(7);
} else {
if (_global.mainUrl.indexOf('www.') == 0) {
check_url(4);
} else {
check_url(0);
}
}
}
trace('будет = ' + _global.mainUrl);
trace('будет = ' + _global.urlWindow);
}
_global.LanguageGame = 'en';
_global.OnlineGame = 'online';
_global.mainUrl = '';
_global.urlWindow = '';
var def_url = 'http://www.lestaigames.com/direct-sales/';
var def_window = '_self';
trace('ПытаемÑÑ Ñчитать из flashvars переменную partner и window');
var var_url = _root.partner;
var var_window = _root.window;
if (var_url == undefined || var_url == null) {
trace('Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð°Ñ flashvars.partner == ' + var_url);
trace('Ð¿ÐµÑ€ÐµÐ¼ÐµÐ½Ð½Ð°Ñ flashvars.window == ' + var_window);
_global.my_xml_data = new XML();
_global.my_xml_data.ignoreWhite = true;
trace('ПытаемÑÑ Ð·Ð°Ð³Ñ€ÑƒÐ·Ð¸Ñ‚ÑŒ файл partner.xml');
_global.my_xml_data.load('partner.xml');
_global.my_xml_data.onLoad = function (flag) {
if (flag) {
trace('Загрузка завершилаÑÑŒ хорошо!');
if (_global.my_xml_data.status == 0) {
_global.mainUrl = _global.my_xml_data.firstChild.firstChild.nodeValue;
var_window = _global.my_xml_data.childNodes[1].firstChild.nodeValue;
trace('XML1 = ' + _global.mainUrl);
trace('XML2 = ' + var_window);
proverka();
} else {
trace('Ошибка обработки XML файла №' + _global.my_xml_data.status);
_global.mainUrl = def_url;
_global.urlWindow = def_window;
proverka();
}
} else {
trace('Загрузка завершилаÑÑŒ плохо...');
_global.mainUrl = def_url;
_global.urlWindow = def_window;
proverka();
}
};
} else {
_global.mainUrl = var_url;
proverka();
}
_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(_global.mainUrl, _global.urlWindow);
};
_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 = 100;
_root.sound1.setVolume(_root.music_vol);
_root.music_switch.gotoAndStop(1);
_root.music_switch.onRelease = function () {
if (_root.music_vol == 100) {
_root.music_switch.gotoAndStop(2);
_root.music_vol = 0;
} else {
_root.music_switch.gotoAndStop(1);
_root.music_vol = 100;
}
_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);
};
_root.myButton_lol._visible = true;
_root.btn_logo._visible = true;
_root.btn_hide.show1._visible = false;
_root.btn_hide.hide1._visible = true;
_root.btn_hide.onRelease = function () {
if (_root.btn_logo._visible == true) {
_root.btn_logo._visible = false;
_root.music_switch._visible = false;
_root.sound_switch._visible = false;
_root.btn_hide.show1._visible = true;
_root.btn_hide.hide1._visible = false;
_root.myButton_lol._visible = false;
} else {
_root.btn_logo._visible = true;
_root.music_switch._visible = true;
_root.sound_switch._visible = true;
_root.btn_hide.show1._visible = false;
_root.btn_hide.hide1._visible = true;
_root.myButton_lol._visible = true;
}
};
Stage.scaleMode = 'showAll';
_root.myButton_lol.onRelease = function () {
Stage.displayState = (Stage.displayState == 'normal') ? 'fullScreen' : 'normal';
};
}
movieClip 138 {
}
movieClip 143 {
}
movieClip 146 {
}
movieClip 154 {
}
movieClip 156 {
}
movieClip 157 {
}
frame 15 {
game_name.text = _global.gameName[_global.LanguageGame];
vv.onRelease = function () {
_root.gotoAndStop(83);
};
zx.onRelease = function () {
getURL(_global.mainUrl, _global.urlWindow);
};
stop();
}
movieClip 159 {
frame 83 {
stop();
}
}
movieClip 164 {
}
movieClip 165 {
}
// unknown tag 88 length 153
// unknown tag 88 length 171
frame 83 {
_global.myWaiting = new Waiting(121, 84);
stop;
}
movieClip 178 {
frame 121 {
stop();
}
}
movieClip 181 {
frame 30 {
stop();
}
}
frame 84 {
_global.dialogList = new Array({'phrase': _global.str.scene_1_31, 'answer': _global.str.scene_1_32, 'correct': false, 'frame': 86, 'snd': 'laugh_3'}, {'phrase': _global.str.scene_1_33, 'answer': _global.str.scene_1_34, 'correct': false, 'frame': 86, 'snd': 'laugh_2'}, {'phrase': _global.str.scene_1_35, 'answer': _global.str.scene_1_36, 'correct': true, 'frame': 86, 'snd': 'laugh_1'});
_global.myDialog = new Dialog(_global.dialogList, 35, 365, ['quest_cloud', 250, 75], ['ans_cloud', 250, 70], 87);
stop();
}
movieClip 183 {
}
movieClip 185 {
}
movieClip 186 {
}
movieClip 188 {
}
frame 87 {
_global.myWaiting = new Waiting(45, 88);
stop();
}
movieClip 190 {
frame 75 {
stop();
}
}
frame 88 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': 89, 'text': _global.str.scene_1_37});
stop();
}
frame 89 {
_global.myWaiting = new Waiting(20, 90);
stop();
}
movieClip 192 {
frame 72 {
stop();
}
}
frame 90 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': 91, 'text': _global.str.scene_1_38});
stop();
}
movieClip 194 {
}
frame 91 {
_global.lol = new HiddenButton(_root.xdfhmwegme, 92);
stop();
}
movieClip 196 {
}
movieClip 198 {
}
movieClip 199 {
}
frame 92 {
_global.myWaiting = new Waiting(58, 93);
stop();
}
movieClip 201 {
frame 58 {
stop();
}
}
frame 93 {
_root.qwe = new SoundManager();
stop();
_global.pl = new PressWord(_root.hello, 'lick', 95, 94);
_global.myPopUp = new Popup({'cloud': ['mess_cloud', 200, 40], 'frame': 92, 'text': _global.strings.hintKeys[_global.LanguageGame]});
_global.myPopUp.hideArrows();
_global.myPopUp.movePopup(50, 200);
var teteKeyListener = new Object();
teteKeyListener.onKeyDown = function () {
_global.myPopUp.instantKill();
Key.removeListener(teteKeyListener);
};
Key.addListener(teteKeyListener);
}
movieClip 203 {
}
// unknown tag 88 length 138
movieClip 206 {
}
// unknown tag 88 length 140
movieClip 213 {
}
movieClip 214 {
}
frame 94 {
_global.myWaiting = new Waiting(1, 93);
stop();
}
frame 95 {
_global.myWaiting = new Waiting(27, 96);
stop();
}
movieClip 216 {
frame 43 {
stop();
}
}
frame 96 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': 97, 'text': _global.str.scene_1_39});
stop();
}
frame 97 {
_global.myWaiting = new Waiting(40, 98);
stop();
}
movieClip 218 {
frame 83 {
stop();
}
}
frame 98 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': 99, 'text': _global.str.scene_1_40});
stop();
}
frame 99 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': 100, 'text': _global.str.scene_1_41});
stop();
}
movieClip 220 {
frame 49 {
stop();
}
}
frame 100 {
_global.myWaiting = new Waiting(8, 101);
stop();
}
movieClip 222 {
frame 30 {
stop();
}
}
frame 101 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': 102, 'text': _global.str.scene_1_42});
stop();
}
frame 102 {
_global.myWaiting = new Waiting(63, 103);
stop();
}
movieClip 224 {
frame 118 {
stop();
}
}
frame 103 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': 104, 'text': _global.str.scene_1_43});
stop();
}
frame 104 {
_global.myWaiting = new Waiting(43, 105);
stop();
}
movieClip 226 {
frame 100 {
stop();
}
}
frame 105 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': 106, 'text': _global.str.scene_1_44});
stop();
}
frame 106 {
_global.myWaiting = new Waiting(61, 107);
stop();
}
movieClip 228 {
frame 112 {
stop();
}
}
frame 107 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': 108, 'text': _global.str.scene_1_45});
stop();
}
frame 108 {
_global.myWaiting = new Waiting(114, 109);
stop();
}
movieClip 230 {
frame 166 {
stop();
}
}
frame 109 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': 110, 'text': _global.str.scene_1_46});
stop();
}
frame 110 {
_global.myWaiting = new Waiting(71, 111);
stop();
}
movieClip 232 {
frame 102 {
stop();
}
}
frame 111 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': 112, 'text': _global.str.scene_1_47});
stop();
}
frame 112 {
_root.qwe = new SoundManager();
stop();
_global.pl = new PressWord(_root.hello, 'boobs', 114, 113);
_global.myPopUp = new Popup({'cloud': ['mess_cloud', 200, 40], 'frame': 92, 'text': _global.strings.hintKeys[_global.LanguageGame]});
_global.myPopUp.hideArrows();
_global.myPopUp.movePopup(50, 200);
var teteKeyListener = new Object();
teteKeyListener.onKeyDown = function () {
_global.myPopUp.instantKill();
Key.removeListener(teteKeyListener);
};
Key.addListener(teteKeyListener);
}
movieClip 234 {
}
frame 113 {
_global.myWaiting = new Waiting(1, 112);
stop();
}
frame 114 {
_global.myShakehand = new Shakehand({'angle': 180, 'difficulty': 1, 'minFrameJump': 0, 'maxFrameJump': 3, 'frame': 116, 'popup': [100, 400, 200, 60, 'Shake your mouse left\'n\'right to make it faster']});
stop();
}
movieClip 236 {
}
frame 116 {
_global.regimeList = new Array({'btn': 'temp_1', 'time': 0, 'frame': 117, 'snd': ''}, {'btn': 'temp_2', 'time': 9, 'frame': 118, 'snd': 'temp_3'}, {'btn': 'temp_3', 'time': 9, 'frame': 119, 'snd': 'sos_2'}, {'btn': 'temp_4', 'time': 9, 'frame': 120, 'snd': 'sos_3'});
_global.myRegime = new Regime(_global.regimeList, 'btn_next', 121);
stop();
}
movieClip 238 {
frame 56 {
stop();
}
}
movieClip 240 {
}
movieClip 242 {
}
movieClip 244 {
frame 38 {
gotoAndPlay(12);
}
}
frame 121 {
_global.myWaiting = new Waiting(27, 122);
stop();
}
movieClip 246 {
frame 27 {
stop();
}
}
frame 122 {
_global.myShakehand = new Shakehand({'angle': 180, 'difficulty': 1, 'minFrameJump': 0, 'maxFrameJump': 3, 'frame': 124, 'popup': [100, 400, 200, 60, 'Shake your mouse left\'n\'right to make it faster']});
stop();
}
movieClip 248 {
}
frame 124 {
_global.myWaiting = new Waiting(441, 125);
stop();
}
movieClip 250 {
frame 480 {
stop();
}
}
frame 125 {
_global.myPopup = new Popup({'cloud': ['mess_cloud', 250, 70], 'frame': 126, 'text': _global.str.scene_1_48});
stop();
}
frame 126 {
_global.lol = new HiddenButton(_root.xm6456m4m, 127);
stop();
}
movieClip 252 {
}
movieClip 254 {
}
movieClip 255 {
}
frame 127 {
_global.myWaiting = new Waiting(57, 210);
stop();
}
movieClip 257 {
frame 57 {
stop();
}
}
frame 210 {
_root.asd.onRelease = function () {
getURL(_global.mainUrl, _global.urlWindow);
};
stop();
}
movieClip 259 {
}
movieClip 261 {
}
movieClip 263 {
}
movieClip 264 {
}
movieClip 267 {
}