Frame 2
function loadComplete() {
_root.load_mc.forceSmoothing = true;
var _local2 = new flash.display.BitmapData(_root.load_mc._width, _root.load_mc._height, false);
_local2.draw(_root.load_mc);
adult_logo.attachBitmap(_local2, adult_logo.getNextHighestDepth());
_root.load_mc.unloadMovie();
}
_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;
_root.isOnline = true;
_root.Lang = "en";
if (_root.isOnline) {
_root.partnerPicPath = "/images/internet-chick-to-fuck-thumb.jpg";
_root.partnerURL = "/redirect-click2fuck.html";
_root.logoURL = ("http://sexgamesbox.com/?fr=" + String(_root.Lang)) + "-Internet_Chick_to_Fuck-online";
} else {
_root.partnerPicPath = "thumb.jpg";
_root.partnerURL = "http://sexgamesbox.com/redirect-click2fuck.html";
_root.logoURL = ("http://sexgamesbox.com/?fr=" + String(_root.Lang)) + "-Internet_Chick_to_Fuck-offline";
}
_root.createEmptyMovieClip("load_mc", _root.getNextHighestDepth());
_root.load_mc._visible = false;
var loader_xml = new MovieClipLoader();
var listener_xml = {};
loader_xml.addListener(listener_xml);
listener_xml.onLoadInit = loadComplete;
loader_xml.loadClip(_root.partnerPicPath, _root.load_mc);
Frame 3
_root.btn_logo.onRelease = function () {
getURL (_root.logoURL, "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 9
_root.adult_logo.onRelease = function () {
getURL (_root.partnerURL, "blank");
};
_global.buttonList = new Array({area:[-10, 260], obj:"button_play", frame:13, url:""});
_global.myButtons = new Buttons(_global.buttonList);
stop();
Frame 13
_root.adult_logo.onRelease = function () {
getURL (_root.partnerURL, "blank");
};
_global.myWaiting = new Waiting(404, 16);
Frame 16
_global.myWaiting = new Waiting(30, 17);
Frame 17
_global.myWaiting = new Waiting(250, 19);
Frame 19
_global.myWaiting = new Waiting(30, 20);
Frame 20
_global.myWaiting = new Waiting(150, 21);
Frame 21
_global.myPopup = new Popup({cloud:["mess_cloud", 250, 70], frame:22, text:_global.str.scene_1_1});
stop();
Frame 22
fbweb234b.gotoAndPlay("qwe1");
_global.myWaiting = new Waiting(8, 23);
Frame 23
_global.myPopup = new Popup({cloud:["mess_cloud", 250, 70], frame:24, text:_global.str.scene_1_2});
stop();
Frame 24
fbweb4234b.gotoAndPlay("qwe1");
_global.myWaiting = new Waiting(8, 25);
Frame 25
_global.myPopup = new Popup({cloud:["mess_cloud", 250, 70], frame:26, text:_global.str.scene_1_3});
stop();
Frame 26
rbawb34b24.gotoAndPlay("qwe1");
_global.myWaiting = new Waiting(8, 27);
Frame 27
_global.myPopup = new Popup({cloud:["mess_cloud", 250, 70], frame:28, text:_global.str.scene_1_4});
stop();
Frame 28
_global.myWaiting = new Waiting(60, 29);
Frame 29
_global.myWaiting = new Waiting(30, 30);
Frame 30
_global.myWaiting = new Waiting(150, 31);
Frame 31
_global.dialogList = new Array({phrase:_global.str.scene_1_5, answer:_global.str.scene_1_6, correct:false, frame:33, snd:"laugh_3"}, {phrase:_global.str.scene_1_7, answer:_global.str.scene_1_8, correct:false, frame:33, snd:"laugh_2"}, {phrase:_global.str.scene_1_9, answer:_global.str.scene_1_10, correct:true, frame:33, snd:"laugh_1"});
_global.myDialog = new Dialog(_global.dialogList, 20, 365, ["quest_cloud", 250, 75], ["ans_cloud", 250, 70], 34);
stop();
Frame 34
_global.dialogList = new Array({phrase:_global.str.scene_1_11, answer:_global.str.scene_1_12, correct:false, frame:36, snd:"laugh_3"}, {phrase:_global.str.scene_1_13, answer:_global.str.scene_1_14, correct:true, frame:36, snd:"laugh_2"}, {phrase:_global.str.scene_1_15, answer:_global.str.scene_1_16, correct:false, frame:36, snd:"laugh_1"});
_global.myDialog = new Dialog(_global.dialogList, 20, 365, ["quest_cloud", 250, 75], ["ans_cloud", 250, 70], 37);
stop();
Frame 37
_global.myWaiting = new Waiting(30, 38);
Frame 38
_root.adult_logo.onRelease = function () {
getURL (_root.partnerURL, "blank");
};
_global.myWaiting = new Waiting(100, 39);
Frame 39
_global.dialogList = new Array({phrase:_global.str.scene_1_17, answer:_global.str.scene_1_18, correct:false, frame:41, snd:"laugh_3"}, {phrase:_global.str.scene_1_19, answer:_global.str.scene_1_20, correct:false, frame:41, snd:"laugh_2"}, {phrase:_global.str.scene_1_21, answer:_global.str.scene_1_22, correct:true, frame:41, snd:"laugh_1"});
_global.myDialog = new Dialog(_global.dialogList, 20, 365, ["quest_cloud", 250, 75], ["ans_cloud", 250, 70], 42);
stop();
Frame 42
_global.dialogList = new Array({phrase:_global.str.scene_1_23, answer:_global.str.scene_1_24, correct:false, frame:44, snd:"laugh_3"}, {phrase:_global.str.scene_1_25, answer:_global.str.scene_1_26, correct:false, frame:44, snd:"laugh_2"}, {phrase:_global.str.scene_1_27, answer:_global.str.scene_1_28, correct:true, frame:44, snd:"laugh_1"});
_global.myDialog = new Dialog(_global.dialogList, 20, 365, ["quest_cloud", 250, 75], ["ans_cloud", 250, 70], 45);
stop();
Frame 45
_global.myWaiting = new Waiting(30, 46);
Frame 46
_root.adult_logo.onRelease = function () {
getURL (_root.partnerURL, "blank");
};
_global.myWaiting = new Waiting(50, 47);
Frame 47
_global.myPopup = new Popup({cloud:["mess_cloud", 250, 70], frame:48, text:_global.str.scene_1_29});
stop();
Frame 48
_global.myPopup = new Popup({cloud:["mess_cloud", 250, 70], frame:49, text:_global.str.scene_1_30});
stop();
Frame 49
_global.myPopup = new Popup({cloud:["mess_cloud", 250, 70], frame:51, text:_global.str.scene_1_31});
stop();
Frame 51
_global.sequenceList = new Array({add_percents:12, type:"click-n-hold", masks:[{mask:"m_leg_0", speed:0.1, good:{frame:53, text:"So good ...", snd:"ahah"}, bad:{frame:53, text:"Stop it!", snd:"dontlike"}}]}, {add_percents:12, type:"click-n-hold", masks:[{mask:"m_leg_1", speed:0.1, good:{frame:54, text:"mmmm ... so good ...", snd:"ahah1"}, bad:{frame:54, text:"Stop it!", snd:"dontlike"}}]}, {add_percents:12, type:"click-n-hold", masks:[{mask:"m_leg_3", speed:0.1, good:{frame:55, text:"So good ...", snd:"ahah"}, bad:{frame:55, text:"Stop it!", snd:"dontlike"}}]}, {add_percents:12, type:"click-n-hold", masks:[{mask:"m_leg_2", speed:0.1, good:{frame:56, text:"So good ...", snd:"ahah1"}, bad:{frame:56, text:"Stop it!", snd:"dontlike"}}]}, {add_percents:12, type:"click-n-hold", masks:[{mask:"m_leg_4", speed:0.1, good:{frame:57, text:"So good ...", snd:"ahah"}, bad:{frame:57, text:"Stop it!", snd:"dontlike"}}]}, {add_percents:12, type:"click-n-hold", masks:[{mask:"m_leg_5", speed:0.1, good:{frame:58, text:"So good ...", snd:"ahah1"}, bad:{frame:58, text:"Stop it!", snd:"dontlike"}}]}, {add_percents:12, type:"click-n-hold", masks:[{mask:"m_leg_6", speed:0.1, good:{frame:59, text:"So good ...", snd:"ahah"}, bad:{frame:59, text:"Stop it!", snd:"dontlike"}}]}, {add_percents:16, type:"click-n-hold", masks:[{mask:"m_leg_7", speed:0.1, good:{frame:60, text:"So good ...", snd:"ahah1"}, bad:{frame:60, text:"Stop it!", snd:"dontlike"}}]});
_global.mySequence = new Sequence(_global.sequenceList, [380, 60, 200, 70, false, false], "btn_next", 63);
stop();
Frame 54
nxdrgn345n.gotoAndPlay("sex_2");
Frame 55
nxdrgn345n.gotoAndPlay("sex_3");
Frame 56
nxdrgn345n.gotoAndPlay("sex_4");
Frame 57
nxdrgn345n.gotoAndPlay("sex_5");
Frame 58
nxdrgn345n.gotoAndPlay("sex_6");
Frame 59
nxdrgn345n.gotoAndPlay("sex_7");
Frame 60
nxdrgn345n.gotoAndPlay("sex_8");
Frame 61
_global.myWaiting = new Waiting(30, 64);
Frame 62
_root.adult_logo.onRelease = function () {
getURL (_root.partnerURL, "blank");
};
_global.myWaiting = new Waiting(30, 65);
Frame 63
_global.myShakehand = new Shakehand({angle:90, difficulty:1, minFrameJump:1, maxFrameJump:5, frame:70, popup:[100, 400, 200, 60, "Shake your mouse up'n'down to make it faster"]});
stop();
Frame 68
_global.myWaiting = new Waiting(30, 71);
Frame 69
_root.adult_logo.onRelease = function () {
getURL (_root.partnerURL, "blank");
};
_global.myWaiting = new Waiting(30, 72);
Frame 70
_global.regimeList = new Array({btn:"temp_1", time:0, frame:71, snd:""}, {btn:"temp_2", time:9, frame:72, snd:"temp_1"}, {btn:"temp_3", time:9, frame:73, snd:"temp_2"}, {btn:"temp_4", time:9, frame:74, snd:"temp_3"});
_global.myRegime = new Regime(_global.regimeList, "btn_next", 75);
stop();
Frame 73
fbseb324b.gotoAndPlay("sex_2");
Frame 74
fbseb324b.gotoAndPlay("sex_3");
Frame 75
fbseb324b.gotoAndPlay("final");
_global.myWaiting = new Waiting(100, 76);
Frame 76
_global.myWaiting = new Waiting(30, 88);
Frame 88
_root.adult_logo.onRelease = function () {
getURL (_root.partnerURL, "blank");
};
_global.buttonList = new Array({area:[-20, 210], obj:"btn_again", frame:9, url:""}, {area:[-20, 261], obj:"btn_more", frame:0, url:"http://sexgamesbox.com/?fr=Sex_community"});
_global.myButtons = new Buttons(_global.buttonList);
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 1
function drawPercent(per) {
per = per * 100;
if (per > 100) {
per = 100;
}
tx = origx + ((per * 212) / 100);
preloader.movebar._x = 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 _local3 = _parent.getBytesLoaded() / _parent.getBytesTotal();
this.drawPercent(_local3);
}
if (per2 > 99) {
li++;
if (li == 10) {
gotoAndPlay (2);
}
}
};
_parent.stop();
Symbol 104 MovieClip Frame 26
_parent.play();
Symbol 448 MovieClip [__Packages.Texts] Frame 0
class Texts
{
var format, newObject, rootClip;
function Texts (myClip, myFont, xPos, yPos, myWidth, myAlig, myFrame, mySprite, myText) {
textObj = _root.attachMovie(myFont, myClip, mySprite);
textObj.gotoAndStop(myFrame);
textObj.txt = myText;
textObj._x = xPos;
textObj._y = yPos;
if (myWidth > 0) {
textObj.fld._width = myWidth;
}
if (myAlig ne "") {
format = new TextFormat();
format.align = myAlig;
textObj.fld.setTextFormat(format);
}
}
function pres() {
rootClip[newObject].font.gotoAndStop(3);
}
function over() {
rootClip[newObject].font.gotoAndStop(2);
}
function norm() {
rootClip[newObject].font.gotoAndStop(1);
}
function setMoney(myCurrency, mySeparator, myPosition, myMoney, myPrev) {
var _local2 = "";
var _local5 = 0;
var _local3 = String(myMoney).length - 1;
while (_local3 >= 0) {
_local5 = _local5 + 1;
if (_local5 > 3) {
_local5 = 1;
if (mySeparator eq "SPACE") {
_local2 = _local2 + " ";
} else {
_local2 = _local2 + mySeparator;
}
}
_local2 = _local2 + String(myMoney).charAt(_local3);
_local3--;
}
myMoney = "";
_local3 = 0;
while (_local3 < String(_local2).length) {
myMoney = myMoney + String(_local2).charAt((String(_local2).length - _local3) - 1);
_local3++;
}
switch (String(myPosition)) {
case "beginning" :
rootClip[newObject].font.txt = (myPrev + myCurrency) + myMoney;
break;
case "end" :
rootClip[newObject].font.txt = (myPrev + myMoney) + myCurrency;
break;
default :
rootClip[newObject].font.txt = (myPrev + myCurrency) + myMoney;
}
}
function textConfigure(myText) {
var _local3 = myText.split("/n");
var _local2 = "";
var _local1 = 0;
while (_local1 < _local3.length) {
_local2 = _local2 + _local3[_local1];
if (_local1 < (_local3.length - 1)) {
_local2 = _local2 + newline;
}
_local1++;
}
return(_local2);
}
function setText(myText) {
textObj.txt = textConfigure(myText);
}
function setAlign(myAlig) {
format.align = myAlig;
textObj.fld.setTextFormat(format);
}
function setPosition(myX, myY) {
textObj._x = myX;
textObj._y = myY;
}
function setRotation(myRot) {
rootClip[newObject]._rotation = myRot;
}
function setWidth(myWidth) {
textObj.fld._width = myWidth;
}
function setVisible(myVis) {
textObj._visible = myVis;
}
function setAlpha(myAlpha) {
rootClip[newObject]._alpha = myAlpha;
}
var textObj = new Object();
}
Symbol 449 MovieClip [__Packages.Strings] Frame 0
class Strings extends MovieClip
{
var strList;
function Strings () {
super();
strList = new Object();
strList.scene_1_1 = "Hi, beauty!";
strList.scene_1_2 = "Hello";
strList.scene_1_3 = "I think that it is boring to talk through the Internet!";
strList.scene_1_4 = "Let us meet today!";
strList.scene_1_5 = "Well, hello once again. You look nice! :-)";
strList.scene_1_6 = "Hi. Thanks. It is nice to meet you.:-)";
strList.scene_1_7 = "Hi, sorry for being late. How can I make amends?";
strList.scene_1_8 = "I am waiting for you half an hour!";
strList.scene_1_9 = "Oh... I see you prepared to out appointment... Shorts are so short!";
strList.scene_1_10 = "Are you a pervert?";
strList.scene_1_11 = "I was doubt if you would come or not...";
strList.scene_1_12 = " I am the person who always keep promises.";
strList.scene_1_13 = "In reality you look much better! :-)";
strList.scene_1_14 = "I feel embarrassed because of your compliments.";
strList.scene_1_15 = "Nice ass, I want to fuck it.";
strList.scene_1_16 = "Fuck off, freak!";
strList.scene_1_17 = "Where do you prefer to go to?";
strList.scene_1_18 = "I want pizza";
strList.scene_1_19 = "I invite you to my house. I have a bottle of an excellent wine.";
strList.scene_1_20 = "No, no, no... I don't drink alcohol.";
strList.scene_1_21 = "Nice weather outside! Let's go for a walk!:-)";
strList.scene_1_22 = "Okay, I like walking. :-)";
strList.scene_1_23 = "What profession do you have? :-)";
strList.scene_1_24 = "I am a student, I study management.";
strList.scene_1_25 = "Tell me something about yourself...";
strList.scene_1_26 = "Well, ask me something interesting for you and I will tell you.";
strList.scene_1_27 = "Frankly speaking, I didn't think that it was possible to meet an appropriate girl.";
strList.scene_1_28 = "I thought the same about guys.";
strList.scene_1_29 = "You are cool!";
strList.scene_1_30 = "I feel so horny now!";
strList.scene_1_31 = "I want you, now!";
}
}
Symbol 450 MovieClip [__Packages.Buttons] Frame 0
class Buttons extends MovieClip
{
var buttonList;
function Buttons (myList) {
super();
buttonList = new Array();
var _local5 = 0;
while (_local5 < myList.length) {
buttonList[_local5] = _root.attachMovie(myList[_local5].obj, "button_obj_" + _local5, 150 + _local5);
buttonList[_local5]._x = myList[_local5].area[0];
buttonList[_local5]._y = myList[_local5].area[1];
buttonList[_local5].frame = myList[_local5].frame;
buttonList[_local5].url = myList[_local5].url;
buttonList[_local5].gotoAndStop(1);
buttonList[_local5].onRollOver = function () {
this.gotoAndStop(2);
};
buttonList[_local5].onRollOut = function () {
this.gotoAndStop(1);
};
buttonList[_local5].onDragOut = function () {
this.gotoAndStop(1);
};
buttonList[_local5].onRelease = function () {
if (this.url ne "") {
this.getURL(this.url, "blank");
}
if (this.frame != 0) {
_root.gotoAndStop(this.frame);
_global.myButtons.kill();
}
};
_local5++;
}
}
function kill() {
var _local3 = 0;
while (_local3 < buttonList.length) {
delete buttonList[_local3].onRollOver;
delete buttonList[_local3].onRollOut;
delete buttonList[_local3].onDragOut;
delete buttonList[_local3].onRelease;
buttonList[_local3].removeMovieClip();
_local3++;
}
delete buttonList;
delete _global.myButtons;
}
}
Symbol 451 MovieClip [__Packages.Waiting] Frame 0
class Waiting extends MovieClip
{
var framesQty, gotoFrame, counter, mySound;
function Waiting (myFramesQty, myFrame, snd) {
super();
framesQty = myFramesQty;
gotoFrame = myFrame;
counter = 0;
mySound = snd;
if ((mySound ne "") and (mySound ne undefined)) {
playSound(mySound, false);
}
_root.onEnterFrame = function () {
_global.myWaiting.counter = _global.myWaiting.counter + 1;
if (_global.myWaiting.counter >= _global.myWaiting.framesQty) {
_global.myWaiting.kill();
_root.gotoAndStop(_global.myWaiting.gotoFrame);
}
};
}
function playSound(soundName, loop) {
_root.sound.attachSound(soundName);
_root.sound.start();
}
function kill() {
delete _root.onEnterFrame;
}
}
Symbol 452 MovieClip [__Packages.Popup] Frame 0
class Popup extends MovieClip
{
var popupObject;
function Popup (myList) {
super();
popupObject = new Object();
popupObject = _root.attachMovie("popup_obj", "popup_obj", 50);
popupObject.popup_1 = new Array(7);
popupObject.popup_1[2] = myList.cloud[1];
popupObject.popup_1[3] = myList.cloud[2];
popupObject.popup_1[6] = myList.cloud[0];
_root[popupObject.popup_1[6]]._visible = false;
if (_root[popupObject.popup_1[6]].arrow._y > 0) {
popupObject.popup_1[1] = _root[popupObject.popup_1[6]]._y + 30;
popupObject.popup_1[0] = (_root[popupObject.popup_1[6]]._x - popupObject.popup_1[2]) + 75;
popupObject.popup_1[4] = true;
popupObject.popup_1[5] = false;
} else if (_root[popupObject.popup_1[6]].arrow._y < 0) {
popupObject.popup_1[1] = (_root[popupObject.popup_1[6]]._y - popupObject.popup_1[3]) - 30;
popupObject.popup_1[0] = _root[popupObject.popup_1[6]]._x - 33;
popupObject.popup_1[4] = false;
popupObject.popup_1[5] = true;
} else if (_root[popupObject.popup_1[6]].arrow._y == 0) {
popupObject.popup_1[4] = false;
popupObject.popup_1[5] = false;
popupObject.popup_1[1] = _root[popupObject.popup_1[6]]._y;
popupObject.popup_1[0] = _root[popupObject.popup_1[6]]._x;
}
popupObject._x = popupObject.popup_1[0];
popupObject._y = popupObject.popup_1[1];
popupObject.frame = myList.frame;
popupObject.popup_1_2._width = popupObject.popup_1[2] - 40;
popupObject.popup_2_2._width = popupObject.popup_1[2] - 40;
popupObject.popup_3_2._width = popupObject.popup_1[2] - 40;
popupObject.popup_2_1._height = popupObject.popup_1[3] - 40;
popupObject.popup_2_2._height = popupObject.popup_1[3] - 40;
popupObject.popup_2_3._height = popupObject.popup_1[3] - 40;
popupObject.popup_1_3._x = popupObject.popup_1[2] - 20;
popupObject.popup_2_3._x = popupObject.popup_1[2] - 0;
popupObject.popup_3_3._x = popupObject.popup_1[2] - 20;
popupObject.popup_3_1._y = popupObject.popup_1[3] - 20;
popupObject.popup_3_2._y = popupObject.popup_1[3] - 0;
popupObject.popup_3_3._y = popupObject.popup_1[3] - 20;
_global.gameTexts.text_0.setText(myList.text);
_global.gameTexts.text_0.setAlign("center");
_global.gameTexts.text_0.setPosition(popupObject.popup_1[0] + 10, popupObject.popup_1[1] + 15);
_global.gameTexts.text_0.setWidth(popupObject.popup_1[2] - 20);
_global.gameTexts.text_0.setVisible(true);
popupObject.popup_arrow_up._x = popupObject.popup_1[2] - 90;
popupObject.popup_arrow_down._y = popupObject.popup_1[3] - 0;
popupObject.popup_button._x = popupObject.popup_1[2] - 50;
popupObject.popup_button._y = popupObject.popup_1[3] - 15;
popupObject.popup_arrow_up._visible = popupObject.popup_1[4];
popupObject.popup_arrow_down._visible = popupObject.popup_1[5];
popupObject.popup_button.gotoAndStop(1);
popupObject.popup_button.onRollOver = function () {
this.gotoAndStop(2);
};
popupObject.popup_button.onRollOut = function () {
this.gotoAndStop(1);
};
popupObject.popup_button.onDragOut = function () {
this.gotoAndStop(1);
};
popupObject.popup_button.onRelease = function () {
_root.gotoAndStop(this._parent.frame);
_global.myPopup.kill();
};
}
function kill() {
delete popupObject.popup_button.onRollOver;
delete popupObject.popup_button.onRollOut;
delete popupObject.popup_button.onDragOut;
delete popupObject.popup_button.onRelease;
_global.gameTexts.text_0.setText("");
popupObject.removeMovieClip();
delete popupObject;
delete _global.myPopup;
}
}
Symbol 453 MovieClip [__Packages.Dialog] Frame 0
class Dialog extends MovieClip
{
var dailogList, popupObject, sound;
function Dialog (myList, xPos, yPos, popup_1, popup_2, myFrame) {
super();
dailogList = new Array();
var _local5 = 0;
while (_local5 < myList.length) {
dailogList[_local5] = _root.attachMovie("phrase_area", "phrase_obj_" + _local5, 100 + _local5);
dailogList[_local5]._x = xPos;
dailogList[_local5]._y = yPos + (_local5 * 35);
dailogList[_local5].phrase = myList[_local5].phrase;
dailogList[_local5].answer = myList[_local5].answer;
dailogList[_local5].correct = myList[_local5].correct;
dailogList[_local5].frame = myList[_local5].frame;
dailogList[_local5].snd = myList[_local5].snd;
dailogList[_local5].visited = false;
dailogList[_local5].numb = _local5;
dailogList[_local5].gotoAndStop(1);
_global.gameTexts["dialog_" + _local5].setText(myList[_local5].phrase);
_global.gameTexts["dialog_" + _local5].setAlign("left");
_global.gameTexts["dialog_" + _local5].setPosition(xPos + 5, (yPos + (_local5 * 35)) + 7);
_global.gameTexts["dialog_" + _local5].setVisible(true);
dailogList[_local5].onRollOver = function () {
if (this.visited eq false) {
this.gotoAndStop(2);
}
};
dailogList[_local5].onRollOut = function () {
if (this.visited eq false) {
this.gotoAndStop(1);
}
};
dailogList[_local5].onDragOut = function () {
if (this.visited eq false) {
this.gotoAndStop(1);
}
};
dailogList[_local5].onRelease = function () {
if (this.visited eq false) {
_global.myDialog.makePopup(this.numb, 1);
}
};
_local5++;
}
popupObject = new Object();
popupObject = _root.attachMovie("popup_obj", "popup_obj", 50, {_visible:false});
popupObject.popup_1 = new Array(7);
popupObject.popup_1[2] = popup_1[1];
popupObject.popup_1[3] = popup_1[2];
popupObject.popup_1[6] = popup_1[0];
popupObject.popup_2 = new Array(7);
popupObject.popup_2[2] = popup_2[1];
popupObject.popup_2[3] = popup_2[2];
popupObject.popup_2[6] = popup_2[0];
popupObject.popup_button.gotoAndStop(1);
_root[popupObject.popup_1[6]]._visible = false;
if (_root[popupObject.popup_1[6]].arrow._y > 0) {
popupObject.popup_1[1] = _root[popupObject.popup_1[6]]._y + 30;
popupObject.popup_1[0] = (_root[popupObject.popup_1[6]]._x - popupObject.popup_1[2]) + 75;
popupObject.popup_1[4] = true;
popupObject.popup_1[5] = false;
} else if (_root[popupObject.popup_1[6]].arrow._y < 0) {
popupObject.popup_1[1] = (_root[popupObject.popup_1[6]]._y - popupObject.popup_1[3]) - 30;
popupObject.popup_1[0] = _root[popupObject.popup_1[6]]._x - 33;
popupObject.popup_1[4] = false;
popupObject.popup_1[5] = true;
} else if (_root[popupObject.popup_1[6]].arrow._y == 0) {
popupObject.popup_1[4] = false;
popupObject.popup_1[5] = false;
popupObject.popup_1[1] = _root[popupObject.popup_1[6]]._y;
popupObject.popup_1[0] = _root[popupObject.popup_1[6]]._x;
}
_root[popupObject.popup_2[6]]._visible = false;
if (_root[popupObject.popup_2[6]].arrow._y > 0) {
popupObject.popup_2[1] = _root[popupObject.popup_2[6]]._y + 30;
popupObject.popup_2[0] = (_root[popupObject.popup_2[6]]._x - popupObject.popup_2[2]) + 75;
popupObject.popup_2[4] = true;
popupObject.popup_2[5] = false;
} else if (_root[popupObject.popup_2[6]].arrow._y < 0) {
popupObject.popup_2[1] = (_root[popupObject.popup_2[6]]._y - popupObject.popup_2[3]) - 30;
popupObject.popup_2[0] = _root[popupObject.popup_2[6]]._x - 33;
popupObject.popup_2[4] = false;
popupObject.popup_2[5] = true;
} else if (_root[popupObject.popup_2[6]].arrow._y == 0) {
popupObject.popup_2[4] = false;
popupObject.popup_2[5] = false;
popupObject.popup_2[1] = _root[popupObject.popup_2[6]]._y;
popupObject.popup_2[0] = _root[popupObject.popup_2[6]]._x;
}
_root.startFrame = _root._currentframe + 1;
_root.finishFrame = myFrame;
sound = new Sound();
}
function makePopup(choiceNumb, popupNumb) {
hideDialog();
popupObject._visible = true;
popupObject._x = popupObject["popup_" + popupNumb][0];
popupObject._y = popupObject["popup_" + popupNumb][1];
popupObject.popup_1_2._width = popupObject["popup_" + popupNumb][2] - 40;
popupObject.popup_2_2._width = popupObject["popup_" + popupNumb][2] - 40;
popupObject.popup_3_2._width = popupObject["popup_" + popupNumb][2] - 40;
popupObject.popup_2_1._height = popupObject["popup_" + popupNumb][3] - 40;
popupObject.popup_2_2._height = popupObject["popup_" + popupNumb][3] - 40;
popupObject.popup_2_3._height = popupObject["popup_" + popupNumb][3] - 40;
popupObject.popup_1_3._x = popupObject["popup_" + popupNumb][2] - 20;
popupObject.popup_2_3._x = popupObject["popup_" + popupNumb][2] - 0;
popupObject.popup_3_3._x = popupObject["popup_" + popupNumb][2] - 20;
popupObject.popup_3_1._y = popupObject["popup_" + popupNumb][3] - 20;
popupObject.popup_3_2._y = popupObject["popup_" + popupNumb][3] - 0;
popupObject.popup_3_3._y = popupObject["popup_" + popupNumb][3] - 20;
if (popupNumb == 1) {
_global.gameTexts.text_0.setText(dailogList[choiceNumb].phrase);
} else {
_global.gameTexts.text_0.setText(dailogList[choiceNumb].answer);
playSound(_global.myDialog.dailogList[choiceNumb].snd, false);
}
_global.gameTexts.text_0.setAlign("center");
_global.gameTexts.text_0.setPosition(popupObject["popup_" + popupNumb][0] + 10, popupObject["popup_" + popupNumb][1] + 15);
_global.gameTexts.text_0.setWidth(popupObject["popup_" + popupNumb][2] - 20);
_global.gameTexts.text_0.setVisible(true);
popupObject.popup_arrow_up._x = popupObject["popup_" + popupNumb][2] - 90;
popupObject.popup_arrow_down._y = popupObject["popup_" + popupNumb][3] - 0;
popupObject.popup_button._x = popupObject["popup_" + popupNumb][2] - 50;
popupObject.popup_button._y = popupObject["popup_" + popupNumb][3] - 15;
popupObject.popup_arrow_up._visible = popupObject["popup_" + popupNumb][4];
popupObject.popup_arrow_down._visible = popupObject["popup_" + popupNumb][5];
popupObject.popup_button.gotoAndStop(1);
popupObject.popup_button.onRollOver = function () {
this.gotoAndStop(2);
};
popupObject.popup_button.onRollOut = function () {
this.gotoAndStop(1);
};
popupObject.popup_button.onDragOut = function () {
this.gotoAndStop(1);
};
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();
}
};
}
function showDialog() {
var _local3 = 0;
while (_local3 < dailogList.length) {
dailogList[_local3]._visible = true;
_global.gameTexts["dialog_" + _local3].setVisible(true);
_local3++;
}
}
function hideDialog() {
var _local3 = 0;
while (_local3 < dailogList.length) {
dailogList[_local3]._visible = false;
_global.gameTexts["dialog_" + _local3].setVisible(false);
_local3++;
}
}
function kullPopup(popupNumb) {
delete popupObject.popup_button.onRollOver;
delete popupObject.popup_button.onRollOut;
delete popupObject.popup_button.onDragOut;
delete popupObject.popup_button.onRelease;
popupObject._visible = false;
_global.gameTexts.text_0.setVisible(false);
}
function kill() {
popupObject.removeMovieClip();
delete popupObject;
var _local3 = 0;
while (_local3 < dailogList.length) {
delete dailogList[_local3].onRollOver;
delete dailogList[_local3].onRollOut;
delete dailogList[_local3].onDragOut;
delete dailogList[_local3].onRelease;
dailogList[_local3].removeMovieClip();
_local3++;
}
delete dailogList;
delete _global.myDialog;
}
function playSound(soundName, loop) {
_root.sound.attachSound(soundName);
if (loop) {
_root.sound.start(0, 100000);
} else {
_root.sound.start();
}
}
}
Symbol 454 MovieClip [__Packages.Sequence] Frame 0
class Sequence extends MovieClip
{
var classVar, sequenceData, sequenceArea, sequenceList, sequenceNumb, persentsNumb, soundName, popupObject;
function Sequence (myList, myArea, myBtn, myFrame) {
super();
classVar = new Object({start_frame:_root._currentframe + 1, mouse_press:false, cur_seq:-1, cur_id:-1, proc:0, interv:0, next_btn:myBtn});
sequenceData = myList;
sequenceArea = myArea;
sequenceList = new Array();
sequenceNumb = 0;
persentsNumb = 0;
var _local5 = 0;
while (_local5 < sequenceData.length) {
var _local6 = 0;
while (_local6 < sequenceData[_local5].masks.length) {
sequenceList[_local5] = _root[sequenceData[_local5].masks[_local6].mask];
sequenceList[_local5].seq = _local5;
sequenceList[_local5].id = _local6;
sequenceList[_local5].onPress = function () {
_global.mySequence.onPressAction(this);
};
sequenceList[_local5].onDragOut = function () {
_global.mySequence.onReleseAction(this);
};
sequenceList[_local5].onRelease = function () {
_global.mySequence.onReleseAction(this);
};
_local6++;
}
_local5++;
}
_root.counter.gotoAndStop(1);
_root[classVar.next_btn].gotoAndStop(1);
_root[classVar.next_btn].onRollOver = function () {
this.gotoAndStop(2);
};
_root[classVar.next_btn].onRollOut = function () {
this.gotoAndStop(1);
};
_root[classVar.next_btn].onDragOut = function () {
this.gotoAndStop(1);
};
_root[classVar.next_btn].onRelease = function () {
_global.mySequence.kill();
_root.gotoAndStop(myFrame);
};
_root[classVar.next_btn]._visible = false;
}
function onFrameAction() {
if (classVar.mouse_press eq true) {
switch (sequenceData[classVar.cur_seq].type) {
case "click-n-hold" :
classVar.proc = classVar.proc + sequenceData[classVar.cur_seq].masks[classVar.cur_id].speed;
persentsNumb = persentsNumb + sequenceData[classVar.cur_seq].masks[classVar.cur_id].speed;
if (classVar.proc >= sequenceData[classVar.cur_seq].add_percents) {
persentsNumb = Math.round(persentsNumb - (classVar.proc - sequenceData[classVar.cur_seq].add_percents));
sequenceNumb = sequenceNumb + 1;
classVar.proc = 0;
if (sequenceNumb == sequenceData.length) {
_root[classVar.next_btn]._visible = true;
}
clearInterval(classVar.interv);
}
_root.counter.gotoAndStop(int(persentsNumb * 5));
break;
case "move" :
}
}
}
function onPressAction(myObject) {
switch (sequenceData[myObject.seq].type) {
case "click" :
break;
case "click-n-hold" :
if (myObject.seq == sequenceNumb) {
clearInterval(classVar.interv);
classVar.mouse_press = true;
classVar.cur_seq = myObject.seq;
classVar.cur_id = myObject.id;
classVar.interv = setInterval(this, "onFrameAction", 30);
_root.gotoAndStop(sequenceData[myObject.seq].masks[myObject.id].good.frame);
makePopup(sequenceData[myObject.seq].masks[myObject.id].good.text);
soundName = sequenceData[myObject.seq].masks[myObject.id].good.snd;
playSound(soundName, false);
}
if (myObject.seq < sequenceNumb) {
_root.gotoAndStop(sequenceData[myObject.seq].masks[myObject.id].good.frame);
soundName = sequenceData[myObject.seq].masks[myObject.id].good.snd;
playSound(soundName, false);
}
if (myObject.seq > sequenceNumb) {
_root.gotoAndStop(sequenceData[myObject.seq].masks[myObject.id].bad.frame);
makePopup(sequenceData[myObject.seq].masks[myObject.id].bad.text);
soundName = sequenceData[myObject.seq].masks[myObject.id].bad.snd;
playSound(soundName, false);
}
break;
case "move" :
}
}
function onReleseAction(myObject) {
switch (sequenceData[myObject.seq].type) {
case "click" :
if (myObject.seq == sequenceNumb) {
persentsNumb = persentsNumb + sequenceData[myObject.seq].add_percents;
sequenceNumb = sequenceNumb + 1;
_root.counter.gotoAndStop(persentsNumb);
}
if (myObject.seq > sequenceNumb) {
}
if (myObject.seq < sequenceNumb) {
}
break;
case "click-n-hold" :
clearInterval(classVar.interv);
_root.gotoAndStop(classVar.start_frame);
_global.gameTexts.text_0.setText("");
_root.sound.stop(soundName);
popupObject.removeMovieClip();
break;
case "move" :
}
}
function makePopup(myText) {
popupObject = new Object();
popupObject = _root.attachMovie("popup_obj", "popup_obj", 50);
popupObject._x = sequenceArea[0];
popupObject._y = sequenceArea[1];
popupObject.popup_1_2._width = sequenceArea[2] - 40;
popupObject.popup_2_2._width = sequenceArea[2] - 40;
popupObject.popup_3_2._width = sequenceArea[2] - 40;
popupObject.popup_2_1._height = sequenceArea[3] - 40;
popupObject.popup_2_2._height = sequenceArea[3] - 40;
popupObject.popup_2_3._height = sequenceArea[3] - 40;
popupObject.popup_1_3._x = sequenceArea[2] - 20;
popupObject.popup_2_3._x = sequenceArea[2] - 0;
popupObject.popup_3_3._x = sequenceArea[2] - 20;
popupObject.popup_3_1._y = sequenceArea[3] - 20;
popupObject.popup_3_2._y = sequenceArea[3] - 0;
popupObject.popup_3_3._y = sequenceArea[3] - 20;
_global.gameTexts.text_0.setText(myText);
_global.gameTexts.text_0.setAlign("center");
_global.gameTexts.text_0.setPosition(sequenceArea[0] + 10, sequenceArea[1] + 15);
_global.gameTexts.text_0.setWidth(sequenceArea[2] - 20);
_global.gameTexts.text_0.setVisible(true);
popupObject.popup_arrow_up._x = sequenceArea[2] - 90;
popupObject.popup_arrow_down._y = sequenceArea[3] - 0;
popupObject.popup_arrow_up._visible = sequenceArea[4];
popupObject.popup_arrow_down._visible = sequenceArea[5];
popupObject.popup_button._visible = false;
}
function kill() {
delete _root[classVar.next_btn].onRollOver;
delete _root[classVar.next_btn].onRollOut;
delete _root[classVar.next_btn].onDragOut;
delete _root[classVar.next_btn].onRelease;
var _local5 = 0;
while (_local5 < sequenceData.length) {
var _local4 = 0;
while (_local4 < sequenceData[_local5].masks.length) {
delete _root[sequenceData[_local5].masks[_local4].mask].onPress;
delete _root[sequenceData[_local5].masks[_local4].mask].onDragOut;
delete _root[sequenceData[_local5].masks[_local4].mask].onRelease;
_local4++;
}
_local5++;
}
delete sequenceList;
delete popupObject;
delete _global.mySequence;
}
function playSound(soundName, loop) {
_root.sound.attachSound(soundName);
if (loop) {
_root.sound.start(0, 100000);
} else {
_root.sound.start();
}
}
}
Symbol 455 MovieClip [__Packages.Shakehand] Frame 0
class Shakehand extends MovieClip
{
var datasList, popupList, interval;
function Shakehand (myList) {
super();
datasList = myList;
datasList.dist = 0;
datasList.x = _root._xmouse;
datasList.y = _root._ymouse;
datasList.last_x = _root._xmouse;
datasList.last_y = _root._ymouse;
datasList.summ_x = 0;
datasList.summ_y = 0;
datasList.counter = 0;
datasList.status = 0;
datasList.fr_jump = 0;
datasList.c_frame = _root.scene._currentframe;
datasList.m_frame = _root.scene._framesloaded;
_root.scene.gotoAndStop(1);
_root.counter.gotoAndStop(1);
popupList = new Object();
popupList = _root.attachMovie("popup_obj", "popup_obj", 50);
popupList.popup_button.gotoAndStop(1);
popupList.popup_button._visible = false;
popupList.popup_arrow_up._visible = false;
popupList.popup_arrow_down._visible = false;
popupList._x = datasList.popup[0];
popupList._y = datasList.popup[1];
popupList.popup_1_2._width = datasList.popup[2] - 40;
popupList.popup_2_2._width = datasList.popup[2] - 40;
popupList.popup_3_2._width = datasList.popup[2] - 40;
popupList.popup_2_1._height = datasList.popup[3] - 40;
popupList.popup_2_2._height = datasList.popup[3] - 40;
popupList.popup_2_3._height = datasList.popup[3] - 40;
popupList.popup_1_3._x = datasList.popup[2] - 20;
popupList.popup_2_3._x = datasList.popup[2] - 0;
popupList.popup_3_3._x = datasList.popup[2] - 20;
popupList.popup_3_1._y = datasList.popup[3] - 20;
popupList.popup_3_2._y = datasList.popup[3] - 0;
popupList.popup_3_3._y = datasList.popup[3] - 20;
_global.gameTexts.text_0.setText(datasList.popup[4]);
_global.gameTexts.text_0.setAlign("center");
_global.gameTexts.text_0.setPosition(datasList.popup[0] + 10, datasList.popup[1] + 15);
_global.gameTexts.text_0.setWidth(datasList.popup[2] - 20);
_global.gameTexts.text_0.setVisible(true);
trace(datasList.popup[0]);
interval = setInterval(actionWaiting, 30, this);
}
function actionWaiting(obj) {
var _local9 = _root._xmouse;
var _local10 = _root._ymouse;
var _local11 = Math.sqrt(Math.pow(_local9 - obj.datasList.x, 2) + Math.pow(_local10 - obj.datasList.y, 2));
datasList.status = datasList.status - 1;
if (obj.datasList.dist <= _local11) {
obj.datasList.dist = _local11;
} else {
var _local13 = Math.abs(obj.datasList.x - obj.datasList.last_x) * Math.cos((obj.datasList.angle * Math.PI) / 180);
var _local12 = Math.abs(obj.datasList.y - obj.datasList.last_y) * Math.sin((obj.datasList.angle * Math.PI) / 180);
var _local14 = Math.sqrt(Math.pow(_local13, 2) + Math.pow(_local12, 2));
var _local8 = _local14 / (obj.datasList.counter * obj.datasList.difficulty);
if (_local8 > (7 * obj.datasList.counter)) {
_local8 = 7 * obj.datasList.counter;
}
obj.datasList.status = obj.datasList.status + Math.ceil(_local8);
obj.datasList.counter = 0;
obj.datasList.dist = 0;
obj.datasList.x = _local9;
obj.datasList.y = _local10;
}
var _local6 = (100 * obj.datasList.status) / 1000;
if (_local6 > 100) {
_local6 = 100;
}
obj.datasList.fr_jump = Math.ceil((obj.datasList.maxFrameJump * _local6) / 100) + obj.datasList.minFrameJump;
var _local5 = obj.datasList.c_frame + obj.datasList.fr_jump;
if (_local5 > obj.datasList.m_frame) {
_local5 = _local5 - obj.datasList.m_frame;
}
obj.datasList.c_frame = _local5;
_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 = _local9;
obj.datasList.last_y = _local10;
obj.datasList.counter++;
if (obj.datasList.status > 0) {
var _local7 = (obj.datasList.status * 0.005) + 1;
if (_local7 > 5) {
_local7 = 5;
}
obj.datasList.status = obj.datasList.status - _local7;
}
if (obj.datasList.status < 0) {
obj.datasList.status = 0;
}
if (_local6 >= 100) {
_root.gotoAndStop(obj.datasList.frame);
_global.myShakehand.kill();
}
}
function kill() {
clearInterval(interval);
_global.gameTexts.text_0.setText("");
popupList.removeMovieClip();
delete popupList;
delete _global.myShakehand;
}
}
Symbol 456 MovieClip [__Packages.Regime] Frame 0
class Regime extends MovieClip
{
var regimeData, nextBtn, nextframe, regimeCurr, _passFR, _totalFR, sound, regimeIntr, soundName, _sound;
function Regime (myList, myBtn, myFrame) {
super();
regimeData = myList;
nextBtn = myBtn;
nextframe = myFrame;
regimeCurr = 0;
_passFR = 0;
_totalFR = 0;
regimeData[0].cntr = 0;
regimeData[0].pass = true;
regimeData[0].time = (regimeData[0].time * 30) + 1;
_totalFR = _totalFR + regimeData[0].time;
var _local5 = 1;
while (_local5 < regimeData.length) {
regimeData[_local5].cntr = 0;
regimeData[_local5].pass = false;
regimeData[_local5].time = (regimeData[_local5].time * 30) + 1;
_totalFR = _totalFR + regimeData[_local5].time;
_local5++;
}
_root.counter.gotoAndStop(1);
startAnimation(0);
_root[nextBtn].gotoAndStop(1);
_root[nextBtn].onRollOver = function () {
this.gotoAndStop(2);
};
_root[nextBtn].onRollOut = function () {
this.gotoAndStop(1);
};
_root[nextBtn].onDragOut = function () {
this.gotoAndStop(1);
};
_root[nextBtn].onRelease = function () {
_global.myRegime.kill();
_root.gotoAndStop(myFrame);
};
_root[nextBtn]._visible = false;
sound = new Sound();
}
function init() {
var _local4 = 0;
while (_local4 < regimeData.length) {
_root[regimeData[_local4].btn].gotoAndStop(1);
if (regimeData[_local4].pass eq true) {
if (_local4 != regimeCurr) {
_root[regimeData[_local4].btn].id = _local4;
_root[regimeData[_local4].btn].onRollOver = function () {
this.gotoAndStop(2);
};
_root[regimeData[_local4].btn].onRollOut = function () {
this.gotoAndStop(1);
};
_root[regimeData[_local4].btn].onDragOut = function () {
this.gotoAndStop(1);
};
_root[regimeData[_local4].btn].onRelease = function () {
_global.myRegime.startAnimation(this.id);
};
} else {
_root[regimeData[_local4].btn].gotoAndStop(3);
}
_root[regimeData[_local4].btn]._alpha = 100;
} else {
_root[regimeData[_local4].btn]._alpha = 30;
}
_local4++;
}
}
function drop() {
var _local3 = 0;
while (_local3 < regimeData.length) {
if (regimeData[_local3].pass eq true) {
delete _root[regimeData[_local3].btn].onRollOver;
delete _root[regimeData[_local3].btn].onRollOut;
delete _root[regimeData[_local3].btn].onDragOut;
delete _root[regimeData[_local3].btn].onRelease;
}
_local3++;
}
}
function startAnimation(myID) {
drop();
regimeCurr = myID;
clearInterval(regimeIntr);
_root.gotoAndStop(regimeData[myID].frame);
regimeIntr = setInterval(this, "runAnimation", 33);
init();
sound.stop(soundName);
if (myID > 0) {
soundName = regimeData[myID].snd;
playSound(soundName, true);
} else {
_root.sound.stop(_sound);
}
}
function runAnimation() {
if (regimeData[regimeCurr].cntr < regimeData[regimeCurr].time) {
regimeData[regimeCurr].cntr = regimeData[regimeCurr].cntr + 1;
_passFR = _passFR + 1;
_root.counter.gotoAndStop(int((500 * _passFR) / _totalFR));
if (regimeData[regimeCurr].cntr == regimeData[regimeCurr].time) {
drop();
regimeData[regimeCurr + 1].pass = true;
init();
if (regimeCurr == (regimeData.length - 1)) {
_root[nextBtn]._visible = true;
}
}
}
}
function kill() {
_root.sound.stop(_sound);
regimeIntr = setInterval(this, "runAnimation", 33);
drop();
delete regimeData;
}
function playSound(soundName, loop) {
if (_sound ne undefined) {
_root.sound.stop(_sound);
}
_sound = soundName;
_root.sound.attachSound(soundName);
if (loop) {
_root.sound.start(0, 100000);
} else {
_root.sound.start();
}
}
}
Symbol 157 MovieClip Frame 404
stop();
Symbol 160 MovieClip Frame 30
stop();
Symbol 163 MovieClip Frame 30
stop();
Symbol 193 MovieClip Frame 256
stop();
Symbol 206 MovieClip Frame 59
stop();
Symbol 210 MovieClip Frame 95
stop();
Symbol 210 MovieClip Frame 100
stop();
Symbol 239 MovieClip Frame 196
gotoAndPlay ("norm");
Symbol 239 MovieClip Frame 296
gotoAndPlay ("vesel");
Symbol 239 MovieClip Frame 396
gotoAndPlay ("zol");
Symbol 239 MovieClip Frame 496
gotoAndPlay ("stesn");
Symbol 239 MovieClip Frame 596
gotoAndPlay ("vesel");
Symbol 266 MovieClip Frame 176
gotoAndPlay ("m_norm_b_norm");
Symbol 266 MovieClip Frame 276
gotoAndPlay ("m_norm_b_vesel");
Symbol 266 MovieClip Frame 376
gotoAndPlay ("m_norm_b_zol");
Symbol 266 MovieClip Frame 476
gotoAndPlay ("m_vesel_b_norm");
Symbol 266 MovieClip Frame 576
gotoAndPlay ("m_vesel_b_vesel");
Symbol 266 MovieClip Frame 676
gotoAndPlay ("m_vesel_b_zol");
Symbol 266 MovieClip Frame 776
gotoAndPlay ("m_zol_b_norm");
Symbol 266 MovieClip Frame 876
gotoAndPlay ("m_zol_b_vesel");
Symbol 266 MovieClip Frame 976
gotoAndPlay ("stsrt");
Symbol 272 MovieClip Frame 99
stop();
Symbol 275 MovieClip Frame 51
stop();
Symbol 279 MovieClip Frame 51
stop();
Symbol 333 MovieClip Frame 100
gotoAndPlay ("sex_0");
Symbol 333 MovieClip Frame 200
gotoAndPlay ("sex_1");
Symbol 333 MovieClip Frame 300
gotoAndPlay ("sex_2");
Symbol 333 MovieClip Frame 400
gotoAndPlay ("sex_3");
Symbol 333 MovieClip Frame 500
gotoAndPlay ("sex_4");
Symbol 333 MovieClip Frame 600
gotoAndPlay ("sex_5");
Symbol 333 MovieClip Frame 700
gotoAndPlay ("sex_6");
Symbol 333 MovieClip Frame 800
gotoAndPlay ("sex_7");
Symbol 333 MovieClip Frame 900
gotoAndPlay ("sex_8");
Symbol 333 MovieClip Frame 1000
gotoAndPlay ("sex_9");
Symbol 333 MovieClip Frame 1100
gotoAndPlay ("sex_10");
Symbol 346 MovieClip Frame 100
gotoAndPlay ("sex_1");
Symbol 346 MovieClip Frame 200
gotoAndPlay ("sex_2");
Symbol 346 MovieClip Frame 300
gotoAndPlay ("sex_3");
Symbol 346 MovieClip Frame 400
gotoAndPlay ("sex_4");
Symbol 346 MovieClip Frame 500
gotoAndPlay ("sex_5");
Symbol 346 MovieClip Frame 600
gotoAndPlay ("sex_6");
Symbol 346 MovieClip Frame 700
gotoAndPlay ("sex_7");
Symbol 346 MovieClip Frame 800
gotoAndPlay ("sex_8");
Symbol 378 MovieClip Frame 60
Symbol 378 MovieClip Frame 100
Symbol 409 MovieClip Frame 50
stop();
Symbol 445 MovieClip Frame 80
gotoAndPlay ("sex_1");
Symbol 445 MovieClip Frame 140
gotoAndPlay ("sex_2");
Symbol 445 MovieClip Frame 170
gotoAndPlay ("sex_3");
Symbol 445 MovieClip Frame 320
stop();