Frame 1
stop();
musicMenu = new Sound();
musicMenu.attachSound("menu");
musicBegin = new Sound();
musicBegin.attachSound("begin");
Instance of Symbol 47 MovieClip "preload" in Frame 1
onClipEvent (load) {
fullsize = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
nowsize = _root.getBytesLoaded();
_root.precent = Math.floor((nowsize / fullsize) * 21);
_root.preload.gotoAndStop(_root.precent);
if (nowsize == fullsize) {
_root.gotoAndPlay(2);
}
}
Frame 2
stop();
Frame 3
stop();
Frame 4
_root.musicMenu.stop();
_root.musicBegin.start(0, 1);
Frame 5
stop();
Frame 6
Frame 7
function VisibleItemInRoom(itemN) {
if (_root.roomItemsVis[itemN] == 0) {
_root["roomItem" + itemN]._visible = false;
} else {
_root["roomItem" + itemN]._visible = true;
}
}
function Podskazka(n) {
_root.menuText.goText.txt = _root.messages[n];
_root.menuText.gotoAndPlay(2);
}
Mouse.hide();
startDrag ("_root.kursorItem0", true);
musicLoc1 = new Sound();
musicLoc2 = new Sound();
musicLoc1.attachSound("loc1");
musicLoc2.attachSound("loc2");
musicLoc1.start(0, 99999999999999);
musicEvent1 = new Sound();
musicEvent1.attachSound("shoot");
musicEvent2 = new Sound();
musicEvent2.attachSound("darts");
musicEvent3 = new Sound();
musicEvent3.attachSound("dver");
musicEvent4 = new Sound();
musicEvent4.attachSound("keys");
musicEvent5 = new Sound();
musicEvent5.attachSound("dver1");
musicEvent6 = new Sound();
musicEvent6.attachSound("dver2");
musicEvent7 = new Sound();
musicEvent7.attachSound("boom");
musicEvent8 = new Sound();
musicEvent8.attachSound("kran");
musicEvent9 = new Sound();
musicEvent9.attachSound("pula");
musicEvent10 = new Sound();
musicEvent10.attachSound("disk");
musicEvent11 = new Sound();
musicEvent11.attachSound("open");
musicEvent12 = new Sound();
musicEvent12.attachSound("coin");
musicEvent13 = new Sound();
musicEvent13.attachSound("kosti");
musicEvent14 = new Sound();
musicEvent14.attachSound("mel");
musicEvent15 = new Sound();
musicEvent15.attachSound("ring");
musicEvent16 = new Sound();
musicEvent16.attachSound("kassa");
musicEvent17 = new Sound();
musicEvent17.attachSound("kassa");
musicEvent18 = new Sound();
musicEvent18.attachSound("kod");
musicEvent19 = new Sound();
musicEvent19.attachSound("darts");
roomItemsVis = new Array(0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0);
roomItemsFind = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
menuItems = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
nameItems = new Array("", "\u0432\u0435\u0440\u0435\u0432\u043A\u0430 \u043F\u0443\u0448\u0438\u0441\u0442\u0430\u044F", "\u0441\u0430\u043D\u0434\u0430\u043B\u0438", "\u043A\u0443\u0441\u043E\u043A \u043C\u044B\u043B\u0430", "\u043C\u0435\u043B", "\u0437\u0430\u043F\u0438\u0441\u043A\u0430", "\u0447\u0430\u0441\u0442\u044C \u043E\u0442\u0432\u0435\u0440\u0442\u043A\u0438", "\u043C\u0430\u0433\u043D\u0438\u0442", "\u043F\u0443\u043B\u044F", "\u043F\u0438\u0441\u0442\u043E\u043B\u0435\u0442", "\u0434\u0440\u043E\u0442\u0438\u043A", "\u043C\u043E\u043D\u0435\u0442\u0430", "DVD", "\u043A\u043E\u0441\u0442\u044C", "\u0432\u043E\u043B\u0448\u0435\u0431\u043D\u044B\u0439 \u043F\u043E\u0440\u043E\u0448\u043E\u043A", "\u0436\u0435\u043B\u0435\u0437\u043D\u044B\u0439 \u0448\u0430\u0440\u0438\u043A", "\u0441\u0442\u0435\u043A\u043B\u044F\u043D\u043D\u044B\u0439 \u0448\u0430\u0440\u0438\u043A", "\u043A\u043E\u043B\u044C\u0446\u043E", "\u043A\u043B\u044E\u0447", "\u0440\u0443\u0447\u043A\u0430 \u043E\u0442\u0432\u0435\u0440\u0442\u043A\u0438", "\u0437\u0430\u043F\u0438\u0441\u043A\u0430", "\u0432\u0435\u0440\u0435\u0432\u043A\u0430 \u0441 \u043C\u0430\u0433\u043D\u0438\u0442\u043E\u043C", "\u043E\u0442\u0432\u0435\u0440\u0442\u043A\u0430", "\u0437\u0430\u0440\u044F\u0436\u0435\u043D\u043D\u044B\u0439 \u043F\u0438\u0441\u0442\u043E\u043B\u0435\u0442", "\u043D\u0430\u043C\u044B\u043B\u0435\u043D\u043D\u0430\u044F \u0432\u0435\u0440\u0435\u0432\u043A\u0430");
messages = new Array("", "\u041F\u043E\u0434\u043A\u043E\u0432\u0430? \u0427\u0443\u0442\u044C \u043D\u0430 \u0433\u043E\u043B\u043E\u0432\u0443 \u043D\u0435 \u0443\u043F\u0430\u043B\u0430...", "\u0427\u0442\u043E \u0437\u0430 \u0441\u0442\u0440\u0430\u043D\u043D\u0430\u044F \u0432\u0435\u0440\u043C\u0438\u0448\u0435\u043B\u0438\u043D\u0430?", "\u0412 \u043D\u0438\u0445 \u0431\u044B \u0447\u0435\u0447\u0435\u0442\u043A\u0443 \u0442\u0430\u043D\u0446\u0435\u0432\u0430\u0442\u044C.", "\u041C\u044B\u043B\u043E \u0434\u0443\u0448\u0438\u0441\u0442\u043E\u0435... \u043F\u0440\u0438\u0433\u043E\u0434\u0438\u0442\u0441\u044F...", "\u0427\u0442\u043E \u0437\u0430 \u0447\u0443\u0434\u043E \u0441\u0442\u0435\u0440\u0436\u0435\u043D\u0435\u043A!", "\u041D\u0430 \u0431\u0443\u043C\u0430\u0436\u043A\u0435 \u0447\u0442\u043E-\u0442\u043E \u043D\u0430\u043F\u0438\u0441\u0430\u043D\u043E.", "\u041E\u043D\u0438 \u0431\u044B \u0435\u0449\u0435 \u0442\u0443\u0434\u0430 \u0441\u0432\u0435\u0440\u043B\u043E \u043F\u043E\u043B\u043E\u0436\u0438\u043B\u0438.", "\u0412\u0435\u0441\u044B \u043F\u0440\u0438\u0448\u043B\u0438 \u0432 \u0440\u0430\u0432\u043D\u043E\u0432\u0435\u0441\u0438\u0435 \u0438 \u0438\u0437 \u043D\u0438\u0445 \u0432\u044B\u043A\u0430\u0442\u0438\u043B\u0430\u0441\u044C \u043F\u0443\u043B\u044F.", "\u041E \u0432\u043E\u0434\u043D\u044B\u0439 \u043F\u0438\u0441\u0442\u043E\u043B\u0435\u0442\u0438\u043A!", "\u0427\u0442\u043E \u044D\u0442\u043E \u0431\u044B\u043B\u043E \u043F\u043E\u0434 \u043A\u043E\u0432\u0440\u043E\u043C?", "\u0411\u0435\u0434\u043D\u0430\u044F \u0441\u0432\u0438\u043D\u044C\u044F-\u043A\u043E\u043F\u0438\u043B\u043A\u0430.", "\u0414\u0438\u0441\u043A, \u043D\u0430\u0432\u0435\u0440\u043D\u043E, \u0441 \u0410\u043D\u0438\u043C\u0435.", "\u041F\u0442\u0438\u0447\u043A\u0443 \u0436\u0430\u043B\u043A\u043E!", "\u041D\u0430\u0434\u043F\u0438\u0441\u044C \u043D\u0430 \u0431\u0430\u043D\u043A\u0435 '\u0421\u043E\u043B\u0435\u043D\u044B\u0435 \u041E\u0433\u0443\u0440\u0446\u044B'.", "\u0418\u0437 \u0442\u0430\u043A\u043E\u0433\u043E \u044F\u0439\u0446\u0430 \u044F\u0438\u0447\u043D\u0438\u0446\u0443 \u043D\u0435 \u043F\u0440\u0438\u0433\u043E\u0442\u043E\u0432\u0438\u0442\u044C.", "\u0421\u0442\u0435\u043A\u043B\u044F\u043D\u043D\u044B\u0439 \u0433\u043B\u0430\u0437...", "\u041F\u0440\u043E\u0434\u0430\u0442\u044C \u0431\u044B \u043F\u043E\u0434\u043E\u0440\u043E\u0436\u0435 \u0438 \u043D\u0430 \u043D\u043E\u0432\u044B\u0439 \u043C\u0435\u0447-\u043A\u043B\u0430\u0434\u0435\u043D\u0435\u0446!", "\u0428\u0430\u0440\u0438\u043A\u201D\u0430 \u0442\u043E\u0448\u043D\u0438\u0442.", "\u041E\u043E\u043E \u043C\u0435\u0447 \u0438\u0437 \u0417\u0432\u0435\u0437\u0434\u043D\u044B\u0445 \u0412\u043E\u0439\u043D.", "\u0411\u0443\u043C\u0430\u0436\u043A\u0430-\u0432\u044B\u0442\u0438\u0440\u0430\u0448\u043A\u0430.", "\u0414\u043E\u0442\u044F\u043D\u0443\u043B\u0441\u044F! \u041E \u0437\u0434\u0435\u0441\u044C \u0431\u044B\u043B \u043D\u0435 \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043B\u044E\u0447.", "\u041A\u043B\u044E\u0447... \u043D\u0435 \u043C\u043E\u0433\u0443 \u0434\u043E\u0442\u044F\u043D\u0443\u0442\u044C\u0441\u044F...", "\u0410 \u0433\u0434\u0435 \u0432\u043E\u0434\u0430?", "\u041D\u0435 \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442... \u0414\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0434\u0440\u0443\u0433\u043E\u0439 \u0441\u043F\u043E\u0441\u043E\u0431 \u0432\u044B\u0431\u0440\u0430\u0442\u044C\u0441\u044F.", "\u0415\u0441\u0442\u044C! \u0420\u0435\u0448\u0435\u0442\u043A\u0430 \u043E\u0442\u043A\u0440\u044B\u0442\u0430... \u043C\u043E\u0436\u043D\u043E \u0434\u0432\u0438\u0433\u0430\u0442\u044C\u0441\u044F \u0434\u0430\u043B\u044C\u0448\u0435.", "\u041A\u0430\u043A \u043F\u043E \u0437\u0430\u043A\u0430\u0437\u0443 \u043C\u0443\u0437\u044B\u043A\u0430 \u0441\u043C\u0435\u043D\u0438\u043B\u0430\u0441\u044C.", "\u0414\u0432\u0435\u0440\u044C \u0437\u0430\u043A\u0440\u044B\u0442\u0430.", "\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0438\u043C \u0447\u0442\u043E \u044D\u0442\u043E \u0437\u0430 \u0434\u0438\u0441\u043A...", "\u0417\u0434\u0435\u0441\u044C \u0435\u043C\u0443 \u0438 \u043C\u0435\u0441\u0442\u043E... \u041D\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0435\u0449\u0435 \u0447\u0435\u0433\u043E-\u0442\u043E.", "\u041F\u0443\u0441\u0442\u044C \u043B\u0435\u0436\u0438\u0442 \u0442\u0443\u0442. \u0415\u0449\u0435 \u043D\u0430\u0434\u043E \u0447\u0435\u0433\u043E-\u043D\u0438\u0431\u0443\u0434\u044C \u043F\u043E\u043B\u043E\u0436\u0438\u0442\u044C.", "\u041A\u043E\u0435 \u043A\u0430\u043A \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u043B\u0441\u044F. \u041D\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0435\u0449\u0435 \u0447\u0435\u0433\u043E-\u0442\u043E.", "\u0412\u0435\u0441\u044B... \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0438\u0445 \u0443\u0440\u0430\u0432\u043D\u043E\u0432\u0435\u0441\u0438\u0442\u044C?", "\u0429\u0435\u043B\u043A\u043D\u0443\u043B \u0437\u0430\u043C\u043E\u043A \u043D\u0430 \u0434\u0432\u0435\u0440\u0438.", "\u0414\u0430 \u043D\u0430 \u0443\u043B\u0438\u0446\u0435 \u0442\u0430\u043A \u043B\u044E\u0434\u043D\u043E, \u0447\u0442\u043E \u043D\u0435 \u043F\u0440\u043E\u0442\u043E\u043B\u043A\u043D\u0443\u0442\u044C\u0441\u044F.", "\u041D\u0435 \u0434\u043E\u0441\u0442\u0430\u0442\u044C, \u0432\u044B\u0441\u043E\u043A\u043E \u0432\u0438\u0441\u0438\u0442.", "\u0417\u0430\u0447\u0435\u043C \u043F\u0440\u044F\u0442\u0430\u0442\u044C \u0434\u0435\u043D\u044C\u0433\u0438 \u0432 \u0448\u0430\u0440\u0438\u043A?..", "\u0422\u0435\u043F\u0435\u0440\u044C \u043C\u043E\u0436\u043D\u043E \u0438 \u043F\u043E \u043C\u0430\u0433\u0430\u0437\u0438\u043D\u0430\u043C.", "\u0412\u0440\u043E\u0434\u0435 \u043C\u0430\u0433\u0430\u0437\u0438\u043D...", "\u041D\u0438\u0447\u0435\u0433\u043E \u0441\u0435\u0431\u0435 \u043E\u0431\u043C\u0435\u043D!", "\u0425\u043E\u0440\u043E\u0448\u0438\u0439 \u043F\u0435\u0441\u0438\u043A... \u0445\u043E\u0447\u0435\u0448\u044C \u043F\u0430\u043B\u044C\u0447\u0438\u043A \u0434\u0430\u043C \u043F\u043E\u0441\u043E\u0441\u0430\u0442\u044C?", "\u0425\u043E\u0440\u043E\u0448\u0438\u0439 \u0430\u043F\u043F\u0435\u0442\u0438\u0442...", "\u0411\u0440\u0440\u0440... \u043C\u043E\u0440\u043E\u0437 \u043F\u043E \u043A\u043E\u0436\u0435.", "\u0410\u0433\u0430, \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0442\u0443\u043B\u044C\u0435\u0432. \u0421\u0435\u0439\u0447\u0430\u0441 \u043A\u0430\u043A \u0441\u044F\u0434\u0443.", "\u0418\u0437 \u0449\u0435\u043B\u0438 \u0432 \u0440\u0430\u0434\u0438\u043E \u0432\u044B\u043F\u0430\u043B\u0430 \u0437\u0430\u043F\u0438\u0441\u043A\u0430.", "\u041C\u0430\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0443\u0437\u043E\u0440... \u043E\u0431\u0432\u0435\u0434\u0443 \u0435\u0433\u043E \u043C\u0435\u043B\u043E\u043C.", "\u041A\u043E\u043B\u0435\u0447\u043A\u043E \u043F\u043E\u044F\u0432\u0438\u043B\u043E\u0441\u044C! \u0412\u043E\u043B\u0448\u0435\u0431\u043D\u043E\u0435!?", "\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043F\u0440\u043E\u0438\u0441\u0445\u043E\u0434\u0438\u0442, \u043C\u043E\u0436\u0435\u0442 \u0447\u0435\u0433\u043E-\u0442\u043E \u043D\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442?", "\u0414\u0435\u043D\u0435\u0433 \u0443 \u043C\u0435\u043D\u044F \u043D\u0430 \u043D\u0435\u0433\u043E \u043D\u0435 \u0445\u0432\u0430\u0442\u0438\u0442.", "\u041A\u043B\u044E\u0447 \u043F\u043E\u0434\u043E\u0448\u0435\u043B, \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C \u0432\u0432\u0435\u0441\u0442\u0438 \u043A\u043E\u0434.", "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043E\u0434...", "\u0423\u0440\u0430! \u041F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u044B\u0439 \u043A\u043E\u0434! \u0414\u0432\u0435\u0440\u044C \u043E\u0442\u043A\u0440\u044B\u043B\u0430\u0441\u044C!", "\u041D\u0430 \u0434\u0432\u0435\u0440\u0438 \u043A\u043E\u0434.", "\u0420\u0430\u0437\u044B\u0441\u043A\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u041C\u043E\u043D\u043A\u0438 \u0414'\u041B\u044E\u0444\u0444\u0438 300.000.000 \u0431\u0435\u043B\u043B\u0438", "\u041D\u0443, \u0430 \u0442\u0435\u043F\u0435\u0440\u044C \u043D\u0430\u0436\u043C\u0438 \u043D\u0430 \u043B\u0430\u043C\u043F\u043E\u0447\u043A\u0443.", "\u041F\u0438\u0441\u0442\u043E\u043B\u0435\u0442 \u0437\u0430\u0440\u044F\u0436\u0435\u043D. \u041A \u0431\u043E\u044E \u0433\u043E\u0442\u043E\u0432!", "\u041E\u0442\u043B\u0438\u0447\u043D\u0430\u044F \u043E\u0442\u0432\u0435\u0440\u0442\u043A\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u043B\u0430\u0441\u044C.", "\u0417\u0430\u0432\u044F\u0437\u0430\u043B \u043D\u0430 \u043A\u0440\u0435\u043F\u043A\u0438\u0439 \u0443\u0437\u0435\u043B.", "BK0011", "\u0418 \u043A\u0430\u043A\u043E\u0439 \u0441\u0435\u0433\u043E\u0434\u043D\u044F \u043C\u0435\u0441\u044F\u0446?", "\u0421\u0435\u043A\u0442\u043E\u0440 \u043F\u0440\u0438\u0437 \u043D\u0430 \u0431\u0430\u0440\u0430\u0431\u0430\u043D\u0435.", "\u0427\u0435\u043B\u043E\u0432\u0435\u043A \u0441\u043E\u0431\u0430\u043A\u0435 - \u0434\u0440\u0443\u0433.", "\u041F\u0438\u0444 \u043F\u0430\u0444!");
menuVal = 0;
activeItem = 0;
isRadioPlay = 0;
isCanUp = 0;
isLatOpen = 0;
isPoliceOpen = 0;
isLibraItem1 = 0;
isLibraItem2 = 0;
isLibraItem3 = 0;
isBulletFind = 0;
isDartsItem = 0;
isDogEat = 0;
isCDin = 0;
isRingIn = 0;
isPictogram = 0;
isEndDoor = 0;
isEndDoor2 = 0;
isKeyEnd = 0;
isBaloonBoom = 0;
isCompShot = 0;
musicOn = 1;
musicNum = 1;
menuItemNum = 24;
i = 1;
while (i <= menuItemNum) {
this["menuItem" + i]._visible = false;
this["kursorItem" + i]._visible = false;
i++;
}
_root.nameIt._visible = false;
_root.listPod1._visible = false;
_root.listPod2._visible = false;
gotoAndPlay ("inlocation1");
Instance of Symbol 178 MovieClip "listPod2" in Frame 7
on (press) {
_root.listPod2._visible = false;
}
Instance of Symbol 181 MovieClip "listPod1" in Frame 7
on (press) {
_root.listPod1._visible = false;
}
Frame 8
VisibleItemInRoom(7);
onEnterFrame = function () {
if (Key.isDown(9)) {
_root.gotoAndStop("tabbar");
}
};
Frame 9
stop();
Frame 10
gotoAndStop ("location1");
Frame 11
VisibleItemInRoom(4);
Frame 12
stop();
Frame 13
gotoAndStop ("location2");
Frame 15
stop();
Frame 16
gotoAndStop ("location3");
Frame 17
VisibleItemInRoom(3);
VisibleItemInRoom(5);
Frame 18
stop();
Frame 19
gotoAndStop ("location4");
Frame 21
stop();
Frame 22
gotoAndStop ("location5");
Frame 23
VisibleItemInRoom(2);
Frame 24
stop();
Frame 25
gotoAndStop ("location6");
Frame 27
stop();
Frame 28
gotoAndStop ("location7");
Frame 29
VisibleItemInRoom(6);
Frame 30
stop();
Frame 31
gotoAndStop ("location8");
Frame 33
stop();
Frame 34
gotoAndStop ("location9");
Frame 35
VisibleItemInRoom(1);
Frame 36
stop();
Frame 37
gotoAndStop ("location10");
Frame 38
VisibleItemInRoom(18);
Frame 39
stop();
Frame 40
gotoAndStop ("location11");
Frame 42
stop();
Frame 43
gotoAndStop ("location12");
Frame 44
VisibleItemInRoom(16);
if (_root.isDartsItem == 0) {
_root.dartsItem._visible = false;
} else {
_root.dartsItem._visible = true;
}
Frame 45
stop();
Frame 46
gotoAndStop ("location13");
Frame 47
VisibleItemInRoom(8);
VisibleItemInRoom(10);
if (_root.isLibraItem1 == 0) {
_root.libraItem1._visible = false;
} else {
_root.libraItem1._visible = true;
}
if (_root.isLibraItem2 == 0) {
_root.libraItem2._visible = false;
} else {
_root.libraItem2._visible = true;
}
if (_root.isLibraItem3 == 0) {
_root.libraItem3._visible = false;
} else {
_root.libraItem3._visible = true;
}
if (_root.isCDin == 0) {
_root.monitorDigit._visible = false;
} else {
_root.monitorDigit._visible = true;
}
if (_root.isCompShot == 1) {
_root.comp.gotoAndStop(5);
}
Frame 48
stop();
Frame 49
gotoAndStop ("location14");
Frame 50
VisibleItemInRoom(9);
VisibleItemInRoom(15);
Frame 51
stop();
Frame 52
gotoAndStop ("location15");
Frame 53
VisibleItemInRoom(11);
if (_root.isBaloonBoom == 1) {
_root.baloon._visible = false;
} else {
_root.baloon._visible = true;
}
Frame 54
stop();
Frame 55
gotoAndPlay ("location16");
Frame 56
VisibleItemInRoom(12);
VisibleItemInRoom(13);
Frame 57
stop();
Frame 58
gotoAndStop ("location17");
Frame 60
stop();
Frame 61
gotoAndStop ("location18");
Frame 62
VisibleItemInRoom(20);
Frame 63
stop();
Frame 64
gotoAndStop ("location19");
Frame 65
VisibleItemInRoom(14);
VisibleItemInRoom(17);
_root.kodVvod._visible = false;
if (_root.isPictogram == 0) {
_root.pictogram._visible = false;
} else if (_root.isPictogram == 1) {
_root.pictogram._visible = true;
_root.pictogram.gotoAndStop(1);
} else {
_root.pictogram._visible = true;
_root.pictogram.gotoAndStop("picEnd");
}
if (_root.isRingIn == 0) {
_root.kassa.kassaDigit._visible = false;
} else {
_root.kassa.kassaDigit._visible = true;
}
Frame 66
stop();
Frame 67
gotoAndStop ("location20");
Frame 69
stop();
Frame 70
gotoAndStop ("location21");
Frame 72
stop();
Frame 73
gotoAndStop ("location22");
Frame 74
Mouse.show();
Frame 75
stop();
Frame 76
gotoAndStop ("locationEnd");
Frame 77
Mouse.show();
Frame 78
stop();
Frame 79
gotoAndStop ("locationBad");
Frame 80
Mouse.show();
Frame 81
stop();
Frame 82
gotoAndStop ("locationWell");
Frame 83
Mouse.show();
Frame 84
stop();
Frame 85
gotoAndStop ("locationEnd3");
Frame 86
Mouse.show();
Frame 87
stop();
Frame 88
gotoAndStop ("locationTab");
Symbol 47 MovieClip Frame 1
stop();
Symbol 78 Button
on (release) {
gotoAndStop ("skip01");
}
Symbol 84 MovieClip Frame 24
stop();
Symbol 91 MovieClip Frame 35
stop();
Symbol 100 MovieClip Frame 15
stop();
Symbol 111 MovieClip Frame 30
stop();
Symbol 112 MovieClip Frame 55
stop();
Symbol 116 MovieClip Frame 15
stop();
Symbol 121 MovieClip Frame 15
stop();
Symbol 126 Button
on (release) {
_root._quality = "low";
}
Symbol 129 Button
on (release) {
_root._quality = "medium";
}
Symbol 132 Button
on (release) {
_root._quality = "high";
}
Symbol 135 Button
on (release) {
_root._quality = "best";
}
Symbol 142 MovieClip Frame 24
stop();
Symbol 143 Button
on (release) {
_root.gotoAndStop("theBegin");
}
Symbol 146 Button
on (press) {
getURL ("mailto:studiomusik@mail.ru");
}
Symbol 148 Button
on (press) {
getURL ("http://pleshki.narod.ru", "_blank");
}
Symbol 150 MovieClip Frame 1
_root.musicMenu.start(0, 99999999999999);
Symbol 150 MovieClip Frame 166
stop();
Symbol 169 Button
on (release) {
_root.gotoAndStop("initial");
}
Symbol 173 MovieClip Frame 400
_root.gotoAndStop("initial");
Symbol 238 Button
on (press) {
if (_root.musicOn == 0) {
if (_root.musicNum == 1) {
musicLoc1.start(0, 99999999999999);
} else {
musicLoc2.start(0, 99999999999999);
}
_root.musicOn = 1;
_root.musikLogo.play();
} else {
stopAllSounds();
_root.musicOn = 0;
_root.musikLogo.gotoAndStop(1);
}
}
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 8
stop();
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 8
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 8
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 8
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 8
stop();
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 8
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 8
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 8
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 8
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 8
stop();
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 8
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 8
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 8
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 8
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 8
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 8
stop();
Symbol 258 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 8
stop();
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 8
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 8
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 8
stop();
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 8
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 8
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 8
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 8
stop();
Symbol 279 Button
on (press) {
if (_root.activeItem == 0) {
i = 7;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
}
}
Symbol 281 Button
on (release) {
if (_root.isCanUp == 0) {
_root.gotoAndPlay("inlocation3");
} else {
_root.gotoAndPlay("inlocation10");
}
}
Symbol 282 Button
on (release) {
_root.gotoAndPlay("inlocation4");
}
Symbol 284 Button
on (release) {
_root.gotoAndPlay("inlocation5");
}
Symbol 285 Button
on (release) {
if (_root.isLatOpen == 0) {
_root.gotoAndPlay("inlocation9");
} else {
_root.gotoAndPlay("inlocation12");
}
}
Symbol 286 Button
on (release) {
_root.gotoAndPlay("inlocation2");
}
Symbol 287 Button
on (release) {
if (((_root.roomItemsFind[7] == 0) && (_root.roomItemsVis[7] == 0)) && (_root.activeItem == 0)) {
_root.roomItemsVis[7] = 1;
_root.musicEvent7.onSoundComplete = function () {
VisibleItemInRoom(7);
Podskazka(1);
};
_root.musicEvent7.start(0, 1);
}
if (_root.activeItem == 24) {
stopAllSounds();
_root.musicEvent10.onSoundComplete = function () {
gotoAndPlay ("badTheEnd");
};
_root.musicEvent10.start(0, 1);
}
}
Symbol 292 Button
on (rollOver) {
i = 1;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 1;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 293 Button
on (rollOver) {
i = 2;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 2;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 294 Button
on (rollOver) {
i = 3;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 3;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 295 Button
on (rollOver) {
i = 4;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 4;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 296 Button
on (rollOver) {
i = 6;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 6;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 297 Button
on (rollOver) {
i = 5;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 5;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 298 Button
on (rollOver) {
i = 8;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 8;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 299 Button
on (rollOver) {
i = 7;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 7;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 300 Button
on (rollOver) {
i = 10;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 10;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 301 Button
on (rollOver) {
i = 9;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 9;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 302 Button
on (rollOver) {
i = 11;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 11;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 303 Button
on (rollOver) {
i = 12;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 12;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 304 Button
on (rollOver) {
i = 13;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 13;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 305 Button
on (rollOver) {
i = 14;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 14;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 306 Button
on (rollOver) {
i = 16;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 16;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 307 Button
on (rollOver) {
i = 15;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 15;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 308 Button
on (rollOver) {
i = 18;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 18;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 309 Button
on (rollOver) {
i = 17;
if (menuItems[i] != 0) {
_root.nameIt.tx = _root.nameItems[menuItems[i]];
_root.nameIt._visible = true;
_root.nameIt._x = 565 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.nameIt._y = 24 + (48 * Math.floor((i - 1) / 2));
}
}
on (rollOut) {
_root.nameIt._visible = false;
}
on (press) {
i = 17;
if ((_root.menuItems[i] == 5) && (_root.activeItem == 0)) {
_root.listPod2._visible = false;
_root.listPod1._visible = true;
} else if ((_root.menuItems[i] == 20) && (_root.activeItem == 0)) {
_root.listPod1._visible = false;
_root.listPod2._visible = true;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem == 0)) {
_root["menuItem" + _root.menuItems[i]]._visible = false;
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]]._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root["kursorItem" + _root.menuItems[i]]._y = 24 + (48 * Math.floor((i - 1) / 2));
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
} else if ((_root.menuItems[i] == 0) && (_root.activeItem != 0)) {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = 0;
} else if ((_root.menuItems[i] != 0) && (_root.activeItem != 0)) {
if (((((((((_root.menuItems[i] == 1) && (_root.activeItem == 7)) || ((_root.menuItems[i] == 7) && (_root.activeItem == 1))) || ((_root.menuItems[i] == 6) && (_root.activeItem == 19))) || ((_root.menuItems[i] == 19) && (_root.activeItem == 6))) || ((_root.menuItems[i] == 8) && (_root.activeItem == 9))) || ((_root.menuItems[i] == 9) && (_root.activeItem == 8))) || ((_root.menuItems[i] == 1) && (_root.activeItem == 3))) || ((_root.menuItems[i] == 3) && (_root.activeItem == 1))) {
if (_root.menuItems[i] == 7) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem7._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 7)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(57);
_root.menuItem1._visible = false;
_root.kursorItem7._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 21;
_root.menuItem21._visible = true;
_root.menuItem21._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem21._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 6) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem6._visible = false;
_root.kursorItem19._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 19) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(56);
_root.menuItem19._visible = false;
_root.kursorItem6._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 22;
_root.menuItem22._visible = true;
_root.menuItem22._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem22._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 8) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem8._visible = false;
_root.kursorItem9._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 9) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(55);
_root.menuItem9._visible = false;
_root.kursorItem8._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 23;
_root.menuItem23._visible = true;
_root.menuItem23._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem23._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if (_root.menuItems[i] == 3) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem3._visible = false;
_root.kursorItem1._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
if ((_root.menuItems[i] == 1) && (_root.activeItem == 3)) {
_root.musicEvent19.start(0, 1);
_root.Podskazka(54);
_root.menuItem1._visible = false;
_root.kursorItem3._visible = false;
_root.activeItem = 0;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.menuItems[i] = 24;
_root.menuItem24._visible = true;
_root.menuItem24._x = 595 + (50 * ((i - 1) - (Math.floor((i - 1) / 2) * 2)));
_root.menuItem24._y = 24 + (48 * Math.floor((i - 1) / 2));
}
} else {
stopDrag();
_root["kursorItem" + _root.activeItem]._visible = false;
_root["menuItem" + _root.menuItems[i]]._visible = false;
_root["kursorItem" + _root.menuItems[i]]._visible = true;
startDrag (_root["kursorItem" + _root.menuItems[i]], true);
_root["kursorItem" + _root.menuItems[i]].gotoAndPlay(2);
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = _root.activeItem;
_root["menuItem" + _root.menuItems[pos]]._visible = true;
_root["menuItem" + _root.menuItems[pos]]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + _root.menuItems[pos]]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.activeItem = _root.menuItems[i];
_root.menuItems[i] = 0;
}
}
}
Symbol 313 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 36
stop();
Symbol 324 Button
on (press) {
i = 4;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
Podskazka(5);
}
Symbol 325 Button
on (release) {
_root.gotoAndPlay("inlocation1");
}
Symbol 331 Button
on (release) {
_root.isCanUp = 1;
_root.gotoAndPlay("inlocation10");
}
Symbol 332 Button
on (press) {
if (_root.activeItem == 0) {
Podskazka(59);
}
}
Symbol 334 Button
on (press) {
i = 3;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
Podskazka(4);
}
Symbol 335 Button
on (press) {
i = 5;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
Podskazka(6);
}
Symbol 336 Button
on (release) {
if ((_root.roomItemsVis[5] == 0) && (_root.roomItemsFind[5] == 0)) {
_root.musicEvent8.onSoundComplete = function () {
_root.roomItemsVis[5] = 1;
VisibleItemInRoom(5);
Podskazka(23);
};
_root.musicEvent8.start(0, 1);
}
}
Symbol 339 Button
on (release) {
_root.gotoAndPlay("inlocation1");
}
Symbol 340 Button
on (release) {
_root.gotoAndPlay("inlocation6");
}
Symbol 341 Button
on (release) {
_root.gotoAndPlay("inlocation7");
}
Symbol 343 Button
on (press) {
i = 2;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
Podskazka(3);
}
Symbol 347 Button
on (release) {
_root.gotoAndPlay("inlocation8");
}
Symbol 348 MovieClip Frame 13
stop();
Symbol 350 Button
on (press) {
i = 6;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
Podskazka(7);
}
Symbol 352 Button
on (press) {
if (_root.activeItem == 0) {
_root.musicEvent5.start(0, 1);
Podskazka(27);
}
}
Symbol 353 Button
on (release) {
if (_root.isCanUp == 0) {
_root.gotoAndPlay("inlocation3");
} else {
_root.gotoAndPlay("inlocation10");
}
}
Symbol 354 Button
on (release) {
_root.gotoAndPlay("inlocation11");
}
Symbol 355 Button
on (press) {
if (_root.activeItem == 22) {
_root.musicEvent5.onSoundComplete = function () {
gotoAndPlay ("inlocation12");
Podskazka(25);
};
_root.musicEvent5.start(0, 1);
_root.isLatOpen = 1;
}
}
Symbol 356 Button
on (press) {
if (_root.activeItem == 18) {
_root.musicEvent4.start(0, 1);
Podskazka(24);
}
}
Symbol 359 Button
on (press) {
i = 1;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
Podskazka(2);
}
Symbol 360 Button
on (release) {
_root.isCanUp = 0;
_root.gotoAndPlay("inlocation3");
}
Symbol 364 Button
on (press) {
if (_root.activeItem == 21) {
_root.roomItemsVis[18] = 0;
_root.roomItem18._visible = false;
_root.roomItemsFind[18] = 1;
_root.menuItem18._visible = true;
_root.menuItem19._visible = true;
_root.menuVal++;
i = 18;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.menuVal++;
i = 19;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
_root.musicEvent4.start(0, 1);
Podskazka(21);
} else {
Podskazka(22);
}
}
Symbol 366 Button
on (release) {
_root.gotoAndPlay(10);
}
Symbol 367 Button
on (release) {
musicLoc1.stop();
musicNum = 2;
_root.musicEvent3.onSoundComplete = function () {
_root.gotoAndPlay("inlocation13");
if (musicOn != 0) {
musicLoc2.start(0, 99999999999999);
}
Podskazka(26);
};
_root.musicEvent3.start(0, 1);
}
Symbol 370 Button
on (press) {
i = 16;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
Podskazka(16);
}
Symbol 373 Button
on (release) {
if ((_root.roomItemsFind[16] == 0) && (_root.roomItemsVis[16] == 0)) {
_root.roomItemsVis[16] = 1;
_root.musicEvent9.onSoundComplete = function () {
VisibleItemInRoom(16);
};
_root.musicEvent9.start(0, 1);
}
}
Symbol 374 Button
on (release) {
_root.gotoAndPlay("inlocation14");
}
Symbol 376 Button
on (release) {
musicLoc2.stop();
musicNum = 1;
_root.musicEvent3.onSoundComplete = function () {
if (musicOn != 0) {
musicLoc1.start(0, 99999999999999);
}
_root.gotoAndPlay("inlocation12");
};
_root.musicEvent3.start(0, 1);
}
Symbol 377 Button
on (release) {
if (_root.isPoliceOpen == 1) {
musicLoc2.stop();
musicNum = 1;
_root.musicEvent3.onSoundComplete = function () {
if (musicOn != 0) {
musicLoc1.start(0, 99999999999999);
}
_root.gotoAndPlay("inlocation16");
Podskazka(34);
};
_root.musicEvent3.start(0, 1);
} else {
_root.musicEvent6.start(0, 1);
Podskazka(27);
}
}
Symbol 378 Button
on (press) {
if (_root.activeItem == 10) {
trace("-1000-");
_root.isPoliceOpen = 1;
_root.isDartsItem = 1;
_root.kursorItem10._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.activeItem = 0;
_root.musicEvent2.onSoundComplete = function () {
_root.dartsItem._visible = true;
_root.musicEvent11.start(0, 1);
Podskazka(33);
};
_root.musicEvent2.start(0, 1);
} else if (_root.activeItem == 0) {
Podskazka(60);
}
}
Symbol 384 MovieClip Frame 4
gotoAndPlay (1);
Symbol 384 MovieClip Frame 5
stop();
Symbol 386 Button
on (press) {
if ((((_root.isBulletFind == 0) && (_root.activeItem != 16)) && (_root.activeItem != 15)) && (_root.activeItem != 2)) {
Podskazka(32);
}
if (_root.activeItem == 2) {
_root.isLibraItem3 = 1;
_root.kursorItem2._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.activeItem = 0;
_root.musicEvent8.onSoundComplete = function () {
_root.libraItem3._visible = true;
};
_root.musicEvent8.start(0, 1);
if ((_root.isLibraItem1 == 0) || (_root.isLibraItem2 == 0)) {
Podskazka(31);
}
}
if (_root.activeItem == 15) {
_root.isLibraItem1 = 1;
_root.kursorItem15._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.activeItem = 0;
_root.musicEvent8.onSoundComplete = function () {
_root.libraItem1._visible = true;
};
_root.musicEvent8.start(0, 1);
if ((_root.isLibraItem3 == 0) || (_root.isLibraItem2 == 0)) {
Podskazka(30);
}
}
if (_root.activeItem == 16) {
_root.isLibraItem2 = 1;
_root.kursorItem16._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.activeItem = 0;
_root.musicEvent8.onSoundComplete = function () {
_root.libraItem2._visible = true;
};
_root.musicEvent8.start(0, 1);
if ((_root.isLibraItem1 == 0) || (_root.isLibraItem3 == 0)) {
Podskazka(29);
}
}
if ((((_root.isBulletFind == 0) && (_root.isLibraItem1 == 1)) && (_root.isLibraItem2 == 1)) && (_root.isLibraItem3 == 1)) {
_root.musicEvent9.onSoundComplete = function () {
_root.roomItemsVis[8] = 1;
VisibleItemInRoom(8);
Podskazka(8);
};
_root.musicEvent9.start(0, 1);
_root.isBulletFind = 1;
}
}
Symbol 387 Button
on (press) {
i = 8;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
}
Symbol 388 Button
on (press) {
i = 10;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
}
Symbol 395 Button
on (release) {
if ((_root.roomItemsFind[10] == 0) && (_root.roomItemsVis[10] == 0)) {
_root.roomItemsVis[10] = 1;
_root.musicEvent9.onSoundComplete = function () {
VisibleItemInRoom(10);
Podskazka(10);
};
_root.musicEvent9.start(0, 1);
}
}
Symbol 396 Button
on (release) {
_root.gotoAndPlay("inlocation13");
}
Symbol 397 Button
on (release) {
_root.gotoAndPlay("inlocation15");
}
Symbol 398 Button
on (release) {
if (((_root.activeItem == 12) && (_root.isCDin == 0)) && (_root.isCompShot == 0)) {
_root.musicEvent10.start(0, 1);
Podskazka(28);
_root.monitorDigit._visible = true;
_root.isCDin = 1;
_root.kursorItem12._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.activeItem = 0;
}
}
Symbol 399 Button
on (press) {
if (_root.activeItem == 0) {
Podskazka(53);
}
}
Symbol 400 Button
on (press) {
if (_root.activeItem == 23) {
_root.musicEvent1.onSoundComplete = function () {
_root.isCompShot = 1;
_root.kursorItem23._visible = false;
_root.kursorItem9._visible = true;
startDrag (_root.kursorItem9, true);
_root.activeItem = 9;
_root.monitorDigit._visible = false;
_root.isCDin = 0;
_root.comp.gotoAndStop("black");
Podskazka(62);
};
_root.musicEvent1.start(0, 1);
} else if (_root.activeItem == 0) {
Podskazka(58);
}
}
Symbol 405 Button
on (press) {
i = 9;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
Podskazka(9);
}
Symbol 406 Button
on (press) {
i = 15;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
Podskazka(15);
}
Symbol 413 Button
on (press) {
i = 11;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
Podskazka(37);
}
Symbol 416 Button
on (release) {
_root.gotoAndPlay("inlocation17");
}
Symbol 417 Button
on (release) {
musicLoc1.stop();
musicNum = 2;
_root.musicEvent3.onSoundComplete = function () {
if (musicOn != 0) {
musicLoc2.start(0, 99999999999999);
}
_root.gotoAndPlay("inlocation13");
};
_root.musicEvent3.start(0, 1);
}
Symbol 418 Button
on (press) {
if (((_root.activeItem == 23) && (_root.roomItemsFind[11] == 0)) && (_root.roomItemsVis[11] == 0)) {
_root.isBaloonBoom = 1;
_root.roomItemsVis[11] = 1;
_root.kursorItem23._visible = false;
_root.kursorItem9._visible = true;
startDrag (_root.kursorItem9, true);
_root.activeItem = 9;
_root.musicEvent1.onSoundComplete = function () {
_root.baloon._visible = false;
VisibleItemInRoom(11);
_root.musicEvent12.start(0, 1);
Podskazka(36);
};
_root.musicEvent1.start(0, 1);
} else if (_root.activeItem == 0) {
Podskazka(35);
}
}
Symbol 419 Button
on (release) {
if ((_root.isDogEat == 2) || (_root.isCompShot == 1)) {
_root.gotoAndPlay("inlocation21");
}
}
Symbol 472 Button
on (press) {
i = 12;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
}
Symbol 473 Button
on (press) {
i = 13;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
}
Symbol 474 Button
on (release) {
if ((_root.roomItemsFind[12] == 0) && (_root.roomItemsVis[12] == 0)) {
_root.musicEvent8.onSoundComplete = function () {
_root.roomItemsVis[12] = 1;
VisibleItemInRoom(12);
Podskazka(12);
};
_root.musicEvent8.start(0, 1);
}
}
Symbol 475 Button
on (release) {
_root.gotoAndPlay("inlocation16");
}
Symbol 476 Button
on (release) {
_root.gotoAndPlay("inlocation18");
}
Symbol 477 Button
on (release) {
if (((_root.roomItemsFind[13] == 0) && (_root.roomItemsVis[13] == 0)) && (_root.activeItem == 11)) {
_root.kursorItem11._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.activeItem = 0;
_root.musicEvent12.onSoundComplete = function () {
_root.roomItemsVis[13] = 1;
VisibleItemInRoom(13);
Podskazka(39);
};
_root.musicEvent12.start(0, 1);
} else if (_root.activeItem == 0) {
Podskazka(38);
}
}
Symbol 490 MovieClip Frame 1
stop();
Symbol 490 MovieClip Frame 60
stop();
Symbol 503 MovieClip Frame 199
gotoAndPlay (1);
Symbol 503 MovieClip Frame 251
_root.Podskazka(42);
Symbol 503 MovieClip Frame 311
gotoAndPlay (1);
Symbol 503 MovieClip Frame 329
gotoAndPlay (320);
Symbol 503 MovieClip Frame 441
gotoAndPlay (320);
Symbol 505 Button
on (press) {
musicNum = 2;
if (_root.isDogEat == 0) {
_root.boodka.gotoAndPlay(200);
} else if (_root.isDogEat == 2) {
_root.boodka.gotoAndPlay(330);
} else {
musicLoc1.stop();
_root.musicEvent3.onSoundComplete = function () {
if (musicOn != 0) {
musicLoc2.start(0, 99999999999999);
}
_root.gotoAndPlay("inlocation19");
Podskazka(43);
};
_root.musicEvent3.start(0, 1);
}
}
Symbol 506 Button
on (press) {
if (_root.activeItem == 13) {
_root.isDogEat = 1;
_root.kursorItem13._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.activeItem = 0;
_root.musicEvent13.start(0, 1);
Podskazka(41);
} else if (activeItem == 23) {
_root.musicEvent1.onSoundComplete = function () {
_root.isDogEat = 2;
_root.kursorItem23._visible = false;
_root.kursorItem9._visible = true;
startDrag (_root.kursorItem9, true);
_root.activeItem = 9;
_root.boodka.gotoAndPlay(320);
_root.blood.gotoAndPlay(2);
Podskazka(61);
};
_root.musicEvent1.start(0, 1);
} else if (activeItem == 0) {
if (_root.isDogEat != 2) {
Podskazka(40);
} else {
Podskazka(61);
}
}
}
Symbol 521 Button
on (press) {
_root.isRadioPlay++;
if (_root.isRadioPlay == 2) {
_root.roomItemsVis[20] = 1;
_root.VisibleItemInRoom(20);
_root.Podskazka(44);
_root.musicEvent17.start(0, 1);
}
}
Symbol 523 Button
on (press) {
i = 20;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
}
Symbol 524 Button
on (release) {
musicLoc2.stop();
musicNum = 1;
_root.musicEvent3.onSoundComplete = function () {
if (musicOn != 0) {
musicLoc1.start(0, 99999999999999);
}
_root.gotoAndPlay("inlocation18");
};
_root.musicEvent3.start(0, 1);
}
Symbol 525 Button
on (release) {
_root.gotoAndPlay("inlocation20");
}
Symbol 611 Button
on (press) {
_root.kodVvod.kod = "";
_root.kodVvod._visible = false;
}
Symbol 614 Button
on (press) {
ks = _root.kodVvod.kods.text;
kn = "23363433";
if (ks == kn) {
_root.Podskazka(51);
_root.isEndDoor2 = 1;
_root.musicEvent18.onSoundComplete = function () {
_root.kodVvod._visible = false;
};
_root.musicEvent18.start(0, 1);
} else {
_root.Podskazka(50);
}
}
Symbol 618 Button
on (press) {
i = 14;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
}
Symbol 624 MovieClip Frame 1
stop();
Symbol 624 MovieClip Frame 25
_root.Podskazka(46);
Symbol 624 MovieClip Frame 61
if (_root.isPictogram == 1) {
_root.isPictogram = 2;
_root.roomItemsVis[17] = 1;
_root.VisibleItemInRoom(17);
}
stop();
Symbol 625 Button
on (release) {
if ((_root.roomItemsFind[14] == 0) && (_root.roomItemsVis[14] == 0)) {
_root.musicEvent9.onSoundComplete = function () {
_root.roomItemsVis[14] = 1;
VisibleItemInRoom(14);
Podskazka(14);
};
_root.musicEvent9.start(0, 1);
}
}
Symbol 626 Button
on (release) {
_root.gotoAndPlay("inlocation19");
}
Symbol 627 Button
on (press) {
if ((_root.activeItem == 4) && (_root.isPictogram == 0)) {
_root.isPictogram = 1;
_root.pictogram._visible = true;
_root.pictogram.gotoAndStop(1);
_root.musicEvent14.start(0, 1);
Podskazka(45);
} else if ((_root.activeItem == 14) && (_root.isPictogram == 1)) {
_root.pictogram.gotoAndPlay(2);
_root.musicEvent15.start(0, 1);
} else if ((_root.activeItem != 14) && (_root.isPictogram == 1)) {
Podskazka(47);
}
}
Symbol 628 Button
on (release) {
if ((_root.activeItem == 17) && (_root.isRingIn == 0)) {
_root.musicEvent16.start(0, 1);
_root.kassa.kassaDigit._visible = true;
_root.isRingIn = 1;
_root.kursorItem17._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.activeItem = 0;
Podskazka(48);
}
}
Symbol 629 Button
on (release) {
if ((_root.activeItem != 18) && (_root.isKeyEnd == 0)) {
_root.musicEvent6.start(0, 1);
Podskazka(27);
}
if (_root.activeItem == 18) {
_root.musicEvent4.start(0, 1);
_root.isKeyEnd = 1;
_root.kursorItem18._visible = false;
_root.kursorItem0._visible = true;
startDrag (_root.kursorItem0, true);
_root.activeItem = 0;
Podskazka(49);
_root.kodVvod._visible = true;
} else if ((_root.isKeyEnd == 1) && (_root.isEndDoor2 == 0)) {
_root.musicEvent6.start(0, 1);
Podskazka(52);
_root.kodVvod._visible = true;
}
if (_root.isEndDoor2 == 1) {
stopAllSounds();
_root.gotoAndPlay("theEnd");
}
}
Symbol 630 Button
on (press) {
i = 17;
_root.roomItemsVis[i] = 0;
_root["roomItem" + i]._visible = false;
_root.roomItemsFind[i] = 1;
_root["menuItem" + i]._visible = true;
_root.menuVal++;
var j = 30;
while (j > 0) {
if (_root.menuItems[j] == 0) {
pos = j;
}
j--;
}
_root.menuItems[pos] = i;
_root["menuItem" + i]._x = 595 + (50 * ((pos - 1) - (Math.floor((pos - 1) / 2) * 2)));
_root["menuItem" + i]._y = 24 + (48 * Math.floor((pos - 1) / 2));
}
Symbol 635 Button
on (release) {
_root.gotoAndPlay("inlocation22");
}
Symbol 637 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay("theWellEnd");
}
Symbol 638 Button
on (release) {
_root.gotoAndPlay("inlocation21");
}
Symbol 645 MovieClip Frame 150
stop();
Symbol 657 MovieClip Frame 41
stop();
Symbol 667 Button
on (release) {
stopAllSounds();
stopDrag();
Mouse.show();
_root.gotoAndStop(3);
}
Symbol 668 MovieClip Frame 857
stop();
Symbol 675 Button
on (release) {
stopAllSounds();
stopDrag();
Mouse.show();
_root.gotoAndStop(3);
}
Symbol 676 MovieClip Frame 71
stop();
Symbol 1112 MovieClip Frame 29
stop();
Symbol 1113 MovieClip Frame 30
stop();
Symbol 1130 MovieClip Frame 442
_root.gotoAndPlay("theEnd3");
Symbol 1132 MovieClip Frame 1
stopAllSounds();
Symbol 1132 MovieClip Frame 152
stop();
Symbol 1133 MovieClip Frame 108
stop();