home *** CD-ROM | disk | FTP | other *** search
- stop();
- cn = 0;
- c = 0;
- i = 0;
- while(i < 11)
- {
- j = 0;
- while(j < 11)
- {
- var mcName = "mcCel_" + i + "_" + j;
- this.attachMovie("mcCelOrg",mcName,c);
- mc = eval(mcName);
- mc._x = j * 40;
- mc._y = i * 40;
- c++;
- j++;
- }
- i++;
- }
- pat0 = "1000000100000010100010101000010000000101000110100000100000010100011010000010001000001010000101000000100000000110000100000";
- pat1 = "1010001010000001000001001000010000100010001000010001000100001000100000001000010101000010010000010000010100001000000010000";
- pat2 = "0010000101001000100000000010000100001000010010100010001000101000000100000101000001000000010000010101000101000100100000100";
- pat3 = "1000010100001000000001000010101000100000000100010000100010001000100001000010010101010000000000001011010000100000000100010";
- pat4 = "0100010101000010000000010000100000001000010100000100000101000010000000100001010100001000000010000100100000100000010100010";
- pat5 = "0001010101010100000000000001010101010100000000010101010010000000000001010101010101000100000001000011010000010000000100010";
- pat6 = "0100001000000010000101100010100000010000010101000010000000101000000100000101010001000000001000010100001000000001000101010";
- pat7 = "1000010000100010000100101000100010000100010010100001000000010001000000001000001010000010000000100010101000100000000100001";
- pat8 = "0000101000101000000100000100010000000000010010101010000010001000100000000100001010100010100000101010000100000010100010101";
- pat9 = "0000001000001010000010000001010000101000001010000100001000010001001010001000000001000010010101010000000000001010100010000";
- cnt = 0;
- onEnterFrame = function()
- {
- var pat = eval("pat" + cnt);
- var i = 0;
- while(i < 11)
- {
- var j = 0;
- while(j < 11)
- {
- mc = eval("mcCel_" + i + "_" + j);
- if(pat.charAt(i * 11 + j) == 0)
- {
- mc.gotoAndStop(1);
- }
- else
- {
- mc.gotoAndStop("black");
- }
- j++;
- }
- i++;
- }
- cnt++;
- if(cnt > 5)
- {
- delete onEnterFrame;
- _parent.gotoAndStop("play");
- }
- };
-