STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228130
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/51027981?noj=FRM51027981-15DC" width="1" height="1"></div>

Sexy CubeStrip With Brett Rossi.swf

This is the info page for
Flash #110736

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
frame 1 { this._lockroot = true; } movieClip 224 { } movieClip 227 { } movieClip 225 { } button 1614 { on (release) { square_strip:domoins(); } } movieClip 234 { } movieClip 241 { } movieClip 243 { } movieClip 245 { } movieClip 247 { } movieClip 249 { } movieClip 251 { } movieClip 253 { } movieClip 255 { } movieClip 271 { } button 1638 { on (release) { l2:bougecar(1); } } movieClip 273 { } button 1641 { on (release) { l2:bougecar(2); } } movieClip 275 { } button 1644 { on (release) { l2:bougecar(3); } } movieClip 277 { } button 1647 { on (release) { l2:bougecar(4); } } movieClip 279 { } button 1650 { on (release) { l2:bougecar(5); } } movieClip 281 { } button 1653 { on (release) { l2:bougecar(6); } } movieClip 283 { } button 1656 { on (release) { l2:bougecar(7); } } movieClip 285 { } button 1659 { on (release) { l2:bougecar(8); } } movieClip 301 { } button 1662 { on (release) { l2:bougecar(9); } } movieClip 233 { } movieClip 303 { } movieClip 310 { } movieClip 312 { } movieClip 314 { } movieClip 316 { } movieClip 318 { } movieClip 320 { } movieClip 322 { } movieClip 324 { } movieClip 340 { } button 1675 { on (release) { l1:bougecar(1); } } movieClip 342 { } button 1678 { on (release) { l1:bougecar(2); } } movieClip 344 { } button 1681 { on (release) { l1:bougecar(3); } } movieClip 346 { } button 1684 { on (release) { l1:bougecar(4); } } movieClip 348 { } button 1687 { on (release) { l1:bougecar(5); } } movieClip 350 { } button 1690 { on (release) { l1:bougecar(6); } } movieClip 352 { } button 1693 { on (release) { l1:bougecar(7); } } movieClip 354 { } button 1696 { on (release) { l1:bougecar(8); } } movieClip 370 { } button 1699 { on (release) { l1:bougecar(9); } } movieClip 302 { } movieClip 372 { } movieClip 379 { } movieClip 381 { } movieClip 383 { } movieClip 385 { } movieClip 387 { } movieClip 389 { } movieClip 391 { } movieClip 393 { } movieClip 395 { } movieClip 397 { } movieClip 399 { } movieClip 401 { } movieClip 403 { } movieClip 405 { } movieClip 407 { } movieClip 409 { } button 1719 { on (release) { l4:bougecar(1); } } movieClip 411 { } button 1722 { on (release) { l4:bougecar(2); } } movieClip 413 { } button 1725 { on (release) { l4:bougecar(3); } } movieClip 415 { } button 1728 { on (release) { l4:bougecar(4); } } movieClip 417 { } button 1731 { on (release) { l4:bougecar(5); } } movieClip 419 { } button 1734 { on (release) { l4:bougecar(6); } } movieClip 421 { } button 1737 { on (release) { l4:bougecar(7); } } movieClip 423 { } button 1740 { on (release) { l4:bougecar(8); } } movieClip 425 { } button 1743 { on (release) { l4:bougecar(9); } } movieClip 427 { } button 1746 { on (release) { l4:bougecar(10); } } movieClip 429 { } button 1749 { on (release) { l4:bougecar(11); } } movieClip 431 { } button 1752 { on (release) { l4:bougecar(12); } } movieClip 433 { } button 1755 { on (release) { l4:bougecar(13); } } movieClip 435 { } button 1758 { on (release) { l4:bougecar(14); } } movieClip 437 { } button 1761 { on (release) { l4:bougecar(15); } } movieClip 439 { } button 1764 { on (release) { l4:bougecar(16); } } movieClip 371 { } movieClip 441 { } movieClip 448 { } movieClip 450 { } movieClip 452 { } movieClip 454 { } movieClip 456 { } movieClip 458 { } movieClip 460 { } movieClip 462 { } movieClip 464 { } movieClip 466 { } movieClip 468 { } movieClip 470 { } movieClip 472 { } movieClip 474 { } movieClip 476 { } movieClip 478 { } button 1784 { on (release) { l5:bougecar(1); } } movieClip 480 { } button 1787 { on (release) { l5:bougecar(2); } } movieClip 482 { } button 1790 { on (release) { l5:bougecar(3); } } movieClip 484 { } button 1793 { on (release) { l5:bougecar(4); } } movieClip 486 { } button 1796 { on (release) { l5:bougecar(5); } } movieClip 488 { } button 1799 { on (release) { l5:bougecar(6); } } movieClip 490 { } button 1802 { on (release) { l5:bougecar(7); } } movieClip 492 { } button 1805 { on (release) { l5:bougecar(8); } } movieClip 494 { } button 1808 { on (release) { l5:bougecar(9); } } movieClip 496 { } button 1811 { on (release) { l5:bougecar(10); } } movieClip 498 { } button 1814 { on (release) { l5:bougecar(11); } } movieClip 500 { } button 1817 { on (release) { l5:bougecar(12); } } movieClip 502 { } button 1820 { on (release) { l5:bougecar(13); } } movieClip 504 { } button 1823 { on (release) { l5:bougecar(14); } } movieClip 506 { } button 1826 { on (release) { l5:bougecar(15); } } movieClip 508 { } button 1829 { on (release) { l5:bougecar(25); } } movieClip 511 { } button 1832 { on (release) { l5:bougecar(16); } } movieClip 514 { } button 1835 { on (release) { l5:bougecar(17); } } movieClip 517 { } button 1838 { on (release) { l5:bougecar(18); } } movieClip 520 { } button 1841 { on (release) { l5:bougecar(19); } } movieClip 523 { } button 1844 { on (release) { l5:bougecar(20); } } movieClip 526 { } button 1847 { on (release) { l5:bougecar(21); } } movieClip 529 { } button 1850 { on (release) { l5:bougecar(22); } } movieClip 532 { } button 1853 { on (release) { l5:bougecar(23); } } movieClip 535 { } button 1856 { on (release) { l5:bougecar(24); } } movieClip 542 { } movieClip 547 { } movieClip 549 { } movieClip 551 { } movieClip 553 { } movieClip 555 { } movieClip 557 { } movieClip 559 { } movieClip 561 { } movieClip 440 { } button 1872 { on (release) { square_strip:doplus(); } } button 1876 { on (release) { square_strip:doplus(); } } button 1880 { on (release) { square_strip:doplus(); } } button 1884 { on (release) { square_strip:doplus(); } } button 1888 { on (release) { square_strip:doinit(); l1:doinit(); l2:doinit(); l4:doinit(); l5:doinit(); } } movieClip 695 { frame 1 { stop(); } frame 1 { stop(); } frame 2 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 6 { stop(); } } movieClip 713 { } button 1890 { on (release) { square_strip:popup3(); } } movieClip 721 { } button 1894 { on (release) { square_strip:fxgogamebp2(); } } movieClip 725 { } button 1898 { on (release) { square_strip:fxgotimdir2(); } } movieClip 717 { } movieClip 724 { } movieClip 730 { } movieClip 728 { } button 1904 { on (release) { square_strip:openabout(); } } movieClip 796 { } movieClip 797 { } button 1925 { on (release) { bj2:fxgocecash3(); } } movieClip 798 { } button 1929 { on (release) { square_strip:popup3(); square_strip:fxgocecash3(); } } movieClip 799 { } button 1933 { on (release) { square_strip:fxgocecash3(); } } movieClip 795 { frame 1 { square_strip:fxgocecash(); } frame 1 { stop(); } frame 1 { stop(); } frame 2 { stop(); } frame 2 { stop(); } } movieClip 750 { } movieClip 752 { } movieClip 756 { } button 1942 { on (release) { gotoAndStop(1); } } movieClip 754 { } button 1946 { on (release) { square_strip:popup2(); } } movieClip 755 { } button 1950 { on (release) { gotoAndStop(1); } } movieClip 749 { frame 1 { square_strip:fxgotimdir(); } frame 1 { stop(); } frame 1 { stop(); } frame 2 { stop(); } frame 2 { stop(); } } movieClip 757 { } movieClip 751 { } movieClip 741 { } movieClip 746 { } button 1964 { on (release) { gotoAndStop(1); } } movieClip 744 { } movieClip 745 { } button 1972 { on (release) { square_strip:popup1(); } } movieClip 748 { } button 1976 { on (release) { gotoAndStop(1); } } movieClip 740 { frame 1 { square_strip:fxgogamebp(); } frame 1 { stop(); } frame 1 { stop(); } frame 2 { stop(); } frame 2 { stop(); } } movieClip 760 { } movieClip 763 { } movieClip 761 { } button 1978 { on (release) { _root/clovid._visible = false; _root/img._visible = false; _root/cadrevid2._visible = false; _root/reload._visible = false; square_strip:splatch(); } } movieClip 770 { } movieClip 774 { } movieClip 775 { } movieClip 776 { } movieClip 777 { } button 2010 { on (release) { square_strip:popup1(); } } movieClip 778 { } movieClip 779 { } movieClip 780 { } button 2018 { on (release) { square_strip:popup3(); } } movieClip 781 { } movieClip 782 { } button 2026 { on (release) { square_strip:popup2(); } } movieClip 772 { } button 2030 { on (release) { square_strip:popup6(); } } movieClip 783 { } button 2034 { on (release) { square_strip:popup5(); } } movieClip 773 { frame 1 { stop(); } frame 1 { stop(); } } movieClip 771 { } movieClip 785 { } movieClip 788 { } movieClip 786 { } button 2046 { on (release) { square_strip:closeabout(); } } movieClip 769 { frame 1 { stop(); } frame 1 { stop(); } frame 2 { stop(); } frame 2 { stop(); } } frame 1 { stop(); } frame 1 { stop(); } movieClip 790 { } button 2062 { on (release) { stopAllSounds(); tellTarget ('_root.musicgrp') { gotoAndPlay(1 + 1); } tellTarget ('_root.musicgrp') { stop(); } } } movieClip 792 { } button 2066 { on (release) { tellTarget ('_root.musicgrp') { gotoAndPlay(+1); } tellTarget ('_root.musicgrp') { stop(); } } } movieClip 789 { frame 1 { stop(); } frame 1 { stop(); } frame 2 { stop(); } frame 2 { stop(); } } button 2069 { on (release) { square_strip:dozestartnull(); } } movieClip 805 { } button 2071 { on (release) { square_strip:dozestart(); } } button 2075 { on (release) { square_strip:popup1(); } } movieClip 78 { } movieClip 150 { } movieClip 152 { } movieClip 154 { } movieClip 156 { } movieClip 158 { } movieClip 160 { } movieClip 162 { } movieClip 164 { } movieClip 166 { } movieClip 168 { } movieClip 170 { } movieClip 172 { } movieClip 174 { } movieClip 176 { } movieClip 178 { } movieClip 180 { } button 2094 { on (release) { square_strip:bougecar(1); } } movieClip 182 { } button 2097 { on (release) { square_strip:bougecar(2); } } movieClip 184 { } button 2100 { on (release) { square_strip:bougecar(3); } } movieClip 186 { } button 2103 { on (release) { square_strip:bougecar(4); } } movieClip 188 { } button 2106 { on (release) { square_strip:bougecar(5); } } movieClip 190 { } button 2109 { on (release) { square_strip:bougecar(6); } } movieClip 192 { } button 2112 { on (release) { square_strip:bougecar(7); } } movieClip 194 { } button 2115 { on (release) { square_strip:bougecar(8); } } movieClip 196 { } button 2118 { on (release) { square_strip:bougecar(9); } } movieClip 198 { } button 2121 { on (release) { square_strip:bougecar(10); } } movieClip 200 { } button 2124 { on (release) { square_strip:bougecar(11); } } movieClip 202 { } button 2127 { on (release) { square_strip:bougecar(12); } } movieClip 204 { } button 2130 { on (release) { square_strip:bougecar(13); } } movieClip 206 { } button 2133 { on (release) { square_strip:bougecar(14); } } movieClip 208 { } button 2136 { on (release) { square_strip:bougecar(15); } } movieClip 210 { } button 2139 { on (release) { square_strip:bougecar(16); } } movieClip 77 { } frame 1 { square_strip:doinit(); l1:doinit(); l2:doinit(); l4:doinit(); l5:doinit(); } movieClip 70 { } movieClip 123 { } movieClip 126 { } movieClip 124 { } button 2165 { on (release) { square_strip:doreset16(); } } movieClip 229 { } movieClip 232 { } movieClip 230 { } button 2182 { on (release) { square_strip:doplus(); } } movieClip 612 { } movieClip 615 { } movieClip 613 { } button 2208 { on (release) { l1:doreset9(); } } movieClip 631 { } movieClip 634 { } movieClip 632 { } button 2236 { on (release) { l2:doreset9(); } } movieClip 656 { } movieClip 659 { } movieClip 657 { } button 2270 { on (release) { l4:doreset16(); } } movieClip 690 { } movieClip 693 { } movieClip 691 { } button 2313 { on (release) { l5:doreset25(); } } movieClip 765 { } movieClip 768 { } movieClip 766 { } button 2327 { on (release) { square_strip:loadvideo(0); } } movieClip 802 { } button 2341 { on (release) { square_strip:popup3(); } } movieClip 20480 __Packages.l4 { #initclip if (!l4) { _global.l4 = function () {}; var v1 = _global.l4.prototype; _global.l4.testparity16 = function () { var v2 = new Array(); v2[1] = _root.l4lv1_text; v2[2] = _root.l4lv2_text; v2[3] = _root.l4lv3_text; v2[4] = _root.l4lv4_text; v2[5] = _root.l4lv5_text; v2[6] = _root.l4lv6_text; v2[7] = _root.l4lv7_text; v2[8] = _root.l4lv8_text; v2[9] = _root.l4lv9_text; v2[10] = _root.l4lv10_text; v2[11] = _root.l4lv11_text; v2[12] = _root.l4lv12_text; v2[13] = _root.l4lv13_text; v2[14] = _root.l4lv14_text; v2[15] = _root.l4lv15_text; v2[16] = _root.l4lv16_text; var v6 = 0; var v3 = 0; while (v3 < 17) { if (v2[v3] == '16') { var v7 = v3; v3 = 17; } v3 += 1; } if (v2[1] != '1') { v6 += 1; v3 = 2; while (v3 < 17) { if (v2[v3] == '1') { var v8 = v2[1]; v2[1] = '1'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[2] != '2') { v6 += 1; v3 = 3; while (v3 < 17) { if (v2[v3] == '2') { v8 = v2[2]; v2[2] = '2'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[3] != '3') { v6 += 1; v3 = 4; while (v3 < 17) { if (v2[v3] == '3') { v8 = v2[3]; v2[3] = '3'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[4] != '4') { v6 += 1; v3 = 5; while (v3 < 17) { if (v2[v3] == '4') { v8 = v2[4]; v2[4] = '4'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[5] != '5') { v6 += 1; v3 = 6; while (v3 < 17) { if (v2[v3] == '5') { v8 = v2[5]; v2[5] = '5'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[6] != '6') { v6 += 1; v3 = 7; while (v3 < 17) { if (v2[v3] == '6') { v8 = v2[6]; v2[6] = '6'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[7] != '7') { v6 += 1; v3 = 8; while (v3 < 17) { if (v2[v3] == '7') { v8 = v2[7]; v2[7] = '7'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[8] != '8') { v6 += 1; v3 = 9; while (v3 < 17) { if (v2[v3] == '8') { v8 = v2[8]; v2[8] = '8'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[9] != '9') { v6 += 1; v3 = 10; while (v3 < 17) { if (v2[v3] == '9') { v8 = v2[9]; v2[9] = '9'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[10] != '10') { v6 += 1; v3 = 11; while (v3 < 17) { if (v2[v3] == '10') { v8 = v2[10]; v2[10] = '10'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[11] != '11') { v6 += 1; v3 = 12; while (v3 < 17) { if (v2[v3] == '11') { v8 = v2[11]; v2[11] = '11'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[12] != '12') { v6 += 1; v3 = 13; while (v3 < 17) { if (v2[v3] == '12') { v8 = v2[12]; v2[12] = '12'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[13] != '13') { v6 += 1; v3 = 14; while (v3 < 17) { if (v2[v3] == '13') { v8 = v2[13]; v2[13] = '13'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[14] != '14') { v6 += 1; v3 = 15; while (v3 < 17) { if (v2[v3] == '14') { v8 = v2[14]; v2[14] = '14'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[15] != '15') { v6 += 1; } var v4 = (v7 - 1) % 4; var v5 = (v7 - 1 - v4) / 4; if ((3 - v4 + (3 - v5)) % 2 == v6 % 2) { return true; } else { return false; } }; _global.l4.dovictoire = function () { var v2 = Number(_root.currentgrp_text); _root.grpic.gotoAndStop(4); _root.grpic._visible = true; square_strip.loadvideo(v2); }; _global.l4.testvictoire = function () { var v2 = Number(_root.l4ltaillecarre_text); if (v2 == 4) { if (_root.l4lv1_text == '1' && (_root.l4lv2_text == '2' && (_root.l4lv3_text == '3' && (_root.l4lv4_text == '4' && (_root.l4lv5_text == '5' && (_root.l4lv6_text == '6' && (_root.l4lv7_text == '7' && (_root.l4lv8_text == '8' && (_root.l4lv9_text == '9' && (_root.l4lv10_text == '10' && (_root.l4lv11_text == '11' && (_root.l4lv12_text == '12' && (_root.l4lv13_text == '13' && (_root.l4lv14_text == '14' && _root.l4lv15_text == '15')))))))))))))) { l4.dovictoire(); } if (_root.l4lv1_text == '1' && (_root.l4lv2_text == '2' && (_root.l4lv3_text == '3' && (_root.l4lv4_text == '4' && (_root.l4lv5_text == '5' && (_root.l4lv6_text == '6' && (_root.l4lv7_text == '7' && (_root.l4lv8_text == '8' && (_root.l4lv9_text == '9' && (_root.l4lv10_text == '10' && (_root.l4lv11_text == '11' && (_root.l4lv12_text == '12' && (_root.l4lv13_text == '13' && (_root.l4lv14_text == '15' && _root.l4lv15_text == '14')))))))))))))) { _root.impossible._visible = true; } } }; _global.l4.doresetplace16 = function (posdepart) { _root.iswin._visible = false; _root.impossible._visible = false; var v5 = Number(_root.l4lsizecubew_text); var v6 = Number(_root.l4lsizecubeh_text); var v7 = Number(_root.l4ltaillecarre_text); var v8 = Number(_root.initx_text); var v9 = Number(_root.inity_text); if (posdepart == 1) { var v10 = Number(_root.l4lv1_text); } if (posdepart == 2) { v10 = Number(_root.l4lv2_text); } if (posdepart == 3) { v10 = Number(_root.l4lv3_text); } if (posdepart == 4) { v10 = Number(_root.l4lv4_text); } if (posdepart == 5) { v10 = Number(_root.l4lv5_text); } if (posdepart == 6) { v10 = Number(_root.l4lv6_text); } if (posdepart == 7) { v10 = Number(_root.l4lv7_text); } if (posdepart == 8) { v10 = Number(_root.l4lv8_text); } if (posdepart == 9) { v10 = Number(_root.l4lv9_text); } if (posdepart == 10) { v10 = Number(_root.l4lv10_text); } if (posdepart == 11) { v10 = Number(_root.l4lv11_text); } if (posdepart == 12) { v10 = Number(_root.l4lv12_text); } if (posdepart == 13) { v10 = Number(_root.l4lv13_text); } if (posdepart == 14) { v10 = Number(_root.l4lv14_text); } if (posdepart == 15) { v10 = Number(_root.l4lv15_text); } if (posdepart == 16) { v10 = Number(_root.l4lv16_text); } if (v10 == 1) { var v11 = _root.groupe4.o1; } if (v10 == 2) { v11 = _root.groupe4.o2; } if (v10 == 3) { v11 = _root.groupe4.o3; } if (v10 == 4) { v11 = _root.groupe4.o4; } if (v10 == 5) { v11 = _root.groupe4.o5; } if (v10 == 6) { v11 = _root.groupe4.o6; } if (v10 == 7) { v11 = _root.groupe4.o7; } if (v10 == 8) { v11 = _root.groupe4.o8; } if (v10 == 9) { v11 = _root.groupe4.o9; } if (v10 == 10) { v11 = _root.groupe4.o10; } if (v10 == 11) { v11 = _root.groupe4.o11; } if (v10 == 12) { v11 = _root.groupe4.o12; } if (v10 == 13) { v11 = _root.groupe4.o13; } if (v10 == 14) { v11 = _root.groupe4.o14; } if (v10 == 15) { v11 = _root.groupe4.o15; } if (v10 == 16) { v11 = _root.groupe4.o16; _root.l4lcurpos_text = String(posdepart); } var v3 = (posdepart - 1) % v7; var v4 = (posdepart - 1 - v3) / v7; v11._x = v8 + v5 * v3; v11._y = v9 + v6 * v4; }; _global.l4.doreset16 = function () { _root.l4lv1_text = '0'; _root.l4lv2_text = '0'; _root.l4lv3_text = '0'; _root.l4lv4_text = '0'; _root.l4lv5_text = '0'; _root.l4lv6_text = '0'; _root.l4lv7_text = '0'; _root.l4lv8_text = '0'; _root.l4lv9_text = '0'; _root.l4lv10_text = '0'; _root.l4lv11_text = '0'; _root.l4lv12_text = '0'; _root.l4lv13_text = '0'; _root.l4lv14_text = '0'; _root.l4lv15_text = '0'; _root.l4lv16_text = '0'; _root.l4lv1_text = l4.givenumber(16); if (_root.l4lv1_text == '1') { _root.l4lv1_text = '2'; } _root.l4lv2_text = l4.givenumber(16); _root.l4lv3_text = l4.givenumber(16); _root.l4lv4_text = l4.givenumber(16); _root.l4lv5_text = l4.givenumber(16); _root.l4lv6_text = l4.givenumber(16); _root.l4lv7_text = l4.givenumber(16); _root.l4lv8_text = l4.givenumber(16); _root.l4lv9_text = l4.givenumber(16); _root.l4lv10_text = l4.givenumber(16); _root.l4lv11_text = l4.givenumber(16); _root.l4lv12_text = l4.givenumber(16); _root.l4lv13_text = l4.givenumber(16); _root.l4lv14_text = l4.givenumber(16); _root.l4lv15_text = l4.givenumber(16); _root.l4lv16_text = l4.givenumber(16); while (l4.testparity16() == false) { _root.l4lv1_text = '0'; _root.l4lv2_text = '0'; _root.l4lv3_text = '0'; _root.l4lv4_text = '0'; _root.l4lv5_text = '0'; _root.l4lv6_text = '0'; _root.l4lv7_text = '0'; _root.l4lv8_text = '0'; _root.l4lv9_text = '0'; _root.l4lv10_text = '0'; _root.l4lv11_text = '0'; _root.l4lv12_text = '0'; _root.l4lv13_text = '0'; _root.l4lv14_text = '0'; _root.l4lv15_text = '0'; _root.l4lv16_text = '0'; _root.l4lv1_text = l4.givenumber(16); if (_root.l4lv1_text == '1') { _root.l4lv1_text = '2'; } _root.l4lv2_text = l4.givenumber(16); _root.l4lv3_text = l4.givenumber(16); _root.l4lv4_text = l4.givenumber(16); _root.l4lv5_text = l4.givenumber(16); _root.l4lv6_text = l4.givenumber(16); _root.l4lv7_text = l4.givenumber(16); _root.l4lv8_text = l4.givenumber(16); _root.l4lv9_text = l4.givenumber(16); _root.l4lv10_text = l4.givenumber(16); _root.l4lv11_text = l4.givenumber(16); _root.l4lv12_text = l4.givenumber(16); _root.l4lv13_text = l4.givenumber(16); _root.l4lv14_text = l4.givenumber(16); _root.l4lv15_text = l4.givenumber(16); _root.l4lv16_text = l4.givenumber(16); } l4.doresetplace16(1); l4.doresetplace16(2); l4.doresetplace16(3); l4.doresetplace16(4); l4.doresetplace16(5); l4.doresetplace16(6); l4.doresetplace16(7); l4.doresetplace16(8); l4.doresetplace16(9); l4.doresetplace16(10); l4.doresetplace16(11); l4.doresetplace16(12); l4.doresetplace16(13); l4.doresetplace16(14); l4.doresetplace16(15); l4.doresetplace16(16); }; _global.l4.isunused16 = function (truf) { if (Number(truf) < 1) { return false; } if (Number(truf) > 16) { return false; } if (_root.l4lv1_text == truf) { return false; } if (_root.l4lv2_text == truf) { return false; } if (_root.l4lv3_text == truf) { return false; } if (_root.l4lv4_text == truf) { return false; } if (_root.l4lv5_text == truf) { return false; } if (_root.l4lv6_text == truf) { return false; } if (_root.l4lv7_text == truf) { return false; } if (_root.l4lv8_text == truf) { return false; } if (_root.l4lv9_text == truf) { return false; } if (_root.l4lv10_text == truf) { return false; } if (_root.l4lv11_text == truf) { return false; } if (_root.l4lv12_text == truf) { return false; } if (_root.l4lv13_text == truf) { return false; } if (_root.l4lv14_text == truf) { return false; } if (_root.l4lv15_text == truf) { return false; } if (_root.l4lv16_text == truf) { return false; } return true; }; _global.l4.isunused = function (truf, thenum) { if (Number(truf) < 1) { return false; } if (Number(truf) > thenum) { return false; } if (thenum == 16) { return l4.isunused16(truf); } return true; }; _global.l4.givenumber = function (thenum) { var v3 = Math.floor(Math.random() * thenum) + 1; while (l4.isunused(String(v3), thenum) == false) { v3 = Math.floor(Math.random() * thenum) + 1; } return String(v3); }; _global.l4.doinit = function () { _root.l4lv1_text = 1; _root.l4lv2_text = 2; _root.l4lv3_text = 3; _root.l4lv4_text = 4; _root.l4lv5_text = 5; _root.l4lv6_text = 6; _root.l4lv7_text = 7; _root.l4lv8_text = 8; _root.l4lv9_text = 9; _root.l4lv10_text = 10; _root.l4lv11_text = 11; _root.l4lv12_text = 12; _root.l4lv13_text = 13; _root.l4lv14_text = 14; _root.l4lv15_text = 15; _root.l4lv16_text = 16; _root.l4lv1._visible = false; _root.l4lv2._visible = false; _root.l4lv3._visible = false; _root.l4lv4._visible = false; _root.l4lv5._visible = false; _root.l4lv6._visible = false; _root.l4lv7._visible = false; _root.l4lv8._visible = false; _root.l4lv9._visible = false; _root.l4lv10._visible = false; _root.l4lv11._visible = false; _root.l4lv12._visible = false; _root.l4lv13._visible = false; _root.l4lv14._visible = false; _root.l4lv15._visible = false; _root.l4lv16._visible = false; _root.l4ltaillecarre._visible = false; _root.l4lsizecubew._visible = false; _root.l4lsizecubeh._visible = false; _root.l4lcurpos._visible = false; _root.groupe4.sans_nom69._visible = false; _root.iswin._visible = false; _root.impossible._visible = false; l4.doreset16(); }; _global.l4.changeplacegenerique = function (posdepart, posarrive) { var v7 = Number(_root.l4lsizecubew_text); var v8 = Number(_root.l4lsizecubeh_text); var v9 = Number(_root.l4ltaillecarre_text); if (posdepart == 1) { var v4 = Number(_root.l4lv1_text); } if (posdepart == 2) { v4 = Number(_root.l4lv2_text); } if (posdepart == 3) { v4 = Number(_root.l4lv3_text); } if (posdepart == 4) { v4 = Number(_root.l4lv4_text); } if (posdepart == 5) { v4 = Number(_root.l4lv5_text); } if (posdepart == 6) { v4 = Number(_root.l4lv6_text); } if (posdepart == 7) { v4 = Number(_root.l4lv7_text); } if (posdepart == 8) { v4 = Number(_root.l4lv8_text); } if (posdepart == 9) { v4 = Number(_root.l4lv9_text); } if (posdepart == 10) { v4 = Number(_root.l4lv10_text); } if (posdepart == 11) { v4 = Number(_root.l4lv11_text); } if (posdepart == 12) { v4 = Number(_root.l4lv12_text); } if (posdepart == 13) { v4 = Number(_root.l4lv13_text); } if (posdepart == 14) { v4 = Number(_root.l4lv14_text); } if (posdepart == 15) { v4 = Number(_root.l4lv15_text); } if (posdepart == 16) { v4 = Number(_root.l4lv16_text); } if (posarrive == 1) { var v10 = _root.l4lv1_text; _root.l4lv1_text = v4; } if (posarrive == 2) { v10 = _root.l4lv2_text; _root.l4lv2_text = v4; } if (posarrive == 3) { v10 = _root.l4lv3_text; _root.l4lv3_text = v4; } if (posarrive == 4) { v10 = _root.l4lv4_text; _root.l4lv4_text = v4; } if (posarrive == 5) { v10 = _root.l4lv5_text; _root.l4lv5_text = v4; } if (posarrive == 6) { v10 = _root.l4lv6_text; _root.l4lv6_text = v4; } if (posarrive == 7) { v10 = _root.l4lv7_text; _root.l4lv7_text = v4; } if (posarrive == 8) { v10 = _root.l4lv8_text; _root.l4lv8_text = v4; } if (posarrive == 9) { v10 = _root.l4lv9_text; _root.l4lv9_text = v4; } if (posarrive == 10) { v10 = _root.l4lv10_text; _root.l4lv10_text = v4; } if (posarrive == 11) { v10 = _root.l4lv11_text; _root.l4lv11_text = v4; } if (posarrive == 12) { v10 = _root.l4lv12_text; _root.l4lv12_text = v4; } if (posarrive == 13) { v10 = _root.l4lv13_text; _root.l4lv13_text = v4; } if (posarrive == 14) { v10 = _root.l4lv14_text; _root.l4lv14_text = v4; } if (posarrive == 15) { v10 = _root.l4lv15_text; _root.l4lv15_text = v4; } if (posarrive == 16) { v10 = _root.l4lv16_text; _root.l4lv16_text = v4; } if (Number(v10) == 1) { var v6 = _root.groupe4.o1; } if (Number(v10) == 2) { v6 = _root.groupe4.o2; } if (Number(v10) == 3) { v6 = _root.groupe4.o3; } if (Number(v10) == 4) { v6 = _root.groupe4.o4; } if (Number(v10) == 5) { v6 = _root.groupe4.o5; } if (Number(v10) == 6) { v6 = _root.groupe4.o6; } if (Number(v10) == 7) { v6 = _root.groupe4.o7; } if (Number(v10) == 8) { v6 = _root.groupe4.o8; } if (Number(v10) == 9) { v6 = _root.groupe4.o9; } if (Number(v10) == 10) { v6 = _root.groupe4.o10; } if (Number(v10) == 11) { v6 = _root.groupe4.o11; } if (Number(v10) == 12) { v6 = _root.groupe4.o12; } if (Number(v10) == 13) { v6 = _root.groupe4.o13; } if (Number(v10) == 14) { v6 = _root.groupe4.o14; } if (Number(v10) == 15) { v6 = _root.groupe4.o15; } if (Number(v10) == 16) { v6 = _root.groupe4.o16; } if (posdepart == 1) { _root.l4lv1_text = v10; } if (posdepart == 2) { _root.l4lv2_text = v10; } if (posdepart == 3) { _root.l4lv3_text = v10; } if (posdepart == 4) { _root.l4lv4_text = v10; } if (posdepart == 5) { _root.l4lv5_text = v10; } if (posdepart == 6) { _root.l4lv6_text = v10; } if (posdepart == 7) { _root.l4lv7_text = v10; } if (posdepart == 8) { _root.l4lv8_text = v10; } if (posdepart == 9) { _root.l4lv9_text = v10; } if (posdepart == 10) { _root.l4lv10_text = v10; } if (posdepart == 11) { _root.l4lv11_text = v10; } if (posdepart == 12) { _root.l4lv12_text = v10; } if (posdepart == 13) { _root.l4lv13_text = v10; } if (posdepart == 14) { _root.l4lv14_text = v10; } if (posdepart == 15) { _root.l4lv15_text = v10; } if (posdepart == 16) { _root.l4lv16_text = v10; } if (posdepart == posarrive - 1) { v6._x -= v7; } if (posdepart == posarrive + 1) { v6._x += v7; } if (posdepart == posarrive + v9) { v6._y += v8; } if (posdepart == posarrive - v9) { v6._y -= v8; } l4.testvictoire(); }; _global.l4.bougecar = function (tre) { var v8 = Number(_root.l4lcurpos_text); tre -= 1; var v3 = tre % Number(_root.l4ltaillecarre_text); var v4 = (tre - v3) / Number(_root.l4ltaillecarre_text); var v5 = (v8 - 1) % Number(_root.l4ltaillecarre_text); var v6 = (v8 - 1 - v5) / Number(_root.l4ltaillecarre_text); var v7 = 0; if (v3 == v5 - 1 && v4 == v6) { v7 = 1; } if (v3 == v5 + 1 && v4 == v6) { v7 = 1; } if (v4 == v6 + 1 && v3 == v5) { v7 = 1; } if (v4 == v6 - 1 && v3 == v5) { v7 = 1; } if (v7 == 1) { l4.changeplacegenerique(v8, tre + 1); _root.l4lcurpos_text = tre + 1; } if (v7 == 0) { } }; ASSetPropFlags(v1, null, 1); } #endinitclip } movieClip 20481 __Packages.square_strip { #initclip if (!square_strip) { _global.square_strip = function () {}; var v1 = _global.square_strip.prototype; _global.square_strip.dozestartnull = function () { _root.background2_jpg._visible = true; }; _global.square_strip.dozestart = function () { _root.sbut._visible = false; _root.tw2._visible = false; _root.canplay._visible = false; _root.background2_jpg._visible = false; }; _global.square_strip.fxgocecash2 = function () { _root.grpgotocecash.gotoAndStop(2); }; _global.square_strip.fxgocecash = function () { _root.grpgotocecash.gotoAndStop(1); _root.grpgotocecash.gotocecash._visible = false; }; _global.square_strip.fxgocecash3 = function () { _root.grpgotocecash.gotoAndStop(1); }; _global.square_strip.closeabout = function () { _root.abgrp.gotoAndStop(1); _root.abgrp.sans_nom5069._visible = false; }; _global.square_strip.openabout = function () { _root.abgrp.gotoAndStop(2); _root.abgrp.sans_nom5069._visible = false; }; _global.square_strip.splatch = function () { square_strip.loadswf(_root.img, 'null'); var v2 = Number(_root.currentgrp_text); if (v2 == 5) { square_strip.fxgocecash2(); } }; _global.square_strip.loadswf = function (mc, nomSwf) { var v4 = nomSwf; var v5 = new MovieClipLoader(); var v6 = new Object(); if (v4 !== 0) { v6.onLoadComplete = function () { _root.status_text = 'onLoadComplete'; }; v6.onLoadProgress = function () { _root.status_text = 'onLoadProgress'; }; v6.onLoadStart = function () { _root.status_text = 'onLoadStart'; }; v6.onLoadInit = function () { _root.status_text = 'onLoadInit'; }; v6.onLoadError = function () { _root.status_text = 'onLoadError'; }; v5.addListener(v6); v5.loadClip(v4, mc); } }; _global.square_strip.loadvideo = function (shit) { if (shit == 6) { var v3 = Number(_root.currentgrp_text); } else { var v3 = Number(_root.currentgrp_text); } _root.clovid._visible = true; _root.img._visible = true; _root.cadrevid2._visible = true; _root.reload._visible = true; if (v3 == 1) { square_strip.loadswf(_root.img, 'http://timdir.com/vidsquarestripbrettrossi/brettrossi1.swf'); } if (v3 == 2) { square_strip.loadswf(_root.img, 'http://timdir.com/vidsquarestripbrettrossi/brettrossi2.swf'); } if (v3 == 3) { square_strip.loadswf(_root.img, 'http://timdir.com/vidsquarestripbrettrossi/brettrossi3.swf'); } if (v3 == 4) { square_strip.loadswf(_root.img, 'http://timdir.com/vidsquarestripbrettrossi/brettrossi4.swf'); } if (v3 == 5) { square_strip.loadswf(_root.img, 'http://timdir.com/vidsquarestripbrettrossi/brettrossi5.swf'); } }; _global.square_strip.fxgogamebp = function () { _root.grpgotogamebp.gotogamebp._visible = false; }; _global.square_strip.fxgotimdir = function () { _root.grpgototimdir.gototimdir._visible = false; }; _global.square_strip.popup1 = function () { _root.grpgotogamebp.gotoAndStop(1); getURL('http://www.pwpwpoker.com/flashinfo/pw.php', '_blank'); }; _global.square_strip.popup2 = function () { _root.grpgototimdir.gotoAndStop(1); getURL('http://www.pwpwpoker.com/flashinfo/timtgp.php', '_blank'); }; _global.square_strip.popup3 = function () { getURL('http://www.pwpwpoker.com/flashinfo/twistys.php', '_blank'); }; _global.square_strip.popup5 = function () { getURL('http://pwpwpoker.com/totem.php', '_blank'); }; _global.square_strip.popup6 = function () { getURL('http://www.pwpwpoker.com/strip_poker/#lazy', '_blank'); }; _global.square_strip.fxgotimdir2 = function () { _root.grpgototimdir.gotoAndStop(2); }; _global.square_strip.fxgogamebp2 = function () { _root.grpgotogamebp.gotoAndStop(2); }; _global.square_strip.testparity16 = function () { var v2 = new Array(); v2[1] = _root.v1_text; v2[2] = _root.v2_text; v2[3] = _root.v3_text; v2[4] = _root.v4_text; v2[5] = _root.v5_text; v2[6] = _root.v6_text; v2[7] = _root.v7_text; v2[8] = _root.v8_text; v2[9] = _root.v9_text; v2[10] = _root.v10_text; v2[11] = _root.v11_text; v2[12] = _root.v12_text; v2[13] = _root.v13_text; v2[14] = _root.v14_text; v2[15] = _root.v15_text; v2[16] = _root.v16_text; var v6 = 0; var v3 = 0; while (v3 < 17) { if (v2[v3] == '16') { var v7 = v3; v3 = 17; } v3 += 1; } if (v2[1] != '1') { v6 += 1; v3 = 2; while (v3 < 17) { if (v2[v3] == '1') { var v8 = v2[1]; v2[1] = '1'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[2] != '2') { v6 += 1; v3 = 3; while (v3 < 17) { if (v2[v3] == '2') { v8 = v2[2]; v2[2] = '2'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[3] != '3') { v6 += 1; v3 = 4; while (v3 < 17) { if (v2[v3] == '3') { v8 = v2[3]; v2[3] = '3'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[4] != '4') { v6 += 1; v3 = 5; while (v3 < 17) { if (v2[v3] == '4') { v8 = v2[4]; v2[4] = '4'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[5] != '5') { v6 += 1; v3 = 6; while (v3 < 17) { if (v2[v3] == '5') { v8 = v2[5]; v2[5] = '5'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[6] != '6') { v6 += 1; v3 = 7; while (v3 < 17) { if (v2[v3] == '6') { v8 = v2[6]; v2[6] = '6'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[7] != '7') { v6 += 1; v3 = 8; while (v3 < 17) { if (v2[v3] == '7') { v8 = v2[7]; v2[7] = '7'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[8] != '8') { v6 += 1; v3 = 9; while (v3 < 17) { if (v2[v3] == '8') { v8 = v2[8]; v2[8] = '8'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[9] != '9') { v6 += 1; v3 = 10; while (v3 < 17) { if (v2[v3] == '9') { v8 = v2[9]; v2[9] = '9'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[10] != '10') { v6 += 1; v3 = 11; while (v3 < 17) { if (v2[v3] == '10') { v8 = v2[10]; v2[10] = '10'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[11] != '11') { v6 += 1; v3 = 12; while (v3 < 17) { if (v2[v3] == '11') { v8 = v2[11]; v2[11] = '11'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[12] != '12') { v6 += 1; v3 = 13; while (v3 < 17) { if (v2[v3] == '12') { v8 = v2[12]; v2[12] = '12'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[13] != '13') { v6 += 1; v3 = 14; while (v3 < 17) { if (v2[v3] == '13') { v8 = v2[13]; v2[13] = '13'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[14] != '14') { v6 += 1; v3 = 15; while (v3 < 17) { if (v2[v3] == '14') { v8 = v2[14]; v2[14] = '14'; v2[v3] = v8; v3 = 17; } v3 += 1; } } if (v2[15] != '15') { v6 += 1; } var v4 = (v7 - 1) % 4; var v5 = (v7 - 1 - v4) / 4; if ((3 - v4 + (3 - v5)) % 2 == v6 % 2) { return true; } else { return false; } }; _global.square_strip.dovictoire = function () { var v2 = Number(_root.currentgrp_text); _root.grpic.gotoAndStop(3); _root.grpic._visible = true; square_strip.loadvideo(v2); }; _global.square_strip.testvictoire = function () { var v2 = Number(_root.taillecarre_text); if (v2 == 4) { if (_root.v1_text == '1' && (_root.v2_text == '2' && (_root.v3_text == '3' && (_root.v4_text == '4' && (_root.v5_text == '5' && (_root.v6_text == '6' && (_root.v7_text == '7' && (_root.v8_text == '8' && (_root.v9_text == '9' && (_root.v10_text == '10' && (_root.v11_text == '11' && (_root.v12_text == '12' && (_root.v13_text == '13' && (_root.v14_text == '14' && _root.v15_text == '15')))))))))))))) { square_strip.dovictoire(); } if (_root.v1_text == '1' && (_root.v2_text == '2' && (_root.v3_text == '3' && (_root.v4_text == '4' && (_root.v5_text == '5' && (_root.v6_text == '6' && (_root.v7_text == '7' && (_root.v8_text == '8' && (_root.v9_text == '9' && (_root.v10_text == '10' && (_root.v11_text == '11' && (_root.v12_text == '12' && (_root.v13_text == '13' && (_root.v14_text == '15' && _root.v15_text == '14')))))))))))))) { _root.impossible._visible = true; } } }; _global.square_strip.doresetplace16 = function (posdepart) { _root.iswin._visible = false; _root.impossible._visible = false; var v5 = Number(_root.sizecubew_text); var v6 = Number(_root.sizecubeh_text); var v7 = Number(_root.taillecarre_text); var v8 = Number(_root.initx_text); var v9 = Number(_root.inity_text); if (posdepart == 1) { var v10 = Number(_root.v1_text); } if (posdepart == 2) { v10 = Number(_root.v2_text); } if (posdepart == 3) { v10 = Number(_root.v3_text); } if (posdepart == 4) { v10 = Number(_root.v4_text); } if (posdepart == 5) { v10 = Number(_root.v5_text); } if (posdepart == 6) { v10 = Number(_root.v6_text); } if (posdepart == 7) { v10 = Number(_root.v7_text); } if (posdepart == 8) { v10 = Number(_root.v8_text); } if (posdepart == 9) { v10 = Number(_root.v9_text); } if (posdepart == 10) { v10 = Number(_root.v10_text); } if (posdepart == 11) { v10 = Number(_root.v11_text); } if (posdepart == 12) { v10 = Number(_root.v12_text); } if (posdepart == 13) { v10 = Number(_root.v13_text); } if (posdepart == 14) { v10 = Number(_root.v14_text); } if (posdepart == 15) { v10 = Number(_root.v15_text); } if (posdepart == 16) { v10 = Number(_root.v16_text); } if (v10 == 1) { var v11 = _root.groupe3.o1; } if (v10 == 2) { v11 = _root.groupe3.o2; } if (v10 == 3) { v11 = _root.groupe3.o3; } if (v10 == 4) { v11 = _root.groupe3.o4; } if (v10 == 5) { v11 = _root.groupe3.o5; } if (v10 == 6) { v11 = _root.groupe3.o6; } if (v10 == 7) { v11 = _root.groupe3.o7; } if (v10 == 8) { v11 = _root.groupe3.o8; } if (v10 == 9) { v11 = _root.groupe3.o9; } if (v10 == 10) { v11 = _root.groupe3.o10; } if (v10 == 11) { v11 = _root.groupe3.o11; } if (v10 == 12) { v11 = _root.groupe3.o12; } if (v10 == 13) { v11 = _root.groupe3.o13; } if (v10 == 14) { v11 = _root.groupe3.o14; } if (v10 == 15) { v11 = _root.groupe3.o15; } if (v10 == 16) { v11 = _root.groupe3.o16; _root.curpos_text = String(posdepart); } var v3 = (posdepart - 1) % v7; var v4 = (posdepart - 1 - v3) / v7; v11._x = v8 + v5 * v3; v11._y = v9 + v6 * v4; }; _global.square_strip.doreset16 = function () { _root.v1_text = '0'; _root.v2_text = '0'; _root.v3_text = '0'; _root.v4_text = '0'; _root.v5_text = '0'; _root.v6_text = '0'; _root.v7_text = '0'; _root.v8_text = '0'; _root.v9_text = '0'; _root.v10_text = '0'; _root.v11_text = '0'; _root.v12_text = '0'; _root.v13_text = '0'; _root.v14_text = '0'; _root.v15_text = '0'; _root.v16_text = '0'; _root.v1_text = square_strip.givenumber(16); if (_root.v1_text == '1') { _root.v1_text = '2'; } _root.v2_text = square_strip.givenumber(16); _root.v3_text = square_strip.givenumber(16); _root.v4_text = square_strip.givenumber(16); _root.v5_text = square_strip.givenumber(16); _root.v6_text = square_strip.givenumber(16); _root.v7_text = square_strip.givenumber(16); _root.v8_text = square_strip.givenumber(16); _root.v9_text = square_strip.givenumber(16); _root.v10_text = square_strip.givenumber(16); _root.v11_text = square_strip.givenumber(16); _root.v12_text = square_strip.givenumber(16); _root.v13_text = square_strip.givenumber(16); _root.v14_text = square_strip.givenumber(16); _root.v15_text = square_strip.givenumber(16); _root.v16_text = square_strip.givenumber(16); while (square_strip.testparity16() == false) { _root.v1_text = '0'; _root.v2_text = '0'; _root.v3_text = '0'; _root.v4_text = '0'; _root.v5_text = '0'; _root.v6_text = '0'; _root.v7_text = '0'; _root.v8_text = '0'; _root.v9_text = '0'; _root.v10_text = '0'; _root.v11_text = '0'; _root.v12_text = '0'; _root.v13_text = '0'; _root.v14_text = '0'; _root.v15_text = '0'; _root.v16_text = '0'; _root.v1_text = square_strip.givenumber(16); if (_root.v1_text == '1') { _root.v1_text = '2'; } _root.v2_text = square_strip.givenumber(16); _root.v3_text = square_strip.givenumber(16); _root.v4_text = square_strip.givenumber(16); _root.v5_text = square_strip.givenumber(16); _root.v6_text = square_strip.givenumber(16); _root.v7_text = square_strip.givenumber(16); _root.v8_text = square_strip.givenumber(16); _root.v9_text = square_strip.givenumber(16); _root.v10_text = square_strip.givenumber(16); _root.v11_text = square_strip.givenumber(16); _root.v12_text = square_strip.givenumber(16); _root.v13_text = square_strip.givenumber(16); _root.v14_text = square_strip.givenumber(16); _root.v15_text = square_strip.givenumber(16); _root.v16_text = square_strip.givenumber(16); } square_strip.doresetplace16(1); square_strip.doresetplace16(2); square_strip.doresetplace16(3); square_strip.doresetplace16(4); square_strip.doresetplace16(5); square_strip.doresetplace16(6); square_strip.doresetplace16(7); square_strip.doresetplace16(8); square_strip.doresetplace16(9); square_strip.doresetplace16(10); square_strip.doresetplace16(11); square_strip.doresetplace16(12); square_strip.doresetplace16(13); square_strip.doresetplace16(14); square_strip.doresetplace16(15); square_strip.doresetplace16(16); }; _global.square_strip.isunused16 = function (truf) { if (Number(truf) < 1) { return false; } if (Number(truf) > 16) { return false; } if (_root.v1_text == truf) { return false; } if (_root.v2_text == truf) { return false; } if (_root.v3_text == truf) { return false; } if (_root.v4_text == truf) { return false; } if (_root.v5_text == truf) { return false; } if (_root.v6_text == truf) { return false; } if (_root.v7_text == truf) { return false; } if (_root.v8_text == truf) { return false; } if (_root.v9_text == truf) { return false; } if (_root.v10_text == truf) { return false; } if (_root.v11_text == truf) { return false; } if (_root.v12_text == truf) { return false; } if (_root.v13_text == truf) { return false; } if (_root.v14_text == truf) { return false; } if (_root.v15_text == truf) { return false; } if (_root.v16_text == truf) { return false; } return true; }; _global.square_strip.isunused = function (truf, thenum) { if (Number(truf) < 1) { return false; } if (Number(truf) > thenum) { return false; } if (thenum == 16) { return square_strip.isunused16(truf); } return true; }; _global.square_strip.givenumber = function (thenum) { var v3 = Math.floor(Math.random() * thenum) + 1; while (square_strip.isunused(String(v3), thenum) == false) { v3 = Math.floor(Math.random() * thenum) + 1; } return String(v3); }; _global.square_strip.doplus = function () { square_strip.splatch(); _root.clovid._visible = false; _root.img._visible = false; _root.cadrevid2._visible = false; _root.reload._visible = false; _root.groupe1._visible = false; _root.groupe2._visible = false; _root.groupe3._visible = false; _root.groupe4._visible = false; _root.groupe5._visible = false; _root.grpic._visible = false; var v2 = Number(_root.currentgrp_text); v2 += 1; if (v2 > 5) { v2 = 5; } if (v2 < 1) { v2 = 1; } _root.currentgrp_text = String(v2); if (v2 == 1) { _root.groupe1._visible = true; } if (v2 == 2) { _root.groupe2._visible = true; } if (v2 == 3) { _root.groupe3._visible = true; } if (v2 == 4) { _root.groupe4._visible = true; } if (v2 == 5) { _root.groupe5._visible = true; } }; _global.square_strip.domoins = function () { _root.groupe1._visible = false; _root.groupe2._visible = false; _root.groupe3._visible = false; _root.groupe4._visible = false; _root.groupe5._visible = false; var v2 = Number(_root.currentgrp_text); v2 -= 1; if (v2 > 5) { v2 = 5; } if (v2 < 1) { v2 = 1; } _root.currentgrp_text = String(v2); if (v2 == 1) { _root.groupe1._visible = true; } if (v2 == 2) { _root.groupe2._visible = true; } if (v2 == 3) { _root.groupe3._visible = true; } if (v2 == 4) { _root.groupe4._visible = true; } if (v2 == 5) { _root.groupe5._visible = true; } }; _global.square_strip.doinit = function () { _root.abgrp.sans_nom5069._visible = false; _root.groupe1._visible = true; _root.groupe2._visible = false; _root.groupe3._visible = false; _root.groupe4._visible = false; _root.groupe5._visible = false; _root.grpic._visible = false; _root.clovid._visible = false; _root.img._visible = false; _root.cadrevid2._visible = false; _root.reload._visible = false; _root.currentgrp_text = 1; _root.v1_text = 1; _root.v2_text = 2; _root.v3_text = 3; _root.v4_text = 4; _root.v5_text = 5; _root.v6_text = 6; _root.v7_text = 7; _root.v8_text = 8; _root.v9_text = 9; _root.v10_text = 10; _root.v11_text = 11; _root.v12_text = 12; _root.v13_text = 13; _root.v14_text = 14; _root.v15_text = 15; _root.v16_text = 16; _root.v1._visible = false; _root.v2._visible = false; _root.v3._visible = false; _root.v4._visible = false; _root.v5._visible = false; _root.v6._visible = false; _root.v7._visible = false; _root.v8._visible = false; _root.v9._visible = false; _root.v10._visible = false; _root.v11._visible = false; _root.v12._visible = false; _root.v13._visible = false; _root.v14._visible = false; _root.v15._visible = false; _root.v16._visible = false; _root.taillecarre._visible = false; _root.sizecubew._visible = false; _root.sizecubeh._visible = false; _root.curpos._visible = false; _root.sans_nom33._visible = false; _root.groupe3.sans_nom69._visible = false; _root.sans_nom_3386._visible = false; _root.sans_nom_71._visible = false; _root.initx._visible = false; _root.inity._visible = false; _root.iswin._visible = false; _root.impossible._visible = false; _root.l11lcurpos._visible = false; _root.l22lcurpos._visible = false; _root.sans_nom_67._visible = false; _root.sans_nom_58098._visible = false; _root.sans_nom_79187._visible = false; _root.l1lcurpos._visible = false; _root.l2lcurpos._visible = false; _root.l4lcurpos._visible = false; _root.l5lcurpos._visible = false; _root.curpos._visible = false; _root.currentgrp._visible = false; square_strip.doreset16(); }; _global.square_strip.changeplacegenerique = function (posdepart, posarrive) { var v7 = Number(_root.sizecubew_text); var v8 = Number(_root.sizecubeh_text); var v9 = Number(_root.taillecarre_text); if (posdepart == 1) { var v4 = Number(_root.v1_text); } if (posdepart == 2) { v4 = Number(_root.v2_text); } if (posdepart == 3) { v4 = Number(_root.v3_text); } if (posdepart == 4) { v4 = Number(_root.v4_text); } if (posdepart == 5) { v4 = Number(_root.v5_text); } if (posdepart == 6) { v4 = Number(_root.v6_text); } if (posdepart == 7) { v4 = Number(_root.v7_text); } if (posdepart == 8) { v4 = Number(_root.v8_text); } if (posdepart == 9) { v4 = Number(_root.v9_text); } if (posdepart == 10) { v4 = Number(_root.v10_text); } if (posdepart == 11) { v4 = Number(_root.v11_text); } if (posdepart == 12) { v4 = Number(_root.v12_text); } if (posdepart == 13) { v4 = Number(_root.v13_text); } if (posdepart == 14) { v4 = Number(_root.v14_text); } if (posdepart == 15) { v4 = Number(_root.v15_text); } if (posdepart == 16) { v4 = Number(_root.v16_text); } if (posarrive == 1) { var v10 = _root.v1_text; _root.v1_text = v4; } if (posarrive == 2) { v10 = _root.v2_text; _root.v2_text = v4; } if (posarrive == 3) { v10 = _root.v3_text; _root.v3_text = v4; } if (posarrive == 4) { v10 = _root.v4_text; _root.v4_text = v4; } if (posarrive == 5) { v10 = _root.v5_text; _root.v5_text = v4; } if (posarrive == 6) { v10 = _root.v6_text; _root.v6_text = v4; } if (posarrive == 7) { v10 = _root.v7_text; _root.v7_text = v4; } if (posarrive == 8) { v10 = _root.v8_text; _root.v8_text = v4; } if (posarrive == 9) { v10 = _root.v9_text; _root.v9_text = v4; } if (posarrive == 10) { v10 = _root.v10_text; _root.v10_text = v4; } if (posarrive == 11) { v10 = _root.v11_text; _root.v11_text = v4; } if (posarrive == 12) { v10 = _root.v12_text; _root.v12_text = v4; } if (posarrive == 13) { v10 = _root.v13_text; _root.v13_text = v4; } if (posarrive == 14) { v10 = _root.v14_text; _root.v14_text = v4; } if (posarrive == 15) { v10 = _root.v15_text; _root.v15_text = v4; } if (posarrive == 16) { v10 = _root.v16_text; _root.v16_text = v4; } if (Number(v10) == 1) { var v6 = _root.groupe3.o1; } if (Number(v10) == 2) { v6 = _root.groupe3.o2; } if (Number(v10) == 3) { v6 = _root.groupe3.o3; } if (Number(v10) == 4) { v6 = _root.groupe3.o4; } if (Number(v10) == 5) { v6 = _root.groupe3.o5; } if (Number(v10) == 6) { v6 = _root.groupe3.o6; } if (Number(v10) == 7) { v6 = _root.groupe3.o7; } if (Number(v10) == 8) { v6 = _root.groupe3.o8; } if (Number(v10) == 9) { v6 = _root.groupe3.o9; } if (Number(v10) == 10) { v6 = _root.groupe3.o10; } if (Number(v10) == 11) { v6 = _root.groupe3.o11; } if (Number(v10) == 12) { v6 = _root.groupe3.o12; } if (Number(v10) == 13) { v6 = _root.groupe3.o13; } if (Number(v10) == 14) { v6 = _root.groupe3.o14; } if (Number(v10) == 15) { v6 = _root.groupe3.o15; } if (Number(v10) == 16) { v6 = _root.groupe3.o16; } if (posdepart == 1) { _root.v1_text = v10; } if (posdepart == 2) { _root.v2_text = v10; } if (posdepart == 3) { _root.v3_text = v10; } if (posdepart == 4) { _root.v4_text = v10; } if (posdepart == 5) { _root.v5_text = v10; } if (posdepart == 6) { _root.v6_text = v10; } if (posdepart == 7) { _root.v7_text = v10; } if (posdepart == 8) { _root.v8_text = v10; } if (posdepart == 9) { _root.v9_text = v10; } if (posdepart == 10) { _root.v10_text = v10; } if (posdepart == 11) { _root.v11_text = v10; } if (posdepart == 12) { _root.v12_text = v10; } if (posdepart == 13) { _root.v13_text = v10; } if (posdepart == 14) { _root.v14_text = v10; } if (posdepart == 15) { _root.v15_text = v10; } if (posdepart == 16) { _root.v16_text = v10; } if (posdepart == posarrive - 1) { v6._x -= v7; } if (posdepart == posarrive + 1) { v6._x += v7; } if (posdepart == posarrive + v9) { v6._y += v8; } if (posdepart == posarrive - v9) { v6._y -= v8; } square_strip.testvictoire(); }; _global.square_strip.bougecar = function (tre) { var v8 = Number(_root.curpos_text); tre -= 1; var v3 = tre % Number(_root.taillecarre_text); var v4 = (tre - v3) / Number(_root.taillecarre_text); var v5 = (v8 - 1) % Number(_root.taillecarre_text); var v6 = (v8 - 1 - v5) / Number(_root.taillecarre_text); var v7 = 0; if (v3 == v5 - 1 && v4 == v6) { v7 = 1; } if (v3 == v5 + 1 && v4 == v6) { v7 = 1; } if (v4 == v6 + 1 && v3 == v5) { v7 = 1; } if (v4 == v6 - 1 && v3 == v5) { v7 = 1; } if (v7 == 1) { square_strip.changeplacegenerique(v8, tre + 1); _root.curpos_text = tre + 1; } if (v7 == 0) { } }; ASSetPropFlags(v1, null, 1); } #endinitclip } movieClip 20482 __Packages.l1 { #initclip if (!l1) { _global.l1 = function () {}; var v1 = _global.l1.prototype; _global.l1.testparity9 = function () { var v2 = new Array(); v2[1] = _root.l1lv1_text; v2[2] = _root.l1lv2_text; v2[3] = _root.l1lv3_text; v2[4] = _root.l1lv4_text; v2[5] = _root.l1lv5_text; v2[6] = _root.l1lv6_text; v2[7] = _root.l1lv7_text; v2[8] = _root.l1lv8_text; v2[9] = _root.l1lv9_text; var v6 = 0; var v3 = 0; while (v3 < 10) { if (v2[v3] == '9') { var v7 = v3; v3 = 10; } v3 += 1; } if (v2[1] != '1') { v6 += 1; v3 = 2; while (v3 < 10) { if (v2[v3] == '1') { var v8 = v2[1]; v2[1] = '1'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[2] != '2') { v6 += 1; v3 = 3; while (v3 < 10) { if (v2[v3] == '2') { v8 = v2[2]; v2[2] = '2'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[3] != '3') { v6 += 1; v3 = 4; while (v3 < 10) { if (v2[v3] == '3') { v8 = v2[3]; v2[3] = '3'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[4] != '4') { v6 += 1; v3 = 5; while (v3 < 10) { if (v2[v3] == '4') { v8 = v2[4]; v2[4] = '4'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[5] != '5') { v6 += 1; v3 = 6; while (v3 < 10) { if (v2[v3] == '5') { v8 = v2[5]; v2[5] = '5'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[6] != '6') { v6 += 1; v3 = 7; while (v3 < 10) { if (v2[v3] == '6') { v8 = v2[6]; v2[6] = '6'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[7] != '7') { v6 += 1; v3 = 8; while (v3 < 10) { if (v2[v3] == '7') { v8 = v2[7]; v2[7] = '7'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[8] != '8') { v6 += 1; v3 = 9; while (v3 < 10) { if (v2[v3] == '8') { v8 = v2[8]; v2[8] = '8'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[9] != '9') { v6 += 1; } var v4 = (v7 - 1) % 3; var v5 = (v7 - 1 - v4) / 3; if ((2 - v4 + (2 - v5)) % 2 == v6 % 2) { return true; } else { return false; } }; _global.l1.dovictoire = function () { var v2 = Number(_root.currentgrp_text); _root.grpic.gotoAndStop(1); _root.grpic._visible = true; square_strip.loadvideo(v2); }; _global.l1.testvictoire = function () { var v2 = Number(_root.l1ltaillecarre_text); if (v2 == 3) { if (_root.l1lv1_text == '1' && (_root.l1lv2_text == '2' && (_root.l1lv3_text == '3' && (_root.l1lv4_text == '4' && (_root.l1lv5_text == '5' && (_root.l1lv6_text == '6' && (_root.l1lv7_text == '7' && _root.l1lv8_text == '8'))))))) { l1.dovictoire(); } if (_root.l1lv1_text == '1' && (_root.l1lv2_text == '2' && (_root.l1lv3_text == '3' && (_root.l1lv4_text == '4' && (_root.l1lv5_text == '5' && (_root.l1lv6_text == '6' && (_root.l1lv7_text == '8' && _root.l1lv8_text == '7'))))))) { _root.impossible._visible = true; } } }; _global.l1.doresetplace9 = function (posdepart) { _root.iswin._visible = false; _root.impossible._visible = false; var v5 = Number(_root.l1lsizecubew_text); var v6 = Number(_root.l1lsizecubeh_text); var v7 = Number(_root.l1ltaillecarre_text); var v8 = Number(_root.initx_text); var v9 = Number(_root.inity_text); if (posdepart == 1) { var v10 = Number(_root.l1lv1_text); } if (posdepart == 2) { v10 = Number(_root.l1lv2_text); } if (posdepart == 3) { v10 = Number(_root.l1lv3_text); } if (posdepart == 4) { v10 = Number(_root.l1lv4_text); } if (posdepart == 5) { v10 = Number(_root.l1lv5_text); } if (posdepart == 6) { v10 = Number(_root.l1lv6_text); } if (posdepart == 7) { v10 = Number(_root.l1lv7_text); } if (posdepart == 8) { v10 = Number(_root.l1lv8_text); } if (posdepart == 9) { v10 = Number(_root.l1lv9_text); } if (v10 == 1) { var v11 = _root.groupe1.o1; } if (v10 == 2) { v11 = _root.groupe1.o2; } if (v10 == 3) { v11 = _root.groupe1.o3; } if (v10 == 4) { v11 = _root.groupe1.o4; } if (v10 == 5) { v11 = _root.groupe1.o5; } if (v10 == 6) { v11 = _root.groupe1.o6; } if (v10 == 7) { v11 = _root.groupe1.o7; } if (v10 == 8) { v11 = _root.groupe1.o8; } if (v10 == 9) { v11 = _root.groupe1.o9; _root.l1lcurpos_text = String(posdepart); } var v3 = (posdepart - 1) % v7; var v4 = (posdepart - 1 - v3) / v7; v11._x = v8 + v5 * v3; v11._y = v9 + v6 * v4; }; _global.l1.doreset9 = function () { _root.l1lv1_text = '0'; _root.l1lv2_text = '0'; _root.l1lv3_text = '0'; _root.l1lv4_text = '0'; _root.l1lv5_text = '0'; _root.l1lv6_text = '0'; _root.l1lv7_text = '0'; _root.l1lv8_text = '0'; _root.l1lv9_text = '0'; _root.l1lv1_text = l1.givenumber(9); if (_root.l1lv1_text == '1') { _root.l1lv1_text = '2'; } _root.l1lv2_text = l1.givenumber(9); _root.l1lv3_text = l1.givenumber(9); _root.l1lv4_text = l1.givenumber(9); _root.l1lv5_text = l1.givenumber(9); _root.l1lv6_text = l1.givenumber(9); _root.l1lv7_text = l1.givenumber(9); _root.l1lv8_text = l1.givenumber(9); _root.l1lv9_text = l1.givenumber(9); while (l1.testparity9() == false) { _root.l1lv1_text = '0'; _root.l1lv2_text = '0'; _root.l1lv3_text = '0'; _root.l1lv4_text = '0'; _root.l1lv5_text = '0'; _root.l1lv6_text = '0'; _root.l1lv7_text = '0'; _root.l1lv8_text = '0'; _root.l1lv9_text = '0'; _root.l1lv1_text = l1.givenumber(9); if (_root.l1lv1_text == '1') { _root.l1lv1_text = '2'; } _root.l1lv2_text = l1.givenumber(9); _root.l1lv3_text = l1.givenumber(9); _root.l1lv4_text = l1.givenumber(9); _root.l1lv5_text = l1.givenumber(9); _root.l1lv6_text = l1.givenumber(9); _root.l1lv7_text = l1.givenumber(9); _root.l1lv8_text = l1.givenumber(9); _root.l1lv9_text = l1.givenumber(9); } l1.doresetplace9(1); l1.doresetplace9(2); l1.doresetplace9(3); l1.doresetplace9(4); l1.doresetplace9(5); l1.doresetplace9(6); l1.doresetplace9(7); l1.doresetplace9(8); l1.doresetplace9(9); }; _global.l1.isunused9 = function (truf) { if (Number(truf) < 1) { return false; } if (Number(truf) > 9) { return false; } if (_root.l1lv1_text == truf) { return false; } if (_root.l1lv2_text == truf) { return false; } if (_root.l1lv3_text == truf) { return false; } if (_root.l1lv4_text == truf) { return false; } if (_root.l1lv5_text == truf) { return false; } if (_root.l1lv6_text == truf) { return false; } if (_root.l1lv7_text == truf) { return false; } if (_root.l1lv8_text == truf) { return false; } if (_root.l1lv9_text == truf) { return false; } return true; }; _global.l1.isunused = function (truf, thenum) { if (Number(truf) < 1) { return false; } if (Number(truf) > thenum) { return false; } if (thenum == 9) { return l1.isunused9(truf); } return true; }; _global.l1.givenumber = function (thenum) { var v3 = Math.floor(Math.random() * thenum) + 1; while (l1.isunused(String(v3), thenum) == false) { v3 = Math.floor(Math.random() * thenum) + 1; } return String(v3); }; _global.l1.doinit = function () { _root.l1lv1_text = 1; _root.l1lv2_text = 2; _root.l1lv3_text = 3; _root.l1lv4_text = 4; _root.l1lv5_text = 5; _root.l1lv6_text = 6; _root.l1lv7_text = 7; _root.l1lv8_text = 8; _root.l1lv9_text = 9; _root.l1lv1._visible = false; _root.l1lv2._visible = false; _root.l1lv3._visible = false; _root.l1lv4._visible = false; _root.l1lv5._visible = false; _root.l1lv6._visible = false; _root.l1lv7._visible = false; _root.l1lv8._visible = false; _root.l1lv9._visible = false; _root.l1ltaillecarre._visible = false; _root.l1lsizecubew._visible = false; _root.l1lsizecubeh._visible = false; _root.l1lcurpos._visible = false; _root.groupe1.sans_nom69._visible = false; _root.iswin._visible = false; _root.impossible._visible = false; l1.doreset9(); }; _global.l1.changeplacegenerique = function (posdepart, posarrive) { var v7 = Number(_root.l1lsizecubew_text); var v8 = Number(_root.l1lsizecubeh_text); var v9 = Number(_root.l1ltaillecarre_text); if (posdepart == 1) { var v4 = Number(_root.l1lv1_text); } if (posdepart == 2) { v4 = Number(_root.l1lv2_text); } if (posdepart == 3) { v4 = Number(_root.l1lv3_text); } if (posdepart == 4) { v4 = Number(_root.l1lv4_text); } if (posdepart == 5) { v4 = Number(_root.l1lv5_text); } if (posdepart == 6) { v4 = Number(_root.l1lv6_text); } if (posdepart == 7) { v4 = Number(_root.l1lv7_text); } if (posdepart == 8) { v4 = Number(_root.l1lv8_text); } if (posdepart == 9) { v4 = Number(_root.l1lv9_text); } if (posarrive == 1) { var v10 = _root.l1lv1_text; _root.l1lv1_text = v4; } if (posarrive == 2) { v10 = _root.l1lv2_text; _root.l1lv2_text = v4; } if (posarrive == 3) { v10 = _root.l1lv3_text; _root.l1lv3_text = v4; } if (posarrive == 4) { v10 = _root.l1lv4_text; _root.l1lv4_text = v4; } if (posarrive == 5) { v10 = _root.l1lv5_text; _root.l1lv5_text = v4; } if (posarrive == 6) { v10 = _root.l1lv6_text; _root.l1lv6_text = v4; } if (posarrive == 7) { v10 = _root.l1lv7_text; _root.l1lv7_text = v4; } if (posarrive == 8) { v10 = _root.l1lv8_text; _root.l1lv8_text = v4; } if (posarrive == 9) { v10 = _root.l1lv9_text; _root.l1lv9_text = v4; } if (Number(v10) == 1) { var v6 = _root.groupe1.o1; } if (Number(v10) == 2) { v6 = _root.groupe1.o2; } if (Number(v10) == 3) { v6 = _root.groupe1.o3; } if (Number(v10) == 4) { v6 = _root.groupe1.o4; } if (Number(v10) == 5) { v6 = _root.groupe1.o5; } if (Number(v10) == 6) { v6 = _root.groupe1.o6; } if (Number(v10) == 7) { v6 = _root.groupe1.o7; } if (Number(v10) == 8) { v6 = _root.groupe1.o8; } if (Number(v10) == 9) { v6 = _root.groupe1.o9; } if (posdepart == 1) { _root.l1lv1_text = v10; } if (posdepart == 2) { _root.l1lv2_text = v10; } if (posdepart == 3) { _root.l1lv3_text = v10; } if (posdepart == 4) { _root.l1lv4_text = v10; } if (posdepart == 5) { _root.l1lv5_text = v10; } if (posdepart == 6) { _root.l1lv6_text = v10; } if (posdepart == 7) { _root.l1lv7_text = v10; } if (posdepart == 8) { _root.l1lv8_text = v10; } if (posdepart == 9) { _root.l1lv9_text = v10; } if (posdepart == posarrive - 1) { v6._x -= v7; } if (posdepart == posarrive + 1) { v6._x += v7; } if (posdepart == posarrive + v9) { v6._y += v8; } if (posdepart == posarrive - v9) { v6._y -= v8; } l1.testvictoire(); }; _global.l1.bougecar = function (tre) { var v8 = Number(_root.l1lcurpos_text); tre -= 1; var v3 = tre % Number(_root.l1ltaillecarre_text); var v4 = (tre - v3) / Number(_root.l1ltaillecarre_text); var v5 = (v8 - 1) % Number(_root.l1ltaillecarre_text); var v6 = (v8 - 1 - v5) / Number(_root.l1ltaillecarre_text); var v7 = 0; if (v3 == v5 - 1 && v4 == v6) { v7 = 1; } if (v3 == v5 + 1 && v4 == v6) { v7 = 1; } if (v4 == v6 + 1 && v3 == v5) { v7 = 1; } if (v4 == v6 - 1 && v3 == v5) { v7 = 1; } if (v7 == 1) { l1.changeplacegenerique(v8, tre + 1); _root.l1lcurpos_text = tre + 1; } if (v7 == 0) { } }; ASSetPropFlags(v1, null, 1); } #endinitclip } movieClip 20483 __Packages.l5 { #initclip if (!l5) { _global.l5 = function () {}; var v1 = _global.l5.prototype; _global.l5.testparity25 = function () { var v2 = new Array(); v2[1] = _root.l5lv1_text; v2[2] = _root.l5lv2_text; v2[3] = _root.l5lv3_text; v2[4] = _root.l5lv4_text; v2[5] = _root.l5lv5_text; v2[6] = _root.l5lv6_text; v2[7] = _root.l5lv7_text; v2[8] = _root.l5lv8_text; v2[9] = _root.l5lv9_text; v2[10] = _root.l5lv10_text; v2[11] = _root.l5lv11_text; v2[12] = _root.l5lv12_text; v2[13] = _root.l5lv13_text; v2[14] = _root.l5lv14_text; v2[15] = _root.l5lv15_text; v2[16] = _root.l5lv16_text; v2[17] = _root.l5lv17_text; v2[18] = _root.l5lv18_text; v2[19] = _root.l5lv19_text; v2[20] = _root.l5lv20_text; v2[21] = _root.l5lv21_text; v2[22] = _root.l5lv22_text; v2[23] = _root.l5lv23_text; v2[24] = _root.l5lv24_text; v2[25] = _root.l5lv25_text; var v6 = 0; var v3 = 0; while (v3 < 26) { if (v2[v3] == '25') { var v7 = v3; v3 = 26; } v3 += 1; } if (v2[1] != '1') { v6 += 1; v3 = 2; while (v3 < 26) { if (v2[v3] == '1') { var v8 = v2[1]; v2[1] = '1'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[2] != '2') { v6 += 1; v3 = 3; while (v3 < 26) { if (v2[v3] == '2') { v8 = v2[2]; v2[2] = '2'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[3] != '3') { v6 += 1; v3 = 4; while (v3 < 26) { if (v2[v3] == '3') { v8 = v2[3]; v2[3] = '3'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[4] != '4') { v6 += 1; v3 = 5; while (v3 < 26) { if (v2[v3] == '4') { v8 = v2[4]; v2[4] = '4'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[5] != '5') { v6 += 1; v3 = 6; while (v3 < 26) { if (v2[v3] == '5') { v8 = v2[5]; v2[5] = '5'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[6] != '6') { v6 += 1; v3 = 7; while (v3 < 26) { if (v2[v3] == '6') { v8 = v2[6]; v2[6] = '6'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[7] != '7') { v6 += 1; v3 = 8; while (v3 < 26) { if (v2[v3] == '7') { v8 = v2[7]; v2[7] = '7'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[8] != '8') { v6 += 1; v3 = 9; while (v3 < 26) { if (v2[v3] == '8') { v8 = v2[8]; v2[8] = '8'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[9] != '9') { v6 += 1; v3 = 10; while (v3 < 26) { if (v2[v3] == '9') { v8 = v2[9]; v2[9] = '9'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[10] != '10') { v6 += 1; v3 = 11; while (v3 < 26) { if (v2[v3] == '10') { v8 = v2[10]; v2[10] = '10'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[11] != '11') { v6 += 1; v3 = 12; while (v3 < 26) { if (v2[v3] == '11') { v8 = v2[11]; v2[11] = '11'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[12] != '12') { v6 += 1; v3 = 13; while (v3 < 26) { if (v2[v3] == '12') { v8 = v2[12]; v2[12] = '12'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[13] != '13') { v6 += 1; v3 = 14; while (v3 < 26) { if (v2[v3] == '13') { v8 = v2[13]; v2[13] = '13'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[14] != '14') { v6 += 1; v3 = 15; while (v3 < 26) { if (v2[v3] == '14') { v8 = v2[14]; v2[14] = '14'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[15] != '15') { v6 += 1; v3 = 16; while (v3 < 26) { if (v2[v3] == '15') { v8 = v2[15]; v2[15] = '15'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[16] != '16') { v6 += 1; v3 = 17; while (v3 < 26) { if (v2[v3] == '16') { v8 = v2[16]; v2[16] = '16'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[17] != '17') { v6 += 1; v3 = 18; while (v3 < 26) { if (v2[v3] == '17') { v8 = v2[17]; v2[17] = '17'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[18] != '18') { v6 += 1; v3 = 19; while (v3 < 26) { if (v2[v3] == '18') { v8 = v2[18]; v2[18] = '18'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[19] != '19') { v6 += 1; v3 = 20; while (v3 < 26) { if (v2[v3] == '19') { v8 = v2[19]; v2[19] = '19'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[20] != '20') { v6 += 1; v3 = 21; while (v3 < 26) { if (v2[v3] == '20') { v8 = v2[20]; v2[20] = '20'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[21] != '21') { v6 += 1; v3 = 22; while (v3 < 26) { if (v2[v3] == '21') { v8 = v2[21]; v2[21] = '21'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[22] != '22') { v6 += 1; v3 = 23; while (v3 < 26) { if (v2[v3] == '22') { v8 = v2[22]; v2[22] = '22'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[23] != '23') { v6 += 1; v3 = 24; while (v3 < 26) { if (v2[v3] == '23') { v8 = v2[23]; v2[23] = '23'; v2[v3] = v8; v3 = 26; } v3 += 1; } } if (v2[24] != '24') { v6 += 1; } var v4 = (v7 - 1) % 5; var v5 = (v7 - 1 - v4) / 5; if ((4 - v4 + (4 - v5)) % 2 == v6 % 2) { return true; } else { return false; } }; _global.l5.dovictoire = function () { var v2 = Number(_root.currentgrp_text); _root.grpic.gotoAndStop(5); _root.grpic._visible = true; square_strip.loadvideo(v2); }; _global.l5.testvictoire = function () { var v2 = Number(_root.l5ltaillecarre_text); if (v2 == 5) { if (_root.l5lv1_text == '1' && (_root.l5lv2_text == '2' && (_root.l5lv3_text == '3' && (_root.l5lv4_text == '4' && (_root.l5lv5_text == '5' && (_root.l5lv6_text == '6' && (_root.l5lv7_text == '7' && (_root.l5lv8_text == '8' && (_root.l5lv9_text == '9' && (_root.l5lv10_text == '10' && (_root.l5lv11_text == '11' && (_root.l5lv12_text == '12' && (_root.l5lv13_text == '13' && (_root.l5lv14_text == '14' && (_root.l5lv15_text == '15' && (_root.l5lv16_text == '16' && (_root.l5lv17_text == '17' && (_root.l5lv18_text == '18' && (_root.l5lv19_text == '19' && (_root.l5lv20_text == '20' && (_root.l5lv21_text == '21' && (_root.l5lv22_text == '22' && (_root.l5lv23_text == '23' && _root.l5lv24_text == '24'))))))))))))))))))))))) { l5.dovictoire(); } if (_root.l5lv1_text == '1' && (_root.l5lv2_text == '2' && (_root.l5lv3_text == '3' && (_root.l5lv4_text == '4' && (_root.l5lv5_text == '5' && (_root.l5lv6_text == '6' && (_root.l5lv7_text == '7' && (_root.l5lv8_text == '8' && (_root.l5lv9_text == '9' && (_root.l5lv10_text == '10' && (_root.l5lv11_text == '11' && (_root.l5lv12_text == '12' && (_root.l5lv13_text == '13' && (_root.l5lv14_text == '15' && (_root.l5lv15_text == '15' && (_root.l5lv16_text == '16' && (_root.l5lv17_text == '17' && (_root.l5lv18_text == '18' && (_root.l5lv19_text == '19' && (_root.l5lv20_text == '20' && (_root.l5lv21_text == '21' && (_root.l5lv22_text == '22' && (_root.l5lv23_text == '24' && _root.l5lv24_text == '23'))))))))))))))))))))))) { _root.impossible._visible = true; } } }; _global.l5.doresetplace25 = function (posdepart) { _root.iswin._visible = false; _root.impossible._visible = false; var v5 = Number(_root.l5lsizecubew_text); var v6 = Number(_root.l5lsizecubeh_text); var v7 = Number(_root.l5ltaillecarre_text); var v8 = Number(_root.initx_text); var v9 = Number(_root.inity_text); if (posdepart == 1) { var v10 = Number(_root.l5lv1_text); } if (posdepart == 2) { v10 = Number(_root.l5lv2_text); } if (posdepart == 3) { v10 = Number(_root.l5lv3_text); } if (posdepart == 4) { v10 = Number(_root.l5lv4_text); } if (posdepart == 5) { v10 = Number(_root.l5lv5_text); } if (posdepart == 6) { v10 = Number(_root.l5lv6_text); } if (posdepart == 7) { v10 = Number(_root.l5lv7_text); } if (posdepart == 8) { v10 = Number(_root.l5lv8_text); } if (posdepart == 9) { v10 = Number(_root.l5lv9_text); } if (posdepart == 10) { v10 = Number(_root.l5lv10_text); } if (posdepart == 11) { v10 = Number(_root.l5lv11_text); } if (posdepart == 12) { v10 = Number(_root.l5lv12_text); } if (posdepart == 13) { v10 = Number(_root.l5lv13_text); } if (posdepart == 14) { v10 = Number(_root.l5lv14_text); } if (posdepart == 15) { v10 = Number(_root.l5lv15_text); } if (posdepart == 16) { v10 = Number(_root.l5lv16_text); } if (posdepart == 17) { v10 = Number(_root.l5lv17_text); } if (posdepart == 18) { v10 = Number(_root.l5lv18_text); } if (posdepart == 19) { v10 = Number(_root.l5lv19_text); } if (posdepart == 20) { v10 = Number(_root.l5lv20_text); } if (posdepart == 21) { v10 = Number(_root.l5lv21_text); } if (posdepart == 22) { v10 = Number(_root.l5lv22_text); } if (posdepart == 23) { v10 = Number(_root.l5lv23_text); } if (posdepart == 24) { v10 = Number(_root.l5lv24_text); } if (posdepart == 25) { v10 = Number(_root.l5lv25_text); } if (v10 == 1) { var v11 = _root.groupe5.o1; } if (v10 == 2) { v11 = _root.groupe5.o2; } if (v10 == 3) { v11 = _root.groupe5.o3; } if (v10 == 4) { v11 = _root.groupe5.o4; } if (v10 == 5) { v11 = _root.groupe5.o5; } if (v10 == 6) { v11 = _root.groupe5.o6; } if (v10 == 7) { v11 = _root.groupe5.o7; } if (v10 == 8) { v11 = _root.groupe5.o8; } if (v10 == 9) { v11 = _root.groupe5.o9; } if (v10 == 10) { v11 = _root.groupe5.o10; } if (v10 == 11) { v11 = _root.groupe5.o11; } if (v10 == 12) { v11 = _root.groupe5.o12; } if (v10 == 13) { v11 = _root.groupe5.o13; } if (v10 == 14) { v11 = _root.groupe5.o14; } if (v10 == 15) { v11 = _root.groupe5.o15; } if (v10 == 16) { v11 = _root.groupe5.o16; } if (v10 == 17) { v11 = _root.groupe5.o17; } if (v10 == 18) { v11 = _root.groupe5.o18; } if (v10 == 19) { v11 = _root.groupe5.o19; } if (v10 == 20) { v11 = _root.groupe5.o20; } if (v10 == 21) { v11 = _root.groupe5.o21; } if (v10 == 22) { v11 = _root.groupe5.o22; } if (v10 == 23) { v11 = _root.groupe5.o23; } if (v10 == 24) { v11 = _root.groupe5.o24; } if (v10 == 25) { v11 = _root.groupe5.o25; _root.l5lcurpos_text = String(posdepart); } var v3 = (posdepart - 1) % v7; var v4 = (posdepart - 1 - v3) / v7; v11._x = v8 + v5 * v3; v11._y = v9 + v6 * v4; }; _global.l5.doreset25 = function () { _root.l5lv1_text = '0'; _root.l5lv2_text = '0'; _root.l5lv3_text = '0'; _root.l5lv4_text = '0'; _root.l5lv5_text = '0'; _root.l5lv6_text = '0'; _root.l5lv7_text = '0'; _root.l5lv8_text = '0'; _root.l5lv9_text = '0'; _root.l5lv10_text = '0'; _root.l5lv11_text = '0'; _root.l5lv12_text = '0'; _root.l5lv13_text = '0'; _root.l5lv14_text = '0'; _root.l5lv15_text = '0'; _root.l5lv16_text = '0'; _root.l5lv17_text = '0'; _root.l5lv18_text = '0'; _root.l5lv19_text = '0'; _root.l5lv20_text = '0'; _root.l5lv21_text = '0'; _root.l5lv22_text = '0'; _root.l5lv23_text = '0'; _root.l5lv24_text = '0'; _root.l5lv25_text = '0'; _root.l5lv1_text = l5.givenumber(25); if (_root.l5lv1_text == '1') { _root.l5lv1_text = '2'; } _root.l5lv2_text = l5.givenumber(25); _root.l5lv3_text = l5.givenumber(25); _root.l5lv4_text = l5.givenumber(25); _root.l5lv5_text = l5.givenumber(25); _root.l5lv6_text = l5.givenumber(25); _root.l5lv7_text = l5.givenumber(25); _root.l5lv8_text = l5.givenumber(25); _root.l5lv9_text = l5.givenumber(25); _root.l5lv10_text = l5.givenumber(25); _root.l5lv11_text = l5.givenumber(25); _root.l5lv12_text = l5.givenumber(25); _root.l5lv13_text = l5.givenumber(25); _root.l5lv14_text = l5.givenumber(25); _root.l5lv15_text = l5.givenumber(25); _root.l5lv16_text = l5.givenumber(25); _root.l5lv17_text = l5.givenumber(25); _root.l5lv18_text = l5.givenumber(25); _root.l5lv19_text = l5.givenumber(25); _root.l5lv20_text = l5.givenumber(25); _root.l5lv21_text = l5.givenumber(25); _root.l5lv22_text = l5.givenumber(25); _root.l5lv23_text = l5.givenumber(25); _root.l5lv24_text = l5.givenumber(25); _root.l5lv25_text = l5.givenumber(25); while (l5.testparity25() == false) { _root.l5lv1_text = '0'; _root.l5lv2_text = '0'; _root.l5lv3_text = '0'; _root.l5lv4_text = '0'; _root.l5lv5_text = '0'; _root.l5lv6_text = '0'; _root.l5lv7_text = '0'; _root.l5lv8_text = '0'; _root.l5lv9_text = '0'; _root.l5lv10_text = '0'; _root.l5lv11_text = '0'; _root.l5lv12_text = '0'; _root.l5lv13_text = '0'; _root.l5lv14_text = '0'; _root.l5lv15_text = '0'; _root.l5lv16_text = '0'; _root.l5lv17_text = '0'; _root.l5lv18_text = '0'; _root.l5lv19_text = '0'; _root.l5lv20_text = '0'; _root.l5lv21_text = '0'; _root.l5lv22_text = '0'; _root.l5lv23_text = '0'; _root.l5lv24_text = '0'; _root.l5lv25_text = '0'; _root.l5lv1_text = l5.givenumber(25); if (_root.l5lv1_text == '1') { _root.l5lv1_text = '2'; } _root.l5lv2_text = l5.givenumber(25); _root.l5lv3_text = l5.givenumber(25); _root.l5lv4_text = l5.givenumber(25); _root.l5lv5_text = l5.givenumber(25); _root.l5lv6_text = l5.givenumber(25); _root.l5lv7_text = l5.givenumber(25); _root.l5lv8_text = l5.givenumber(25); _root.l5lv9_text = l5.givenumber(25); _root.l5lv10_text = l5.givenumber(25); _root.l5lv11_text = l5.givenumber(25); _root.l5lv12_text = l5.givenumber(25); _root.l5lv13_text = l5.givenumber(25); _root.l5lv14_text = l5.givenumber(25); _root.l5lv15_text = l5.givenumber(25); _root.l5lv16_text = l5.givenumber(25); _root.l5lv17_text = l5.givenumber(25); _root.l5lv18_text = l5.givenumber(25); _root.l5lv19_text = l5.givenumber(25); _root.l5lv20_text = l5.givenumber(25); _root.l5lv21_text = l5.givenumber(25); _root.l5lv22_text = l5.givenumber(25); _root.l5lv23_text = l5.givenumber(25); _root.l5lv24_text = l5.givenumber(25); _root.l5lv25_text = l5.givenumber(25); } l5.doresetplace25(1); l5.doresetplace25(2); l5.doresetplace25(3); l5.doresetplace25(4); l5.doresetplace25(5); l5.doresetplace25(6); l5.doresetplace25(7); l5.doresetplace25(8); l5.doresetplace25(9); l5.doresetplace25(10); l5.doresetplace25(11); l5.doresetplace25(12); l5.doresetplace25(13); l5.doresetplace25(14); l5.doresetplace25(15); l5.doresetplace25(16); l5.doresetplace25(17); l5.doresetplace25(18); l5.doresetplace25(19); l5.doresetplace25(20); l5.doresetplace25(21); l5.doresetplace25(22); l5.doresetplace25(23); l5.doresetplace25(24); l5.doresetplace25(25); }; _global.l5.isunused25 = function (truf) { if (Number(truf) < 1) { return false; } if (Number(truf) > 25) { return false; } if (_root.l5lv1_text == truf) { return false; } if (_root.l5lv2_text == truf) { return false; } if (_root.l5lv3_text == truf) { return false; } if (_root.l5lv4_text == truf) { return false; } if (_root.l5lv5_text == truf) { return false; } if (_root.l5lv6_text == truf) { return false; } if (_root.l5lv7_text == truf) { return false; } if (_root.l5lv8_text == truf) { return false; } if (_root.l5lv9_text == truf) { return false; } if (_root.l5lv10_text == truf) { return false; } if (_root.l5lv11_text == truf) { return false; } if (_root.l5lv12_text == truf) { return false; } if (_root.l5lv13_text == truf) { return false; } if (_root.l5lv14_text == truf) { return false; } if (_root.l5lv15_text == truf) { return false; } if (_root.l5lv16_text == truf) { return false; } if (_root.l5lv17_text == truf) { return false; } if (_root.l5lv18_text == truf) { return false; } if (_root.l5lv19_text == truf) { return false; } if (_root.l5lv20_text == truf) { return false; } if (_root.l5lv21_text == truf) { return false; } if (_root.l5lv22_text == truf) { return false; } if (_root.l5lv23_text == truf) { return false; } if (_root.l5lv24_text == truf) { return false; } if (_root.l5lv25_text == truf) { return false; } return true; }; _global.l5.isunused = function (truf, thenum) { if (Number(truf) < 1) { return false; } if (Number(truf) > thenum) { return false; } if (thenum == 25) { return l5.isunused25(truf); } return true; }; _global.l5.givenumber = function (thenum) { var v3 = Math.floor(Math.random() * thenum) + 1; while (l5.isunused(String(v3), thenum) == false) { v3 = Math.floor(Math.random() * thenum) + 1; } return String(v3); }; _global.l5.doinit = function () { _root.l5lv1_text = 1; _root.l5lv2_text = 2; _root.l5lv3_text = 3; _root.l5lv4_text = 4; _root.l5lv5_text = 5; _root.l5lv6_text = 6; _root.l5lv7_text = 7; _root.l5lv8_text = 8; _root.l5lv9_text = 9; _root.l5lv10_text = 10; _root.l5lv11_text = 11; _root.l5lv12_text = 12; _root.l5lv13_text = 13; _root.l5lv14_text = 14; _root.l5lv15_text = 15; _root.l5lv16_text = 16; _root.l5lv17_text = 17; _root.l5lv18_text = 18; _root.l5lv19_text = 19; _root.l5lv20_text = 20; _root.l5lv21_text = 21; _root.l5lv22_text = 22; _root.l5lv23_text = 23; _root.l5lv24_text = 24; _root.l5lv25_text = 25; _root.l5lv1._visible = false; _root.l5lv2._visible = false; _root.l5lv3._visible = false; _root.l5lv4._visible = false; _root.l5lv5._visible = false; _root.l5lv6._visible = false; _root.l5lv7._visible = false; _root.l5lv8._visible = false; _root.l5lv9._visible = false; _root.l5lv10._visible = false; _root.l5lv11._visible = false; _root.l5lv12._visible = false; _root.l5lv13._visible = false; _root.l5lv14._visible = false; _root.l5lv15._visible = false; _root.l5lv16._visible = false; _root.l5lv17._visible = false; _root.l5lv18._visible = false; _root.l5lv19._visible = false; _root.l5lv20._visible = false; _root.l5lv21._visible = false; _root.l5lv22._visible = false; _root.l5lv23._visible = false; _root.l5lv24._visible = false; _root.l5lv25._visible = false; _root.l5ltaillecarre._visible = false; _root.l5lsizecubew._visible = false; _root.l5lsizecubeh._visible = false; _root.l5lcurpos._visible = false; _root.groupe5.sans_nom69._visible = false; _root.iswin._visible = false; _root.impossible._visible = false; l5.doreset25(); }; _global.l5.changeplacegenerique = function (posdepart, posarrive) { var v7 = Number(_root.l5lsizecubew_text); var v8 = Number(_root.l5lsizecubeh_text); var v9 = Number(_root.l5ltaillecarre_text); if (posdepart == 1) { var v4 = Number(_root.l5lv1_text); } if (posdepart == 2) { v4 = Number(_root.l5lv2_text); } if (posdepart == 3) { v4 = Number(_root.l5lv3_text); } if (posdepart == 4) { v4 = Number(_root.l5lv4_text); } if (posdepart == 5) { v4 = Number(_root.l5lv5_text); } if (posdepart == 6) { v4 = Number(_root.l5lv6_text); } if (posdepart == 7) { v4 = Number(_root.l5lv7_text); } if (posdepart == 8) { v4 = Number(_root.l5lv8_text); } if (posdepart == 9) { v4 = Number(_root.l5lv9_text); } if (posdepart == 10) { v4 = Number(_root.l5lv10_text); } if (posdepart == 11) { v4 = Number(_root.l5lv11_text); } if (posdepart == 12) { v4 = Number(_root.l5lv12_text); } if (posdepart == 13) { v4 = Number(_root.l5lv13_text); } if (posdepart == 14) { v4 = Number(_root.l5lv14_text); } if (posdepart == 15) { v4 = Number(_root.l5lv15_text); } if (posdepart == 16) { v4 = Number(_root.l5lv16_text); } if (posdepart == 17) { v4 = Number(_root.l5lv17_text); } if (posdepart == 18) { v4 = Number(_root.l5lv18_text); } if (posdepart == 19) { v4 = Number(_root.l5lv19_text); } if (posdepart == 20) { v4 = Number(_root.l5lv20_text); } if (posdepart == 21) { v4 = Number(_root.l5lv21_text); } if (posdepart == 22) { v4 = Number(_root.l5lv22_text); } if (posdepart == 23) { v4 = Number(_root.l5lv23_text); } if (posdepart == 24) { v4 = Number(_root.l5lv24_text); } if (posdepart == 25) { v4 = Number(_root.l5lv25_text); } if (posarrive == 1) { var v10 = _root.l5lv1_text; _root.l5lv1_text = v4; } if (posarrive == 2) { v10 = _root.l5lv2_text; _root.l5lv2_text = v4; } if (posarrive == 3) { v10 = _root.l5lv3_text; _root.l5lv3_text = v4; } if (posarrive == 4) { v10 = _root.l5lv4_text; _root.l5lv4_text = v4; } if (posarrive == 5) { v10 = _root.l5lv5_text; _root.l5lv5_text = v4; } if (posarrive == 6) { v10 = _root.l5lv6_text; _root.l5lv6_text = v4; } if (posarrive == 7) { v10 = _root.l5lv7_text; _root.l5lv7_text = v4; } if (posarrive == 8) { v10 = _root.l5lv8_text; _root.l5lv8_text = v4; } if (posarrive == 9) { v10 = _root.l5lv9_text; _root.l5lv9_text = v4; } if (posarrive == 10) { v10 = _root.l5lv10_text; _root.l5lv10_text = v4; } if (posarrive == 11) { v10 = _root.l5lv11_text; _root.l5lv11_text = v4; } if (posarrive == 12) { v10 = _root.l5lv12_text; _root.l5lv12_text = v4; } if (posarrive == 13) { v10 = _root.l5lv13_text; _root.l5lv13_text = v4; } if (posarrive == 14) { v10 = _root.l5lv14_text; _root.l5lv14_text = v4; } if (posarrive == 15) { v10 = _root.l5lv15_text; _root.l5lv15_text = v4; } if (posarrive == 16) { v10 = _root.l5lv16_text; _root.l5lv16_text = v4; } if (posarrive == 17) { v10 = _root.l5lv17_text; _root.l5lv17_text = v4; } if (posarrive == 18) { v10 = _root.l5lv18_text; _root.l5lv18_text = v4; } if (posarrive == 19) { v10 = _root.l5lv19_text; _root.l5lv19_text = v4; } if (posarrive == 20) { v10 = _root.l5lv20_text; _root.l5lv20_text = v4; } if (posarrive == 21) { v10 = _root.l5lv21_text; _root.l5lv21_text = v4; } if (posarrive == 22) { v10 = _root.l5lv22_text; _root.l5lv22_text = v4; } if (posarrive == 23) { v10 = _root.l5lv23_text; _root.l5lv23_text = v4; } if (posarrive == 24) { v10 = _root.l5lv24_text; _root.l5lv24_text = v4; } if (posarrive == 25) { v10 = _root.l5lv25_text; _root.l5lv25_text = v4; } if (Number(v10) == 1) { var v6 = _root.groupe5.o1; } if (Number(v10) == 2) { v6 = _root.groupe5.o2; } if (Number(v10) == 3) { v6 = _root.groupe5.o3; } if (Number(v10) == 4) { v6 = _root.groupe5.o4; } if (Number(v10) == 5) { v6 = _root.groupe5.o5; } if (Number(v10) == 6) { v6 = _root.groupe5.o6; } if (Number(v10) == 7) { v6 = _root.groupe5.o7; } if (Number(v10) == 8) { v6 = _root.groupe5.o8; } if (Number(v10) == 9) { v6 = _root.groupe5.o9; } if (Number(v10) == 10) { v6 = _root.groupe5.o10; } if (Number(v10) == 11) { v6 = _root.groupe5.o11; } if (Number(v10) == 12) { v6 = _root.groupe5.o12; } if (Number(v10) == 13) { v6 = _root.groupe5.o13; } if (Number(v10) == 14) { v6 = _root.groupe5.o14; } if (Number(v10) == 15) { v6 = _root.groupe5.o15; } if (Number(v10) == 16) { v6 = _root.groupe5.o16; } if (Number(v10) == 17) { v6 = _root.groupe5.o17; } if (Number(v10) == 18) { v6 = _root.groupe5.o18; } if (Number(v10) == 19) { v6 = _root.groupe5.o19; } if (Number(v10) == 20) { v6 = _root.groupe5.o20; } if (Number(v10) == 21) { v6 = _root.groupe5.o21; } if (Number(v10) == 22) { v6 = _root.groupe5.o22; } if (Number(v10) == 23) { v6 = _root.groupe5.o23; } if (Number(v10) == 24) { v6 = _root.groupe5.o24; } if (Number(v10) == 25) { v6 = _root.groupe5.o25; } if (posdepart == 1) { _root.l5lv1_text = v10; } if (posdepart == 2) { _root.l5lv2_text = v10; } if (posdepart == 3) { _root.l5lv3_text = v10; } if (posdepart == 4) { _root.l5lv4_text = v10; } if (posdepart == 5) { _root.l5lv5_text = v10; } if (posdepart == 6) { _root.l5lv6_text = v10; } if (posdepart == 7) { _root.l5lv7_text = v10; } if (posdepart == 8) { _root.l5lv8_text = v10; } if (posdepart == 9) { _root.l5lv9_text = v10; } if (posdepart == 10) { _root.l5lv10_text = v10; } if (posdepart == 11) { _root.l5lv11_text = v10; } if (posdepart == 12) { _root.l5lv12_text = v10; } if (posdepart == 13) { _root.l5lv13_text = v10; } if (posdepart == 14) { _root.l5lv14_text = v10; } if (posdepart == 15) { _root.l5lv15_text = v10; } if (posdepart == 16) { _root.l5lv16_text = v10; } if (posdepart == 17) { _root.l5lv17_text = v10; } if (posdepart == 18) { _root.l5lv18_text = v10; } if (posdepart == 19) { _root.l5lv19_text = v10; } if (posdepart == 20) { _root.l5lv20_text = v10; } if (posdepart == 21) { _root.l5lv21_text = v10; } if (posdepart == 22) { _root.l5lv22_text = v10; } if (posdepart == 23) { _root.l5lv23_text = v10; } if (posdepart == 24) { _root.l5lv24_text = v10; } if (posdepart == 25) { _root.l5lv25_text = v10; } if (posdepart == posarrive - 1) { v6._x -= v7; } if (posdepart == posarrive + 1) { v6._x += v7; } if (posdepart == posarrive + v9) { v6._y += v8; } if (posdepart == posarrive - v9) { v6._y -= v8; } l5.testvictoire(); }; _global.l5.bougecar = function (tre) { var v8 = Number(_root.l5lcurpos_text); tre -= 1; var v3 = tre % Number(_root.l5ltaillecarre_text); var v4 = (tre - v3) / Number(_root.l5ltaillecarre_text); var v5 = (v8 - 1) % Number(_root.l5ltaillecarre_text); var v6 = (v8 - 1 - v5) / Number(_root.l5ltaillecarre_text); var v7 = 0; if (v3 == v5 - 1 && v4 == v6) { v7 = 1; } if (v3 == v5 + 1 && v4 == v6) { v7 = 1; } if (v4 == v6 + 1 && v3 == v5) { v7 = 1; } if (v4 == v6 - 1 && v3 == v5) { v7 = 1; } if (v7 == 1) { l5.changeplacegenerique(v8, tre + 1); _root.l5lcurpos_text = tre + 1; } if (v7 == 0) { } }; ASSetPropFlags(v1, null, 1); } #endinitclip } movieClip 20484 __Packages.l2 { #initclip if (!l2) { _global.l2 = function () {}; var v1 = _global.l2.prototype; _global.l2.testparity9 = function () { var v2 = new Array(); v2[1] = _root.l2lv1_text; v2[2] = _root.l2lv2_text; v2[3] = _root.l2lv3_text; v2[4] = _root.l2lv4_text; v2[5] = _root.l2lv5_text; v2[6] = _root.l2lv6_text; v2[7] = _root.l2lv7_text; v2[8] = _root.l2lv8_text; v2[9] = _root.l2lv9_text; var v6 = 0; var v3 = 0; while (v3 < 10) { if (v2[v3] == '9') { var v7 = v3; v3 = 10; } v3 += 1; } if (v2[1] != '1') { v6 += 1; v3 = 2; while (v3 < 10) { if (v2[v3] == '1') { var v8 = v2[1]; v2[1] = '1'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[2] != '2') { v6 += 1; v3 = 3; while (v3 < 10) { if (v2[v3] == '2') { v8 = v2[2]; v2[2] = '2'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[3] != '3') { v6 += 1; v3 = 4; while (v3 < 10) { if (v2[v3] == '3') { v8 = v2[3]; v2[3] = '3'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[4] != '4') { v6 += 1; v3 = 5; while (v3 < 10) { if (v2[v3] == '4') { v8 = v2[4]; v2[4] = '4'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[5] != '5') { v6 += 1; v3 = 6; while (v3 < 10) { if (v2[v3] == '5') { v8 = v2[5]; v2[5] = '5'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[6] != '6') { v6 += 1; v3 = 7; while (v3 < 10) { if (v2[v3] == '6') { v8 = v2[6]; v2[6] = '6'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[7] != '7') { v6 += 1; v3 = 8; while (v3 < 10) { if (v2[v3] == '7') { v8 = v2[7]; v2[7] = '7'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[8] != '8') { v6 += 1; v3 = 9; while (v3 < 10) { if (v2[v3] == '8') { v8 = v2[8]; v2[8] = '8'; v2[v3] = v8; v3 = 10; } v3 += 1; } } if (v2[9] != '9') { v6 += 1; } var v4 = (v7 - 1) % 3; var v5 = (v7 - 1 - v4) / 3; if ((2 - v4 + (2 - v5)) % 2 == v6 % 2) { return true; } else { return false; } }; _global.l2.dovictoire = function () { var v2 = Number(_root.currentgrp_text); _root.grpic.gotoAndStop(2); _root.grpic._visible = true; square_strip.loadvideo(v2); }; _global.l2.testvictoire = function () { var v2 = Number(_root.l2ltaillecarre_text); if (v2 == 3) { if (_root.l2lv1_text == '1' && (_root.l2lv2_text == '2' && (_root.l2lv3_text == '3' && (_root.l2lv4_text == '4' && (_root.l2lv5_text == '5' && (_root.l2lv6_text == '6' && (_root.l2lv7_text == '7' && _root.l2lv8_text == '8'))))))) { l2.dovictoire(); } if (_root.l2lv1_text == '1' && (_root.l2lv2_text == '2' && (_root.l2lv3_text == '3' && (_root.l2lv4_text == '4' && (_root.l2lv5_text == '5' && (_root.l2lv6_text == '6' && (_root.l2lv7_text == '8' && _root.l2lv8_text == '7'))))))) { _root.impossible._visible = true; } } }; _global.l2.doresetplace9 = function (posdepart) { _root.iswin._visible = false; _root.impossible._visible = false; var v5 = Number(_root.l2lsizecubew_text); var v6 = Number(_root.l2lsizecubeh_text); var v7 = Number(_root.l2ltaillecarre_text); var v8 = Number(_root.initx_text); var v9 = Number(_root.inity_text); if (posdepart == 1) { var v10 = Number(_root.l2lv1_text); } if (posdepart == 2) { v10 = Number(_root.l2lv2_text); } if (posdepart == 3) { v10 = Number(_root.l2lv3_text); } if (posdepart == 4) { v10 = Number(_root.l2lv4_text); } if (posdepart == 5) { v10 = Number(_root.l2lv5_text); } if (posdepart == 6) { v10 = Number(_root.l2lv6_text); } if (posdepart == 7) { v10 = Number(_root.l2lv7_text); } if (posdepart == 8) { v10 = Number(_root.l2lv8_text); } if (posdepart == 9) { v10 = Number(_root.l2lv9_text); } if (v10 == 1) { var v11 = _root.groupe2.o1; } if (v10 == 2) { v11 = _root.groupe2.o2; } if (v10 == 3) { v11 = _root.groupe2.o3; } if (v10 == 4) { v11 = _root.groupe2.o4; } if (v10 == 5) { v11 = _root.groupe2.o5; } if (v10 == 6) { v11 = _root.groupe2.o6; } if (v10 == 7) { v11 = _root.groupe2.o7; } if (v10 == 8) { v11 = _root.groupe2.o8; } if (v10 == 9) { v11 = _root.groupe2.o9; _root.l2lcurpos_text = String(posdepart); } var v3 = (posdepart - 1) % v7; var v4 = (posdepart - 1 - v3) / v7; v11._x = v8 + v5 * v3; v11._y = v9 + v6 * v4; }; _global.l2.doreset9 = function () { _root.l2lv1_text = '0'; _root.l2lv2_text = '0'; _root.l2lv3_text = '0'; _root.l2lv4_text = '0'; _root.l2lv5_text = '0'; _root.l2lv6_text = '0'; _root.l2lv7_text = '0'; _root.l2lv8_text = '0'; _root.l2lv9_text = '0'; _root.l2lv1_text = l2.givenumber(9); if (_root.l2lv1_text == '1') { _root.l2lv1_text = '2'; } _root.l2lv2_text = l2.givenumber(9); _root.l2lv3_text = l2.givenumber(9); _root.l2lv4_text = l2.givenumber(9); _root.l2lv5_text = l2.givenumber(9); _root.l2lv6_text = l2.givenumber(9); _root.l2lv7_text = l2.givenumber(9); _root.l2lv8_text = l2.givenumber(9); _root.l2lv9_text = l2.givenumber(9); while (l2.testparity9() == false) { _root.l2lv1_text = '0'; _root.l2lv2_text = '0'; _root.l2lv3_text = '0'; _root.l2lv4_text = '0'; _root.l2lv5_text = '0'; _root.l2lv6_text = '0'; _root.l2lv7_text = '0'; _root.l2lv8_text = '0'; _root.l2lv9_text = '0'; _root.l2lv1_text = l2.givenumber(9); if (_root.l2lv1_text == '1') { _root.l2lv1_text = '2'; } _root.l2lv2_text = l2.givenumber(9); _root.l2lv3_text = l2.givenumber(9); _root.l2lv4_text = l2.givenumber(9); _root.l2lv5_text = l2.givenumber(9); _root.l2lv6_text = l2.givenumber(9); _root.l2lv7_text = l2.givenumber(9); _root.l2lv8_text = l2.givenumber(9); _root.l2lv9_text = l2.givenumber(9); } l2.doresetplace9(1); l2.doresetplace9(2); l2.doresetplace9(3); l2.doresetplace9(4); l2.doresetplace9(5); l2.doresetplace9(6); l2.doresetplace9(7); l2.doresetplace9(8); l2.doresetplace9(9); }; _global.l2.isunused9 = function (truf) { if (Number(truf) < 1) { return false; } if (Number(truf) > 9) { return false; } if (_root.l2lv1_text == truf) { return false; } if (_root.l2lv2_text == truf) { return false; } if (_root.l2lv3_text == truf) { return false; } if (_root.l2lv4_text == truf) { return false; } if (_root.l2lv5_text == truf) { return false; } if (_root.l2lv6_text == truf) { return false; } if (_root.l2lv7_text == truf) { return false; } if (_root.l2lv8_text == truf) { return false; } if (_root.l2lv9_text == truf) { return false; } return true; }; _global.l2.isunused = function (truf, thenum) { if (Number(truf) < 1) { return false; } if (Number(truf) > thenum) { return false; } if (thenum == 9) { return l2.isunused9(truf); } return true; }; _global.l2.givenumber = function (thenum) { var v3 = Math.floor(Math.random() * thenum) + 1; while (l2.isunused(String(v3), thenum) == false) { v3 = Math.floor(Math.random() * thenum) + 1; } return String(v3); }; _global.l2.doinit = function () { _root.l2lv1_text = 1; _root.l2lv2_text = 2; _root.l2lv3_text = 3; _root.l2lv4_text = 4; _root.l2lv5_text = 5; _root.l2lv6_text = 6; _root.l2lv7_text = 7; _root.l2lv8_text = 8; _root.l2lv9_text = 9; _root.l2lv1._visible = false; _root.l2lv2._visible = false; _root.l2lv3._visible = false; _root.l2lv4._visible = false; _root.l2lv5._visible = false; _root.l2lv6._visible = false; _root.l2lv7._visible = false; _root.l2lv8._visible = false; _root.l2lv9._visible = false; _root.l2ltaillecarre._visible = false; _root.l2lsizecubew._visible = false; _root.l2lsizecubeh._visible = false; _root.l2lcurpos._visible = false; _root.groupe2.sans_nom69._visible = false; _root.iswin._visible = false; _root.impossible._visible = false; l2.doreset9(); }; _global.l2.changeplacegenerique = function (posdepart, posarrive) { var v7 = Number(_root.l2lsizecubew_text); var v8 = Number(_root.l2lsizecubeh_text); var v9 = Number(_root.l2ltaillecarre_text); if (posdepart == 1) { var v4 = Number(_root.l2lv1_text); } if (posdepart == 2) { v4 = Number(_root.l2lv2_text); } if (posdepart == 3) { v4 = Number(_root.l2lv3_text); } if (posdepart == 4) { v4 = Number(_root.l2lv4_text); } if (posdepart == 5) { v4 = Number(_root.l2lv5_text); } if (posdepart == 6) { v4 = Number(_root.l2lv6_text); } if (posdepart == 7) { v4 = Number(_root.l2lv7_text); } if (posdepart == 8) { v4 = Number(_root.l2lv8_text); } if (posdepart == 9) { v4 = Number(_root.l2lv9_text); } if (posarrive == 1) { var v10 = _root.l2lv1_text; _root.l2lv1_text = v4; } if (posarrive == 2) { v10 = _root.l2lv2_text; _root.l2lv2_text = v4; } if (posarrive == 3) { v10 = _root.l2lv3_text; _root.l2lv3_text = v4; } if (posarrive == 4) { v10 = _root.l2lv4_text; _root.l2lv4_text = v4; } if (posarrive == 5) { v10 = _root.l2lv5_text; _root.l2lv5_text = v4; } if (posarrive == 6) { v10 = _root.l2lv6_text; _root.l2lv6_text = v4; } if (posarrive == 7) { v10 = _root.l2lv7_text; _root.l2lv7_text = v4; } if (posarrive == 8) { v10 = _root.l2lv8_text; _root.l2lv8_text = v4; } if (posarrive == 9) { v10 = _root.l2lv9_text; _root.l2lv9_text = v4; } if (Number(v10) == 1) { var v6 = _root.groupe2.o1; } if (Number(v10) == 2) { v6 = _root.groupe2.o2; } if (Number(v10) == 3) { v6 = _root.groupe2.o3; } if (Number(v10) == 4) { v6 = _root.groupe2.o4; } if (Number(v10) == 5) { v6 = _root.groupe2.o5; } if (Number(v10) == 6) { v6 = _root.groupe2.o6; } if (Number(v10) == 7) { v6 = _root.groupe2.o7; } if (Number(v10) == 8) { v6 = _root.groupe2.o8; } if (Number(v10) == 9) { v6 = _root.groupe2.o9; } if (posdepart == 1) { _root.l2lv1_text = v10; } if (posdepart == 2) { _root.l2lv2_text = v10; } if (posdepart == 3) { _root.l2lv3_text = v10; } if (posdepart == 4) { _root.l2lv4_text = v10; } if (posdepart == 5) { _root.l2lv5_text = v10; } if (posdepart == 6) { _root.l2lv6_text = v10; } if (posdepart == 7) { _root.l2lv7_text = v10; } if (posdepart == 8) { _root.l2lv8_text = v10; } if (posdepart == 9) { _root.l2lv9_text = v10; } if (posdepart == posarrive - 1) { v6._x -= v7; } if (posdepart == posarrive + 1) { v6._x += v7; } if (posdepart == posarrive + v9) { v6._y += v8; } if (posdepart == posarrive - v9) { v6._y -= v8; } l2.testvictoire(); }; _global.l2.bougecar = function (tre) { var v8 = Number(_root.l2lcurpos_text); tre -= 1; var v3 = tre % Number(_root.l2ltaillecarre_text); var v4 = (tre - v3) / Number(_root.l2ltaillecarre_text); var v5 = (v8 - 1) % Number(_root.l2ltaillecarre_text); var v6 = (v8 - 1 - v5) / Number(_root.l2ltaillecarre_text); var v7 = 0; if (v3 == v5 - 1 && v4 == v6) { v7 = 1; } if (v3 == v5 + 1 && v4 == v6) { v7 = 1; } if (v4 == v6 + 1 && v3 == v5) { v7 = 1; } if (v4 == v6 - 1 && v3 == v5) { v7 = 1; } if (v7 == 1) { l2.changeplacegenerique(v8, tre + 1); _root.l2lcurpos_text = tre + 1; } if (v7 == 0) { } }; ASSetPropFlags(v1, null, 1); } #endinitclip } frame 3 { gotoAndPlay(1); }




http://swfchan.com/23/110736/info.shtml
Created: 13/3 -2019 17:16:18 Last modified: 13/3 -2019 17:16:18 Server time: 15/05 -2024 09:02:00