Combined Code
// unknown tag 88 length 70
movieClip 13 gialog {
}
movieClip 15 {
}
movieClip 17 {
}
movieClip 19 {
}
movieClip 21 {
}
movieClip 23 {
}
movieClip 25 {
}
movieClip 27 {
}
movieClip 29 {
}
movieClip 31 {
}
movieClip 40 {
}
movieClip 44 {
}
movieClip 45 {
}
movieClip 46 popup_obj {
}
movieClip 52 {
}
movieClip 53 {
}
movieClip 56 {
}
movieClip 57 {
}
movieClip 58 phrase_area {
}
// unknown tag 88 length 143
movieClip 63 button_play {
}
movieClip 67 btn_yes {
}
movieClip 69 btn_no {
}
movieClip 73 btn_more {
}
movieClip 75 btn_enter_room_3 {
}
movieClip 76 btn_enter_room_2 {
}
movieClip 78 btn_enter_room_1 {
}
movieClip 80 btn_again {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 85 {
}
movieClip 88 counter {
}
movieClip 92 btn_next {
}
movieClip 95 btn_logo {
}
movieClip 99 {
}
movieClip 103 {
frame 1 {
stop();
}
}
movieClip 106 {
}
movieClip 109 {
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 114 {
}
// unknown tag 88 length 138
movieClip 119 {
}
movieClip 120 {
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.play();
}
}
movieClip 363 __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 364 __Packages.Strings {
#initclip
if (!_global.Strings) {
var v1 = function () {
super();
this.strList = new Object();
this.strList.scene_1_1 = 'Привет! Ты здеÑÑŒ одна? Можно ÑоÑтавить тебе компанию?';
this.strList.scene_1_2 = 'Да! ГулÑÑŽ тут каждый вечер!';
this.strList.scene_1_3 = 'Вау! ÐšÐ°ÐºÐ°Ñ ÐºÑ€Ð°Ñавица! Может быть ко мне поедем?';
this.strList.scene_1_4 = 'Ðет! Ты не угадал! СегоднÑшний вечер Ñ Ð¿Ñ€Ð¾Ð²ÐµÐ´Ñƒ одна.';
this.strList.scene_1_5 = 'Девушка, вы Ð¼ÐµÐ½Ñ Ð´Ð¾Ð¼Ð¾Ð¹ не проводите? Рто Ñ Ð±Ð¾ÑŽÑÑŒ по темноте один ходить...';
this.strList.scene_1_6 = 'Вот Ñто новоÑÑ‚ÑŒ! Что за мужики пошли?!';
this.strList.scene_1_7 = 'Вот мы и Ñнова вÑтретилиÑÑŒ! Как дела?';
this.strList.scene_1_8 = 'Да! Привет! ПриÑоединÑйÑÑ! Я заказала кофе!';
this.strList.scene_1_9 = 'Девушка, Я вижу Ð’Ñ‹ обеÑпеченнаÑ. Может быть закажите мне кофе?';
this.strList.scene_1_10 = 'Ðу и наглоÑÑ‚ÑŒ! Ты проÑто жмот или у Ñ‚ÐµÐ±Ñ ÐºÐ¾ÑˆÐµÐ»ÐµÐº украли?';
this.strList.scene_1_11 = 'Привет, краÑавица! Ты чертовÑки привлекательна и Ñ Ñ‚Ð¾Ð¶Ðµ Ñимпатичный. Может ко мне поедем?';
this.strList.scene_1_12 = 'Ха-ха-ха! Ð Ñ‚Ñ‹ давно на ÑÐµÐ±Ñ Ð² зеркало Ñмотрел?';
};
_global.Strings = v1;
_global.Strings extends MovieClip;
var v2 = v1.prototype;
ASSetPropFlags(_global.Strings.prototype, null, 1);
}
#endinitclip
}
movieClip 365 __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 366 __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 367 __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 368 __Packages.Sequence {
#initclip
if (!_global.Sequence) {
var v1 = function (myList, myArea, myBtn, myFrame) {
super();
this.classVar = new Object({'start_frame': _root._currentframe + 1, 'mouse_press': false, 'cur_seq': -1, 'cur_id': -1, 'proc': 0, 'interv': 0, 'next_btn': myBtn});
this.sequenceData = myList;
this.sequenceArea = myArea;
this.sequenceList = new Array();
this.sequenceNumb = 0;
this.persentsNumb = 0;
var v5 = 0;
while (v5 < this.sequenceData.length) {
var v6 = 0;
while (v6 < this.sequenceData[v5].masks.length) {
this.sequenceList[v5] = _root[this.sequenceData[v5].masks[v6].mask];
this.sequenceList[v5].seq = v5;
this.sequenceList[v5].id = v6;
this.sequenceList[v5].onPress = function () {
_global.mySequence.onPressAction(this);
};
this.sequenceList[v5].onDragOut = function () {
_global.mySequence.onReleseAction(this);
};
this.sequenceList[v5].onRelease = function () {
_global.mySequence.onReleseAction(this);
};
++v6;
}
++v5;
}
_root.counter.gotoAndStop(1);
_root[this.classVar.next_btn].gotoAndStop(1);
_root[this.classVar.next_btn].onRollOver = function () {
this.gotoAndStop(2);
};
_root[this.classVar.next_btn].onRollOut = function () {
this.gotoAndStop(1);
};
_root[this.classVar.next_btn].onDragOut = function () {
this.gotoAndStop(1);
};
_root[this.classVar.next_btn].onRelease = function () {
_global.mySequence.kill();
_root.gotoAndStop(myFrame);
};
_root[this.classVar.next_btn]._visible = false;
};
_global.Sequence = v1;
_global.Sequence extends MovieClip;
var v2 = v1.prototype;
v2.onFrameAction = function () {
if (this.classVar.mouse_press eq true) {
switch (this.sequenceData[this.classVar.cur_seq].type) {
case 'click-n-hold':
this.classVar.proc += this.sequenceData[this.classVar.cur_seq].masks[this.classVar.cur_id].speed;
this.persentsNumb += this.sequenceData[this.classVar.cur_seq].masks[this.classVar.cur_id].speed;
if (this.classVar.proc >= this.sequenceData[this.classVar.cur_seq].add_percents) {
this.persentsNumb = Math.round(this.persentsNumb - (this.classVar.proc - this.sequenceData[this.classVar.cur_seq].add_percents));
this.sequenceNumb += 1;
this.classVar.proc = 0;
if (this.sequenceNumb == this.sequenceData.length) {
_root[this.classVar.next_btn]._visible = true;
}
clearInterval(this.classVar.interv);
}
_root.counter.gotoAndStop(int(this.persentsNumb * 5));
break;
case 'move':
}
}
};
v2.onPressAction = function (myObject) {
switch (this.sequenceData[myObject.seq].type) {
break;
case 'click':
case 'click-n-hold':
if (myObject.seq == this.sequenceNumb) {
clearInterval(this.classVar.interv);
this.classVar.mouse_press = true;
this.classVar.cur_seq = myObject.seq;
this.classVar.cur_id = myObject.id;
this.classVar.interv = setInterval(this, 'onFrameAction', 30);
_root.gotoAndStop(this.sequenceData[myObject.seq].masks[myObject.id].good.frame);
this.makePopup(this.sequenceData[myObject.seq].masks[myObject.id].good.text);
this.soundName = this.sequenceData[myObject.seq].masks[myObject.id].good.snd;
this.playSound(this.soundName, false);
}
if (myObject.seq < this.sequenceNumb) {
_root.gotoAndStop(this.sequenceData[myObject.seq].masks[myObject.id].good.frame);
this.soundName = this.sequenceData[myObject.seq].masks[myObject.id].good.snd;
this.playSound(this.soundName, false);
}
if (myObject.seq > this.sequenceNumb) {
_root.gotoAndStop(this.sequenceData[myObject.seq].masks[myObject.id].bad.frame);
this.makePopup(this.sequenceData[myObject.seq].masks[myObject.id].bad.text);
this.soundName = this.sequenceData[myObject.seq].masks[myObject.id].bad.snd;
this.playSound(this.soundName, false);
}
break;
case 'move':
}
};
v2.onReleseAction = function (myObject) {
switch (this.sequenceData[myObject.seq].type) {
case 'click':
if (myObject.seq == this.sequenceNumb) {
this.persentsNumb += this.sequenceData[myObject.seq].add_percents;
this.sequenceNumb += 1;
_root.counter.gotoAndStop(this.persentsNumb);
}
if (myObject.seq > this.sequenceNumb) {
}
if (myObject.seq < this.sequenceNumb) {
}
break;
case 'click-n-hold':
clearInterval(this.classVar.interv);
_root.gotoAndStop(this.classVar.start_frame);
_global.gameTexts.text_0.setText('');
_root.sound.stop(this.soundName);
this.popupObject.removeMovieClip();
break;
case 'move':
}
};
v2.makePopup = function (myText) {
this.popupObject = new Object();
this.popupObject = _root.attachMovie('popup_obj', 'popup_obj', 50);
this.popupObject._x = this.sequenceArea[0];
this.popupObject._y = this.sequenceArea[1];
this.popupObject.popup_1_2._width = this.sequenceArea[2] - 40;
this.popupObject.popup_2_2._width = this.sequenceArea[2] - 40;
this.popupObject.popup_3_2._width = this.sequenceArea[2] - 40;
this.popupObject.popup_2_1._height = this.sequenceArea[3] - 40;
this.popupObject.popup_2_2._height = this.sequenceArea[3] - 40;
this.popupObject.popup_2_3._height = this.sequenceArea[3] - 40;
this.popupObject.popup_1_3._x = this.sequenceArea[2] - 20;
this.popupObject.popup_2_3._x = this.sequenceArea[2] - 0;
this.popupObject.popup_3_3._x = this.sequenceArea[2] - 20;
this.popupObject.popup_3_1._y = this.sequenceArea[3] - 20;
this.popupObject.popup_3_2._y = this.sequenceArea[3] - 0;
this.popupObject.popup_3_3._y = this.sequenceArea[3] - 20;
_global.gameTexts.text_0.setText(myText);
_global.gameTexts.text_0.setAlign('center');
_global.gameTexts.text_0.setPosition(this.sequenceArea[0] + 10, this.sequenceArea[1] + 15);
_global.gameTexts.text_0.setWidth(this.sequenceArea[2] - 20);
_global.gameTexts.text_0.setVisible(true);
this.popupObject.popup_arrow_up._x = this.sequenceArea[2] - 90;
this.popupObject.popup_arrow_down._y = this.sequenceArea[3] - 0;
this.popupObject.popup_arrow_up._visible = this.sequenceArea[4];
this.popupObject.popup_arrow_down._visible = this.sequenceArea[5];
this.popupObject.popup_button._visible = false;
};
v2.kill = function () {
delete _root[this.classVar.next_btn].onRollOver;
delete _root[this.classVar.next_btn].onRollOut;
delete _root[this.classVar.next_btn].onDragOut;
delete _root[this.classVar.next_btn].onRelease;
var v5 = 0;
while (v5 < this.sequenceData.length) {
var v4 = 0;
while (v4 < this.sequenceData[v5].masks.length) {
delete _root[this.sequenceData[v5].masks[v4].mask].onPress;
delete _root[this.sequenceData[v5].masks[v4].mask].onDragOut;
delete _root[this.sequenceData[v5].masks[v4].mask].onRelease;
++v4;
}
++v5;
}
delete this.sequenceList;
delete this.popupObject;
delete _global.mySequence;
};
v2.playSound = function (soundName, loop) {
_root.sound.attachSound(soundName);
if (loop) {
_root.sound.start(0, 100000);
} else {
_root.sound.start();
}
};
ASSetPropFlags(_global.Sequence.prototype, null, 1);
}
#endinitclip
}
movieClip 369 __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 370 __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
}
frame 2 {
_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.strList;
_global.haveOfficeSex = false;
_global.haveRoom_1Sex = false;
_global.haveRoom_2Sex = false;
}
movieClip 123 {
}
movieClip 126 {
}
frame 3 {
_root.btn_logo.onRelease = function () {
getURL('http://sexgamesbox.com/?fr=RU-Fated_Sexy_Meeting-online', '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);
};
}
frame 5 {
}
frame 9 {
_global.buttonList = new Array({'area': [335, 300], 'obj': 'button_play', 'frame': 13, 'url': ''});
_global.myButtons = new Buttons(_global.buttonList);
stop();
}
frame 13 {
_global.myWaiting = new Waiting(30, 14);
stop;
}
movieClip 134 {
}
movieClip 139 {
}
movieClip 144 {
}
movieClip 147 {
}
movieClip 150 {
}
movieClip 151 {
frame 100 {
}
frame 200 {
}
}
movieClip 154 {
frame 30 {
stop();
}
}
frame 14 {
_global.dialogList = new Array({'phrase': _global.str.scene_1_1, 'answer': _global.str.scene_1_2, 'correct': false, 'frame': 16, 'snd': 'laugh_3'}, {'phrase': _global.str.scene_1_3, 'answer': _global.str.scene_1_4, 'correct': false, 'frame': 16, 'snd': 'laugh_2'}, {'phrase': _global.str.scene_1_5, 'answer': _global.str.scene_1_6, 'correct': true, 'frame': 16, 'snd': 'laugh_1'});
_global.myDialog = new Dialog(_global.dialogList, 20, 365, ['quest_cloud', 250, 75], ['ans_cloud', 250, 70], 17);
stop();
}
movieClip 156 {
}
movieClip 157 {
}
movieClip 159 {
}
frame 17 {
_global.myWaiting = new Waiting(30, 18);
stop;
}
movieClip 162 {
frame 30 {
stop();
}
}
frame 18 {
_global.myWaiting = new Waiting(30, 19);
stop;
}
movieClip 167 {
}
movieClip 170 {
}
movieClip 173 {
}
movieClip 176 {
}
movieClip 183 {
}
movieClip 186 {
frame 100 {
}
frame 200 {
}
}
frame 19 {
_global.dialogList = new Array({'phrase': _global.str.scene_1_7, 'answer': _global.str.scene_1_8, 'correct': false, 'frame': 21, 'snd': 'laugh_3'}, {'phrase': _global.str.scene_1_9, 'answer': _global.str.scene_1_10, 'correct': false, 'frame': 21, 'snd': 'laugh_2'}, {'phrase': _global.str.scene_1_11, 'answer': _global.str.scene_1_12, 'correct': true, 'frame': 21, 'snd': 'laugh_1'});
_global.myDialog = new Dialog(_global.dialogList, 20, 365, ['quest_cloud', 250, 75], ['ans_cloud', 250, 70], 22);
stop();
}
frame 22 {
_global.myWaiting = new Waiting(30, 23);
stop;
}
frame 23 {
_global.myWaiting = new Waiting(30, 24);
stop;
}
movieClip 191 {
}
movieClip 194 {
}
movieClip 197 {
}
movieClip 202 {
}
movieClip 205 {
}
movieClip 208 {
}
movieClip 211 {
}
movieClip 214 {
}
movieClip 215 {
frame 100 {
}
frame 200 {
gotoAndPlay('sex_1');
}
}
frame 24 {
_global.sequenceList = new Array({'add_percents': 20, 'type': 'click-n-hold', 'masks': [{'mask': 'm_leg_1', 'speed': 0.1, 'good': {'frame': 26, 'text': 'So good ...', 'snd': 'like'}, 'bad': {'frame': 26, 'text': 'Stop it!', 'snd': 'dontlike'}}]}, {'add_percents': 20, 'type': 'click-n-hold', 'masks': [{'mask': 'm_leg_2', 'speed': 0.1, 'good': {'frame': 27, 'text': 'mmmm ... so good ...', 'snd': 'like'}, 'bad': {'frame': 27, 'text': 'Stop it!', 'snd': 'dontlike'}}]}, {'add_percents': 20, 'type': 'click-n-hold', 'masks': [{'mask': 'm_leg_3', 'speed': 0.1, 'good': {'frame': 28, 'text': 'So good ...', 'snd': 'like'}, 'bad': {'frame': 28, 'text': 'Stop it!', 'snd': 'dontlike'}}]}, {'add_percents': 20, 'type': 'click-n-hold', 'masks': [{'mask': 'm_leg_4', 'speed': 0.1, 'good': {'frame': 29, 'text': 'So good ...', 'snd': 'like'}, 'bad': {'frame': 29, 'text': 'Stop it!', 'snd': 'dontlike'}}]}, {'add_percents': 20, 'type': 'click-n-hold', 'masks': [{'mask': 'm_leg_5', 'speed': 0.1, 'good': {'frame': 30, 'text': 'So good ...', 'snd': 'like'}, 'bad': {'frame': 30, 'text': 'Stop it!', 'snd': 'dontlike'}}]});
_global.mySequence = new Sequence(_global.sequenceList, [320, 50, 200, 60, false, false], 'btn_next', 31);
stop();
}
movieClip 217 {
}
movieClip 220 {
}
movieClip 223 {
}
movieClip 226 {
}
movieClip 229 {
}
movieClip 232 {
}
movieClip 235 {
}
movieClip 238 {
}
movieClip 239 {
}
movieClip 240 {
}
movieClip 243 {
}
movieClip 246 {
}
movieClip 249 {
}
movieClip 252 {
}
movieClip 255 {
}
movieClip 258 {
}
movieClip 259 {
}
movieClip 260 {
frame 100 {
}
frame 200 {
gotoAndPlay('sex_1');
}
frame 300 {
}
frame 400 {
gotoAndPlay('sex_2');
}
frame 500 {
}
frame 600 {
gotoAndPlay('sex_3');
}
frame 700 {
}
frame 800 {
gotoAndPlay('sex_4');
}
frame 900 {
}
frame 1000 {
gotoAndPlay('sex_5');
}
}
frame 27 {
fbeawb34b.gotoAndPlay('sex_2');
}
frame 28 {
fbeawb34b.gotoAndPlay('sex_3');
}
frame 29 {
fbeawb34b.gotoAndPlay('sex_4');
}
frame 30 {
fbeawb34b.gotoAndPlay('sex_5');
}
frame 31 {
_global.myWaiting = new Waiting(30, 32);
stop;
}
frame 32 {
_global.myWaiting = new Waiting(30, 33);
stop;
}
movieClip 265 {
}
movieClip 268 {
}
movieClip 271 {
}
movieClip 274 {
}
movieClip 277 {
}
movieClip 280 {
}
movieClip 283 {
}
movieClip 287 {
}
movieClip 292 {
}
movieClip 295 {
frame 100 {
}
frame 200 {
gotoAndPlay('sex_19');
}
}
frame 33 {
_global.myShakehand = new Shakehand({'angle': 90, 'difficulty': 1, 'minFrameJump': 1, 'maxFrameJump': 10, 'frame': 35, 'popup': [100, 400, 200, 60, 'Shake your mouse up\'n\'down to make it faster']});
stop();
}
frame 35 {
_global.myWaiting = new Waiting(30, 36);
stop;
}
frame 36 {
_global.myWaiting = new Waiting(30, 37);
stop;
}
movieClip 300 {
}
movieClip 303 {
}
movieClip 306 {
}
movieClip 309 {
}
movieClip 312 {
}
movieClip 315 {
}
movieClip 318 {
}
movieClip 322 {
}
movieClip 323 {
}
frame 37 {
_global.regimeList = new Array({'btn': 'temp_1', 'time': 0, 'frame': 38, 'snd': ''}, {'btn': 'temp_2', 'time': 9, 'frame': 39, 'snd': 'temp_1'}, {'btn': 'temp_3', 'time': 9, 'frame': 40, 'snd': 'temp_2'}, {'btn': 'temp_4', 'time': 9, 'frame': 41, 'snd': 'temp_3'});
_global.myRegime = new Regime(_global.regimeList, 'btn_next', 42);
stop();
}
movieClip 325 {
}
movieClip 328 {
}
movieClip 330 {
}
movieClip 332 {
}
movieClip 334 {
}
movieClip 339 {
}
movieClip 361 {
frame 80 {
gotoAndPlay('sex_1');
}
frame 140 {
gotoAndPlay('sex_2');
}
frame 180 {
gotoAndPlay('sex_3');
}
frame 280 {
gotoAndPlay('sex_4');
}
}
frame 40 {
rgxnd454.gotoAndPlay('sex_2');
}
frame 41 {
rgxnd454.gotoAndPlay('sex_3');
}
frame 42 {
rgxnd454.gotoAndPlay('sex_4');
_global.myWaiting = new Waiting(100, 43);
stop;
}
frame 43 {
_global.myWaiting = new Waiting(30, 50);
stop;
}
frame 50 {
_global.buttonList = new Array({'area': [-20, 210], 'obj': 'btn_again', 'frame': 13, 'url': ''}, {'area': [-20, 261], 'obj': 'btn_more', 'frame': 0, 'url': 'http://sexgamesbox.com/?fr=RU-Fated_Sexy_Meeting-online'});
_global.myButtons = new Buttons(_global.buttonList);
stop();
}