Frame 1
mochi.as2.MochiServices.connect("92841655ffb9dadb");
_root.attachMovie("logo2", "adBox1", 151, {_x:320, _y:150});
_root.createEmptyMovieClip("radar2", 60);
_root.radar2.lineStyle(2, 3947580, 100);
k = 0;
while (k < 134) {
_root.radar2.moveTo(65 + ((k * 6) * 0.64), 283);
_root.radar2.lineTo(65 + ((k * 6) * 0.64), 293);
k++;
}
_root.createEmptyMovieClip("radar3", 64);
_root.radar3.lineStyle(2, 0, 100);
_root.radar3.moveTo(64, 285);
_root.radar3.lineTo(577, 285);
_root.radar3.moveTo(64, 293);
_root.radar3.lineTo(577, 293);
_root.createTextField("all4", 63, 288, 330, 100, 50);
all4.textColor = 16776960 /* 0xFFFF00 */;
nkadr = 0;
_root.onEnterFrame = function () {
nkadr = nkadr + 1;
all1 = _root.getBytesTotal();
all2 = _root.getBytesLoaded();
_root.attachMovie("parK", "po1_0", 252, {_x:64 + (((all2 * 800) * 0.64) / all1), _y:288});
all3 = Math.floor((all2 * 100) / all1);
all4.text = ("LOADING " + all3) + "%";
all4.setTextFormat(lineStyle);
if (all1 == all2) {
domain_parts = _url.split("://");
real_domain = domain_parts[1].split("/");
domain.text = real_domain[0];
all4.removeTextField();
if (nkadr >= 5) {
_root.attachMovie("kn_start0", "start01", 251, {_x:320, _y:427});
}
}
start01.onPress = function () {
removeMovieClip("radar2");
removeMovieClip("radar3");
removeMovieClip("po1_0");
removeMovieClip("start01");
removeMovieClip("adBox1");
delete onEnterFrame;
gotoAndPlay (5);
};
adBox1.onPress = function () {
getURL ("http://www.nx8.com/?utm_source=switchman&utm_medium=switchman&utm_campaign=switchman", _blank);
};
};
stop();
Frame 5
stop();
Frame 7
function pereme_hool2() {
if (((uch_hool == 0) && (n_hool == 1)) && (hool_1._x < ((masSTx[6] - 10) - 2))) {
h1dx = 1;
h1dy = 0;
}
if (((uch_hool == 0) && (n_hool > 0)) && (hool_1._x >= ((masSTx[6] - 10) - 2))) {
uch_hool = 3;
hool_1._rotation = -90;
hool_1.x = masSTx[6] - 10;
}
if (((uch_hool == 3) && (hool_1._y > 150)) && (n_hool > 0)) {
h1dx = 0;
h1dy = -1;
}
if (((uch_hool == 3) && (hool_1._y <= 150)) && (n_hool > 0)) {
uch_hool = -3;
h1dx = 0;
h1dy = 1;
hool_1._rotation = 90;
strelka(str6a, 6);
}
if (((uch_hool == -3) && (hool_1._y >= 164)) && (n_hool > 0)) {
hool_1._y = 164;
uch_hool = 0;
h1dx = -1;
h1dy = 0;
hool_1._rotation = 180;
n_hool = -1;
}
if (((uch_hool == 0) && (n_hool < 0)) && (hool_1._x > (masSTx[5] + 2))) {
h1dx = -1;
h1dy = 0;
}
if (((uch_hool == 0) && (n_hool < 0)) && (hool_1._x < (masSTx[5] - 2))) {
uch_hool = 2;
hool_1._rotation = -90;
hool_1.x = masSTx[5];
}
if (((uch_hool == 2) && (hool_1._y > 150)) && (n_hool < 0)) {
h1dx = 0;
h1dy = -1;
}
if (((uch_hool == 2) && (hool_1._y <= 150)) && (n_hool < 0)) {
uch_hool = -2;
h1dx = 0;
h1dy = 1;
hool_1._rotation = 90;
strelka(str5a, 5);
}
if (((uch_hool == -2) && (hool_1._y >= 164)) && (n_hool < 0)) {
hool_1._y = 164;
uch_hool = 0;
h1dx = 1;
h1dy = 0;
hool_1._rotation = 0;
n_hool = 1;
}
if (((uch_hool == 1) && (n_hool == 1)) && (hool_1._x < ((masSTx[8] - 10) - 2))) {
h1dx = 1;
h1dy = 0;
}
if (((uch_hool == 1) && (n_hool > 0)) && (hool_1._x >= ((masSTx[8] - 10) - 2))) {
uch_hool = 5;
hool_1._rotation = -90;
hool_1.x = masSTx[8] - 10;
}
if (((uch_hool == 5) && (hool_1._y > 150)) && (n_hool > 0)) {
h1dx = 0;
h1dy = -1;
}
if (((uch_hool == 5) && (hool_1._y <= 150)) && (n_hool > 0)) {
uch_hool = -5;
h1dx = 0;
h1dy = 1;
hool_1._rotation = 90;
strelka(str8a, 8);
}
if (((uch_hool == -5) && (hool_1._y >= 164)) && (n_hool > 0)) {
hool_1._y = 164;
uch_hool = 1;
h1dx = -1;
h1dy = 0;
hool_1._rotation = 180;
n_hool = -1;
}
if (((uch_hool == 1) && (n_hool < 0)) && (hool_1._x > (masSTx[7] + 2))) {
h1dx = -1;
h1dy = 0;
}
if (((uch_hool == 1) && (n_hool < 0)) && (hool_1._x < (masSTx[7] - 2))) {
uch_hool = 4;
hool_1._rotation = -90;
hool_1.x = masSTx[7];
}
if (((uch_hool == 4) && (hool_1._y > 150)) && (n_hool < 0)) {
h1dx = 0;
h1dy = -1;
}
if (((uch_hool == 4) && (hool_1._y <= 150)) && (n_hool < 0)) {
uch_hool = -4;
h1dx = 0;
h1dy = 1;
hool_1._rotation = 90;
strelka(str7a, 7);
}
if (((uch_hool == -4) && (hool_1._y >= 164)) && (n_hool < 0)) {
hool_1._y = 164;
uch_hool = 1;
h1dx = 1;
h1dy = 0;
hool_1._rotation = 0;
n_hool = 1;
}
hoox = hool_1._x + h1dx;
hooy = hool_1._y + h1dy;
hool_1._x = hoox;
hool_1._y = hooy;
}
function oblako_vsht() {
if (oblako_v == 0) {
oblako_v = 1;
xoblaka = 200 + Math.round(Math.random() * 240);
yoblaka = 530;
xscobl = 75 + Math.round(Math.random() * 40);
yscobl = 75 + Math.round(Math.random() * 40);
_root.attachMovie("oblak", "oblak1", 460, {_x:xoblaka, _y:yoblaka, _rotation:-180 + (Math.random() * 360), _xscale:xscobl, _yscale:yscobl});
}
if (yoblaka < -150) {
oblako_v = 0;
}
yoblaka = yoblaka - 2;
oblak1._y = yoblaka;
}
function pereme_hool() {
if (((uch_hool == 2) && (n_hool == 1)) && (hool_1._x < (masSTx[11] - 2))) {
h1dx = 1;
h1dy = 0;
}
if (((uch_hool == 2) && (n_hool > 0)) && (hool_1._x >= (masSTx[11] - 2))) {
uch_hool = 3;
hool_1._rotation = -90;
hool_1.x = masSTx[11];
}
if (((uch_hool == 3) && (hool_1._y > 320)) && (n_hool > 0)) {
h1dx = 0;
h1dy = -1;
}
if (((uch_hool == 3) && (hool_1._y <= 320)) && (n_hool > 0)) {
uch_hool = -3;
h1dx = 0;
h1dy = 1;
hool_1._rotation = 90;
strelka(str11a, 11);
}
if (((uch_hool == -3) && (hool_1._y >= 338)) && (n_hool > 0)) {
hool_1._y = 338;
uch_hool = 4;
h1dx = 1;
h1dy = 0;
hool_1._rotation = 0;
}
if (((uch_hool == 4) && (n_hool > 0)) && (hool_1._x < (masSTx[12] - 2))) {
h1dx = 1;
h1dy = 0;
}
if (((uch_hool == 4) && (n_hool > 0)) && (hool_1._x >= (masSTx[12] - 2))) {
uch_hool = 5;
hool_1._rotation = -90;
hool_1.x = masSTx[12];
}
if (((uch_hool == 5) && (hool_1._y > 320)) && (n_hool > 0)) {
h1dx = 0;
h1dy = -1;
}
if (((uch_hool == 5) && (hool_1._y <= 320)) && (n_hool > 0)) {
uch_hool = -5;
h1dx = 0;
h1dy = 1;
hool_1._rotation = 90;
strelka(str12a, 12);
}
if (((uch_hool == -5) && (hool_1._y >= 338)) && (n_hool > 0)) {
hool_1._y = 338;
uch_hool = 6;
h1dx = 1;
h1dy = 0;
hool_1._rotation = 0;
}
if (((uch_hool == 6) && (n_hool > 0)) && (hool_1._x < (masSTx[13] - 2))) {
h1dx = 1;
h1dy = 0;
}
if (((uch_hool == 6) && (n_hool > 0)) && (hool_1._x >= (masSTx[13] - 2))) {
uch_hool = 7;
hool_1._rotation = -90;
hool_1.x = masSTx[13];
}
if (((uch_hool == 7) && (hool_1._y > 320)) && (n_hool > 0)) {
h1dx = 0;
h1dy = -1;
}
if (((uch_hool == 7) && (hool_1._y <= 320)) && (n_hool > 0)) {
uch_hool = -7;
h1dx = 0;
h1dy = 1;
hool_1._rotation = 90;
strelka(str13a, 13);
}
if (((uch_hool == -7) && (hool_1._y >= 338)) && (n_hool > 0)) {
hool_1._y = 338;
uch_hool = 6;
h1dx = -1;
h1dy = 0;
hool_1._rotation = 180;
n_hool = -1;
}
if (((uch_hool == 6) && (n_hool < 0)) && (hool_1._x > (masSTx[12] + 2))) {
h1dx = -1;
h1dy = 0;
}
if (((uch_hool == 6) && (n_hool < 0)) && (hool_1._x < (masSTx[12] - 2))) {
uch_hool = 5;
hool_1._rotation = -90;
hool_1.x = masSTx[12];
}
if (((uch_hool == 5) && (hool_1._y > 320)) && (n_hool < 0)) {
h1dx = 0;
h1dy = -1;
}
if (((uch_hool == 5) && (hool_1._y <= 320)) && (n_hool < 0)) {
uch_hool = -5;
h1dx = 0;
h1dy = 1;
hool_1._rotation = 90;
strelka(str12a, 12);
}
if (((uch_hool == -5) && (hool_1._y >= 338)) && (n_hool < 0)) {
hool_1._y = 338;
uch_hool = 4;
h1dx = -1;
h1dy = 0;
hool_1._rotation = 180;
n_hool = -1;
}
if (((uch_hool == 4) && (n_hool < 0)) && (hool_1._x > (masSTx[11] + 2))) {
h1dx = -1;
h1dy = 0;
}
if (((uch_hool == 4) && (n_hool < 0)) && (hool_1._x < (masSTx[11] - 2))) {
uch_hool = 3;
hool_1._rotation = -90;
hool_1.x = masSTx[11];
}
if (((uch_hool == 3) && (hool_1._y > 320)) && (n_hool < 0)) {
h1dx = 0;
h1dy = -1;
}
if (((uch_hool == 3) && (hool_1._y <= 320)) && (n_hool < 0)) {
uch_hool = -3;
h1dx = 0;
h1dy = 1;
hool_1._rotation = 90;
strelka(str11a, 11);
}
if (((uch_hool == -3) && (hool_1._y >= 338)) && (n_hool < 0)) {
hool_1._y = 338;
uch_hool = 2;
h1dx = -1;
h1dy = 0;
hool_1._rotation = 180;
}
if (((uch_hool == 2) && (n_hool < 0)) && (hool_1._x > (masSTx[10] + 2))) {
h1dx = -1;
h1dy = 0;
}
if (((uch_hool == 2) && (n_hool < 0)) && (hool_1._x < (masSTx[10] - 2))) {
uch_hool = 1;
hool_1._rotation = -90;
hool_1.x = masSTx[11];
}
if (((uch_hool == 1) && (hool_1._y > 320)) && (n_hool < 0)) {
h1dx = 0;
h1dy = -1;
}
if (((uch_hool == 1) && (hool_1._y <= 320)) && (n_hool < 0)) {
uch_hool = -1;
h1dx = 0;
h1dy = 1;
hool_1._rotation = 90;
strelka(str10a, 10);
}
if (((uch_hool == -1) && (hool_1._y >= 338)) && (n_hool < 0)) {
hool_1._y = 338;
uch_hool = 2;
h1dx = 1;
h1dy = 0;
hool_1._rotation = 0;
n_hool = 1;
}
hoox = hool_1._x + h1dx;
hooy = hool_1._y + h1dy;
hool_1._x = hoox;
hool_1._y = hooy;
}
function massivs_urovney(tipek1) {
if (tipek1 == 1) {
masSTx = new Array(88, 217, 321, 427, 511, 551, 557, -50, 700, 700, 700, 700, 700, 700);
masSTy = new Array(259, 126, 213, 297, 83, 172, 298, 259, -4, 117, 170, 276, 301, 410);
scalAL();
masL1 = new Array(7, 0, 0, 1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 6);
masL2 = new Array(0, 1, 3, 4, 2, 3, 5, 6, 8, 9, 10, 11, 12, 13);
masLtyp = new Array(-1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1);
f3f();
Mks = new Array(15, 400, 785, 1160, 1500, 1650, 2050, 2051);
Mkp = new Array(120, 500, 875, 1240, 1620, 1770, 2370, 2371);
McvP = new Array(1, 1, 2, 1, 2, 1, 1, 2);
Mnp = new Array(1, 1, 1, -1, -1, -1, 1, -1);
Mvp = new Array(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5);
Mstp = new Array(0, 0, 0, 8, 13, 10, 0, 12);
Mcp = new Array(12, 9, 11, 0, 0, 0, 12, 0);
Mkvo = new Array(4, 4, 4, 4, 4, 4, 4, 2);
tipeknal = 1;
}
if (tipek1 == 2) {
masSTx = new Array(108, 98, 204, 252, 292, 379, 470, 391, 514, 560, -50, -50, -50, -50, 700, 700, 700, 700, 700, 307, 280);
masSTy = new Array(107, 319, 162, 257, 106, 43, 106, 320, 192, 278, 15, 256, 318, 417, 43, 105, 191, 278, 358, 43, 43);
scalAL();
masL1 = new Array(10, 19, 5, 0, 4, 4, 6, 6, 0, 2, 2, 8, 8, 9, 11, 12, 13, 1, 3, 7, 20);
masL2 = new Array(0, 5, 14, 4, 5, 6, 15, 8, 2, 9, 3, 16, 9, 17, 3, 1, 1, 7, 7, 18, 19);
masLtyp = new Array(-1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 1, -1, -1, -1, 2, 2, 1, 0);
f3f();
removeMovieClip("str19a");
removeMovieClip("str0019");
removeMovieClip("str20a");
removeMovieClip("str0020");
Mks = new Array(35, 460, 465, 860, 905, 1340, 1341, 1750, 1800, 2130);
Mkp = new Array(150, 560, 565, 960, 1040, 1440, 1441, 1850, 1980, 2190);
McvP = new Array(1, 1, 2, 2, 1, 1, 2, 1, 2, 1);
Mnp = new Array(1, -1, -1, 1, 1, 1, -1, -1, -1, -1);
Mvp = new Array(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.6);
Mstp = new Array(0, 19, 2, 14, 15, 0, 13, 11, 6, 2);
Mcp = new Array(19, 16, 0, 19, 19, 13, 0, 0, 0, 0);
Mkvo = new Array(4, 4, 4, 3, 4, 4, 4, 6, 8, 4);
tipeknal = 1;
}
if (tipek1 == 4) {
masSTx = new Array(84, 84, 256, 259, 381, 385, 559, 560, -50, -50, 700, 700);
masSTy = new Array(87, 297, 87, 297, 87, 297, 87, 297, 87, 297, 87, 297);
scalAL();
masL1 = new Array(8, 9, 0, 0, 1, 1, 2, 3, 4, 4, 5, 5, 6, 7);
masL2 = new Array(0, 1, 2, 3, 2, 3, 4, 5, 6, 7, 6, 7, 10, 11);
masLtyp = new Array(-1, -1, 2, 3, 2, 2, 2, 2, 2, 2, 4, 2, 1, 1);
f3f();
Mks = new Array(50, 400, 401, 890, 891, 1255, 1256, 1650, 1651, 2000, 2007, 2027);
Mkp = new Array(100, 580, 583, 950, 952, 1345, 1349, 1700, 1703, 2340, 2342, 2462);
McvP = new Array(1, 1, 2, 1, 2, 3, 2, 1, 3, 1, 2, 3);
Mnp = new Array(-1, 1, -1, -1, 1, 1, -1, 1, 1, 1, -1, -1);
Mvp = new Array(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5);
Mstp = new Array(13, 0, 12, 13, 0, 1, 13, 0, 1, 1, 12, 13);
Mcp = new Array(0, 12, 1, 0, 13, 13, 1, 13, 12, 12, 1, 0);
Mkvo = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3);
tipeknal = 1;
}
if (tipek1 == 5) {
masSTx = new Array(85, 169, 470, 560, 233, 320, 406, 171, 278, 363, 514, -50, 700, 700, 100, 50, 50);
masSTy = new Array(169, 169, 169, 169, 41, 41, 41, 255, 298, 298, 255, 169, 169, 313, 255, 255, 41);
scalAL();
masL1 = new Array(11, 0, 14, 0, 1, 4, 16, 7, 4, 8, 8, 5, 9, 6, 1, 2, 3, 2, 10, 15);
masL2 = new Array(0, 1, 7, 7, 4, 5, 6, 10, 8, 5, 9, 9, 6, 3, 2, 3, 12, 10, 13, 14);
masLtyp = new Array(-1, 2, 2, 2, 2, 2, 0, 4, 2, 2, 2, 2, 2, 2, 3, 2, 1, 2, 1, 0);
f3f();
removeMovieClip("str14a");
removeMovieClip("str0014");
removeMovieClip("str15a");
removeMovieClip("str0015");
removeMovieClip("str16a");
removeMovieClip("str0016");
removeMovieClip("str8a");
removeMovieClip("str008");
removeMovieClip("str9a");
removeMovieClip("str009");
_root.attachMovie("strel1", "str8a", 249, {_x:masSTx[8], _y:masSTy[8], _rotation:masSTa[8]});
_root.attachMovie("str0", "str008", 248, {_x:masSTx[8], _y:masSTy[8], _rotation:masSTain[8]});
_root.attachMovie("strel1", "str9a", 247, {_x:masSTx[9], _y:masSTy[9], _rotation:masSTa[9]});
_root.attachMovie("str0", "str009", 246, {_x:masSTx[9], _y:masSTy[9], _rotation:masSTain[9]});
Mks = new Array(45, 400, 480, 1020, 1026, 1100, 1875, 2000, 2005);
Mkp = new Array(105, 445, 550, 1210, 1213, 1310, 2010, 2160, 2203);
McvP = new Array(4, 2, 1, 3, 2, 1, 1, 3, 2);
Mnp = new Array(-1, 1, -1, -1, 1, -1, -1, -1, 1);
Mvp = new Array(0.5, 0.5, 0.6, 0.4, 0.4, 0.5, 0.2, 0.3, 0.3);
Mstp = new Array(18, 0, 16, 18, 0, 16, 16, 16, 0);
Mcp = new Array(0, 16, 0, 0, 18, 0, 0, 0, 16);
Mkvo = new Array(4, 1, 1, 3, 1, 1, 1, 1, 1);
tipeknal = 1;
}
if (tipek1 == 6) {
masSTx = new Array(169, 296, 405, 508, 84, 215, 294, 84, 214, 427, 554, -50, -50, -50, 700, 700, 700, 700, 357, 377);
masSTy = new Array(39, 40, 81, 42, 105, 136, 214, 322, 322, 322, 322, 39, 105, 322, 42, 195, 255, 322, 169, 214);
scalAL();
masL1 = new Array(11, 0, 1, 2, 3, 4, 1, 2, 3, 18, 12, 4, 5, 6, 7, 8, 19, 13, 7, 8, 9, 10);
masL2 = new Array(0, 1, 2, 3, 14, 0, 18, 15, 10, 16, 4, 5, 6, 19, 5, 6, 9, 7, 8, 9, 10, 17);
masLtyp = new Array(-1, 2, 2, 2, 1, 2, 2, 1, 4, 1, -1, 2, 2, 2, 2, 2, 2, -1, 2, 2, 2, 1);
f3f();
removeMovieClip("str18a");
removeMovieClip("str0018");
removeMovieClip("str19a");
removeMovieClip("str0019");
Mks = new Array(150, 151, 340, 720, 725, 730, 1260, 1267, 1710, 1710, 1715, 1716);
Mkp = new Array(300, 303, 400, 900, 903, 906, 1360, 1363, 2020, 2023, 2026, 1939);
McvP = new Array(2, 3, 4, 2, 3, 4, 3, 2, 1, 2, 3, 4);
Mnp = new Array(1, 1, 1, -1, -1, 1, 1, -1, 1, 1, 1, -1);
Mvp = new Array(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.3, 0.3, 0.3, 0.3);
Mstp = new Array(0, 17, 10, 7, 21, 17, 10, 21, 0, 10, 17, 21);
Mcp = new Array(4, 21, 9, 0, 17, 21, 21, 10, 4, 21, 21, 17);
Mkvo = new Array(1, 4, 1, 6, 1, 2, 1, 1, 2, 1, 1, 1);
tipeknal = 1;
}
if (tipek1 == 9) {
masSTx = new Array(81, 214, 387, 469, 127, 558, 127, 512, 83, 209, 301, 447, -50, -50, -50, -50, 700, 700, 700, 700);
masSTy = new Array(42, 42, 42, 42, 127, 127, 215, 214, 299, 299, 299, 299, 43, 127, 215, 368, 42, 127, 214, 299);
scalAL();
masL1 = new Array(12, 0, 1, 2, 3, 13, 0, 1, 9, 10, 4, 14, 6, 5, 7, 8, 15, 8, 9, 10, 11, 7);
masL2 = new Array(0, 1, 2, 3, 16, 4, 4, 11, 2, 3, 7, 6, 5, 17, 18, 6, 8, 9, 10, 11, 19, 5);
masLtyp = new Array(-1, 2, 2, 2, 1, -1, 2, 5, 4, 2, 3, -1, 6, 1, 1, 2, -1, 2, 2, 2, 1, 2);
f3f();
Mks = new Array(50, 52, 480, 481, 482, 950, 951, 952, 1475, 1477, 1479, 1481, 2050, 2130, 2210, 2290, 2370);
Mkp = new Array(150, 153, 620, 623, 626, 1145, 1148, 1151, 1595, 1598, 1601, 1603, 2150, 2240, 2320, 2400, 2480);
McvP = new Array(3, 1, 1, 2, 3, 1, 2, 3, 2, 1, 3, 4, 2, 4, 1, 3, 2);
Mnp = new Array(1, 1, -1, -1, 1, 1, 1, -1, -1, -1, -1, -1, -1, 1, -1, 1, -1);
Mvp = new Array(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.45, 0.45, 0.45, 0.45, 0.7, 0.7, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5);
Mstp = new Array(0, 5, 4, 14, 16, 16, 0, 20, 4, 20, 13, 14, 13, 16, 20, 16, 4);
Mcp = new Array(20, 13, 16, 0, 4, 13, 4, 16, 16, 0, 11, 5, 0, 13, 0, 20, 0);
Mkvo = new Array(4, 4, 4, 2, 2, 4, 4, 4, 6, 6, 8, 8, 4, 4, 6, 6, 4, 4, 3, 4, 4, 4);
tipeknal = 1;
}
if (tipek1 == 8) {
masSTx = new Array(93, 169, 298, 553, 271, 512, 85, 169, 299, 554, -50, -50, 700, 700);
masSTy = new Array(86, 86, 86, 86, 171, 171, 259, 259, 259, 259, 86, 259, 86, 259);
scalAL();
masL1 = new Array(10, 11, 0, 6, 6, 0, 1, 7, 1, 7, 2, 4, 8, 5, 5, 3, 9);
masL2 = new Array(0, 6, 1, 7, 2, 8, 2, 8, 4, 4, 3, 5, 9, 3, 9, 12, 13);
masLtyp = new Array(-1, -1, 2, 2, 3, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1);
f3f();
Mks = new Array(120, 600, 1020, 1440, 1441, 1900, 1901, 1902, 2450, 2530, 2600);
Mkp = new Array(300, 720, 1140, 1600, 1601, 2040, 2041, 2043, 2570, 2721, 2900);
McvP = new Array(1, 2, 1, 2, 3, 1, 3, 4, 1, 2, 3);
Mnp = new Array(-1, 1, -1, -1, 1, -1, 1, -1, -1, -1, -1);
Mvp = new Array(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5);
Mstp = new Array(15, 0, 15, 16, 1, 15, 1, 16, 16, 15, 15);
Mcp = new Array(1, 16, 0, 1, 16, 1, 15, 0, 1, 1, 0);
Mkvo = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 4);
tipeknal = 1;
}
if (tipek1 == 3) {
masSTx = new Array(128, 214, 384, 299, 470, 86, 192, 299, 406, 555, -50, -50, 700, 700, 700, 700);
masSTy = new Array(43, 43, 43, 320, 320, 142, 160, 178, 196, 221, 43, 119, 43, 110, 246, 320);
scalAL();
masL1 = new Array(10, 0, 1, 2, 5, 1, 2, 9, 11, 5, 6, 7, 9, 6, 3, 8, 3, 4);
masL2 = new Array(0, 1, 2, 12, 0, 7, 9, 13, 5, 6, 7, 8, 14, 3, 8, 4, 4, 15);
masLtyp = new Array(-1, 2, 2, 1, 2, 2, 2, 1, -1, 2, 2, 2, 1, 2, 2, 2, 2, 1);
f3f();
Mks = new Array(60, 560, 1100, 1101, 1660, 1661, 2260, 2261, 2262);
Mkp = new Array(260, 800, 1300, 1301, 1860, 1871, 2510, 2511, 2512);
McvP = new Array(1, 1, 1, 2, 1, 2, 1, 2, 3);
Mnp = new Array(1, -1, -1, 1, -1, -1, 1, 1, -1);
Mvp = new Array(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5);
Mstp = new Array(0, 17, 17, 8, 3, 17, 0, 8, 17);
Mcp = new Array(7, 8, 0, 17, 8, 8, 12, 17, 8);
Mkvo = new Array(3, 3, 3, 3, 3, 3, 3, 2, 3, 3, 4, 1, 1, 8, 1, 2);
tipeknal = 1;
}
if (tipek1 == 10) {
masSTx = new Array(86, 303, 474, 82, 169, 385, 467, 556, 83, 167, 254, 467, 553, 168, 340, 554, -50, -50, -50, -50, 700, 700, 700, 700, 158, 224, 221, 298, 310, 397, 419, 457);
masSTy = new Array(47, 47, 47, 130, 130, 130, 130, 130, 215, 215, 215, 215, 215, 301, 301, 301, 47, 130, 215, 301, 47, 130, 215, 301, 47, 47, 130, 130, 215, 215, 301, 301);
scalAL();
masL1 = new Array(16, 0, 24, 25, 1, 2, 0, 1, 2, 17, 3, 4, 26, 27, 5, 6, 7, 3, 6, 18, 8, 9, 10, 28, 29, 11, 12, 8, 10, 11, 19, 13, 14, 30, 31, 15);
masL2 = new Array(0, 24, 25, 1, 2, 20, 4, 5, 7, 3, 4, 26, 27, 5, 6, 7, 21, 9, 12, 8, 9, 10, 28, 29, 11, 12, 22, 13, 14, 15, 13, 14, 30, 31, 15, 23);
masLtyp = new Array(-1, 2, 2, 2, 2, 1, 2, 2, 2, -1, 2, 2, 2, 2, 2, 2, 1, 2, 2, -1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, -1, 2, 2, 2, 2, 1);
f3f();
k = 24;
while (k < 32) {
removeMovieClip(("str" + k) + "a");
removeMovieClip("str00" + k);
k++;
}
masLris = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Mks = new Array(60, 61, 500, 501, 502, 503, 1130, 1131);
Mkp = new Array(210, 211, 840, 841, 842, 843, 1230, 1231);
McvP = new Array(1, 2, 1, 2, 3, 4, 1, 3);
Mnp = new Array(1, 1, 1, -1, 1, -1, -1, 1);
Mvp = new Array(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5);
Mstp = new Array(0, 19, 9, 35, 0, 26, 26, 9);
Mcp = new Array(16, 35, 35, 19, 5, 0, 0, 35);
Mkvo = new Array(4, 4, 1, 1, 1, 1, 4, 4);
tipeknal = 1;
}
if (tipek1 == 14) {
masSTx = new Array(173, 319, 467, 173, 319, 468, 169, 319, 469, -50, -50, -50, -50, -50, 700, 700, 700, 700);
masSTy = new Array(42, 42, 42, 168, 170, 170, 300, 300, 299, 42, 111, 223, 243, 353, 42, 110, 228, 355);
scalAL();
masL1 = new Array(9, 0, 1, 2, 10, 11, 3, 0, 4, 12, 13, 6, 4, 7, 5, 5, 7, 8);
masL2 = new Array(0, 1, 2, 14, 3, 3, 1, 4, 2, 6, 6, 7, 8, 5, 15, 16, 8, 17);
masLtyp = new Array(-1, 2, 2, 1, -1, -1, 3, 2, 2, -1, -1, 2, 2, 3, 1, 1, 2, 1);
f3f();
Mks = new Array(50, 750, 830, 1450, 1451, 2100, 2101, 2102);
Mkp = new Array(350, 950, 1030, 1700, 1701, 2500, 2501, 2502);
McvP = new Array(1, 1, 3, 2, 3, 3, 1, 4);
Mnp = new Array(-1, -1, -1, 1, -1, 1, 1, 1);
Mvp = new Array(0.5, 0.4, 0.4, 0.4, 0.4, 0.2, 0.2, 0.2);
Mstp = new Array(3, 14, 17, 0, 3, 0, 4, 9);
Mcp = new Array(5, 10, 10, 3, 0, 17, 3, 15);
Mkvo = new Array(4, 2, 2, 2, 2, 4, 3, 3);
tipeknal = 1;
}
if (tipek1 == 7) {
masSTx = new Array(170, 299, 427, 192, 86, 555, -50, -50, -50, 700, 700, 700);
masSTy = new Array(85, 85, 85, 192, 299, 299, 85, 200, 299, 85, 192, 299);
scalAL();
masL1 = new Array(6, 0, 1, 2, 7, 8, 4, 3, 3, 2, 4, 5);
masL2 = new Array(0, 1, 2, 9, 0, 4, 3, 1, 10, 5, 5, 11);
masLtyp = new Array(-1, 2, 2, 1, -1, -1, 2, 2, 1, 3, 2, 1);
f3f();
Mks = new Array(50, 650, 651, 1250, 1251, 1800, 1801, 1802);
Mkp = new Array(250, 850, 851, 1350, 1351, 1950, 1951, 1952);
McvP = new Array(1, 1, 2, 3, 4, 1, 2, 3);
Mnp = new Array(1, -1, -1, 1, -1, 1, 1, -1);
Mvp = new Array(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5);
Mstp = new Array(4, 8, 3, 5, 11, 0, 5, 11);
Mcp = new Array(11, 5, 0, 11, 5, 11, 8, 5);
Mkvo = new Array(4, 5, 4, 4, 4, 4, 4, 4);
tipeknal = 1;
}
if (tipek1 == 12) {
masSTx = new Array(83, 214, 340, 426, 556, 85, 470, 556, 170, 258, 83, 322, 468, 558, -50, -50, -50, -50, -50, -50, 700, 700, 700, 700, 700, 700);
masSTy = new Array(43, 43, 43, 43, 43, 170, 127, 172, 234, 234, 298, 297, 297, 297, 43, 142, 170, 269, 298, 396, 43, 151, 172, 277, 297, 405);
scalAL();
masL1 = new Array(14, 0, 1, 2, 3, 4, 15, 1, 9, 3, 4, 16, 17, 5, 8, 11, 6, 7, 7, 18, 19, 10, 9, 11, 12, 13, 13);
masL2 = new Array(0, 1, 2, 3, 4, 20, 0, 12, 2, 6, 21, 5, 5, 8, 9, 6, 7, 22, 23, 10, 10, 8, 11, 12, 13, 24, 25);
masLtyp = new Array(-1, 2, 2, 2, 2, 1, -1, 4, 2, 2, 1, -1, -1, 2, 2, 2, 2, 1, 1, -1, -1, 2, 2, 2, 2, 1, 1);
f3f();
Mks = new Array(150, 700, 1100, 1101, 1600, 1601, 2120, 2125, 2130, 2200);
Mkp = new Array(300, 800, 1220, 1221, 1720, 1721, 2230, 2235, 2240, 2350);
McvP = new Array(1, 2, 1, 3, 2, 4, 1, 2, 3, 4);
Mnp = new Array(-1, -1, 1, -1, -1, -1, -1, -1, -1, 1);
Mvp = new Array(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5);
Mstp = new Array(10, 25, 11, 18, 5, 26, 10, 18, 26, 19);
Mcp = new Array(12, 19, 17, 20, 19, 0, 6, 6, 6, 17);
Mkvo = new Array(4, 4, 2, 2, 4, 4, 1, 1, 1, 1);
tipeknal = 1;
}
if (tipek1 == 13) {
masSTx = new Array(87, 340, 465, 554, 85, 171, 258, 341, 470, 129, 280, 366, 449, 558, 85, 171, 261, 345, 471, 558, -50, -50, -50, -50, -50, -50, 700, 700, 700, 700, 700, 700);
masSTy = new Array(42, 42, 42, 42, 150, 129, 128, 128, 128, 236, 213, 235, 235, 214, 322, 322, 322, 322, 322, 322, 42, 84, 184, 235, 286, 389, 42, 103, 141, 249, 287, 389);
scalAL();
masL1 = new Array(20, 0, 1, 2, 3, 21, 22, 0, 1, 8, 7, 8, 4, 5, 6, 16, 6, 23, 9, 10, 11, 12, 13, 13, 9, 17, 12, 24, 25, 14, 15, 16, 17, 18, 19, 19);
masL2 = new Array(0, 1, 2, 3, 26, 4, 4, 5, 8, 3, 2, 27, 5, 6, 7, 7, 10, 9, 10, 11, 12, 13, 28, 29, 15, 11, 18, 14, 14, 15, 16, 17, 18, 19, 30, 31);
masLtyp = new Array(-1, 2, 2, 2, 1, -1, -1, 2, 3, 2, 2, 1, 2, 2, 2, 4, 2, -1, 2, 2, 2, 2, 1, 1, 2, 2, 2, -1, -1, 2, 2, 2, 2, 2, 1, 1);
f3f();
removeMovieClip("str10a");
removeMovieClip("str0010");
_root.attachMovie("strel1", "str10a", 249, {_x:masSTx[10], _y:masSTy[10], _rotation:masSTa[10]});
_root.attachMovie("str0", "str0010", 248, {_x:masSTx[10], _y:masSTy[10], _rotation:masSTain[10]});
Mks = new Array(150, 730, 700, 1250, 1300, 1350, 1880, 1881, 1882, 1883, 2660, 2661, 2662, 2663);
Mkp = new Array(300, 850, 810, 1350, 1400, 1490, 2150, 2151, 2152, 2153, 2900, 2901, 2902, 2903);
McvP = new Array(3, 2, 1, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4);
Mnp = new Array(-1, -1, 1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1);
Mvp = new Array(0.5, 0.4, 0.4, 0.4, 0.5, 0.5, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4);
Mstp = new Array(4, 35, 28, 0, 4, 4, 6, 11, 17, 22, 17, 4, 11, 5);
Mcp = new Array(17, 27, 35, 4, 0, 0, 4, 0, 23, 17, 34, 17, 0, 34);
Mkvo = new Array(4, 1, 1, 4, 2, 1, 4, 4, 4, 1, 1, 4, 4, 4);
tipeknal = 1;
}
if (tipek1 == 11) {
masSTx = new Array(172, 406, 149, 555, 135, 426, 277, 403, 552, 216, 200, -50, -50, -50, 700, 700, 700);
masSTy = new Array(42, 42, 146, 114, 260, 210, 320, 319, 234, 337, 337, 42, 146, 260, 114, 234, 319);
scalAL();
masL1 = new Array(11, 0, 0, 4, 1, 12, 2, 3, 9, 5, 13, 4, 6, 7, 8, 7, 2, 10, 10);
masL2 = new Array(0, 1, 7, 1, 8, 2, 3, 14, 6, 3, 4, 5, 5, 8, 15, 16, 6, 9, 9);
masLtyp = new Array(-1, 2, 2, 2, 2, -1, 2, 1, 2, 2, -1, 2, 2, 2, 1, 1, 2, 0, 0);
f3f();
removeMovieClip("str10a");
removeMovieClip("str0010");
removeMovieClip("str9a");
removeMovieClip("str009");
Mks = new Array(200, 760, 761, 762, 1350, 1351, 1352, 1353);
Mkp = new Array(360, 930, 931, 932, 1550, 1551, 1552, 1553);
McvP = new Array(1, 2, 3, 4, 1, 2, 3, 4);
Mnp = new Array(1, -1, -1, -1, 1, -1, 1, -1);
Mvp = new Array(0.5, 0.5, 0.5, 0.5, 0.4, 0.4, 0.4, 0.4);
Mstp = new Array(10, 14, 15, 7, 0, 14, 5, 7);
Mcp = new Array(7, 10, 0, 5, 14, 0, 7, 5);
Mkvo = new Array(4, 5, 5, 5, 4, 4, 4, 4);
tipeknal = 1;
}
if (tipek1 == 15) {
masSTx = new Array(128, 319, 466, 558, 87, 176, 278, 365, 470, 556, 172, 364, 467, 554, -50, -50, -50, 700, 700, 700);
masSTy = new Array(42, 42, 42, 42, 130, 130, 130, 130, 130, 130, 302, 302, 302, 302, 42, 130, 302, 43, 130, 302);
scalAL();
masL1 = new Array(14, 0, 1, 2, 3, 0, 1, 2, 8, 15, 4, 5, 6, 7, 9, 4, 6, 8, 12, 16, 10, 11, 12, 13);
masL2 = new Array(0, 1, 2, 3, 17, 5, 7, 9, 3, 4, 5, 6, 7, 8, 18, 10, 11, 13, 9, 10, 11, 12, 13, 19);
masLtyp = new Array(-1, 2, 2, 2, 1, 2, 2, 3, 2, -1, 2, 2, 2, 2, 1, 2, 2, 2, 4, -1, 2, 2, 2, 1);
f3f();
Mks = new Array(150, 700, 701, 1200, 1201, 1202, 1203, 1800, 2000, 2001, 2150, 2300);
Mkp = new Array(300, 800, 801, 1350, 1351, 1453, 1353, 1950, 2200, 2201, 2290, 2360);
McvP = new Array(1, 2, 1, 1, 2, 3, 4, 4, 1, 2, 3, 4);
Mnp = new Array(-1, -1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1);
Mvp = new Array(0.5, 0.5, 0.5, 0.4, 0.4, 0.4, 0.4, 0.5, 0.5, 0.5, 0.5, 0.6);
Mstp = new Array(14, 23, 0, 0, 9, 14, 23, 9, 0, 14, 19, 4);
Mcp = new Array(9, 0, 23, 4, 23, 0, 9, 23, 14, 0, 23, 0);
Mkvo = new Array(4, 4, 4, 2, 2, 2, 2, 2, 1, 1, 2, 5);
tipeknal = 1;
}
}
function wreck_press() {
remALL();
stolknov = 0;
pause1 = 0;
stolkpr = 0;
nkadra = autosave;
tipeknal = 0;
removeMovieClip("wreck");
}
function miss_press() {
remALL();
promah = 0;
pause1 = 0;
stolkpr = 0;
nkadra = autosave;
tipeknal = 0;
removeMovieClip("miss");
}
function nazh_kn_pel2() {
kn_pe12._x = 700;
if (((pause1 == 1) && (stolknov == 0)) && (promah == 0)) {
pause1 = 0;
if ((((napi1poC._x > 1) && (stolknov == 0)) && (promah == 0)) && (gromkost == 1)) {
Schuh1.start(0, 10);
}
if ((((napi2poC._x > 1) && (stolknov == 0)) && (promah == 0)) && (gromkost == 1)) {
Schuh2.start(0, 10);
}
if ((((napi3poC._x > 1) && (stolknov == 0)) && (promah == 0)) && (gromkost == 1)) {
Schuh3.start(0, 10);
}
if ((((napi4poC._x > 1) && (stolknov == 0)) && (promah == 0)) && (gromkost == 1)) {
Schuh4.start(0, 10);
}
if (gromkost == 1) {
if (((((tipek == 3) || (tipek == 7)) || (tipek == 9)) || (tipek == 11)) || (tipek == 13)) {
Sprir2.start(0, 1000);
} else {
Sprir1.start(0, 1000);
}
}
}
stolknov = 0;
}
function urcong_press() {
tipeknal = 0;
removeMovieClip("urcong");
all5.removeTextField();
if (tipek < 45) {
tipek = predek + 1;
}
if (tipek == 45) {
removeMovieClip("urcong");
removeMovieClip("ur1");
removeMovieClip("ur1_2");
removeMovieClip("ur1_3");
removeMovieClip("dvspon1");
removeMovieClip("click1");
removeMovieClip("kn_soundof1");
removeMovieClip("kn_sound1_");
removeMovieClip("kn_MENU1");
removeMovieClip("kn_schetCl1");
removeMovieClip("kn_pause1");
removeMovieClip("kn_morgam1");
all4.removeTextField();
removeMovieClip("help_click1");
tipek = 0;
qwclics = 0;
removeMovieClip("urcong1");
removeMovieClip("urcong2");
}
}
function urcong2_press() {
nachalo();
removeMovieClip("ur1");
removeMovieClip("ur1_2");
removeMovieClip("ur1_3");
removeMovieClip("dvspon1");
removeMovieClip("click1");
removeMovieClip("kn_soundof1");
removeMovieClip("kn_sound1_");
removeMovieClip("kn_MENU1");
removeMovieClip("kn_schetCl1");
removeMovieClip("kn_pause1");
removeMovieClip("kn_morgam1");
all4.removeTextField();
removeMovieClip("help_click1");
tipek = 0;
removeMovieClip("urcong1");
removeMovieClip("urcong2");
removeMovieClip("urcong");
Sprir1.stop();
Sprir2.stop();
removeMovieClip("ur1");
removeMovieClip("hool_1");
removeMovieClip("ur1_2");
removeMovieClip("ur1_3");
removeMovieClip("ur1_4");
removeMovieClip("ur1_5");
removeMovieClip("ur1_6");
removeMovieClip("gruz_1");
removeMovieClip("gruz_2");
removeMovieClip("gruz3");
removeMovieClip("gruz4");
removeMovieClip("oblak1");
removeMovieClip("hool_1");
SAV_career = qwclics;
delete onEnterFrame;
gotoAndPlay (9);
}
function dobavl_parola() {
_root.createTextField("all5", 7500, 210, 340, 200, 50);
all5.textColor = 13439758 /* 0xCD130E */;
lineStyle = new TextFormat();
lineStyle.bold = true;
lineStyle.size = 22;
all5.setTextFormat(lineStyle);
pass1 = predek;
pass0 = qwclics;
if (pass0 <= 60) {
pass2 = 0;
pass3 = pass0;
}
if (pass0 > 60) {
pass2 = Math.floor(pass0 / 60);
pass3 = pass0 - (pass2 * 60);
}
pass_ = pass0 - (pass1 * 11);
if (pass_ <= 60) {
pass4 = 0;
pass5 = pass_;
}
if (pass_ > 60) {
pass4 = Math.floor(pass_ / 60);
pass5 = pass_ - (pass4 * 60);
}
all5.text = (((("password: " + String.fromCharCode(pass1 + 33)) + String.fromCharCode(pass2 + 33)) + String.fromCharCode(pass3 + 33)) + String.fromCharCode(pass4 + 33)) + String.fromCharCode(pass5 + 33);
all5.setTextFormat(lineStyle);
}
function obrush_mostov() {
if (masLris[2] == 100) {
masLris[2] = 1;
_root.attachMovie("ur9_3b", "ur1_2", 57, {_x:0, _y:0});
}
if (masLris[12] == 100) {
masLris[12] = 1;
_root.attachMovie("ur9_4b", "ur1_3", 58, {_x:0, _y:0});
}
if (masLris[23] == 100) {
masLris[23] = 1;
_root.attachMovie("ur9_5b", "ur1_4", 59, {_x:0, _y:0});
}
if (masLris[33] == 100) {
masLris[33] = 1;
_root.attachMovie("ur9_6b", "ur1_5", 60, {_x:0, _y:0});
}
if (masLris[2] == 200) {
masLris[2] = 2;
removeMovieClip("ur1_2");
}
if (masLris[12] == 200) {
masLris[12] = 2;
removeMovieClip("ur1_3");
}
if (masLris[23] == 200) {
masLris[23] = 2;
removeMovieClip("ur1_4");
}
if (masLris[33] == 200) {
masLris[33] = 2;
removeMovieClip("ur1_5");
}
}
function risov_snega() {
_root.createEmptyMovieClip("ur1_3", 60);
_root.ur1_3.lineStyle(8, 16777215, 100);
i = 0;
for(;;){
if (i >= 18) {
return(undefined);
}
_root.ur1_3.moveTo(masSTx[masL1[i]], masSTy[masL1[i]]);
_root.ur1_3.lineTo(masSTx[masL2[i]], masSTy[masL2[i]]);
if (masLris[i] == 1) {
_root.ur1_2.moveTo(masSTx[masL1[i]], masSTy[masL1[i]]);
_root.ur1_2.lineTo(masSTx[masL2[i]], masSTy[masL2[i]]);
}
i++;
};
}
function nazh_kn_p() {
stolknov = 0;
if (((pause1 == 0) && (stolknov == 0)) && (promah == 0)) {
kn_pe12._x = 0;
pause1 = 1;
Schuh1.stop();
Schuh2.stop();
Schuh3.stop();
Schuh4.stop();
Sprir1.stop();
Sprir2.stop();
}
}
function nazh_kn_s() {
if (gromkost == 1) {
_root.attachMovie("kn_soundof", "kn_soundof1", 5102, {_x:kn_sound1_._x, _y:kn_sound1_._y});
Schuh1.stop();
Schuh2.stop();
Schuh3.stop();
Schuh4.stop();
Sprir1.stop();
Sprir2.stop();
gromkost = 0;
return(undefined);
}
removeMovieClip("kn_soundof1");
gromkost = 1;
if (((napi1poC._x > 1) && (stolknov == 0)) && (promah == 0)) {
Schuh1.start(0, 20);
}
if (((napi2poC._x > 1) && (stolknov == 0)) && (promah == 0)) {
Schuh2.start(0, 20);
}
if (((napi3poC._x > 1) && (stolknov == 0)) && (promah == 0)) {
Schuh3.start(0, 20);
}
if (((napi4poC._x > 1) && (stolknov == 0)) && (promah == 0)) {
Schuh4.start(0, 20);
}
if ((((tipek > 0) && (tipek < 16)) && (stolknov == 0)) && (promah == 0)) {
if (((((tipek == 3) || (tipek == 7)) || (tipek == 9)) || (tipek == 11)) || (tipek == 13)) {
Sprir2.start(0, 1000);
return(undefined);
}
Sprir1.start(0, 1000);
}
}
function udal_menu1() {
if ((masLris[0] == 1) || (masLris[0] == 0)) {
masLris[0] = 3;
}
all4.removeTextField();
pause1 = 0;
qwclics = 0;
remALL();
removeMovieClip("podskaz1");
removeMovieClip("podskaz2");
removeMovieClip("podskaz1T");
tipek = 0;
tipeknal = 0;
removeMovieClip("kn_soundof1");
removeMovieClip("kn_sound1_");
removeMovieClip("kn_MENU1");
removeMovieClip("kn_schetCl1");
removeMovieClip("kn_pause1");
removeMovieClip("kn_morgam1");
nkadra = 0;
delete masSTx;
delete masSTy;
delete masSTa;
delete masST0;
delete masSTi;
delete masSTou1;
delete masSTou2;
delete masSTtip;
delete masSTous1;
delete masSTous2;
delete masSTins;
delete masSTgt;
delete masLlx;
delete masLly;
delete masLdx;
delete masLdy;
delete masLa;
delete masL0;
delete masLxp;
delete masLyp;
Sprir1.stop();
Sprir2.stop();
removeMovieClip("ur1");
removeMovieClip("hool_1");
removeMovieClip("ur1_2");
removeMovieClip("ur1_3");
removeMovieClip("ur1_4");
removeMovieClip("ur1_5");
removeMovieClip("ur1_6");
removeMovieClip("gruz_1");
removeMovieClip("gruz_2");
removeMovieClip("gruz3");
removeMovieClip("gruz4");
removeMovieClip("oblak1");
removeMovieClip("hool_1");
}
function provstolkgruz() {
Ht1 = _root.po1_0.hitTest(_root.gruz_1);
Ht2 = _root.po1_1.hitTest(_root.gruz_1);
Ht3 = _root.po1_2.hitTest(_root.gruz_1);
Ht4 = _root.po1_3.hitTest(_root.gruz_1);
Ht5 = _root.po2_0.hitTest(_root.gruz_1);
Ht6 = _root.po2_1.hitTest(_root.gruz_1);
Ht7 = _root.po2_2.hitTest(_root.gruz_1);
Ht8 = _root.po2_3.hitTest(_root.gruz_1);
Ht9 = _root.po3_0.hitTest(_root.gruz_1);
Ht10 = _root.po3_1.hitTest(_root.gruz_1);
Ht11 = _root.po3_2.hitTest(_root.gruz_1);
Ht12 = _root.po3_3.hitTest(_root.gruz_1);
Ht13 = _root.po4_0.hitTest(_root.gruz_1);
Ht14 = _root.po4_1.hitTest(_root.gruz_1);
Ht15 = _root.po4_2.hitTest(_root.gruz_1);
Ht16 = _root.po4_3.hitTest(_root.gruz_1);
if (((((((((((((((((Ht1 == true) || (Ht2 == true)) || (Ht3 == true)) || (Ht4 == true)) || (Ht5 == true)) || (Ht6 == true)) || (Ht7 == true)) || (Ht8 == true)) || (Ht9 == true)) || (Ht10 == true)) || (Ht11 == true)) || (Ht12 == true)) || (Ht13 == true)) || (Ht14 == true)) || (Ht15 == true)) || (Ht16 == true)) && (_root.gruz_1._x > 0)) {
stolknov = 1;
}
Hs1 = _root.po1_0.hitTest(_root.gruz_2);
Hs2 = _root.po1_1.hitTest(_root.gruz_2);
Hs3 = _root.po1_2.hitTest(_root.gruz_2);
Hs4 = _root.po1_3.hitTest(_root.gruz_2);
Hs5 = _root.po2_0.hitTest(_root.gruz_2);
Hs6 = _root.po2_1.hitTest(_root.gruz_2);
Hs7 = _root.po2_2.hitTest(_root.gruz_2);
Hs8 = _root.po2_3.hitTest(_root.gruz_2);
Hs9 = _root.po3_0.hitTest(_root.gruz_2);
Hs10 = _root.po3_1.hitTest(_root.gruz_2);
Hs11 = _root.po3_2.hitTest(_root.gruz_2);
Hs12 = _root.po3_3.hitTest(_root.gruz_2);
Hs13 = _root.po4_0.hitTest(_root.gruz_2);
Hs14 = _root.po4_1.hitTest(_root.gruz_2);
Hs15 = _root.po4_2.hitTest(_root.gruz_2);
Hs16 = _root.po4_3.hitTest(_root.gruz_2);
if ((((((((((((((((Hs1 == true) || (Hs2 == true)) || (Hs3 == true)) || (Hs4 == true)) || (Hs5 == true)) || (Hs6 == true)) || (Hs7 == true)) || (Hs8 == true)) || (Hs9 == true)) || (Hs10 == true)) || (Hs11 == true)) || (Hs12 == true)) || (Hs13 == true)) || (Hs14 == true)) || (Hs15 == true)) || (Hs16 == true)) {
stolknov = 1;
}
if (stolknov >= 1) {
porovstolk();
}
}
function porovstolk() {
Schuh1.stop();
Schuh2.stop();
Schuh3.stop();
Schuh4.stop();
Sprir1.stop();
Sprir2.stop();
n1 = 0;
n2 = 0;
n3 = 0;
n4 = 0;
pause1 = 1;
if (stolknov == 1) {
_root.attachMovie("lev_wreck", "wreck", 6001, {_x:0, _y:0});
if (gromkost == 1) {
Scrash.start(0, 1);
}
} else {
_root.attachMovie("lev_miss", "miss", 6001, {_x:0, _y:0});
if (gromkost == 1) {
Smiss.start(0, 1);
}
}
delete masSTx;
delete masSTy;
delete masSTa;
delete masST0;
delete masSTi;
delete masSTou1;
delete masSTou2;
delete masSTtip;
delete masSTous1;
delete masSTous2;
delete masSTins;
delete masSTgt;
delete masLlx;
delete masLly;
delete masLdx;
delete masLdy;
delete masLa;
delete masL0;
delete masLxp;
delete masLyp;
stolkpr = 1;
}
function f3f() {
LLL();
STSTST();
NalST();
}
function pereslin(x1_1, y1_1, x1_2, y1_2, x2_1, y2_1, x2_2, y2_2) {
k1_ = (y1_2 - y1_1) / (x1_2 - x1_1);
b1_ = y1_1 - (k1_ * x1_1);
k2_ = (y2_2 - y2_1) / (x2_2 - x2_1);
b2_ = y2_1 - (k2_ * x2_1);
if (k1_ != k2_) {
xperes = (b2_ - b1_) / (k1_ - k2_);
yperes = (k1_ * xperes) + b1_;
if ((xperes > x1_1) && (xperes < x1_2)) {
if ((xperes <= x2_2) && (xperes >= x2_1)) {
perlin = 1;
}
}
return(undefined);
}
if (b2_ == b1_) {
if (((x1_2 > x2_1) && (x2_1 > x1_1)) || ((x2_2 > x1_1) && (x1_1 > x2_1))) {
perlin = 1;
}
if (((x1_2 > x2_2) && (x2_1 > x1_1)) || ((x2_2 > x1_2) && (x1_1 > x2_1))) {
perlin = 1;
}
}
}
function strelka(mcSTR, NN) {
if (qwclics < 3500) {
qwclics = qwclics + 1;
}
if (masST0[NN] == 0) {
if (gromkost == 1) {
klik.start(0, 1);
}
aaa = masSTou1[NN];
masSTou1[NN] = masSTou2[NN];
masSTou2[NN] = aaa;
aaa = masSTous1[NN];
masSTous1[NN] = masSTous2[NN];
masSTous2[NN] = aaa;
if (masSTtip[NN] == 0) {
mcSTR._rotation = masSTa2[NN];
masSTtip[NN] = 1;
return(undefined);
}
mcSTR._rotation = masSTa[NN];
masSTtip[NN] = 0;
}
}
function LLL() {
if (gromkost == 1) {
if (((((tipek == 3) || (tipek == 7)) || (tipek == 9)) || (tipek == 11)) || (tipek == 13)) {
Sprir2.start(0, 1000);
} else {
Sprir1.start(0, 1000);
}
}
masLxp = new Array(masLtyp.length);
masLyp = new Array(masLtyp.length);
masL0 = new Array(masLtyp.length);
masLa = new Array(masLtyp.length);
masLdx = new Array(masLtyp.length);
masLdy = new Array(masLtyp.length);
masLlx = new Array(masLtyp.length);
masLly = new Array(masLtyp.length);
i = 0;
for(;;){
if (i >= masLtyp.length) {
return(undefined);
}
if (masLtyp[i] == -1) {
masLxp[i] = masSTx[masL1[i]];
masLyp[i] = masSTy[masL1[i]];
masL0[i] = masL2[i];
}
if (masLtyp[i] == 1) {
masLxp[i] = masSTx[masL2[i]];
masLyp[i] = masSTy[masL2[i]];
masL0[i] = masL1[i];
}
if (masLtyp[i] > 1) {
masLxp[i] = 0;
masLyp[i] = 0;
masL0[i] = 0;
}
masLa[i] = radgr * Math.atan((masSTy[masL2[i]] - masSTy[masL1[i]]) / (masSTx[masL2[i]] - masSTx[masL1[i]]));
masLdx[i] = 6.4 * Math.cos(masLa[i] / radgr);
masLdy[i] = 6.4 * Math.sin(masLa[i] / radgr);
masLlx[i] = 7.5 * masLdx[i];
masLly[i] = (masLtyp[i] * 7.5) * masLdy[i];
i++;
};
}
function STSTST() {
j = 0;
while (j < masSTx.length) {
if ((masSTx[j] > 0) && (masSTx[j] < 1000)) {
jj = j;
}
j++;
}
jj = jj + 1;
masST0 = new Array(jj);
masSTtip = new Array(jj);
masSTgt = new Array(jj);
masSTin = new Array(jj);
masSTain = new Array(jj);
masSTa = new Array(jj);
masSTa2 = new Array(jj);
masSTou1 = new Array(jj);
masSTou2 = new Array(jj);
masSTins = new Array(jj);
masSTous1 = new Array(jj);
masSTous2 = new Array(jj);
i = 0;
for(;;){
if (i >= masST0.length) {
return(undefined);
}
masST0[i] = 0;
masSTtip[i] = 0;
a1 = -1000;
a2 = -1000;
b1 = -1000;
b2 = -1000;
j = 0;
while (j < masLtyp.length) {
if ((masL1[j] == i) && (a1 == -1000)) {
a1 = j;
} else if ((masL1[j] == i) && (a1 != -1000)) {
a2 = j;
}
if ((masL2[j] == i) && (b1 == -1000)) {
b1 = j;
} else if ((masL2[j] == i) && (b1 != -1000)) {
b2 = j;
}
j++;
}
if ((a1 != -1000) && (a2 != -1000)) {
masSTgt[i] = 1;
masSTin[i] = b1;
masSTain[i] = masLa[b1];
masSTa[i] = masLa[a1];
masSTa2[i] = masLa[a2];
masSTou1[i] = a1;
masSTou2[i] = a2;
masSTins[i] = masL1[b1];
masSTous1[i] = masL2[a1];
masSTous2[i] = masL2[a2];
if (masLtyp[a1] == 0) {
masSTous1[i] = -2;
}
if (masLtyp[a2] == 0) {
masSTous2[i] = -2;
}
if ((masLtyp[a1] == -1) || (masLtyp[a1] == 1)) {
masSTous1[i] = -1;
}
if ((masLtyp[a2] == -1) || (masLtyp[a2] == 1)) {
masSTous2[i] = -1;
}
if ((masLtyp[b1] == -1) || (masLtyp[b1] == 1)) {
masSTins[i] = -1;
}
} else {
masSTgt[i] = -1;
masSTin[i] = a1;
masSTain[i] = masLa[a1] + 180;
masSTa[i] = masLa[b1] + 180;
masSTa2[i] = masLa[b2] + 180;
masSTou1[i] = b1;
masSTou2[i] = b2;
masSTins[i] = masL2[a1];
masSTous1[i] = masL1[b1];
masSTous2[i] = masL1[b2];
if (masLtyp[b1] == 0) {
masSTous1[i] = -2;
}
if (masLtyp[b2] == 0) {
masSTous2[i] = -2;
}
if ((masLtyp[b1] == -1) || (masLtyp[b1] == 1)) {
masSTous1[i] = -1;
}
if ((masLtyp[b2] == -1) || (masLtyp[b2] == 1)) {
masSTous2[i] = -1;
}
if ((masLtyp[a1] == -1) || (masLtyp[a1] == 1)) {
masSTins[i] = -1;
}
}
i++;
};
}
function massPOEZDA1(naprP, vP, Ncely, Nishod, Nstr, kolvoVag) {
removeMovieClip("napi1po");
n1 = naprP;
v1 = vP;
AP1x = masLxp[Ncely];
AP1y = masLyp[Ncely];
masPO1nl = new Array(kolvoVag);
masPO1x = new Array(kolvoVag);
masPO1y = new Array(kolvoVag);
masPO1ns = new Array(kolvoVag);
masPO1dx = new Array(kolvoVag);
masPO1dy = new Array(kolvoVag);
masPO1a = new Array(kolvoVag);
j = 0;
for(;;){
if (j >= kolvoVag) {
return(undefined);
}
masPO1nl[j] = Nishod;
masPO1x[j] = masLxp[Nishod] - ((j * n1) * masLlx[Nishod]);
masPO1y[j] = masLyp[Nishod] + (j * masLly[Nishod]);
masPO1ns[j] = Nstr;
masPO1dx[j] = v1 * masLdx[Nishod];
masPO1dy[j] = v1 * masLdy[Nishod];
masPO1a[j] = masLa[Nishod];
j++;
};
}
function massPOEZDA2(naprP2, vP2, Ncely2, Nishod2, Nstr2, kolvoVag2) {
removeMovieClip("napi2po");
n2 = naprP2;
v2 = vP2;
AP2x = masLxp[Ncely2];
AP2y = masLyp[Ncely2];
masPO2nl = new Array(kolvoVag2);
masPO2x = new Array(kolvoVag2);
masPO2y = new Array(kolvoVag2);
masPO2ns = new Array(kolvoVag2);
masPO2dx = new Array(kolvoVag2);
masPO2dy = new Array(kolvoVag2);
masPO2a = new Array(kolvoVag2);
j = 0;
for(;;){
if (j >= kolvoVag2) {
return(undefined);
}
masPO2nl[j] = Nishod2;
masPO2x[j] = masLxp[Nishod2] - ((j * n2) * masLlx[Nishod2]);
masPO2y[j] = masLyp[Nishod2] + (j * masLly[Nishod2]);
masPO2ns[j] = Nstr2;
masPO2dx[j] = v2 * masLdx[Nishod2];
masPO2dy[j] = v2 * masLdy[Nishod2];
masPO2a[j] = masLa[Nishod2];
j++;
};
}
function massPOEZDA3(naprP3, vP3, Ncely3, Nishod3, Nstr3, kolvoVag3) {
removeMovieClip("napi3po");
n3 = naprP3;
v3 = vP3;
AP3x = masLxp[Ncely3];
AP3y = masLyp[Ncely3];
masPO3nl = new Array(kolvoVag3);
masPO3x = new Array(kolvoVag3);
masPO3y = new Array(kolvoVag3);
masPO3ns = new Array(kolvoVag3);
masPO3dx = new Array(kolvoVag3);
masPO3dy = new Array(kolvoVag3);
masPO3a = new Array(kolvoVag3);
j = 0;
for(;;){
if (j >= kolvoVag3) {
return(undefined);
}
masPO3nl[j] = Nishod3;
masPO3x[j] = masLxp[Nishod3] - ((j * n3) * masLlx[Nishod3]);
masPO3y[j] = masLyp[Nishod3] + (j * masLly[Nishod3]);
masPO3ns[j] = Nstr3;
masPO3dx[j] = v3 * masLdx[Nishod3];
masPO3dy[j] = v3 * masLdy[Nishod3];
masPO3a[j] = masLa[Nishod3];
j++;
};
}
function massPOEZDA4(naprP4, vP4, Ncely4, Nishod4, Nstr4, kolvoVag4) {
removeMovieClip("napi4po");
n4 = naprP4;
v4 = vP4;
AP4x = masLxp[Ncely4];
AP4y = masLyp[Ncely4];
masPO4nl = new Array(kolvoVag4);
masPO4x = new Array(kolvoVag4);
masPO4y = new Array(kolvoVag4);
masPO4ns = new Array(kolvoVag4);
masPO4dx = new Array(kolvoVag4);
masPO4dy = new Array(kolvoVag4);
masPO4a = new Array(kolvoVag4);
j = 0;
for(;;){
if (j >= kolvoVag4) {
return(undefined);
}
masPO4nl[j] = Nishod4;
masPO4x[j] = masLxp[Nishod4] - ((j * n4) * masLlx[Nishod4]);
masPO4y[j] = masLyp[Nishod4] + (j * masLly[Nishod4]);
masPO4ns[j] = Nstr4;
masPO4dx[j] = v4 * masLdx[Nishod4];
masPO4dy[j] = v4 * masLdy[Nishod4];
masPO4a[j] = masLa[Nishod4];
j++;
};
}
function VIZOVp(iii) {
iiin = Mnp[iii];
iiiv = Mvp[iii];
iiicPx = Mcp[iii];
iiimasPOn1 = Mstp[iii];
iiimasPOns = masL0[Mstp[iii]];
iiikvo = Mkvo[iii];
if (McvP[iii] == 1) {
massPOEZDA1(iiin, iiiv, iiicPx, iiimasPOn1, iiimasPOns, iiikvo);
if (gromkost == 1) {
Schuh1.start(0, 10);
}
}
if (McvP[iii] == 2) {
massPOEZDA2(iiin, iiiv, iiicPx, iiimasPOn1, iiimasPOns, iiikvo);
if (gromkost == 1) {
Schuh2.start(0, 10);
}
}
if (McvP[iii] == 3) {
massPOEZDA3(iiin, iiiv, iiicPx, iiimasPOn1, iiimasPOns, iiikvo);
if (gromkost == 1) {
Schuh3.start(0, 10);
}
}
if (McvP[iii] == 4) {
massPOEZDA4(iiin, iiiv, iiicPx, iiimasPOn1, iiimasPOns, iiikvo);
if (gromkost == 1) {
Schuh4.start(0, 10);
}
}
}
function NAPRp(iii) {
if (Mnp[iii] == 1) {
if (gromkost == 1) {
SinL.start(0, 1);
}
xii1 = 16;
yii1 = (masLyp[Mstp[iii]] + ((xii1 - masLxp[Mstp[iii]]) * Math.tan(0.0174532925 * masLa[Mstp[iii]]))) - 6.4;
aii1 = masLa[Mstp[iii]];
xii2 = 621;
yii2 = (masLyp[Mcp[iii]] - ((masLxp[Mcp[iii]] - xii2) * Math.tan(0.0174532925 * masLa[Mcp[iii]]))) + 6.4;
aii2 = masLa[Mcp[iii]];
} else {
if (gromkost == 1) {
SinR.start(0, 1);
}
xii1 = 621;
yii1 = (masLyp[Mstp[iii]] - ((masLxp[Mstp[iii]] - xii1) * Math.tan(0.0174532925 * masLa[Mstp[iii]]))) - 6.4;
aii1 = masLa[Mstp[iii]] + 180;
xii2 = 16;
yii2 = (masLyp[Mcp[iii]] + ((xii2 - masLxp[Mcp[iii]]) * Math.tan(0.0174532925 * masLa[Mcp[iii]]))) + 6.4;
aii2 = masLa[Mcp[iii]] + 180;
}
if (McvP[iii] == 1) {
_root.attachMovie("napr1K", "napi1poC", 189, {_x:xii2, _y:yii2, _xscale:64, _yscale:64, _rotation:aii2});
_root.attachMovie("napr1K", "napi1po", 190, {_x:xii1, _y:yii1, _xscale:64, _yscale:64, _rotation:aii1});
}
if (McvP[iii] == 2) {
_root.attachMovie("napr2K", "napi2poC", 183, {_x:xii2 + 6.4, _y:yii2 + 3.84, _xscale:64, _yscale:64, _rotation:aii2});
_root.attachMovie("napr2K", "napi2po", 184, {_x:xii1 + 6.4, _y:yii1 + 3.84, _xscale:64, _yscale:64, _rotation:aii1});
}
if (McvP[iii] == 3) {
_root.attachMovie("napr3K", "napi3poC", 185, {_x:xii2 + 9.6, _y:yii2 + 2.56, _xscale:64, _yscale:64, _rotation:aii2});
_root.attachMovie("napr3K", "napi3po", 186, {_x:xii1 + 9.6, _y:yii1 + 2.56, _xscale:64, _yscale:64, _rotation:aii1});
}
if (McvP[iii] == 4) {
_root.attachMovie("napr4K", "napi4poC", 187, {_x:xii2 + 3.2, _y:yii2 + 1.28, _xscale:64, _yscale:64, _rotation:aii2});
_root.attachMovie("napr4K", "napi4po", 188, {_x:xii1 + 3.2, _y:yii1 + 1.28, _xscale:64, _yscale:64, _rotation:aii1});
}
}
function NalST() {
i = 0;
for(;;){
if (i >= masSTx.length) {
return(undefined);
}
if ((masSTx[i] > 4) && (masSTx[i] < 1000)) {
_root.attachMovie("strel1", ("str" + i) + "a", 122 + (i * 2), {_x:masSTx[i], _y:masSTy[i], _rotation:masSTa[i]});
_root.attachMovie("str0", "str00" + i, 81 + i, {_x:masSTx[i], _y:masSTy[i], _rotation:masSTain[i]});
}
i++;
};
}
function endUr(NNn) {
predek = NNn;
tipek = 30 + NNn;
n1 = 0;
n2 = 0;
n3 = 0;
n4 = 0;
n1_ = 0;
n2_ = 0;
n3_ = 0;
n4_ = 0;
autosave = 0;
tipeknal = 0;
ij = 0;
while (ij < 30) {
removeMovieClip(("str" + ij) + "a");
removeMovieClip("str00" + ij);
ij++;
}
Sprir1.stop();
Sprir2.stop();
removeMovieClip("ur1");
removeMovieClip("hool_1");
removeMovieClip("ur1_2");
removeMovieClip("ur1_3");
removeMovieClip("ur1_4");
removeMovieClip("ur1_5");
removeMovieClip("ur1_6");
removeMovieClip("gruz_1");
removeMovieClip("gruz_2");
removeMovieClip("gruz3");
removeMovieClip("gruz4");
removeMovieClip("oblak1");
removeMovieClip("hool_1");
}
function remALL() {
ij = 0;
while (ij < 30) {
removeMovieClip(("str" + ij) + "a");
removeMovieClip("str00" + ij);
ij++;
}
Schuh1.stop();
Schuh2.stop();
Schuh3.stop();
Schuh4.stop();
Sprir1.stop();
Sprir2.stop();
k = 1;
while (k < 5) {
l = 0;
while (l < 9) {
removeMovieClip((("po" + k) + "_") + l);
l++;
}
k++;
}
k = 1;
while (k < 5) {
removeMovieClip(("napi" + k) + "poC");
removeMovieClip(("napi" + k) + "po");
k++;
}
removeMovieClip("ur1");
removeMovieClip("ur1_2");
removeMovieClip("ur1_3");
removeMovieClip("ur1_4");
removeMovieClip("ur1_5");
removeMovieClip("dvspon1");
removeMovieClip("click1");
k = 1;
while (k < 9) {
delete eval (("masPO" + k) + "nl");
delete eval (("masPO" + k) + "y");
delete eval (("masPO" + k) + "ns");
delete eval (("masPO" + k) + "dx");
delete eval (("masPO" + k) + "dy");
delete eval (("masPO" + k) + "1a");
k++;
}
n1 = 0;
n2 = 0;
n3 = 0;
n4 = 0;
removeMovieClip("oblak1");
}
function scalAL() {
}
function nachalo() {
removeMovieClip("zastav1");
removeMovieClip("kn_start1");
removeMovieClip("help_start1");
removeMovieClip("kn_start21");
removeMovieClip("kn_help1");
removeMovieClip("kn_sound1");
removeMovieClip("plakat11");
removeMovieClip("kn_soundof1");
removeMovieClip("kn_MG1");
removeMovieClip("knf_sound1");
removeMovieClip("logo21");
removeMovieClip("kn_pass1");
t_aa.removeTextField();
removeMovieClip("help_start21");
}
function spons_link() {
getURL ("http://www.nx8.com/?utm_source=switchman&utm_medium=switchman&utm_campaign=switchman", _blank);
}
function otrisovka_vagonov() {
if (((tipek > 0) && (tipek < 30)) || (tipek == 100)) {
if (n1 != 0) {
if (masLtyp[masPO1nl[0]] < 3) {
urur1 = 0;
}
if (masLtyp[masPO1nl[0]] == 3) {
urur1 = 50;
}
if (masLtyp[masPO1nl[0]] == 4) {
urur1 = -50;
}
if (masLtyp[masPO1nl[0]] == 5) {
urur1 = 100;
}
if (masLtyp[masPO1nl[0]] == 6) {
urur1 = 150;
}
removeMovieClip("po1_0");
_root.attachMovie("parK", "po1_0", 252 + urur1, {_x:masPO1x[0], _y:masPO1y[0], _rotation:(90 - (n1 * 90)) + masPO1a[0]});
if (((tipek == 3) && (masPO1x[0] > -20)) && (masPO1x[0] < 650)) {
if (n1 > 0) {
if (((masPO1x[0] > -50) && (masPO1x[0] < 0)) || ((masPO1x[0] > 640) && (masPO1x[0] < 690))) {
_root.ur1_2.moveTo(masSTx[masL1[masPO1nl[0]]], masSTy[masL1[masPO1nl[0]]]);
}
if (masLris[masPO1nl[0]] == 0) {
_root.ur1_2.lineTo(masPO1x[0], masPO1y[0]);
}
if (masLris[masPO1nl[0]] == 1) {
_root.ur1_2.moveTo(masSTx[masL2[masPO1nl[0]]], masSTy[masL2[masPO1nl[0]]]);
}
if (masPO1x[0] > (masSTx[masL2[masPO1nl[0]]] - 10)) {
masLris[masPO1nl[0]] = 1;
}
} else {
if (((masPO1x[0] > -50) && (masPO1x[0] < 0)) || ((masPO1x[0] > 640) && (masPO1x[0] < 690))) {
_root.ur1_2.moveTo(masSTx[masL2[masPO1nl[0]]], masSTy[masL2[masPO1nl[0]]]);
}
if (masLris[masPO1nl[0]] == 0) {
_root.ur1_2.lineTo(masPO1x[0], masPO1y[0]);
}
if (masLris[masPO1nl[0]] == 1) {
_root.ur1_2.moveTo(masSTx[masL1[masPO1nl[0]]], masSTy[masL1[masPO1nl[0]]]);
}
if (masPO1x[0] < (masSTx[masL1[masPO1nl[0]]] + 10)) {
masLris[masPO1nl[0]] = 1;
}
}
}
if (tipek == 10) {
if (masLris[masPO1nl[0]] == 0) {
masLris[masPO1nl[0]] = 100;
}
if (masLris[masPO1nl[0]] == 1) {
masLris[masPO1nl[0]] = 200;
}
if (masLris[masPO1nl[0]] == 2) {
stolknov = 1;
stolkpr = 0;
porovstolk();
}
}
k = 1;
while (k < masPO1x.length) {
if (masLtyp[masPO1nl[k]] < 3) {
urur1 = 0;
}
if (masLtyp[masPO1nl[k]] == 3) {
urur1 = 50;
}
if (masLtyp[masPO1nl[k]] == 4) {
urur1 = -50;
}
if (masLtyp[masPO1nl[k]] == 5) {
urur1 = 100;
}
if (masLtyp[masPO1nl[k]] == 6) {
urur1 = 150;
}
removeMovieClip("po1_" + k);
_root.attachMovie("vagK", "po1_" + k, (252 + k) + urur1, {_x:masPO1x[k], _y:masPO1y[k], _rotation:masPO1a[k]});
k++;
}
k = 0;
while (k < masPO1x.length) {
masPO1x[k] = masPO1x[k] + (n1 * masPO1dx[k]);
masPO1y[k] = masPO1y[k] + (n1 * masPO1dy[k]);
k++;
}
k = 0;
while (k < masPO1x.length) {
if ((masPO1x[k] > (masSTx[masPO1ns[k]] - dopS)) && (masPO1x[k] <= (masSTx[masPO1ns[k]] + dopS))) {
if ((masPO1y[k] > (masSTy[masPO1ns[k]] - dopS)) && (masPO1y[k] <= (masSTy[masPO1ns[k]] + dopS))) {
if (((k == 0) && (masST0[masPO1ns[k]] == 1)) || (masSTous1[masPO1ns[k]] == -2)) {
stolknov = 1;
}
if ((k == 0) && (masST0[masPO1ns[k]] == 0)) {
masST0[masPO1ns[k]] = 1;
}
if (k == (masPO1x.length - 1)) {
masST0[masPO1ns[k]] = 0;
}
masPO1x[k] = masSTx[masPO1ns[k]];
masPO1y[k] = masSTy[masPO1ns[k]];
if ((masSTgt[masPO1ns[k]] * n1) >= 0) {
masPO1nl[k] = masSTou1[masPO1ns[k]];
masPO1ns[k] = masSTous1[masPO1ns[k]];
} else {
if (masPO1nl[k] != masSTou1[masPO1ns[k]]) {
stolknov = 1;
}
masPO1nl[k] = masSTin[masPO1ns[k]];
masPO1ns[k] = masSTins[masPO1ns[k]];
}
masPO1dx[k] = v1 * masLdx[masPO1nl[k]];
masPO1dy[k] = v1 * masLdy[masPO1nl[k]];
masPO1a[k] = masLa[masPO1nl[k]];
}
}
k++;
}
}
if (n2 != 0) {
if (masLtyp[masPO2nl[0]] < 3) {
urur2 = 0;
}
if (masLtyp[masPO2nl[0]] == 3) {
urur2 = 50;
}
if (masLtyp[masPO2nl[0]] == 4) {
urur2 = -50;
}
if (masLtyp[masPO2nl[0]] == 5) {
urur2 = 100;
}
if (masLtyp[masPO2nl[0]] == 6) {
urur2 = 150;
}
removeMovieClip("po2_0");
_root.attachMovie("parZ", "po2_0", 262 + urur2, {_x:masPO2x[0], _y:masPO2y[0], _rotation:(90 - (n2 * 90)) + masPO2a[0]});
if (((tipek == 3) && (masPO2x[0] > -20)) && (masPO2x[0] < 650)) {
if (n2 > 0) {
if (((masPO2x[0] > -50) && (masPO2x[0] < 0)) || ((masPO2x[0] > 640) && (masPO2x[0] < 690))) {
_root.ur1_4.moveTo(masSTx[masL1[masPO2nl[0]]], masSTy[masL1[masPO2nl[0]]]);
}
if (masLris[masPO2nl[0]] == 0) {
_root.ur1_4.lineTo(masPO2x[0], masPO2y[0]);
}
if (masLris[masPO2nl[0]] == 1) {
_root.ur1_4.moveTo(masSTx[masL2[masPO2nl[0]]], masSTy[masL2[masPO2nl[0]]]);
}
if (masPO2x[0] > (masSTx[masL2[masPO2nl[0]]] - 10)) {
masLris[masPO2nl[0]] = 1;
}
} else {
if (((masPO2x[0] > -50) && (masPO2x[0] < 0)) || ((masPO2x[0] > 640) && (masPO2x[0] < 690))) {
_root.ur1_4.moveTo(masSTx[masL2[masPO2nl[0]]], masSTy[masL2[masPO2nl[0]]]);
}
if (masLris[masPO2nl[0]] == 0) {
_root.ur1_4.lineTo(masPO2x[0], masPO2y[0]);
}
if (masLris[masPO2nl[0]] == 1) {
_root.ur1_4.moveTo(masSTx[masL1[masPO2nl[0]]], masSTy[masL1[masPO2nl[0]]]);
}
if (masPO2x[0] < (masSTx[masL1[masPO2nl[0]]] + 10)) {
masLris[masPO2nl[0]] = 1;
}
}
}
if (tipek == 10) {
if (masLris[masPO2nl[0]] == 0) {
masLris[masPO2nl[0]] = 100;
}
if (masLris[masPO2nl[0]] == 1) {
masLris[masPO2nl[0]] = 200;
}
if (masLris[masPO2nl[0]] == 2) {
stolknov = 1;
stolkpr = 0;
porovstolk();
}
}
k = 1;
while (k < masPO2x.length) {
if (masLtyp[masPO2nl[k]] < 3) {
urur2 = 0;
}
if (masLtyp[masPO2nl[k]] == 3) {
urur2 = 50;
}
if (masLtyp[masPO2nl[k]] == 4) {
urur2 = -50;
}
if (masLtyp[masPO2nl[k]] == 5) {
urur2 = 100;
}
if (masLtyp[masPO2nl[k]] == 6) {
urur2 = 150;
}
removeMovieClip("po2_" + k);
_root.attachMovie("vagZ", "po2_" + k, (262 + k) + urur2, {_x:masPO2x[k], _y:masPO2y[k], _rotation:masPO2a[k]});
k++;
}
k = 0;
while (k < masPO2x.length) {
masPO2x[k] = masPO2x[k] + (n2 * masPO2dx[k]);
masPO2y[k] = masPO2y[k] + (n2 * masPO2dy[k]);
k++;
}
k = 0;
while (k < masPO2x.length) {
if ((masPO2x[k] > (masSTx[masPO2ns[k]] - dopS)) && (masPO2x[k] <= (masSTx[masPO2ns[k]] + dopS))) {
if ((masPO2y[k] > (masSTy[masPO2ns[k]] - dopS)) && (masPO2y[k] <= (masSTy[masPO2ns[k]] + dopS))) {
if (((k == 0) && (masST0[masPO2ns[k]] == 1)) || (masSTous1[masPO2ns[k]] == -2)) {
stolknov = 1;
}
if ((k == 0) && (masST0[masPO2ns[k]] == 0)) {
masST0[masPO2ns[k]] = 1;
}
if (k == (masPO2x.length - 1)) {
masST0[masPO2ns[k]] = 0;
}
masPO2x[k] = masSTx[masPO2ns[k]];
masPO2y[k] = masSTy[masPO2ns[k]];
if ((masSTgt[masPO2ns[k]] * n2) >= 0) {
masPO2nl[k] = masSTou1[masPO2ns[k]];
masPO2ns[k] = masSTous1[masPO2ns[k]];
} else {
if (masPO2nl[k] != masSTou1[masPO2ns[k]]) {
stolknov = 1;
}
masPO2nl[k] = masSTin[masPO2ns[k]];
masPO2ns[k] = masSTins[masPO2ns[k]];
}
masPO2dx[k] = v2 * masLdx[masPO2nl[k]];
masPO2dy[k] = v2 * masLdy[masPO2nl[k]];
masPO2a[k] = masLa[masPO2nl[k]];
}
}
k++;
}
if (((masPO2nl[0] == masPO1nl[0]) && (Math.abs(masPO2x[0] - masPO1x[0]) <= dopP)) && (Math.abs(masPO2y[0] - masPO1y[0]) <= dopP)) {
stolknov = 1;
}
if (((masPO2nl[0] == masPO1nl[masPO1x.length - 1]) && (Math.abs(masPO2x[0] - masPO1x[masPO1x.length - 1]) <= dopP)) && (Math.abs(masPO2y[0] - masPO1y[masPO1y.length - 1]) <= dopP)) {
stolknov = 1;
}
}
if (n3 != 0) {
if (masLtyp[masPO3nl[0]] < 3) {
urur3 = 0;
}
if (masLtyp[masPO3nl[0]] == 3) {
urur3 = 50;
}
if (masLtyp[masPO3nl[0]] == 4) {
urur3 = -50;
}
if (masLtyp[masPO3nl[0]] == 5) {
urur3 = 100;
}
if (masLtyp[masPO3nl[0]] == 6) {
urur3 = 150;
}
removeMovieClip("po3_0");
_root.attachMovie("parS", "po3_0", 272 + urur3, {_x:masPO3x[0], _y:masPO3y[0], _rotation:(90 - (n3 * 90)) + masPO3a[0]});
if (((tipek == 3) && (masPO3x[0] > -20)) && (masPO3x[0] < 650)) {
if (n3 > 0) {
if (((masPO3x[0] > -50) && (masPO3x[0] < 0)) || ((masPO3x[0] > 640) && (masPO3x[0] < 690))) {
_root.ur1_5.moveTo(masSTx[masL1[masPO3nl[0]]], masSTy[masL1[masPO3nl[0]]]);
}
if (masLris[masPO3nl[0]] == 0) {
_root.ur1_5.lineTo(masPO3x[0], masPO3y[0]);
}
if (masLris[masPO3nl[0]] == 1) {
_root.ur1_5.moveTo(masSTx[masL2[masPO3nl[0]]], masSTy[masL2[masPO3nl[0]]]);
}
if (masPO3x[0] > (masSTx[masL2[masPO3nl[0]]] - 10)) {
masLris[masPO3nl[0]] = 1;
}
} else {
if (((masPO3x[0] > -50) && (masPO3x[0] < 0)) || ((masPO3x[0] > 640) && (masPO3x[0] < 690))) {
_root.ur1_5.moveTo(masSTx[masL2[masPO3nl[0]]], masSTy[masL2[masPO3nl[0]]]);
}
if (masLris[masPO3nl[0]] == 0) {
_root.ur1_5.lineTo(masPO3x[0], masPO3y[0]);
}
if (masLris[masPO3nl[0]] == 1) {
_root.ur1_5.moveTo(masSTx[masL1[masPO3nl[0]]], masSTy[masL1[masPO3nl[0]]]);
}
if (masPO3x[0] < (masSTx[masL1[masPO3nl[0]]] + 10)) {
masLris[masPO3nl[0]] = 1;
}
}
}
if (tipek == 10) {
if (masLris[masPO3nl[0]] == 0) {
masLris[masPO3nl[0]] = 100;
}
if (masLris[masPO3nl[0]] == 1) {
masLris[masPO3nl[0]] = 200;
}
if (masLris[masPO3nl[0]] == 2) {
stolknov = 1;
stolkpr = 0;
porovstolk();
}
}
k = 1;
while (k < masPO3x.length) {
if (masLtyp[masPO3nl[k]] < 3) {
urur3 = 0;
}
if (masLtyp[masPO3nl[k]] == 3) {
urur3 = 50;
}
if (masLtyp[masPO3nl[k]] == 4) {
urur3 = -50;
}
if (masLtyp[masPO3nl[k]] == 5) {
urur3 = 100;
}
if (masLtyp[masPO3nl[k]] == 6) {
urur3 = 150;
}
removeMovieClip("po3_" + k);
_root.attachMovie("vagS", "po3_" + k, (272 + k) + urur3, {_x:masPO3x[k], _y:masPO3y[k], _rotation:masPO3a[k]});
k++;
}
k = 0;
while (k < masPO3x.length) {
masPO3x[k] = masPO3x[k] + (n3 * masPO3dx[k]);
masPO3y[k] = masPO3y[k] + (n3 * masPO3dy[k]);
k++;
}
k = 0;
while (k < masPO3x.length) {
if ((masPO3x[k] > (masSTx[masPO3ns[k]] - dopS)) && (masPO3x[k] <= (masSTx[masPO3ns[k]] + dopS))) {
if ((masPO3y[k] > (masSTy[masPO3ns[k]] - dopS)) && (masPO3y[k] <= (masSTy[masPO3ns[k]] + dopS))) {
if (((k == 0) && (masST0[masPO3ns[k]] == 1)) || (masSTous1[masPO3ns[k]] == -2)) {
stolknov = 1;
}
if ((k == 0) && (masST0[masPO3ns[k]] == 0)) {
masST0[masPO3ns[k]] = 1;
}
if (k == (masPO3x.length - 1)) {
masST0[masPO3ns[k]] = 0;
}
masPO3x[k] = masSTx[masPO3ns[k]];
masPO3y[k] = masSTy[masPO3ns[k]];
if ((masSTgt[masPO3ns[k]] * n3) >= 0) {
masPO3nl[k] = masSTou1[masPO3ns[k]];
masPO3ns[k] = masSTous1[masPO3ns[k]];
} else {
if (masPO3nl[k] != masSTou1[masPO3ns[k]]) {
stolknov = 1;
}
masPO3nl[k] = masSTin[masPO3ns[k]];
masPO3ns[k] = masSTins[masPO3ns[k]];
}
masPO3dx[k] = v3 * masLdx[masPO3nl[k]];
masPO3dy[k] = v3 * masLdy[masPO3nl[k]];
masPO3a[k] = masLa[masPO3nl[k]];
}
}
k++;
}
if (((masPO3nl[0] == masPO1nl[0]) && (Math.abs(masPO3x[0] - masPO1x[0]) <= dopP)) && (Math.abs(masPO3y[0] - masPO1y[0]) <= dopP)) {
stolknov = 1;
}
if (((masPO3nl[0] == masPO1nl[masPO1x.length - 1]) && (Math.abs(masPO3x[0] - masPO1x[masPO1x.length - 1]) <= dopP)) && (Math.abs(masPO3y[0] - masPO1y[masPO1y.length - 1]) <= dopP)) {
stolknov = 1;
}
if (((masPO3nl[0] == masPO2nl[0]) && (Math.abs(masPO3x[0] - masPO2x[0]) <= dopP)) && (Math.abs(masPO3y[0] - masPO2y[0]) <= dopP)) {
stolknov = 1;
}
if (((masPO3nl[0] == masPO2nl[masPO2x.length - 1]) && (Math.abs(masPO3x[0] - masPO2x[masPO2x.length - 1]) <= dopP)) && (Math.abs(masPO3y[0] - masPO2y[masPO2y.length - 1]) <= dopP)) {
stolknov = 1;
}
}
if (n4 != 0) {
if (masLtyp[masPO4nl[0]] < 3) {
urur4 = 0;
}
if (masLtyp[masPO4nl[0]] == 3) {
urur4 = 50;
}
if (masLtyp[masPO4nl[0]] == 4) {
urur4 = -50;
}
if (masLtyp[masPO4nl[0]] == 5) {
urur4 = 100;
}
if (masLtyp[masPO4nl[0]] == 6) {
urur4 = 150;
}
removeMovieClip("po4_0");
_root.attachMovie("parR", "po4_0", 282 + urur4, {_x:masPO4x[0], _y:masPO4y[0], _rotation:(90 - (n4 * 90)) + masPO4a[0]});
if (tipek == 10) {
if (masLris[masPO4nl[0]] == 0) {
masLris[masPO4nl[0]] = 100;
}
if (masLris[masPO4nl[0]] == 1) {
masLris[masPO4nl[0]] = 200;
}
if (masLris[masPO4nl[0]] == 2) {
stolknov = 1;
stolkpr = 0;
porovstolk();
}
}
k = 1;
while (k < masPO4x.length) {
if (masLtyp[masPO4nl[k]] < 3) {
urur4 = 0;
}
if (masLtyp[masPO4nl[k]] == 3) {
urur4 = 50;
}
if (masLtyp[masPO4nl[k]] == 4) {
urur4 = -50;
}
if (masLtyp[masPO4nl[k]] == 5) {
urur4 = 100;
}
if (masLtyp[masPO4nl[k]] == 6) {
urur4 = 150;
}
removeMovieClip("po4_" + k);
_root.attachMovie("vagR", "po4_" + k, (282 + k) + urur4, {_x:masPO4x[k], _y:masPO4y[k], _rotation:masPO4a[k]});
k++;
}
k = 0;
while (k < masPO4x.length) {
masPO4x[k] = masPO4x[k] + (n4 * masPO4dx[k]);
masPO4y[k] = masPO4y[k] + (n4 * masPO4dy[k]);
k++;
}
k = 0;
while (k < masPO4x.length) {
if ((masPO4x[k] > (masSTx[masPO4ns[k]] - dopS)) && (masPO4x[k] <= (masSTx[masPO4ns[k]] + dopS))) {
if ((masPO4y[k] > (masSTy[masPO4ns[k]] - dopS)) && (masPO4y[k] <= (masSTy[masPO4ns[k]] + dopS))) {
if (((k == 0) && (masST0[masPO4ns[k]] == 1)) || (masSTous1[masPO4ns[k]] == -2)) {
stolknov = 1;
}
if ((k == 0) && (masST0[masPO4ns[k]] == 0)) {
masST0[masPO4ns[k]] = 1;
}
if (k == (masPO4x.length - 1)) {
masST0[masPO4ns[k]] = 0;
}
masPO4x[k] = masSTx[masPO4ns[k]];
masPO4y[k] = masSTy[masPO4ns[k]];
if ((masSTgt[masPO4ns[k]] * n4) >= 0) {
masPO4nl[k] = masSTou1[masPO4ns[k]];
masPO4ns[k] = masSTous1[masPO4ns[k]];
} else {
if (masPO4nl[k] != masSTou1[masPO4ns[k]]) {
stolknov = 1;
}
masPO4nl[k] = masSTin[masPO4ns[k]];
masPO4ns[k] = masSTins[masPO4ns[k]];
}
masPO4dx[k] = v4 * masLdx[masPO4nl[k]];
masPO4dy[k] = v4 * masLdy[masPO4nl[k]];
masPO4a[k] = masLa[masPO4nl[k]];
}
}
k++;
}
if (((masPO4nl[0] == masPO1nl[0]) && (Math.abs(masPO4x[0] - masPO1x[0]) <= dopP)) && (Math.abs(masPO4y[0] - masPO1y[0]) <= dopP)) {
stolknov = 1;
}
if (((masPO4nl[0] == masPO1nl[masPO1x.length - 1]) && (Math.abs(masPO4x[0] - masPO1x[masPO1x.length - 1]) <= dopP)) && (Math.abs(masPO4y[0] - masPO1y[masPO1y.length - 1]) <= dopP)) {
stolknov = 1;
}
if (((masPO4nl[0] == masPO2nl[0]) && (Math.abs(masPO4x[0] - masPO2x[0]) <= dopP)) && (Math.abs(masPO4y[0] - masPO2y[0]) <= dopP)) {
stolknov = 1;
}
if (((masPO4nl[0] == masPO2nl[masPO2x.length - 1]) && (Math.abs(masPO4x[0] - masPO2x[masPO2x.length - 1]) <= dopP)) && (Math.abs(masPO4y[0] - masPO2y[masPO2y.length - 1]) <= dopP)) {
stolknov = 1;
}
if (((masPO4nl[0] == masPO3nl[0]) && (Math.abs(masPO4x[0] - masPO3x[0]) <= dopP)) && (Math.abs(masPO4y[0] - masPO3y[0]) <= dopP)) {
stolknov = 1;
}
if (((masPO4nl[0] == masPO3nl[masPO3x.length - 1]) && (Math.abs(masPO4x[0] - masPO3x[masPO3x.length - 1]) <= dopP)) && (Math.abs(masPO4y[0] - masPO3y[masPO3y.length - 1]) <= dopP)) {
stolknov = 1;
}
}
if (((masPO1x[0] > (AP1x - dopS)) && (masPO1x[0] <= (AP1x + dopS))) && (n1 != 0)) {
if ((masPO1y[0] > (AP1y - dopS)) && (masPO1y[0] <= (AP1y + dopS))) {
if (((n1 == 1) && (gromkost == 1)) && (napi1poC._x > 1)) {
SoutL.start(0, 1);
}
if (((n1 == -1) && (gromkost == 1)) && (napi1poC._x > 1)) {
SoutR.start(0, 1);
}
Schuh1.stop();
if (gromkost == 1) {
SchuhO.start(0, 1);
}
removeMovieClip("napi1poC");
} else {
promah = 1;
}
}
if (((masPO2x[0] > (AP2x - dopS)) && (masPO2x[0] <= (AP2x + dopS))) && (n2 != 0)) {
if ((masPO2y[0] > (AP2y - dopS)) && (masPO2y[0] <= (AP2y + dopS))) {
if (((n2 == 1) && (gromkost == 1)) && (napi2poC._x > 1)) {
SoutL.start(0, 1);
}
if (((n2 == -1) && (gromkost == 1)) && (napi2poC._x > 1)) {
SoutR.start(0, 1);
}
Schuh2.stop();
if (gromkost == 1) {
SchuhO.start(0, 1);
}
removeMovieClip("napi2poC");
} else {
promah = 1;
}
}
if (((masPO3x[0] > (AP3x - dopS)) && (masPO3x[0] <= (AP3x + dopS))) && (n3 != 0)) {
if ((masPO3y[0] > (AP3y - dopS)) && (masPO3y[0] <= (AP3y + dopS))) {
if (((n3 == 1) && (gromkost == 1)) && (napi3poC._x > 1)) {
SoutL.start(0, 1);
}
if (((n3 == -1) && (gromkost == 1)) && (napi3poC._x > 1)) {
SoutR.start(0, 1);
}
Schuh3.stop();
if (gromkost == 1) {
SchuhO.start(0, 1);
}
removeMovieClip("napi3poC");
} else {
promah = 1;
}
}
if (((masPO4x[0] > (AP4x - dopS)) && (masPO4x[0] <= (AP4x + dopS))) && (n4 != 0)) {
if ((masPO4y[0] > (AP4y - dopS)) && (masPO4y[0] <= (AP4y + dopS))) {
if (((n4 == 1) && (gromkost == 1)) && (napi4poC._x > 1)) {
SoutL.start(0, 1);
}
if (((n4 == -1) && (gromkost == 1)) && (napi4poC._x > 1)) {
SoutR.start(0, 1);
}
Schuh4.stop();
if (gromkost == 1) {
SchuhO.start(0, 1);
}
removeMovieClip("napi4poC");
return(undefined);
}
promah = 1;
}
}
}
SAV_career = 3700;
SAV_random = -1;
gromkost = 1;
stolkpr = 0;
radgr = 57.2957795;
tipek = 0;
tipeknal = 0;
nkadra = 0;
dopS = 4;
dopP = 29;
stolknov = 0;
promah = 0;
pause1 = 0;
zvuk = 1;
n1 = 0;
n2 = 0;
n3 = 0;
n4 = 0;
n1_ = 0;
n2_ = 0;
n3_ = 0;
n4_ = 0;
nkadra = 0;
autosave = 0;
urur1 = 0;
urur2 = 0;
urur3 = 0;
urur4 = 0;
qwclics = 0;
_root.createEmptyMovieClip("holder0", 1000);
klik = new Sound(holder0);
klik.attachSound("RClick");
_root.createEmptyMovieClip("holder1", 1001);
Smiss = new Sound(holder1);
Smiss.attachSound("Rmiss");
_root.createEmptyMovieClip("holder2", 1002);
Scrash = new Sound(holder2);
Scrash.attachSound("RRcrash");
_root.createEmptyMovieClip("holder3", 1003);
Sur = new Sound(holder3);
Sur.attachSound("Rur");
_root.createEmptyMovieClip("holder6", 1006);
Sfinal = new Sound(holder6);
Sfinal.attachSound("Rfinal");
_root.createEmptyMovieClip("holder7", 1007);
SinL = new Sound(holder7);
SinL.attachSound("Rin");
SinL.setTransform({ll:100, lr:100, rr:0, rl:0});
_root.createEmptyMovieClip("holder8", 1008);
SinR = new Sound(holder8);
SinR.attachSound("Rin");
SinR.setTransform({ll:0, lr:0, rr:100, rl:100});
_root.createEmptyMovieClip("holder9", 1009);
SoutL = new Sound(holder9);
SoutL.attachSound("Rout");
SoutL.setTransform({ll:0, lr:0, rr:100, rl:100});
_root.createEmptyMovieClip("holder10", 1010);
SoutR = new Sound(holder10);
SoutR.attachSound("Rout");
SoutR.setTransform({ll:100, lr:100, rr:0, rl:0});
_root.createEmptyMovieClip("holder11", 1011);
Schuh1 = new Sound(holder11);
Schuh1.attachSound("Rchuh");
_root.createEmptyMovieClip("holder12", 1012);
Schuh2 = new Sound(holder12);
Schuh2.attachSound("Rchuh");
_root.createEmptyMovieClip("holder13", 1013);
Schuh3 = new Sound(holder13);
Schuh3.attachSound("Rchuh");
_root.createEmptyMovieClip("holder14", 1014);
Schuh4 = new Sound(holder14);
Schuh4.attachSound("Rchuh");
_root.createEmptyMovieClip("holder15", 1015);
Sprir1 = new Sound(holder15);
Sprir1.attachSound("m_west");
_root.createEmptyMovieClip("holder16", 1016);
Sprir2 = new Sound(holder16);
Sprir2.attachSound("m_town");
_root.createEmptyMovieClip("holder17", 1017);
S_gr = new Sound(holder17);
S_gr.attachSound("r_gruz");
_root.createEmptyMovieClip("holder18", 1018);
S_most = new Sound(holder18);
S_most.attachSound("r_CRASH");
_root.onEnterFrame = function () {
if (pause1 == 0) {
if ((stolknov != 1) || (promah != 1)) {
nkadra = nkadra + 1;
}
if (tipek == 0) {
if (tipeknal == 0) {
_root.attachMovie("zastav", "zastav1", 19, {_x:0, _y:0});
_root.attachMovie("kn_start", "kn_start1", 22, {_x:640, _y:130});
_root.attachMovie("kn_pass", "kn_pass1", 20, {_x:640, _y:200});
_root.attachMovie("kn_help", "kn_help1", 23, {_x:640, _y:270});
_root.attachMovie("kn_MG", "kn_MG1", 4995, {_x:640, _y:340});
_root.attachMovie("fon_kn_zv", "knf_sound1", 4999, {_x:32, _y:200});
_root.attachMovie("logo2", "logo21", 24, {_x:110, _y:369});
_root.createTextField("t_aa", 21, kn_pass1._x - 110, kn_pass1._y - 5, 100, 35);
t_aa.textColor = 13439758 /* 0xCD130E */;
t_aa.type = "input";
lineStyle = new TextFormat();
lineStyle.size = 14;
lineStyle.bold = true;
t_aa.setNewTextFormat(lineStyle);
if (gromkost == 0) {
_root.attachMovie("kn_soundof", "kn_soundof1", 5002, {_x:knf_sound1._x, _y:knf_sound1._y});
}
tipeknal = 1;
}
kn_help1.onRollOver = function () {
_root.attachMovie("help_main", "help_main1", 26, {_x:524, _y:259});
};
kn_help1.onRollOut = function () {
removeMovieClip("help_main1");
};
knf_sound1.onPress = function () {
if (gromkost == 1) {
_root.attachMovie("kn_soundof", "kn_soundof1", 5002, {_x:knf_sound1._x, _y:knf_sound1._y});
gromkost = 0;
return(undefined);
}
removeMovieClip("kn_soundof1");
gromkost = 1;
};
kn_MG1.onPress = function () {
spons_link();
};
logo21.onPress = function () {
spons_link();
};
kn_start1.onPress = function () {
autosave = 0;
tipek = 1;
tipeknal = 0;
nachalo();
_root.attachMovie("kn_sound", "kn_sound1_", 5100, {_x:84, _y:427});
_root.createTextField("all4", 5999, 300, 388, 80, 35);
all4.textColor = 13439758 /* 0xCD130E */;
lineStyle = new TextFormat();
lineStyle.bold = true;
lineStyle.size = 25;
all4.setTextFormat(lineStyle);
if (gromkost == 0) {
_root.attachMovie("kn_soundof", "kn_soundof1", 5102, {_x:kn_sound1_._x, _y:kn_sound1_._y});
}
_root.attachMovie("kn_MENU", "kn_MENU1", 4501, {_x:184, _y:427});
_root.attachMovie("kn_pause", "kn_pause1", 4502, {_x:556, _y:427});
_root.attachMovie("kn_morgam", "kn_morgam1", 4503, {_x:456, _y:427});
_root.attachMovie("kn_pause2", "kn_pe12", 6000, {_x:700, _y:0});
_root.attachMovie("kn_schetCl", "kn_schetCl1", 4510, {_x:320, _y:427});
};
kn_start21.onPress = function () {
nachalo();
tipek = 100;
tipeknal = 0;
delete onEnterFrame;
gotoAndPlay (6);
};
PW = t_aa.text;
pw1 = PW.charCodeAt(0) - 33;
pw2 = PW.charCodeAt(1) - 33;
pw3 = PW.charCodeAt(2) - 33;
pw4 = PW.charCodeAt(3) - 33;
pw5 = PW.charCodeAt(4) - 33;
pw_nu = pw1;
pw_cl = (pw2 * 60) + pw3;
pw_pr = pw_cl - (pw_nu * 11);
pw_pr2 = (pw4 * 60) + pw5;
if (pw_pr == pw_pr2) {
autosave = 0;
tipek = pw_nu + 1;
qwclics = pw_cl;
tipeknal = 0;
nachalo();
_root.attachMovie("kn_sound", "kn_sound1_", 5100, {_x:84, _y:427});
_root.createTextField("all4", 5999, 300, 388, 80, 35);
all4.textColor = 13439758 /* 0xCD130E */;
lineStyle = new TextFormat();
lineStyle.bold = true;
lineStyle.size = 25;
all4.setTextFormat(lineStyle);
if (gromkost == 0) {
_root.attachMovie("kn_soundof", "kn_soundof1", 5102, {_x:kn_sound1_._x, _y:kn_sound1_._y});
}
_root.attachMovie("kn_MENU", "kn_MENU1", 4501, {_x:184, _y:427});
_root.attachMovie("kn_pause", "kn_pause1", 4502, {_x:556, _y:427});
_root.attachMovie("kn_morgam", "kn_morgam1", 4503, {_x:456, _y:427});
_root.attachMovie("kn_pause2", "kn_pe12", 6000, {_x:700, _y:0});
_root.attachMovie("kn_schetCl", "kn_schetCl1", 5101, {_x:320, _y:427});
}
}
if (tipek == 1) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur01", "ur1", 60, {_x:0, _y:0});
massivs_urovney(tipek);
removeMovieClip("podskaz1");
removeMovieClip("podskaz2");
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if (nkadra == 15) {
_root.attachMovie("podskaz", "podskaz1", 61, {_x:88, _y:280});
}
if (nkadra == 280) {
removeMovieClip("podskaz1");
}
if ((((nkadra == 925) || (nkadra == 1300)) || (nkadra == 1640)) || (nkadra == 2190)) {
autosave = nkadra - 150;
}
if (nkadra == 2770) {
endUr(tipek);
}
}
if (tipek == 2) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur2", "ur1", 60, {_x:0, _y:0});
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if ((((nkadra == 600) || (nkadra == 1000)) || (nkadra == 1480)) || (nkadra == 1890)) {
autosave = nkadra - 150;
}
if (nkadra == 2550) {
endUr(tipek);
}
}
if (tipek == 3) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur8", "ur1", 56, {_x:0, _y:0});
_root.createEmptyMovieClip("ur1_2", 59);
_root.ur1_2.lineStyle(14, 0, 100);
_root.createEmptyMovieClip("ur1_4", 58);
_root.ur1_4.lineStyle(14, 0, 100);
_root.createEmptyMovieClip("ur1_5", 57);
_root.ur1_5.lineStyle(14, 0, 100);
if (!((masLris[0] == 1) || (masLris[0] == 0))) {
masLris = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
massivs_urovney(tipek);
risov_snega();
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if ((((nkadra == 660) || (nkadra == 1200)) || (nkadra == 1760)) || (nkadra == 2200)) {
autosave = nkadra - 120;
}
if (nkadra == 2860) {
endUr(tipek);
}
}
if (tipek == 4) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur3", "ur1", 60, {_x:0, _y:0});
_root.attachMovie("ur3_3", "ur1_3", 300, {_x:0, _y:0});
_root.attachMovie("ur3_2", "ur1_2", 250, {_x:0, _y:0});
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if (((((nkadra == 540) || (nkadra == 1040)) || (nkadra == 1395)) || (nkadra == 1790)) || (nkadra == 2140)) {
autosave = nkadra - 150;
}
if (nkadra == 2820) {
endUr(tipek);
}
if (nkadra == 410) {
_root.attachMovie("podskazT", "podskaz1T", 499, {_x:440, _y:230});
}
if (nkadra == 615) {
removeMovieClip("podskaz1T");
}
}
if (tipek == 5) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur4", "ur1", 60, {_x:0, _y:0});
_root.attachMovie("ur4_3", "ur1_3", 300, {_x:0, _y:0});
_root.attachMovie("ur4_2", "ur1_2", 245, {_x:0, _y:0});
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if (((nkadra == 540) || (nkadra == 1160)) || (nkadra == 2015)) {
autosave = nkadra - 150;
}
if (nkadra == 3260) {
remALL();
endUr(tipek);
}
}
if (tipek == 6) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur5", "ur1", 60, {_x:0, _y:0});
_root.attachMovie("ur5_2", "ur1_3", 250, {_x:0, _y:0});
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if (((nkadra == 860) || (nkadra == 1410)) || (nkadra == 1860)) {
autosave = nkadra - 150;
}
if (nkadra == 2730) {
endUr(tipek);
}
}
if (tipek == 7) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur11", "ur1", 60, {_x:0, _y:0});
_root.attachMovie("ur11_2", "ur1_3", 300, {_x:0, _y:0});
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if (((nkadra == 750) || (nkadra == 1350)) || (nkadra == 1900)) {
autosave = nkadra - 110;
}
if (nkadra == 2400) {
endUr(tipek);
}
}
if (tipek == 9) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur6", "ur1", 60, {_x:0, _y:0});
_root.attachMovie("ur6_2", "ur1_2", 250, {_x:0, _y:0});
_root.attachMovie("ur6_3", "ur1_3", 300, {_x:0, _y:0});
_root.attachMovie("ur6_4", "ur1_4", 350, {_x:0, _y:0});
_root.attachMovie("ur6_5", "ur1_5", 400, {_x:0, _y:0});
_root.attachMovie("ur6_verh", "ur1_6", 450, {_x:0, _y:0});
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if ((((nkadra == 630) || (nkadra == 1100)) || (nkadra == 1625)) || (nkadra == 2200)) {
autosave = nkadra - 150;
}
if (nkadra == 2860) {
endUr(tipek);
}
}
if (tipek == 8) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur7", "ur1", 57, {_x:0, _y:0});
_root.attachMovie("ur7_2", "ur1_2", 250, {_x:0, _y:0});
_root.attachMovie("ur7_3", "ur1_3", 300, {_x:0, _y:0});
gr1x = -632;
gr1y = -50;
gr1dx = 0;
gr1dy = 2;
gr2x = -551;
gr2y = -50;
gr2dx = 0;
gr2dy = 2;
_root.attachMovie("gruz1", "gruz_1", 58, {_x:gr1x, _y:gr1y, _rotation:90});
_root.attachMovie("gruz2", "gruz_2", 59, {_x:gr2x, _y:gr2y, _rotation:90});
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if (nkadra == 280) {
gruz_1._y = -50;
gruz_1._x = 368;
if (gromkost == 1) {
S_gr.start(0, 1);
}
}
if (nkadra == 690) {
gruz_2._y = -50;
gruz_2._x = 368;
if (gromkost == 1) {
S_gr.start(0, 1);
}
}
if (nkadra == 1000) {
gruz_1._y = 457;
gruz_1._x = 449;
gruz_1._rotation = -90;
gr1dy = -2;
gruz_2._y = -300;
gruz_2._x = 368;
if (gromkost == 1) {
S_gr.start(0, 1);
}
}
if (nkadra == 1548) {
gruz_1._y = 457;
gruz_1._x = 449;
gruz_1._rotation = -90;
gr1dy = -2;
if (gromkost == 1) {
S_gr.start(0, 1);
}
}
if (nkadra == 2500) {
gruz_2._y = -50;
gruz_2._x = 368;
if (gromkost == 1) {
S_gr.start(0, 1);
}
}
if (nkadra == 2610) {
gruz_1._y = 457;
gruz_1._x = 449;
gruz_1._rotation = -90;
gr1dy = -2;
if (gromkost == 1) {
S_gr.start(0, 1);
}
}
if (nkadra == 2800) {
gruz_2._y = 457;
gruz_2._x = 449;
gruz_2._rotation = -90;
gr2dy = -2;
if (gromkost == 1) {
S_gr.start(0, 1);
}
}
if (((((nkadra == 700) || (nkadra == 1100)) || (nkadra == 1539)) || (nkadra == 2000)) || (nkadra == 2550)) {
autosave = nkadra - 110;
}
if (nkadra == 3270) {
endUr(tipek);
}
gruz_1._y = gruz_1._y + gr1dy;
gruz_2._y = gruz_2._y + gr2dy;
provstolkgruz();
}
if (tipek == 10) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur9", "ur1", 56, {_x:0, _y:0});
_root.attachMovie("ur9_3a", "ur1_2", 57, {_x:0, _y:0});
_root.attachMovie("ur9_4a", "ur1_3", 58, {_x:0, _y:0});
_root.attachMovie("ur9_5a", "ur1_4", 59, {_x:0, _y:0});
_root.attachMovie("ur9_6a", "ur1_5", 60, {_x:0, _y:0});
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
autosave = 1;
if (((nkadra == 470) || (nkadra == 1050)) || (nkadra == 1480)) {
if (gromkost == 1) {
S_most.start(0, 1);
}
obrush_mostov();
}
if (nkadra == 1620) {
endUr(tipek);
}
}
if (tipek == 14) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur10", "ur1", 60, {_x:0, _y:0});
_root.attachMovie("ur10_3", "ur1_3", 300, {_x:0, _y:0});
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if (((nkadra == 850) || (nkadra == 1550)) || (nkadra == 2200)) {
autosave = nkadra - 110;
}
if (nkadra == 3270) {
endUr(tipek);
}
}
if (tipek == 12) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur12", "ur1", 60, {_x:0, _y:0});
_root.attachMovie("ur12_2", "ur1_2", 250, {_x:0, _y:0});
n_hool = 1;
uch_hool = 2;
_root.attachMovie("chel0", "hool_1", 460, {_x:270, _y:338, _rotation:0});
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
pereme_hool();
if ((((nkadra == 800) || (nkadra == 1200)) || (nkadra == 1700)) || (nkadra == 2220)) {
autosave = nkadra - 110;
}
if (nkadra == 2800) {
endUr(tipek);
}
}
if (tipek == 13) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur13", "ur1", 60, {_x:0, _y:0});
_root.attachMovie("ur13_2", "ur1_2", 247, {_x:0, _y:0});
_root.attachMovie("ur13_3", "ur1_3", 300, {_x:0, _y:0});
_root.attachMovie("ur13_verh", "ur1_6", 450, {_x:0, _y:0});
oblako_v = 0;
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if ((((nkadra == 800) || (nkadra == 1350)) || (nkadra == 1980)) || (nkadra == 2750)) {
autosave = nkadra - 110;
}
if (nkadra == 3450) {
endUr(tipek);
}
oblako_vsht();
}
if (tipek == 11) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur14", "ur1", 60, {_x:0, _y:0});
_root.attachMovie("ur14_verh", "ur1_6", 450, {_x:0, _y:0});
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if ((nkadra == 850) || (nkadra == 1350)) {
autosave = nkadra - 110;
}
if (nkadra == 2100) {
endUr(tipek);
}
}
if (tipek == 15) {
if (tipeknal == 0) {
nkadra = autosave;
_root.attachMovie("ur15", "ur1", 57, {_x:0, _y:0});
_root.attachMovie("ur15_2", "ur1_2", 247, {_x:0, _y:0});
_root.attachMovie("ur15_3", "ur1_3", 300, {_x:0, _y:0});
oblako_v = 0;
gr1x = -100;
gr1y = 210;
gr1dx = 0;
gr1dy = 0;
_root.attachMovie("gruz1", "gruz_1", 451, {_x:gr1x, _y:gr1y});
n_hool = 1;
uch_hool = Math.round(Math.random());
if (uch_hool == 0) {
stxchl = 228;
} else {
stxchl = 418;
}
_root.attachMovie("chel0", "hool_1", 452, {_x:stxchl, _y:164, _rotation:0});
massivs_urovney(tipek);
}
i = 0;
while (i < Mkp.length) {
if (nkadra == Mks[i]) {
NAPRp(i);
}
if (nkadra == Mkp[i]) {
VIZOVp(i);
}
i++;
}
if (nkadra == 2) {
gr1dx = 2;
gruz_1._x = -100;
if (gromkost == 1) {
S_gr.start(0, 1);
}
}
if (nkadra == 450) {
gruz_1._x = -100;
if (gromkost == 1) {
S_gr.start(0, 1);
}
}
if (nkadra == 841) {
gruz_1._x = -100;
gr1dx = 2;
if (gromkost == 1) {
S_gr.start(0, 1);
}
}
if (nkadra == 1301) {
gruz_1._x = 1000;
gr1dx = 2;
}
if (nkadra == 1799) {
gruz_1._x = -280;
gr1dx = 2;
if (gromkost == 1) {
S_gr.start(0, 1);
}
}
pereme_hool2();
if (((nkadra == 800) || (nkadra == 1300)) || (nkadra == 1900)) {
autosave = nkadra - 110;
}
if (nkadra == 2700) {
endUr(tipek);
}
gruz_1._x = gruz_1._x + gr1dx;
provstolkgruz();
oblako_vsht();
}
str0a.onPress = function () {
strelka(str0a, 0);
if (tipek == 14) {
strelka(str1a, 1);
strelka(str2a, 2);
strelka(str3a, 3);
strelka(str6a, 6);
}
};
str1a.onPress = function () {
strelka(str1a, 1);
if (tipek == 14) {
strelka(str0a, 0);
strelka(str2a, 2);
strelka(str4a, 4);
strelka(str7a, 7);
}
};
str2a.onPress = function () {
strelka(str2a, 2);
if (tipek == 14) {
strelka(str0a, 0);
strelka(str1a, 1);
strelka(str5a, 5);
strelka(str8a, 8);
}
};
str3a.onPress = function () {
strelka(str3a, 3);
if (tipek == 14) {
strelka(str0a, 0);
strelka(str6a, 6);
strelka(str4a, 4);
strelka(str5a, 5);
}
};
str4a.onPress = function () {
strelka(str4a, 4);
if (tipek == 14) {
strelka(str1a, 1);
strelka(str7a, 7);
strelka(str3a, 3);
strelka(str5a, 5);
}
};
str5a.onPress = function () {
strelka(str5a, 5);
if (tipek == 14) {
strelka(str2a, 2);
strelka(str8a, 8);
strelka(str3a, 3);
strelka(str4a, 4);
}
};
str6a.onPress = function () {
strelka(str6a, 6);
if (tipek == 14) {
strelka(str0a, 0);
strelka(str3a, 3);
strelka(str7a, 7);
strelka(str8a, 8);
}
};
str7a.onPress = function () {
strelka(str7a, 7);
if (tipek == 14) {
strelka(str1a, 1);
strelka(str4a, 4);
strelka(str6a, 6);
strelka(str8a, 8);
}
};
str8a.onPress = function () {
strelka(str8a, 8);
if (tipek == 14) {
strelka(str2a, 2);
strelka(str5a, 5);
strelka(str6a, 6);
strelka(str7a, 7);
}
};
str9a.onPress = function () {
strelka(str9a, 9);
};
str10a.onPress = function () {
strelka(str10a, 10);
};
str11a.onPress = function () {
strelka(str11a, 11);
};
str12a.onPress = function () {
strelka(str12a, 12);
};
str13a.onPress = function () {
strelka(str13a, 13);
};
str14a.onPress = function () {
strelka(str14a, 14);
};
str15a.onPress = function () {
strelka(str15a, 15);
};
str16a.onPress = function () {
strelka(str16a, 16);
};
str17a.onPress = function () {
strelka(str17a, 17);
};
str18a.onPress = function () {
strelka(str18a, 18);
};
str19a.onPress = function () {
strelka(str19a, 19);
};
str20a.onPress = function () {
strelka(str20a, 20);
};
str21a.onPress = function () {
strelka(str21a, 21);
};
str22a.onPress = function () {
strelka(str22a, 22);
};
str23a.onPress = function () {
strelka(str23a, 23);
};
str24a.onPress = function () {
strelka(str24a, 24);
};
str25a.onPress = function () {
strelka(str25a, 25);
};
click1.onRollOver = function () {
_root.attachMovie("help_click", "help_click1", 5998, {_x:120, _y:23});
};
click1.onRollOut = function () {
removeMovieClip("help_click1");
};
kn_MENU1.onPress = function () {
udal_menu1();
};
kn_sound1_.onPress = function () {
nazh_kn_s();
};
otrisovka_vagonov();
if ((tipek > 30) && (tipek != 100)) {
if (tipeknal == 0) {
if (predek < 15) {
_root.attachMovie("lev" + predek, "urcong", 7000, {_x:0, _y:0});
dobavl_parola();
}
if (predek == 15) {
_root.attachMovie("lev" + predek, "urcong1", 7000, {_x:0, _y:0});
_root.attachMovie("kn_MENU", "urcong", 7001, {_x:446, _y:427});
_root.attachMovie("kn_savS", "urcong2", 7002, {_x:194, _y:427});
}
if (gromkost == 1) {
Sur.start(0, 1);
}
tipeknal = 1;
}
k = 0;
while (k < 50) {
removeMovieClip("urc" + k);
k++;
}
urcong.onPress = function () {
urcong_press();
};
urcong2.onPress = function () {
urcong2_press();
};
}
}
if (((stolknov >= 1) || (promah >= 1)) && (stolkpr == 0)) {
porovstolk();
}
wreck.onPress = function () {
wreck_press();
};
miss.onPress = function () {
miss_press();
};
all4.text = qwclics;
all4.setTextFormat(lineStyle);
kn_pause1.onPress = function () {
nazh_kn_p();
};
kn_pe12.onPress = function () {
nazh_kn_pel2();
};
kn_morgam1.onPress = function () {
spons_link();
};
};
stop();
Frame 9
if (SAV_career != 3700) {
schet = SAV_career;
var o = {n:[5, 0, 0, 15, 14, 15, 9, 15, 9, 5, 3, 11, 6, 15, 1, 14], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:"d6212695e1592a70", score:schet});
}
Symbol 63 MovieClip [nots] Frame 1
stop();
Symbol 245 MovieClip [hooligan] Frame 1
play();
Symbol 412 MovieClip Frame 350
stop();
Symbol 415 Button
on (release) {
getURL ("http://www.nx8.com/?utm_source=switchman&utm_medium=switchman&utm_campaign=switchman", "_blank");
}
Symbol 440 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay(7);
}
Symbol 479 MovieClip Frame 1
function doSomething() {
}
function doSomething2() {
getURL ("http://www.nx8.com", _blank);
}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned2 = new ContextMenuItem("Play Games on www.nx8.com", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
Instance of Symbol 412 MovieClip in Symbol 479 MovieClip Frame 46
on (release) {
getURL ("http://www.nx8.com/?utm_source=switchman&utm_medium=switchman&utm_campaign=switchman", "_blank");
}
Symbol 479 MovieClip Frame 271
stop();