Frame 1
URLBase = "";
if (_framesloaded >= _totalframes) {
i = _url.indexOf("?level=", 0);
if (0 < i) {
curLevel = mbsubstring(_url, i + 8, 10);
if (0 < curLevel) {
playLevelMode = true;
} else {
playLevelMode = false;
curLevel = 1;
}
} else {
playLevelMode = false;
curLevel = "1";
}
gotoAndPlay (3);
}
Instance of Symbol 16 MovieClip in Frame 1
onClipEvent (load) {
fic_url = "getListeGuest.php3";
}
Frame 2
gotoAndPlay (1);
Frame 3
curCode = "- - - - - -";
tabEditLevel = new Array();
tabRestaureEditLevel = new Array();
soundDiam = new Sound();
soundDiam.attachSound("soundDiam");
soundBloc = new Sound();
soundBloc.attachSound("soundBloc");
soundRebond = new Sound();
soundRebond.attachSound("soundRebond");
soundPlouf = new Sound();
soundPlouf.attachSound("soundPlouf");
soundPiquant = new Sound();
soundPiquant.attachSound("soundPiquant");
soundCristal = new Sound();
soundCristal.attachSound("soundCristal");
tabLevel = new Array();
tabLevel[1] = "0,2,520,190,25,275,0,520,275,0,135,275,0,190,275,0,245,275,0,300,275,0,355,275,0,465,275,0,410,275,0,80,275,1,575,275,0";
tabLevel[2] = "0,2,525,220,525,305,0,470,305,0,415,305,0,360,240,0,305,240,0,250,240,0,190,170,0,135,170,1,80,170,0";
tabLevel[3] = "0,2,520,120,520,190,0,465,190,0,410,190,0,360,255,0,305,255,0,250,255,0,195,320,0,140,320,1,85,320,0";
tabLevel[4] = "0,2,540,205,540,280,0,435,280,0,380,280,0,325,280,0,270,280,0,215,280,0,160,280,0,60,280,1";
tabLevel[5] = "0,2,550,290,55,120,0,165,120,0,210,195,0,265,195,0,320,245,0,375,245,0,110,120,1,435,295,0,490,295,0,550,345,0";
tabLevel[6] = "0,2,45,60,45,115,0,100,115,0,200,190,0,255,190,0,350,265,0,405,265,0,555,340,1,500,340,0";
tabLevel[7] = "0,2,510,270,90,160,1,240,340,0,295,340,0,350,340,0,405,340,0,460,340,0,515,340,0";
tabLevel[8] = "0,3,475,180,475,270,0,360,270,0,245,270,0,130,270,1";
tabLevel[9] = "0,2,60,230,330,300,0,220,300,0,55,300,0,440,300,0,550,300,1";
tabLevel[10] = "0,4,520,295,520,355,0,85,225,0,365,45,0,420,45,1,310,45,0,215,355,0,255,45,0";
tabLevel[11] = "0,1,545,190,550,275,0,495,275,0,440,275,5,385,275,0,330,275,5,275,275,0,220,275,5,165,275,0,110,275,1,55,275,5";
tabLevel[12] = "0,2,165,195,110,255,0,165,255,0,220,255,5,275,255,0,330,255,0,440,255,0,385,255,5,495,255,1";
tabLevel[13] = "0,1,550,185,110,165,1,55,155,5,165,175,5,220,185,5,275,195,5,330,205,5,385,215,5,440,225,5,495,235,5,550,245,0";
tabLevel[14] = "0,2,530,255,530,335,0,375,295,0,225,245,0,70,190,1,125,190,5,280,245,5,430,295,5";
tabLevel[15] = "0,2,500,65,505,120,0,410,335,0,355,335,0,95,120,1,300,335,5,245,335,0,190,335,0";
tabLevel[16] = "0,2,300,235,300,90,1,245,105,5,355,105,5,190,120,5,410,120,5,90,195,0,145,225,5,200,260,5,510,195,0,455,225,5,395,260,5,300,300,0";
tabLevel[17] = "0,2,550,290,265,205,0,320,245,0,110,110,1,490,295,0,550,345,0,210,215,5,375,235,5,55,120,5,165,120,5,435,285,5";
tabLevel[18] = "0,1,530,255,530,335,0,450,315,5,375,295,0,300,270,5,225,245,0,145,220,5,70,190,1";
tabLevel[19] = "0,1,300,65,300,340,1,245,330,5,190,320,5,135,310,5,80,300,0,355,330,5,410,320,5,465,310,5,520,300,0,300,110,0,245,110,0,355,110,0";
tabLevel[20] = "0,1,50,55,45,110,0,270,110,5,385,110,5,500,110,5,330,185,5,445,185,5,560,185,5,290,265,5,405,265,5,520,265,5,210,355,5,325,355,5,440,355,5,555,355,5,100,355,1,215,185,5,100,185,5,175,265,5,60,265,5,160,110,5";
tabLevel[21] = "0,1,300,200,300,150,2,300,250,1";
tabLevel[22] = "0,2,545,165,330,275,0,385,275,0,440,275,0,495,275,0,550,275,0,275,275,0,220,275,0,165,275,0,110,275,0,55,275,1,550,265,2";
tabLevel[23] = "0,2,545,165,330,275,0,385,275,0,550,275,0,275,275,0,220,275,0,55,275,1,550,265,2,110,275,5,165,275,5,495,275,5,440,275,5";
tabLevel[24] = "0,5,232,151,230,227,1,330,225,0,429,226,0,229,129,2,428,126,2";
tabLevel[25] = "0,2,545,105,495,235,0,165,295,5,110,295,1,55,295,5,385,270,0,330,270,0,275,270,0,220,270,0,440,270,0,550,235,0,55,285,2";
tabLevel[26] = "0,3,555,190,505,300,0,170,150,5,115,150,1,60,150,5,395,255,0,335,200,0,280,200,0,225,200,0,450,255,0,560,300,0,60,130,2,395,245,2";
tabLevel[27] = "0,3,435,220,165,325,1,220,325,0,275,325,0,330,325,0,385,325,0,440,325,0,385,275,2,365,275,2,310,230,2,290,230,2,225,195,2,205,195,2";
tabLevel[28] = "0,1,550,160,330,240,0,385,240,0,550,275,0,220,240,0,55,275,1,550,265,2,110,275,5,495,275,5,275,240,5,55,160,5,110,160,0";
tabLevel[29] = "0,4,520,180,355,255,0,520,255,0,245,255,0,80,180,1,520,245,2,135,320,5,465,255,5,135,180,5,80,320,0,300,245,2,80,170,2,80,310,2,300,230,2,300,255,0,300,215,2";
tabLevel[30] = "0,11,300,200,65,310,0,540,310,0,65,105,2,65,90,2,540,105,2,540,90,2,300,310,1,300,105,2,300,90,2";
tabLevel[31] = "0,4,300,160,300,320,0,220,260,0,380,260,0,220,250,2,300,310,2,380,250,2,300,205,1";
tabLevel[32] = "0,8,105,185,105,235,0,160,235,0,285,235,0,340,235,0,460,235,0,515,235,1,285,115,2,285,140,2,340,140,2,340,115,2";
tabLevel[33] = "0,3,300,230,300,170,1,245,170,5,355,170,5,300,325,0,245,325,5,355,325,5,300,125,2,280,125,2,320,125,2,100,325,0,100,170,0,100,250,5,500,325,0,500,250,5,500,170,0";
tabLevel[34] = "0,1,55,95,115,230,5,170,230,5,225,230,5,280,230,5,335,230,5,250,185,2,390,230,5,445,230,5,500,230,5,555,230,5,45,230,1,510,185,2,170,185,2,420,185,2,335,185,2";
tabLevel[35] = "0,3,425,260,305,330,0,305,245,0,305,295,2,305,280,2,305,265,2,305,205,2,305,190,2,305,175,2,305,155,0,305,125,2,305,110,2,305,95,2,430,330,0,175,155,1";
tabLevel[36] = "0,6,300,200,111,303,0,490,128,1,111,249,2,209,108,2,298,178,2,298,251,0,208,182,0,398,184,0,390,130,2";
tabLevel[37] = "0,8,300,60,300,340,0,125,225,0,475,225,0,205,270,2,300,330,2,395,270,2,300,110,1,205,165,0,395,165,0,205,280,0,395,280,0,205,155,2,125,215,2,395,155,2,475,215,2";
tabLevel[38] = "0,8,300,60,300,340,0,125,275,0,470,275,0,205,305,2,300,330,2,395,305,2,300,110,1,50,235,0,550,240,0,205,315,0,395,315,0,50,225,2,125,265,2,550,230,2,470,265,2,300,125,11";
tabLevel[39] = "0,4,60,70,60,125,0,175,355,0,290,125,0,405,355,0,290,115,2,175,345,2,405,345,2,520,125,1";
tabLevel[40] = "0,16,300,320,295,140,1,250,120,5,165,120,0,255,350,0,345,350,0,335,120,5,300,370,0,420,120,0,125,140,0,465,140,0,215,330,0,170,310,0,385,330,0,425,310,0,170,300,2,425,300,2,205,100,5,375,100,5,125,210,0,470,215,0,125,200,2,470,205,2,325,195,2,300,280,2,300,220,2,275,195,2,250,220,2,350,220,2,255,250,2,345,250,2,270,260,2,330,260,2,285,270,2,315,270,2,350,235,2,250,235,2,260,205,2,340,205,2,290,205,2,310,205,2";
tabLevel[41] = "0,9,50,280,50,370,0,105,370,0,50,315,0,105,315,0,170,125,0,170,70,0,225,125,0,225,70,0,320,250,0,320,305,0,375,305,0,555,190,0,500,190,0,555,140,0,500,140,0,105,360,2,170,115,2,375,295,2,555,180,2,500,130,2,225,60,2,320,240,2,375,250,1";
tabLevel[42] = "0,17,50,335,50,370,0,105,370,0,50,315,0,105,315,0,170,115,0,170,60,0,225,115,0,225,60,0,330,235,0,330,290,0,385,290,0,555,200,0,500,200,0,555,150,0,500,150,0,105,360,2,170,105,2,385,280,2,555,190,2,500,140,2,225,50,2,330,225,2,385,235,1,105,260,0,50,260,0,170,170,0,225,170,0,330,345,0,385,345,0,500,100,0,555,100,0,555,90,2,225,160,2,330,335,2,50,305,2,105,250,2";
tabLevel[43] = "0,6,360,125,360,160,0,415,230,1,169.25,172.4,0,305,230,5,305,205,2";
tabLevel[44] = "0,10,467,130,465,176,0,372,236,0,253,285,0,110,236,0,112,153,2,369,111,2,253,267,2,549,119,1,548,107,2";
tabLevel[45] = "0,3,297,152,187,204,0,297,204,1,406,204,0,242,204,5,352,204,5,210,143,2,242,99,2,299,50,2,351,100,2,383,144,2";
tabLevel[46] = "0,10,80,290,80,340,0,135,310,0,470,215,0,250,285,0,305,215,0,530,115,1,135,300,2,250,275,2,305,205,2,470,205,2";
tabLevel[47] = "0,10,535,185,85,245,1,160,150,0,450,150,0,235,245,0,380,245,0,160,115,2,305,115,2,450,115,2,305,150,0,535,245,0,235,205,2,380,205,2";
tabLevel[48] = "0,11,75,270,110,170,0,165,170,0,260,110,0,370,340,0,55,170,5,425,340,0,480,340,0,535,340,5,55,145,2,535,295,2,70,340,1,480,110,0,370,110,0,480,85,2";
tabLevel[49] = "0,9,300,90,300,150,1,190,150,0,245,150,5,355,150,5,410,150,0,305,245,5,250,245,0,360,245,0,505,240,0,95,245,0,285,210,2,305,210,2,325,210,2,30,140,2,575,125,2";
tabLevel[50] = "0,15,300,15,245,125,0,355,125,0,505,205,0,355,325,0,300,325,5,245,325,0,95,205,0,245,155,2,300,155,2,360,155,2,300,125,5,40,205,1,560,205,1,300,65,0,300,90,2,300,290,2";
tabLevel[51] = "0,7,80,120,80,165,0,135,175,0,245,175,0,135,165,2,245,165,2,530,325,0,420,325,0,310,325,0,310,315,2,420,315,2,530,315,2,355,175,1,355,165,2,190,165,5,300,165,5,365,315,5,475,315,5";
tabLevel[52] = "0,14,310,85,310,340,0,195,245,0,430,245,0,250,295,0,370,295,0,310,330,2,140,200,0,485,200,0,250,285,2,195,235,2,140,190,2,370,285,2,430,235,2,485,190,2,310,155,1,85,160,0,535,160,0,85,150,2,535,150,2";
tabLevel[53] = "0,2,110,165,495,240,1,495,185,0,440,240,0,440,185,0,385,185,5,385,240,0,330,185,0,330,240,0,275,185,0,275,240,0,220,185,5,220,240,0,165,185,0,165,240,0,110,240,0";
tabLevel[54] = "0,17,50,335,50,370,0,105,370,0,50,315,0,170,115,0,170,60,0,225,60,0,330,235,0,385,290,0,555,200,0,500,200,0,500,150,0,105,360,2,170,105,2,385,280,2,555,190,2,500,140,2,225,50,2,330,225,2,385,235,1,105,260,0,225,170,0,330,345,0,555,100,0,555,90,2,225,160,2,330,335,2,50,305,2,105,250,2,105,315,5,50,260,12,385,345,12,330,290,5,170,170,5,555,150,5,500,100,12,225,115,12";
tabLevel[55] = "0,6,550,225,55,305,1,55,250,0,110,315,0,110,230,0,165,325,0,165,210,0,220,315,0,220,190,0,275,305,0,275,170,0,330,315,0,330,150,0,385,325,0,385,130,0,440,315,0,440,110,0,495,305,0,495,90,0,550,295,0,550,70,0,555,95,2,440,135,2,330,175,2,220,215,2,110,255,2";
tabLevel[56] = "0,6,60,160,550,270,1,110,230,0,110,175,0,165,240,0,165,165,0,220,240,0,220,165,0,275,250,0,275,155,0,330,250,0,330,155,0,385,260,0,385,145,0,440,260,0,440,145,0,495,270,0,495,135,0,55,230,0,550,135,0,550,160,2,440,170,2,330,180,2,220,190,2,110,200,2";
tabLevel[57] = "0,12,55,265,550,150,1,110,300,0,110,245,0,165,310,0,165,235,0,220,310,0,220,235,0,275,320,0,275,225,0,330,320,0,330,225,0,385,330,0,385,215,0,440,330,0,440,215,0,495,340,0,495,205,0,55,300,0,550,205,0,550,230,2,440,240,2,330,250,2,220,260,2,110,270,2,550,340,0,495,150,0,440,140,0,385,140,0,330,130,0,275,130,0,220,120,0,165,120,0,110,110,0,55,110,0,495,175,2,385,165,2,275,155,2,165,145,2,55,135,2";
tabLevel[58] = "0,4,485,120,120,165,0,210,165,5,395,165,5,485,165,0,395,155,2,210,155,2,165,260,0,305,260,5,440,260,0,305,250,2,305,165,1";
tabLevel[59] = "0,6,485,120,125,165,0,245,165,5,425,165,5,485,165,0,425,155,2,245,155,2,185,260,0,305,260,5,425,260,0,305,250,2,305,165,1,365,165,5,185,165,5,185,155,2,365,155,2,245,260,5,365,260,5,245,250,2,365,250,2,125,260,0,485,260,0";
tabLevel[60] = "0,6,515,120,95,165,0,235,165,5,445,165,5,515,165,0,445,155,2,235,155,2,220,260,0,390,260,0,305,165,1,375,165,5,165,165,5,165,155,2,375,155,2,165,260,5,445,260,5,165,250,2,445,250,2,110,260,0,500,260,0";
tabLevel[61] = "0,8,300,60,300,355,0,85,240,0,515,240,0,170,305,2,300,345,2,435,305,2,300,110,1,50,125,0,550,125,0,170,315,0,435,315,0,50,115,2,85,230,2,550,115,2,515,230,2,300,125,11";
tabLevel[62] = "0,2,550,245,50,320,0,160,320,0,105,320,1,215,320,0,245,305,8,275,320,0,330,320,0,385,320,0,415,340,8,415,295,8,445,320,0,500,320,0,555,320,0,245,260,8,415,155,8,415,200,8,245,120,8,245,165,8";
tabLevel[63] = "0,2,550,245,105,320,1,215,320,0,245,305,8,330,320,0,415,340,8,415,295,8,445,320,0,500,320,0,555,320,0,245,260,8,415,155,8,415,200,8,245,120,8,245,165,8,275,320,5,385,320,5,160,320,5,50,320,5";
tabLevel[64] = "0,2,550,245,105,275,1,215,320,0,245,305,8,330,275,0,415,340,8,415,295,8,445,275,0,500,320,0,555,320,0,245,260,8,415,155,8,415,200,8,245,120,8,245,165,8,275,320,5,385,275,5,160,320,5,50,275,5";
tabLevel[65] = "0,2,555,215,560,305,0,505,305,0,350,265,0,255,225,0,100,190,1,45,190,12,200,225,5,405,265,5";
tabLevel[66] = "0,2,555,215,560,305,0,505,305,0,350,265,0,255,225,0,100,190,1,45,190,12,200,225,12,405,265,12";
tabLevel[67] = "0,3,560,245,560,325,0,505,315,0,355,260,0,255,230,0,45,165,1,100,185,12,200,220,12,410,275,12";
tabLevel[68] = "0,2,520,250,520,315,0,465,300,0,305,245,0,80,165,1,135,185,12,245,230,12,360,265,12";
tabLevel[69] = "0,2,80,120,80,170,0,135,190,0,305,245,0,520,320,1,465,305,12,245,230,12,360,265,12";
tabLevel[70] = "0,8,110,265,180,115,8,180,165,8,180,215,8,180,265,8,260,115,8,260,165,8,260,215,8,260,265,8,220,355,0,220,115,2,220,150,2,220,185,2,220,220,2,220,255,2,335,115,8,335,165,8,335,215,8,335,265,8,275,355,0,330,355,0,385,355,0,165,355,0,110,355,0,440,355,0,410,115,8,410,165,8,410,215,8,410,265,8,300,115,2,300,150,2,300,185,2,300,220,2,300,255,2,495,355,1,375,115,2,375,150,2,375,185,2,375,220,2,375,255,2";
tabLevel[71] = "0,8,510,65,90,130,0,245,340,0,145,130,11,510,130,0,455,130,11,245,200,0,355,200,0,145,270,11,90,270,0,455,270,11,510,270,0,355,340,0,510,195,2,90,195,2,300,200,0,300,340,1,400,130,5,200,130,5,400,270,12,200,270,12";
tabLevel[72] = "0,8,510,65,90,130,0,245,340,0,145,130,11,195,130,11,245,130,11,510,130,0,355,130,11,405,130,11,455,130,11,245,200,0,355,200,0,245,270,11,195,270,11,145,270,11,90,270,0,355,270,11,405,270,11,455,270,11,510,270,0,355,340,0,510,195,2,90,195,2,300,200,0,300,340,1";
tabLevel[73] = "0,5,515,190,90,340,0,145,340,0,515,340,0,460,340,0,290,175,2,310,175,2,330,175,2,145,255,0,460,255,0,515,255,0,290,100,2,310,100,2,330,100,2,90,255,1";
tabLevel[74] = "0,3,550,245,105,160,1,160,240,0,245,305,8,330,320,0,415,340,8,415,250,8,445,135,0,500,320,0,555,320,0,245,260,8,415,155,8,415,200,8,245,120,8,245,165,8,275,320,5,275,140,5,215,240,5,50,160,5";
tabLevel[75] = "0,4,550,245,415,145,1,165,230,0,245,305,8,325,330,0,415,245,8,105,160,0,500,320,0,555,320,0,245,260,8,415,180,8,415,200,8,245,120,8,245,155,8,270,330,5,275,135,5,220,230,5,50,160,5,105,150,2,325,320,2,415,135,2";
tabLevel[76] = "0,9,495,280,300,115,1,275,360,0,385,360,0,220,360,0,330,360,0,445,245,8,330,345,2,275,345,2,220,345,2,300,130,11,495,360,0,110,360,0,165,360,5,440,360,5,385,345,2,445,200,8,165,285,8,165,240,8,115,295,2,115,275,2,115,255,2,490,225,2,490,210,2,490,195,2";
tabLevel[77] = "0,4,105,65,105,125,0,325,85,0,555,85,0,125,355,1,50,140,12,160,115,12,270,95,12,215,105,5,555,75,2,180,340,5,235,330,12,290,315,0,290,305,2";
tabLevel[78] = "0,9,110,260,110,350,0,165,275,0,275,275,12,165,350,0,385,200,0,275,200,0,385,350,12,330,200,12,385,275,0,440,275,0,275,350,0,255,240,2,275,240,2,295,240,2,365,315,2,330,170,2,385,315,2,310,170,2,350,170,2,330,125,1,495,350,0,405,315,2,220,350,5,330,350,5,440,350,5,220,275,5,330,275,5";
tabLevel[79] = "0,4,305,45,140,200,0,85,190,5,195,190,5,525,220,5,470,230,0,415,220,5,140,190,2,470,220,2,140,215,11,470,245,11,305,120,11,255,360,0,305,105,1,255,350,2,55,175,0,225,175,0,380,205,0,550,205,0,340,335,0,170,335,0,200,350,0,310,350,0";
tabLevel[80] = "0,4,305,45,140,200,0,55,175,5,85,190,5,195,190,5,220,175,5,550,205,5,525,220,5,470,230,0,415,220,5,390,205,5,140,190,2,470,220,2,140,215,11,470,245,11,305,120,11,170,335,5,200,350,5,255,360,0,310,350,5,340,335,5,305,105,1,255,350,2";
tabLevel[81] = "0,4,300,140,75,355,0,245,235,5,355,235,5,410,275,5,470,315,5,530,355,0,355,225,2,410,265,2,470,305,2,300,195,1,530,345,2,245,225,2,190,275,5,135,315,5,190,265,2,135,305,2,75,345,2,300,235,5,245,275,5,355,275,5,190,315,5,415,315,5,130,355,5,475,355,5";
tabLevel[82] = "0,8,110,265,180,115,8,180,165,8,180,215,8,180,265,8,260,115,8,260,165,8,260,215,8,260,265,8,220,115,2,220,150,2,220,185,2,220,220,2,220,255,2,335,115,8,335,165,8,335,215,8,335,265,8,275,355,0,330,355,0,165,355,0,110,355,0,440,355,0,410,115,8,410,165,8,410,215,8,410,265,8,300,115,2,300,150,2,300,185,2,300,220,2,300,255,2,495,355,1,375,115,2,375,150,2,375,185,2,375,220,2,375,255,2,260,130,11,335,165,11,260,200,11,335,240,11,180,165,11,180,240,11,410,130,11,410,200,11,220,355,5,385,355,5,110,120,0,495,120,0";
tabLevel[83] = "0,11,85,310,85,120,0,85,195,0,85,270,0,85,345,0,230,120,5,355,195,5,230,270,5,520,185,2,520,195,0,85,285,11,85,135,11,355,345,5,520,345,0,520,335,2,520,210,11,520,120,1,520,135,11,355,120,5,85,260,2,85,110,2,230,200,0,355,270,0,230,345,0";
tabLevel[84] = "0,8,85,310,85,120,0,85,195,0,85,270,0,85,345,0,230,120,5,355,195,5,230,270,5,520,185,2,520,195,0,85,285,11,85,135,11,355,345,5,520,345,0,520,335,2,520,210,11,520,120,1,520,135,11,355,120,5,85,260,2,85,110,2";
tabLevel[85] = "0,7,60,70,60,125,0,175,355,0,290,125,0,405,355,0,290,115,2,175,345,2,405,345,2,520,125,1,290,200,0,290,275,0,290,140,11,290,215,11,290,290,11,290,190,2,290,265,2";
tabLevel[86] = "0,2,490,165,110,185,1,300,185,0,175,245,8,205,240,11,235,245,8,205,225,2,490,185,0,365,245,8,395,240,11,425,245,8,395,225,2,300,170,2";
tabLevel[87] = "0,8,490,165,110,185,1,300,185,0,175,245,8,205,240,11,235,245,8,205,225,2,490,185,0,365,245,8,395,240,11,425,245,8,395,225,2,300,170,2,370,365,0,425,365,0,175,365,0,230,365,0,205,265,2,395,265,2";
tabLevel[88] = "0,9,50,335,50,370,0,50,315,0,200,60,0,385,290,0,555,200,0,385,280,2,555,190,2,200,50,2,385,235,1,200,170,0,555,100,0,555,90,2,200,160,2,50,305,2,50,260,12,385,345,12,555,150,5,200,115,12";
tabLevel[89] = "0,6,550,240,55,305,1,55,250,0,110,305,0,110,240,0,165,305,0,165,230,0,220,305,0,220,220,0,275,305,0,275,210,0,330,305,0,330,200,0,385,305,0,385,190,0,440,305,0,440,180,0,495,305,0,495,170,0,550,305,0,550,160,0,550,185,2,440,205,2,330,225,2,220,245,2,110,265,2";
tabLevel[90] = "0,11,60,305,60,350,0,60,275,0,60,200,12,60,120,0,180,350,0,180,120,0,300,275,0,420,350,12,300,120,12,420,120,0,300,200,0,300,350,0,60,110,2,180,110,2,60,265,2,180,340,2,300,265,2,300,340,2,300,190,2,420,110,2,540,120,1,540,350,0,540,200,12,540,275,0,540,265,2,540,340,2,120,350,5,240,350,5,360,350,5,480,350,5";
tabLevel[91] = "0,15,60,305,60,350,0,60,275,0,60,200,12,60,120,0,180,350,0,180,275,12,180,200,0,180,120,0,300,275,0,420,350,12,300,195,0,300,120,12,420,120,0,420,195,0,420,275,0,300,350,0,60,110,2,180,110,2,180,190,2,300,185,2,60,265,2,180,340,2,300,265,2,300,340,2,420,185,2,420,265,2,420,110,2,540,120,1,540,350,0,540,195,12,540,275,0,540,265,2,540,340,2,120,350,5,240,350,5,360,350,5,480,350,5";
tabLevel[92] = "0,13,60,305,60,350,0,60,275,0,60,200,12,60,120,0,180,350,0,180,120,0,300,275,0,420,350,12,300,120,12,420,120,0,300,200,0,300,350,0,60,110,2,180,110,2,60,265,2,180,340,2,300,265,2,300,340,2,300,190,2,420,110,2,540,120,1,540,350,0,540,200,12,540,275,0,540,265,2,540,340,2";
tabLevel[93] = "0,15,60,305,60,350,0,60,275,0,60,200,12,60,120,0,180,350,0,180,275,12,180,200,0,180,120,0,300,275,0,420,350,12,300,195,0,300,120,12,420,120,0,420,195,0,420,275,0,300,350,0,60,110,2,180,110,2,180,190,2,300,185,2,60,265,2,180,340,2,300,265,2,300,340,2,420,185,2,420,265,2,420,110,2,540,120,1,540,350,0,540,195,12,540,275,0,540,265,2,540,340,2";
tabLevel[94] = "0,7,55,260,110,350,0,165,275,0,275,275,12,165,350,0,385,200,0,275,200,0,385,350,12,330,200,12,385,275,0,440,275,0,275,350,0,255,240,2,275,240,2,295,240,2,365,315,2,330,170,2,385,315,2,310,170,2,350,170,2,440,125,1,495,350,0,405,315,2,220,350,5,330,350,5,220,200,5,275,125,5,330,125,0,220,125,12,220,95,2,240,95,2,200,95,2,220,275,0,330,275,0,165,125,0,55,350,0,550,350,0,440,350,5";
tabLevel[95] = "0,9,110,260,110,350,0,165,275,0,275,275,12,165,350,0,385,200,0,275,200,0,385,350,12,330,200,12,385,275,0,440,275,0,275,350,0,255,240,2,275,240,2,295,240,2,365,315,2,330,170,2,385,315,2,310,170,2,350,170,2,440,125,1,495,350,0,405,315,2,220,350,5,330,350,5,440,350,5,220,275,5,330,275,5,220,200,5,275,125,5,330,125,0,220,125,12,165,125,5,220,95,2,240,95,2,200,95,2";
tabLevel[96] = "0,7,300,155,75,370,0,245,250,5,355,250,5,410,290,5,470,330,5,530,370,0,355,240,2,410,280,2,470,320,2,300,210,1,530,360,2,245,240,2,190,290,5,135,330,5,190,280,2,135,320,2,75,360,2,245,170,5,190,130,5,135,90,0,245,160,2,190,120,2,135,80,2,355,170,5,410,130,5,355,160,2,410,120,2,465,80,2,465,90,0";
tabLevel[97] = "0,9,300,10,95,185,11,145,185,11,195,185,11,245,185,11,30,245,11,80,245,11,130,245,11,180,245,11,245,305,11,195,305,11,145,305,11,95,305,11,35,365,11,265,180,8,85,365,11,265,230,8,265,280,8,430,120,0,200,160,2,140,160,2,80,160,2,80,220,2,140,220,2,200,220,2,135,365,11,35,125,11,85,125,11,135,125,11,185,125,11,265,130,8,245,65,11,195,65,11,145,65,11,95,65,11,265,85,8,200,100,2,140,100,2,80,100,2,170,100,2,110,100,2,80,340,2,200,280,2,170,280,2,140,280,2,110,280,2,80,280,2,170,220,2,110,220,2,170,160,2,110,160,2,300,365,0,110,340,2,140,340,2,170,340,2,200,340,2,450,275,0,560,185,0,450,265,2,560,175,2,300,65,1,430,110,2,430,135,11,300,80,11,560,200,11,450,290,11,190,365,5,265,180,8,265,285,8,245,365,0";
tabLevel[98] = "0,4,300,25,300,375,1,245,310,0,355,310,0,115,120,0,245,230,12,355,230,12,60,120,0,485,120,0,540,120,0,300,80,0,245,300,2,355,300,2";
tabLevel[99] = "0,5,90,270,90,335,0,145,335,0,420,340,0,530,225,2,560,265,2,560,275,5,525,235,5,560,190,5,525,150,5,560,105,5,500,210,8,500,160,8,475,125,0,560,180,2,530,140,2,560,95,2,420,125,0,200,335,0,365,125,0,530,315,5,530,305,2,500,145,8,500,235,8,90,125,1";
tabLevel[100] = "0,5,300,300,40,275,5,80,235,5,40,195,5,80,155,5,40,115,5,40,265,2,80,225,2,40,185,2,80,145,2,40,105,2,135,355,0,110,240,8,110,190,8,110,140,8,190,355,0,560,275,5,520,235,5,560,195,5,520,155,5,560,115,5,560,105,2,520,145,2,560,185,2,520,225,2,560,265,2,490,240,8,490,190,8,490,140,8,465,355,0,410,355,0,300,125,1,245,125,0,355,125,0,245,355,0,355,355,0,300,355,0";
tabLevel[101] = "0,10,300,200,300,275,0,245,275,0,355,275,0,210,255,15,390,255,15,390,205,15,210,205,15,390,155,15,210,155,15,230,75,14,210,105,15,390,105,15,370,75,14,245,90,16,355,90,16,300,90,16,355,115,2,300,105,16,355,105,16,355,120,16,300,135,16,300,150,16,245,150,16,355,135,16,300,120,16,300,60,13,425,275,1,175,275,1,355,150,11,245,135,11,245,115,2,245,105,16,245,120,16";
tabLevel[102] = "0,7,300,270,300,115,13,300,65,1,190,150,16,190,335,0,245,335,0,300,335,0,355,335,0,410,335,0,155,315,15,155,265,15,155,215,15,155,165,15,175,135,14,445,315,15,445,265,15,445,215,15,445,165,15,425,135,14,375,135,14,225,135,14,300,150,16,410,150,16,355,150,16,245,150,16,245,205,2,355,205,2,300,190,2,190,210,16,190,180,16,190,195,16,300,210,16,245,180,16,245,195,16,245,210,16,245,225,11,300,195,16,355,210,16,355,195,16,410,210,16,410,195,16,410,180,16,355,180,16,300,180,16,355,225,11,300,80,14";
maxRegularLevel = 102;
if ((maxRegularLevel < curLevel) and playLevelMode) {
gameMode = "1";
gotoAndPlay (43);
playLevelMode = false;
} else {
stop();
}
Frame 4
if (curLevel == 0) {
setProperty(bEdit, _visible , true);
} else {
setProperty(bEdit, _visible , false);
}
tabScene = tabLevel[curLevel].split(",");
if (tabScene[1] eq "") {
gotoAndPlay (47);
} else {
nbDiam = 0;
nbBlocKey = 0;
nbBor = 2;
nbCoupsMax = tabScene[1];
nbCoups = 0;
nbPF = (tabScene.length - 4) / 3;
i = 1;
while (nbPF >= i) {
if (tabScene[(i * 3) + 3] == 2) {
Diam.duplicateMovieClip("PFU" + i, (2 * i) + 1);
setProperty("PFU" + i, _x , tabScene[(i * 3) + 1]);
setProperty("PFU" + i, _y , tabScene[(i * 3) + 2]);
nbDiam++;
} else if ((tabScene[(i * 3) + 3] == 14) or (tabScene[(i * 3) + 3] == 17)) {
Bloc.duplicateMovieClip("PFU" + i, (2 * i) + 2);
setProperty("PFU" + i, _x , tabScene[(i * 3) + 1]);
setProperty("PFU" + i, _y , tabScene[(i * 3) + 2]);
eval ("PFU" + i).gotoAndPlay(int(tabScene[(i * 3) + 3]) + 1);
} else {
Bloc.duplicateMovieClip("Bloc" + i, (2 * i) + 2);
setProperty("Bloc" + i, _x , tabScene[(i * 3) + 1]);
setProperty("Bloc" + i, _y , tabScene[(i * 3) + 2]);
eval ("Bloc" + i).gotoAndPlay(int(tabScene[(i * 3) + 3]) + 1);
if ((tabScene[(i * 3) + 3] == 8) or (tabScene[(i * 3) + 3] == 15)) {
nbBor++;
Set("tabBor_" + nbBor, i);
BOR.duplicateMovieClip("BOR" + nbBor, (2 * i) + 1);
setProperty("BOR" + nbBor, _x , tabScene[(i * 3) + 1]);
setProperty("BOR" + nbBor, _y , tabScene[(i * 3) + 2]);
} else {
PFU.duplicateMovieClip("PFU" + i, (2 * i) + 1);
setProperty("PFU" + i, _x , tabScene[(i * 3) + 1]);
setProperty("PFU" + i, _y , tabScene[(i * 3) + 2]);
}
}
i++;
}
Pr.duplicateMovieClip("Projectil", (2 * i) + 3);
setProperty(projectil, _x , tabScene[2]);
setProperty(projectil, _y , tabScene[3]);
p = 0;
a = 0;
x = 0;
if (nbDiam == 0) {
j = 0;
while (nbPF >= j) {
if (tabScene[(j * 3) + 3] == 1) {
eval ("Bloc" + j).gotoAndPlay(5);
}
j++;
}
}
tellTarget ("projectil") {
gotoAndStop (1);
};
gotoAndPlay (7);
}
x_init = getProperty("_root.projectil", _x);
y_init = getProperty("_root.projectil", _y);
if (maxRegularLevel < curLevel) {
gtitre.gname = gname;
if (gname ne "") {
gtitre.gotoAndPlay(2);
}
}
Instance of Symbol 121 MovieClip "Bloc" in Frame 4
onClipEvent (load) {
img = 0;
}
Frame 5
tellTarget ("projectil") {
gotoAndStop (2);
};
p = 0;
a = 0;
x = 0;
Frame 7
y = (p * p) - (x * x);
if (y != 0) {
tellTarget ("projectil") {
gotoAndStop (1);
};
}
setProperty("_root.projectil", _x , (x_init + (a * x)) + (a * p));
setProperty("_root.projectil", _y , y_init - y);
if (getProperty("_root.projectil", _y) < -5) {
setProperty("_root.tropHaut", _x , getProperty("_root.projectil", _x));
} else {
setProperty("_root.tropHaut", _x , -20);
}
if (projectil.ball.hitTest(BOR0)) {
setProperty("_root.plouf", _x , getProperty("_root.projectil", _x));
soundPlouf.start(0, 1);
plouf.gotoAndPlay(1);
gotoAndPlay (9);
}
trouve = false;
i = 1;
while (nbBor >= i) {
if (!trouve) {
if (projectil.ball.hitTest(eval ("BOR" + i))) {
if (((0 < a) and (getProperty("_root.projectil", _x) < (getProperty("BOR" + i, _x) + 4))) or ((a < 0) and ((getProperty("BOR" + i, _x) - 4) < getProperty("_root.projectil", _x)))) {
trouve = true;
p = 0;
a = -a;
_root.x = -_root.p;
y_init = getProperty("_root.projectil", _y);
if (0 < a) {
x_init = getProperty("BOR" + i, _x) + 12;
} else {
x_init = getProperty("BOR" + i, _x) - 12;
}
soundBloc.start(0, 1);
gotoAndPlay (7);
break;
}
}
}
i++;
}
trouve = false;
i = 0;
while (nbPF >= i) {
if (projectil.ball.hitTest(eval ("PFU" + i))) {
if (tabScene[(i * 3) + 3] == 2) {
eval ("PFU" + i).removeMovieClip();
soundDiam.start(0, 1);
nbDiam--;
if (nbDiam == 0) {
j = 0;
while (nbPF >= j) {
if (tabScene[(j * 3) + 3] == 1) {
eval ("Bloc" + j).gotoAndPlay(3);
}
j++;
}
}
} else {
if (tabScene[(i * 3) + 3] == 13) {
eval ("PFU" + i).removeMovieClip();
eval ("Bloc" + i).removeMovieClip();
soundDiam.start(0, 1);
k = 1;
while (nbBor >= k) {
l = eval ("tabBor_" + k);
if (tabScene[(l * 3) + 3] == 15) {
eval ("BOR" + k).removeMovieClip();
}
k++;
}
k = 0;
while (nbPF >= k) {
if ((tabScene[(k * 3) + 3] == 14) or (tabScene[(k * 3) + 3] == 15)) {
eval ("Bloc" + k).removeMovieClip();
eval ("PFU" + k).removeMovieClip();
}
k++;
}
break;
}
if (((tabScene[(i * 3) + 3] == 11) or (tabScene[(i * 3) + 3] == 14)) or (tabScene[(i * 3) + 3] == 16)) {
if (!trouve) {
trouve = true;
if (0 < x) {
p = 7;
y_init = getProperty(eval ("PFU" + i), _y) - 8;
} else {
p = -5;
y_init = getProperty(eval ("PFU" + i), _y) + 10;
}
_root.x = -_root.p;
setProperty("_root.projectil", _y , y_init);
x_init = getProperty("_root.projectil", _x);
y_init = getProperty("_root.projectil", _y);
if (tabScene[(i * 3) + 3] == 16) {
eval ("PFU" + i).removeMovieClip();
eval ("Bloc" + i).removeMovieClip();
soundCristal.start(0, 1);
} else {
soundBloc.start(0, 1);
}
gotoAndPlay (7);
break;
}
} else {
if ((tabScene[(i * 3) + 3] == 12) or (tabScene[(i * 3) + 3] == 17)) {
if (0 < x) {
soundPiquant.start(0, 1);
gotoAndPlay (9);
}
break;
}
if (0 < x) {
x_init = getProperty("_root.projectil", _x);
y_init = getProperty(eval ("PFU" + i), _y) - 8;
setProperty("_root.projectil", _y , y_init);
if ((tabScene[(i * 3) + 3] == 0) or ((tabScene[(i * 3) + 3] >= 18) and (20 >= tabScene[(i * 3) + 3]))) {
if ((tabScene[(i * 3) + 3] == 18) and (eval ("Bloc" + i).destruct.bloc == null)) {
eval ("Bloc" + i).destruct.bloc = eval ("Bloc" + i);
eval ("Bloc" + i).destruct.pfu = eval ("PFU" + i);
eval ("Bloc" + i).destruct.gotoAndPlay(2);
}
if (tabScene[(i * 3) + 3] == 19) {
x_init = x_init + 3;
tellTarget ("projectil") {
gotoAndStop (1);
};
}
if (tabScene[(i * 3) + 3] == 20) {
x_init = x_init - 3;
tellTarget ("projectil") {
gotoAndStop (1);
};
}
gotoAndPlay (5);
break;
}
if (tabScene[(i * 3) + 3] == 1) {
if (nbDiam == 0) {
gotoAndPlay (23);
break;
}
gotoAndPlay (5);
break;
}
if (tabScene[(i * 3) + 3] == 5) {
p = 7;
x = -_root.p;
while (a == 0) {
a = Math.random() - 0.5;
}
soundRebond.start(0, 1);
}
}
}
}
}
i++;
}
x = x + 0.5;
Frame 8
gotoAndPlay (7);
Frame 22
call("iEffaceTableau");
stop();
Frame 38
setProperty("menuSendToFriend", _visible , maxRegularLevel < curLevel);
curLevel++;
if (gameMode == 0) {
call("codeLevel");
}
if (1 < nbCoups) {
msg = (("You win in " + nbCoups) + " shoots.") + "\r";
} else {
msg = (("You win in " + nbCoups) + " shoot.") + "\r";
}
if (nbCoupsMax >= nbCoups) {
msg = msg + "Perfect !";
} else if (nbCoups < (nbMaxCoups + int((nbMaxCoups / 2) + 1))) {
msg = msg + "Well done !";
} else {
msg = msg + "Not so bad...";
}
call("iEffaceTableau");
if (curLevel == 1) {
gotoAndPlay (53);
}
if (gameMode == 0) {
msg = msg + ((("\r\rCode level #" + curLevel) + " : ") + curCode);
}
stop();
Frame 39
curCode = "- - - - - -";
stop();
Instance of Symbol 175 MovieClip "ChargelisteGuest" in Frame 39
onClipEvent (load) {
fic_url = "getListeGuest.php3";
}
onClipEvent (load) {
this.loadVariables((_root.URLBase + "getListeGuest.php?timestamp=") + getTimer(), 0);
}
onClipEvent (data) {
_root.tabListeGuest = listeGuest.split("§");
_root.tabGuestId = listeId.split(",");
tellTarget ("_root") {
i = 0;
while (i < 20) {
Set("listeGuest" + i, tabListeGuest[i]);
i++;
}
nextFrame();
};
}
Frame 41
curCode = "- - - - - -";
stop();
Instance of Symbol 199 MovieClip "ChargelisteGuest" in Frame 41
onClipEvent (load) {
fic_url = "getListeGuest.php3";
}
onClipEvent (load) {
this.loadVariables(_root.URLBase + "getTop.php", 0);
}
onClipEvent (data) {
_root.tabListeGuest = listeGuest.split("§");
_root.tabGuestId = listeId.split(",");
tellTarget ("_root") {
i = 0;
while (i < 20) {
Set("listeTopGuest" + i, tabListeGuest[i]);
i++;
}
nextFrame();
};
}
Frame 43
stop();
Instance of Symbol 200 MovieClip in Frame 43
onClipEvent (load) {
fic_url = "getListeGuest.php3";
}
onClipEvent (load) {
this.loadVariables((_root.URLBase + "getGuestLevel.php?id=") + _root.curLevel, 0);
}
onClipEvent (data) {
_root.tabLevel[_root.curLevel] = glevel;
_root.gname = gname;
_root.gotoAndPlay("iLevel");
}
Frame 44
stop();
Instance of Symbol 201 MovieClip "SaveGuestLevel" in Frame 44
onClipEvent (load) {
fic_url = "getListeGuest.php3";
}
onClipEvent (load) {
this.loadVariables((((((((_root.URLBase + "save.php?param=") + _root.fname) + "$") + _root.femail) + "$") + _root.strScene) + "$") + _root.nbCoups, 0);
}
onClipEvent (data) {
if (status eq "OK") {
_root.gotoAndPlay("iMenu");
} else {
_root.gotoAndStop("iNoValideSavedLevel");
}
}
Frame 45
curCode = chr(71 + (curLevel % 10));
curCode = curCode + chr(75 + (int(curLevel / 10) % 10));
curCode = curCode + chr(78 + (curLevel % 10));
curCode = curCode + chr((68 + (int(curLevel / 100) % 10)) + (curLevel % 10));
curCode = curCode + chr(79 + (int(curLevel / 100) % 10));
curCode = curCode + chr((77 + (int(curLevel / 10) % 10)) + (curLevel % 10));
Frame 46
u = ord(substring(curCode, 1, 1)) - 71;
d = ord(substring(curCode, 2, 1)) - 75;
c = ord(substring(curCode, 5, 1)) - 79;
if ((ord(substring(curCode, 3, 1)) - 78) != u) {
curLevel = 1;
} else if ((ord(substring(curCode, 4, 1)) - 68) != (u + c)) {
curLevel = 1;
} else if ((ord(substring(curCode, 6, 1)) - 77) != (u + d)) {
curLevel = 1;
} else {
curLevel = (((c * 10) + d) * 10) + u;
}
stop();
x_init = getProperty("_root.projectil", _x);
y_init = getProperty("_root.projectil", _y);
Frame 47
stop();
Frame 48
i = 0;
while (nbPF >= i) {
eval ("PFU" + i).removeMovieClip();
eval ("Bloc" + i).removeMovieClip();
i++;
}
i = 3;
while (nbBor >= i) {
eval ("Bor" + i).removeMovieClip();
i++;
}
projectil.removeMovieClip();
setProperty("_root.tropHaut", _x , -20);
Frame 49
stop();
k = 0;
curLevel = 0;
if (1 >= tabRestaureEditLevel.length) {
BOUT.duplicateMovieClip("BOUT" + k, k);
setProperty("BOUT" + k, _x , 300);
setProperty("BOUT" + K, _y , 200);
Set(("BOUT" + k) + ".img", k);
eval (("_root.BOUT" + _root.k) + ".Bloc").gotoAndStop(8);
k++;
} else {
BOUT.duplicateMovieClip("BOUT" + k, k);
setProperty("BOUT" + k, _x , tabRestaureEditLevel[1]);
setProperty("BOUT" + K, _y , tabRestaureEditLevel[2]);
eval (("BOUT" + k) + ".Bloc").gotoAndStop(8);
nbPF = (tabRestaureEditLevel.length - 3) / 3;
k = 1;
while (nbPF >= k) {
if (tabRestaureEditLevel[(3 * k) + 2] >= 0) {
BOUT.duplicateMovieClip("BOUT" + k, k);
setProperty("BOUT" + k, _x , tabRestaureEditLevel[3 * k]);
setProperty("BOUT" + k, _y , tabRestaureEditLevel[(3 * k) + 1]);
Set(("BOUT" + k) + ".loc_k", k);
Set(("BOUT" + k) + ".img", k);
eval (("BOUT" + k) + ".Bloc").gotoAndStop(tabRestaureEditLevel[(3 * k) + 2]);
}
k++;
}
}
stop();
Frame 51
stop();
Frame 52
stop();
Frame 53
stop();
if (0 < nbCoups) {
tabScene[1] = nbCoups;
strScene = tabScene.join(",");
} else {
status = "KO:zeroShoots";
gotoAndPlay (54);
}
Frame 54
if (status eq "KO:zeroShoots") {
msg = "Zero shoot levels are not allowed. Try to create another level.";
} else {
msg = "Your level is not a valid level ! Sorry... Try to create another one.";
}
stop();
Frame 56
msg = "You should connect you to\r <A HREF=\"http://pandafgolf.com\">pandafgolf.com<A> !";
Symbol 11 Button
on (press) {
_root.a = int(_xmouse / 3);
_root.p = -int(_ymouse / 3);
_root.x = -_root.p;
tellTarget (_root) {
gotoAndPlay ("iAnim");
nbCoups++;
if (99 < nbCoups) {
nbCoups = 99;
}
};
}
Symbol 28 MovieClip Frame 1
gotoAndPlay((Number(random(5)) + 1) * 5);
Symbol 28 MovieClip Frame 9
gotoAndPlay (1);
Symbol 28 MovieClip Frame 14
gotoAndPlay (1);
Symbol 28 MovieClip Frame 19
gotoAndPlay (1);
Symbol 28 MovieClip Frame 24
gotoAndPlay (1);
Symbol 28 MovieClip Frame 29
gotoAndPlay (1);
Symbol 32 Button
on (release) {
gotoAndPlay (52);
}
Symbol 36 Button
on (release) {
gotoAndPlay (49);
}
Symbol 39 Button
on (release) {
gameMode = "2";
gotoAndPlay (41);
}
Symbol 42 Button
on (release) {
gameMode = "1";
gotoAndPlay (39);
}
Symbol 45 Button
on (release) {
gameMode = "0";
gotoAndPlay (46);
}
Symbol 48 Button
on (release) {
curLevel = 1;
gameMode = "0";
gotoAndPlay (4);
}
Symbol 56 Button
on (release) {
getURL ("http://pandafgolf.com", "_parent");
}
Symbol 58 MovieClip Frame 1
y = getProperty("flashInfoMove", _y);
sizeLigne = 18;
if (((int(flashInfoMove.flashInfoNbLignes) + 2) * sizeLigne) < (-y)) {
y = 0;
}
setProperty("flashInfoMove", _y , y - 1);
Instance of Symbol 57 MovieClip "flashInfoMove" in Symbol 58 MovieClip Frame 1
onClipEvent (load) {
if (_root.flashInfoMsg eq "") {
_root.flashInfoNbLignes = 4;
this.loadVariables(_root.URLBase + "getFlashInfo.php", 0);
flashInfoNbLignes = _root.flashInfoNbLignes;
} else {
flashInfo = _root.flashInfoMsg;
flashInfoNbLignes = _root.flashInfoNbLignes;
}
}
onClipEvent (data) {
_root.flashInfoMsg = flashInfo;
_root.flashInfoNbLignes = flashInfoNbLignes;
}
Symbol 58 MovieClip Frame 2
if (((y % sizeLigne) != 0) || (y == 0)) {
gotoAndPlay (1);
}
Symbol 73 Button
on (release) {
getURL ("mailto:mimic@pandafgolf.com", "_self");
}
Symbol 83 Button
on (release) {
call("iEffaceTableau");
gotoAndPlay (3);
}
Symbol 89 MovieClip Frame 1
gotoAndStop (50);
Symbol 89 MovieClip Frame 50
stop();
Symbol 114 MovieClip Frame 10
if (33 < random(100)) {
gotoAndPlay (1);
}
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 40
pfu.removeMovieClip();
bloc.removeMovieClip();
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
stop();
Symbol 121 MovieClip Frame 5
stop();
Symbol 121 MovieClip Frame 6
stop();
Symbol 121 MovieClip Frame 7
stop();
Symbol 121 MovieClip Frame 8
stop();
Symbol 121 MovieClip Frame 9
if (0.5 < Math.random()) {
nextFrame();
}
stop();
Symbol 121 MovieClip Frame 10
if (0.5 < Math.random()) {
nextFrame();
} else {
stop();
}
Symbol 121 MovieClip Frame 11
stop();
Symbol 121 MovieClip Frame 12
stop();
Symbol 121 MovieClip Frame 13
stop();
Symbol 121 MovieClip Frame 14
stop();
Symbol 121 MovieClip Frame 15
stop();
Symbol 121 MovieClip Frame 16
stop();
Symbol 121 MovieClip Frame 17
stop();
Symbol 121 MovieClip Frame 18
stop();
Symbol 121 MovieClip Frame 19
stop();
Symbol 121 MovieClip Frame 20
stop();
Symbol 121 MovieClip Frame 21
stop();
Symbol 127 MovieClip Frame 10
stop();
Symbol 130 Button
on (release) {
tellTarget ("_root") {
call("iEffaceTableau");
gotoAndPlay ("iEdit");
};
}
Symbol 137 Button
on (release) {
gotoAndPlay (4);
}
Symbol 138 Button
on (release) {
if (curLevel == 0) {
gotoAndPlay (49);
} else {
gotoAndPlay (3);
}
}
Symbol 143 Button
on (release) {
if (gameMode == 1) {
gotoAndPlay (39);
} else if (gameMode == 2) {
gotoAndPlay (41);
} else {
gotoAndPlay (4);
}
}
Symbol 147 Button
on (release) {
getURL ((("mailto:?subject=Play PandafGolf game&body=Click here to play PandafGolf level #" + (_root.curLevel - 1)) + " :%0A%0Dhttp://pandafgolf.com/playLevel.php?level=") + (_root.curLevel - 1), "_self");
}
Symbol 176 Button
on (release) {
i = int(((_ymouse - 22.5) * 20) / 328.1);
curLevel = tabGuestId[i];
gotoAndPlay (43);
}
Symbol 208 Button
on (release) {
if ((substring(codeLevel, 1, 6)) eq "PandaF") {
curLevel = int(substring(codeLevel, 7, 10));
gotoAndPlay (4);
} else if ((substring(codeLevel, 1, 5)) eq "Mimic") {
curLevel = int(substring(codeLevel, 6, 10));
gotoAndPlay (43);
} else {
curCode = codeLevel.toUpperCase();
call("decodeLevel");
gotoAndPlay (4);
}
}
Symbol 213 Button
on (release) {
gotoAndPlay (3);
}
Symbol 217 Button
on (press) {
startDrag (this);
}
on (release, releaseOutside) {
if (_root.effacer) {
if (0 < loc_k) {
removeMovieClip(eval ("_root.BOUT" + loc_k));
}
_root.effacer = false;
setProperty(_root.poubelle, _x , -30);
Mouse.show();
}
stopDrag();
this._x = Math.round(this._x / 5) * 5;
this._y = Math.round(this._y / 5) * 5;
}
Instance of Symbol 121 MovieClip "Bloc" in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
img = 0;
}
Symbol 221 Button
on (release) {
_root.effacer = !_root.effacer;
if (_root.effacer) {
Mouse.hide();
startDrag (poubelle, true);
} else {
stopDrag();
setProperty(poubelle, _y , -30);
Mouse.show();
}
}
Symbol 225 Button
on (release) {
min_x = 1000;
min_y = 1000;
max_x = 0;
max_y = 0;
l = 0;
while (l < k) {
if (0 < getProperty(eval ("BOUT" + l), _y)) {
if (getProperty(eval ("BOUT" + l), _x) < min_x) {
min_x = getProperty(eval ("BOUT" + l), _x);
}
if (getProperty(eval ("BOUT" + l), _y) < min_y) {
min_y = getProperty(eval ("BOUT" + l), _y);
}
if (max_x < getProperty(eval ("BOUT" + l), _x)) {
max_x = getProperty(eval ("BOUT" + l), _x);
}
if (max_y < getProperty(eval ("BOUT" + l), _y)) {
max_y = getProperty(eval ("BOUT" + l), _y);
}
}
l++;
}
l = 0;
while (l < k) {
if (0 < getProperty(eval ("BOUT" + l), _y)) {
setProperty(eval ("BOUT" + l), _y , (getProperty(eval ("BOUT" + l), _y) - min_y) + (Math.round((400 - (max_y - min_y)) / 10) * 5));
setProperty(eval ("BOUT" + l), _x , (getProperty(eval ("BOUT" + l), _x) - min_x) + (Math.round((600 - (max_x - min_x)) / 10) * 5));
}
l++;
}
}
Symbol 227 Button
on (release) {
l = 0;
strScene = "";
strScene = strScene + ((("0,0," + getProperty(eval ("BOUT" + l), _x)) + ",") + getProperty(eval ("BOUT" + l), _y));
tabRestaureEditLevel[0] = 0;
tabRestaureEditLevel[1] = getProperty(eval ("BOUT" + l), _x);
tabRestaureEditLevel[2] = getProperty(eval ("BOUT" + l), _y);
eval ("BOUT" + l).removeMovieClip();
l = 1;
while (l < k) {
if (0 < getProperty(eval ("BOUT" + l), _y)) {
strScene = strScene + ((((("," + getProperty(eval ("BOUT" + l), _x)) + ",") + getProperty(eval ("BOUT" + l), _y)) + ",") + tabEditLevel[l]);
if (tabEditLevel[l] == 8) {
tabRestaureEditLevel[(3 * l) + 2] = 9;
} else {
tabRestaureEditLevel[(3 * l) + 2] = getProperty(eval (("BOUT" + l) + ".Bloc"), _currentframe);
}
} else {
tabRestaureEditLevel[(3 * l) + 2] = -1;
tabEditLevel[l] = -1;
}
tabRestaureEditLevel[3 * l] = getProperty(eval ("BOUT" + l), _x);
tabRestaureEditLevel[(3 * l) + 1] = getProperty(eval ("BOUT" + l), _y);
eval ("BOUT" + l).removeMovieClip();
l++;
}
curLevel = 0;
tabLevel[0] = strScene;
gotoAndPlay (4);
}
Symbol 228 Button
on (release) {
l = 0;
strScene = "";
strScene = strScene + ((("0,0," + getProperty(eval ("BOUT" + l), _x)) + ",") + getProperty(eval ("BOUT" + l), _y));
tabRestaureEditLevel[0] = 0;
tabRestaureEditLevel[1] = getProperty(eval ("BOUT" + l), _x);
tabRestaureEditLevel[2] = getProperty(eval ("BOUT" + l), _y);
eval ("BOUT" + l).removeMovieClip();
l = 1;
while (l < k) {
if (0 < getProperty(eval ("BOUT" + l), _y)) {
strScene = strScene + ((((("," + getProperty(eval ("BOUT" + l), _x)) + ",") + getProperty(eval ("BOUT" + l), _y)) + ",") + tabEditLevel[l]);
tabRestaureEditLevel[(3 * l) + 2] = getProperty(eval (("BOUT" + l) + ".Bloc"), _currentframe);
} else {
tabRestaureEditLevel[(3 * l) + 2] = -1;
tabEditLevel[l] = -1;
}
tabRestaureEditLevel[3 * l] = getProperty(eval ("BOUT" + l), _x);
tabRestaureEditLevel[(3 * l) + 1] = getProperty(eval ("BOUT" + l), _y);
eval ("BOUT" + l).removeMovieClip();
l++;
}
curLevel = 0;
tabLevel[0] = strScene;
gotoAndPlay (51);
}
Symbol 229 Button
on (release) {
tellTarget ("_root") {
BOUT.duplicateMovieClip("BOUT" + k, k);
Set(("BOUT" + k) + ".img", k);
setProperty("BOUT" + k, _x , _xmouse);
setProperty("BOUT" + k, _y , _ymouse);
startDrag ("BOUT" + k);
k++;
};
eval (("_root.BOUT" + (_root.k - 1)) + ".Bloc").gotoAndStop(indexImg);
tellTarget ("_root.BOUT" + (_root.k - 1)) {
loc_k = _root.k - 1;
};
_root.tabEditLevel[_root.k - 1] = typeBloc;
}
Symbol 230 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 231 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 232 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 233 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 234 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 235 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 236 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 237 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 238 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 239 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 240 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 241 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 242 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 243 MovieClip Frame 1
B.gotoAndStop(indexImg);
Symbol 256 MovieClip Frame 1
B.gotoAndStop(indexImg);
Instance of Symbol 230 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 5;
typeBloc = 1;
}
Instance of Symbol 231 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 1;
typeBloc = 0;
}
Instance of Symbol 232 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 6;
typeBloc = 5;
}
Instance of Symbol 233 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 7;
typeBloc = 2;
}
Instance of Symbol 234 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 9;
typeBloc = 8;
}
Instance of Symbol 235 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 12;
typeBloc = 11;
}
Instance of Symbol 236 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 13;
typeBloc = 12;
}
Instance of Symbol 237 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 15;
typeBloc = 14;
}
Instance of Symbol 238 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 16;
typeBloc = 15;
}
Instance of Symbol 239 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 17;
typeBloc = 16;
}
Instance of Symbol 240 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 14;
typeBloc = 13;
}
Instance of Symbol 241 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 18;
typeBloc = 17;
}
Instance of Symbol 242 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 19;
typeBloc = 18;
}
Instance of Symbol 243 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 20;
typeBloc = 19;
}
Instance of Symbol 256 MovieClip in Symbol 258 MovieClip Frame 1
onClipEvent (load) {
indexImg = 21;
typeBloc = 20;
}
Symbol 262 Button
on (release) {
l = 0;
strScene = "";
tabRestaureEditLevel[0] = -1;
l = 1;
while (l < k) {
if (tabEditLevel[l] != -1) {
tabRestaureEditLevel[(3 * l) + 2] = "-1";
}
l++;
}
curLevel = 0;
tabLevel[0] = strScene;
gotoAndStop (3);
}
Symbol 276 Button
on (release) {
gotoAndPlay (44);
}