HOME | DD

GrappleJuice4percent — Shrewd Islet by-nc-nd

Published: 2024-04-18 19:41:19 +0000 UTC; Views: 178; Favourites: 1; Downloads: 0
Redirect to original
Description *You should DOWNLOAD the .swf file to check it out;

var auto=0; var bidD=0;var bidL=0;var bidU=0;var bidR=0;
    
jikkly.addEventListener(MouseEvent.CLICK, jkl)
function jkl (event:MouseEvent):void{jikkly.play(); setTimeout(time,1500);function time(){jikkly.y-=500; bD.visible=true; bL.visible=true; bU.visible=true; bR.visible=true;
limp1.visible=true;limp2.visible=true;limp3.visible=true;limp4.visible=true;limp5.visible=true;limp6.visible=true;limp7.visible=true;limp8.visible=true;limp9.visible=true;
pinW.visible=true; pinA.visible=true; pinL.visible=true; pinE.visible=true; pinF.visible=true;  randi.visible=true;rando.visible=true; shrine.visible=true;
}}
    
randi.addEventListener(MouseEvent.CLICK, rir)
function rir (event:MouseEvent):void{randi.play();auto=1;
xWd.x-=400;xWl.x-=400;xWu.x-=400;xWr.x-=400;
xAd.x-=400;xAl.x-=400;xAu.x-=400;xAr.x-=400;
xLd.x-=400;xLl.x-=400;xLu.x-=400;xLr.x-=400;
xEd.x-=400;xEl.x-=400;xEu.x-=400;xEr.x-=400;
xFd.x-=400;xFl.x-=400;xFu.x-=400;xFr.x-=400;
limp1.gotoAndStop(1);limp2.gotoAndStop(1);limp3.gotoAndStop(1);limp4.gotoAndStop(1);limp5.gotoAndStop(1);limp6.gotoAndStop(1);limp7.gotoAndStop(1);limp8.gotoAndStop(1);limp9.gotoAndStop(1);
var rid=Math.round(Math.random()*4)+1;
         if(rid==1){shrine.gotoAndStop(1); planer.gotoAndStop(1);}
    else if(rid==2){shrine.gotoAndStop(2); planer.gotoAndStop(2);}
    else if(rid==3){shrine.gotoAndStop(3); planer.gotoAndStop(3);}
    else if(rid==4){shrine.gotoAndStop(4); planer.gotoAndStop(4);}
    else if(rid==5){shrine.gotoAndStop(5); planer.gotoAndStop(5);}
bD.gotoAndStop(1); bL.gotoAndStop(1); bU.gotoAndStop(1); bR.gotoAndStop(1);
var dir=Math.round(Math.random()*1)+1;
         if(dir==1){bidD=1;
     if(planer.currentFrame==3){bD.gotoAndStop(2); xWd.x=0;xAd.x-=400;xLd.x-=400;xEd.x-=400;xFd.x-=400;}
else if(planer.currentFrame==5){bD.gotoAndStop(3); xWd.x-=400;xAd.x=0;xLd.x-=400;xEd.x-=400;xFd.x-=400;}
else if(planer.currentFrame==7){bD.gotoAndStop(4); xWd.x-=400;xAd.x-=400;xLd.x=0;xEd.x-=400;xFd.x-=400;}
else if(planer.currentFrame==9){bD.gotoAndStop(5); xWd.x-=400;xAd.x-=400;xLd.x-=400;xEd.x=0;xFd.x-=400;}
else if(planer.currentFrame==11){bD.gotoAndStop(6); xWd.x-=400;xAd.x-=400;xLd.x-=400;xEd.x-=400;xFd.x=0;}}
    else if(dir==2){bidD=0;xWd.x-=400;xAd.x-=400;xLd.x-=400;xEd.x-=400;xFd.x-=400;}
var lir=Math.round(Math.random()*1)+1;
         if(lir==1){bidL=1;
     if(planer.currentFrame==3){bL.gotoAndStop(2); xWl.x=0;xAl.x-=400;xLl.x-=400;xEl.x-=400;xFl.x-=400;}
else if(planer.currentFrame==5){bL.gotoAndStop(3); xWl.x-=400;xAl.x=0;xLl.x-=400;xEl.x-=400;xFl.x-=400;}
else if(planer.currentFrame==7){bL.gotoAndStop(4); xWl.x-=400;xAl.x-=400;xLl.x=0;xEl.x-=400;xFl.x-=400;}
else if(planer.currentFrame==9){bL.gotoAndStop(5); xWl.x-=400;xAl.x-=400;xLl.x-=400;xEl.x=0;xFl.x-=400;}
else if(planer.currentFrame==11){bL.gotoAndStop(6); xWl.x-=400;xAl.x-=400;xLl.x-=400;xEl.x-=400;xFl.x=0;}}
    else if(lir==2){bidL=0;xWl.x-=400;xAl.x-=400;xLl.x-=400;xEl.x-=400;xFl.x-=400;}
var uir=Math.round(Math.random()*1)+1;
         if(uir==1){bidU=1;
     if(planer.currentFrame==3){bU.gotoAndStop(2); xWu.x=0;xAu.x-=400;xLu.x-=400;xEu.x-=400;xFu.x-=400;}
else if(planer.currentFrame==5){bU.gotoAndStop(3); xWu.x-=400;xAu.x=0;xLu.x-=400;xEu.x-=400;xFu.x-=400;}
else if(planer.currentFrame==7){bU.gotoAndStop(4); xWu.x-=400;xAu.x-=400;xLu.x=0;xEu.x-=400;xFu.x-=400;}
else if(planer.currentFrame==9){bU.gotoAndStop(5); xWu.x-=400;xAu.x-=400;xLu.x-=400;xEu.x=0;xFu.x-=400;}
else if(planer.currentFrame==11){bU.gotoAndStop(6); xWu.x-=400;xAu.x-=400;xLu.x-=400;xEu.x-=400;xFu.x=0;}}
    else if(uir==2){bidU=0;xWu.x-=400;xAu.x-=400;xLu.x-=400;xEu.x-=400;xFu.x-=400;}
var rir=Math.round(Math.random()*1)+1;
         if(rir==1){bidR=1;
     if(planer.currentFrame==3){bR.gotoAndStop(2); xWr.x=0;xAr.x-=400;xLr.x-=400;xEr.x-=400;xFr.x-=400;}
else if(planer.currentFrame==5){bR.gotoAndStop(3); xWr.x-=400;xAr.x=0;xLr.x-=400;xEr.x-=400;xFr.x-=400;}
else if(planer.currentFrame==7){bR.gotoAndStop(4); xWr.x-=400;xAr.x-=400;xLr.x=0;xEr.x-=400;xFr.x-=400;}
else if(planer.currentFrame==9){bR.gotoAndStop(5); xWr.x-=400;xAr.x-=400;xLr.x-=400;xEr.x=0;xFr.x-=400;}
else if(planer.currentFrame==11){bR.gotoAndStop(6); xWr.x-=400;xAr.x-=400;xLr.x-=400;xEr.x-=400;xFr.x=0;}}
    else if(rir==2){bidR=0;xWr.x-=400;xAr.x-=400;xLr.x-=400;xEr.x-=400;xFr.x-=400;}
}

rando.addEventListener(MouseEvent.CLICK, ror)
function ror (event:MouseEvent):void{rando.play();
var r1d=Math.round(Math.random()*1)+1;
         if(r1d==1){auto=1;
     if(planer.currentFrame==3){limp1.gotoAndStop(2);
     if(xWd.x==0){bidD=1;xWd.oWd1.visible=true;if(xWd.oWd2.visible==true){xWd.oWd2.visible=false;}if(xWd.oWd3.visible==true){xWd.oWd3.visible=false;}if(xWd.oWd4.visible==true){xWd.oWd4.visible=false;}if(xWd.oWd5.visible==true){xWd.oWd5.visible=false;}if(xWd.oWd6.visible==true){xWd.oWd6.visible=false;}if(xWd.oWd7.visible==true){xWd.oWd7visible=false;}if(xWd.oWd8.visible==true){xWd.oWd8.visible=false;}if(xWd.oWd9.visible==true){xWd.oWd9.visible=false;}}
     if(xWl.x==0){bidL=1;xWl.oWl1.visible=true;if(xWl.oWl2.visible==true){xWl.oWl2.visible=false;}if(xWl.oWl3.visible==true){xWl.oWl3.visible=false;}if(xWl.oWl4.visible==true){xWl.oWl4.visible=false;}if(xWl.oWl5.visible==true){xWl.oWl5.visible=false;}if(xWl.oWl6.visible==true){xWl.oWl6.visible=false;}if(xWl.oWl7.visible==true){xWl.oWl7visible=false;}if(xWl.oWl8.visible==true){xWl.oWl8.visible=false;}if(xWl.oWl9.visible==true){xWl.oWl9.visible=false;}}
     if(xWu.x==0){bidU=1;xWu.oWu1.visible=true;if(xWu.oWu2.visible==true){xWu.oWu2.visible=false;}if(xWu.oWu3.visible==true){xWu.oWu3.visible=false;}if(xWu.oWu4.visible==true){xWu.oWu4.visible=false;}if(xWu.oWu5.visible==true){xWu.oWu5.visible=false;}if(xWu.oWu6.visible==true){xWu.oWu6.visible=false;}if(xWu.oWu7.visible==true){xWu.oWu7visible=false;}if(xWu.oWu8.visible==true){xWu.oWu8.visible=false;}if(xWu.oWu9.visible==true){xWu.oWu9.visible=false;}}
     if(xWr.x==0){bidR=1;xWr.oWr1.visible=true;if(xWr.oWr2.visible==true){xWr.oWr2.visible=false;}if(xWr.oWr3.visible==true){xWr.oWr3.visible=false;}if(xWr.oWr4.visible==true){xWr.oWr4.visible=false;}if(xWr.oWr5.visible==true){xWr.oWr5.visible=false;}if(xWr.oWr6.visible==true){xWr.oWr6.visible=false;}if(xWr.oWr7.visible==true){xWr.oWr7visible=false;}if(xWr.oWr8.visible==true){xWr.oWr8.visible=false;}if(xWr.oWr9.visible==true){xWr.oWr9.visible=false;}}}
else if(planer.currentFrame==5){limp1.gotoAndStop(3);
     if(xAd.x==0){bidD=1;xAd.oAd1.visible=true;if(xAd.oAd2.visible==true){xAd.oAd2.visible=false;}if(xAd.oAd3.visible==true){xAd.oAd3.visible=false;}if(xAd.oAd4.visible==true){xAd.oAd4.visible=false;}if(xAd.oAd5.visible==true){xAd.oAd5.visible=false;}if(xAd.oAd6.visible==true){xAd.oAd6.visible=false;}if(xAd.oAd7.visible==true){xAd.oAd7visible=false;}if(xAd.oAd8.visible==true){xAd.oAd8.visible=false;}if(xAd.oAd9.visible==true){xAd.oAd9.visible=false;}}
     if(xAl.x==0){bidL=1;xAl.oAl1.visible=true;if(xAl.oAl2.visible==true){xAl.oAl2.visible=false;}if(xAl.oAl3.visible==true){xAl.oAl3.visible=false;}if(xAl.oAl4.visible==true){xAl.oAl4.visible=false;}if(xAl.oAl5.visible==true){xAl.oAl5.visible=false;}if(xAl.oAl6.visible==true){xAl.oAl6.visible=false;}if(xAl.oAl7.visible==true){xAl.oAl7visible=false;}if(xAl.oAl8.visible==true){xAl.oAl8.visible=false;}if(xAl.oAl9.visible==true){xAl.oAl9.visible=false;}}
     if(xAu.x==0){bidU=1;xAu.oAu1.visible=true;if(xAu.oAu2.visible==true){xAu.oAu2.visible=false;}if(xAu.oAu3.visible==true){xAu.oAu3.visible=false;}if(xAu.oAu4.visible==true){xAu.oAu4.visible=false;}if(xAu.oAu5.visible==true){xAu.oAu5.visible=false;}if(xAu.oAu6.visible==true){xAu.oAu6.visible=false;}if(xAu.oAu7.visible==true){xAu.oAu7visible=false;}if(xAu.oAu8.visible==true){xAu.oAu8.visible=false;}if(xAu.oAu9.visible==true){xAu.oAu9.visible=false;}}
     if(xAr.x==0){bidR=1;xAr.oAr1.visible=true;if(xAr.oAr2.visible==true){xAr.oAr2.visible=false;}if(xAr.oAr3.visible==true){xAr.oAr3.visible=false;}if(xAr.oAr4.visible==true){xAr.oAr4.visible=false;}if(xAr.oAr5.visible==true){xAr.oAr5.visible=false;}if(xAr.oAr6.visible==true){xAr.oAr6.visible=false;}if(xAr.oAr7.visible==true){xAr.oAr7visible=false;}if(xAr.oAr8.visible==true){xAr.oAr8.visible=false;}if(xAr.oAr9.visible==true){xAr.oAr9.visible=false;}}}
else if(planer.currentFrame==7){limp1.gotoAndStop(4);
     if(xLd.x==0){bidD=1;xLd.oLd1.visible=true;if(xLd.oLd2.visible==true){xLd.oLd2.visible=false;}if(xLd.oLd3.visible==true){xLd.oLd3.visible=false;}if(xLd.oLd4.visible==true){xLd.oLd4.visible=false;}if(xLd.oLd5.visible==true){xLd.oLd5.visible=false;}if(xLd.oLd6.visible==true){xLd.oLd6.visible=false;}if(xLd.oLd7.visible==true){xLd.oLd7visible=false;}if(xLd.oLd8.visible==true){xLd.oLd8.visible=false;}if(xLd.oLd9.visible==true){xLd.oLd9.visible=false;}}
     if(xLl.x==0){bidL=1;xLl.oLl1.visible=true;if(xLl.oLl2.visible==true){xLl.oLl2.visible=false;}if(xLl.oLl3.visible==true){xLl.oLl3.visible=false;}if(xLl.oLl4.visible==true){xLl.oLl4.visible=false;}if(xLl.oLl5.visible==true){xLl.oLl5.visible=false;}if(xLl.oLl6.visible==true){xLl.oLl6.visible=false;}if(xLl.oLl7.visible==true){xLl.oLl7visible=false;}if(xLl.oLl8.visible==true){xLl.oLl8.visible=false;}if(xLl.oLl9.visible==true){xLl.oLl9.visible=false;}}
     if(xLu.x==0){bidU=1;xLu.oLu1.visible=true;if(xLu.oLu2.visible==true){xLu.oLu2.visible=false;}if(xLu.oLu3.visible==true){xLu.oLu3.visible=false;}if(xLu.oLu4.visible==true){xLu.oLu4.visible=false;}if(xLu.oLu5.visible==true){xLu.oLu5.visible=false;}if(xLu.oLu6.visible==true){xLu.oLu6.visible=false;}if(xLu.oLu7.visible==true){xLu.oLu7visible=false;}if(xLu.oLu8.visible==true){xLu.oLu8.visible=false;}if(xLu.oLu9.visible==true){xLu.oLu9.visible=false;}}
     if(xLr.x==0){bidR=1;xLr.oLr1.visible=true;if(xLr.oLr2.visible==true){xLr.oLr2.visible=false;}if(xLr.oLr3.visible==true){xLr.oLr3.visible=false;}if(xLr.oLr4.visible==true){xLr.oLr4.visible=false;}if(xLr.oLr5.visible==true){xLr.oLr5.visible=false;}if(xLr.oLr6.visible==true){xLr.oLr6.visible=false;}if(xLr.oLr7.visible==true){xLr.oLr7visible=false;}if(xLr.oLr8.visible==true){xLr.oLr8.visible=false;}if(xLr.oLr9.visible==true){xLr.oLr9.visible=false;}}}
else if(planer.currentFrame==9){limp1.gotoAndStop(5);
     if(xEd.x==0){bidD=1;xEd.oEd1.visible=true;if(xEd.oEd2.visible==true){xEd.oEd2.visible=false;}if(xEd.oEd3.visible==true){xEd.oEd3.visible=false;}if(xEd.oEd4.visible==true){xEd.oEd4.visible=false;}if(xEd.oEd5.visible==true){xEd.oEd5.visible=false;}if(xEd.oEd6.visible==true){xEd.oEd6.visible=false;}if(xEd.oEd7.visible==true){xEd.oEd7visible=false;}if(xEd.oEd8.visible==true){xEd.oEd8.visible=false;}if(xEd.oEd9.visible==true){xEd.oEd9.visible=false;}}
     if(xEl.x==0){bidL=1;xEl.oEl1.visible=true;if(xEl.oEl2.visible==true){xEl.oEl2.visible=false;}if(xEl.oEl3.visible==true){xEl.oEl3.visible=false;}if(xEl.oEl4.visible==true){xEl.oEl4.visible=false;}if(xEl.oEl5.visible==true){xEl.oEl5.visible=false;}if(xEl.oEl6.visible==true){xEl.oEl6.visible=false;}if(xEl.oEl7.visible==true){xEl.oEl7visible=false;}if(xEl.oEl8.visible==true){xEl.oEl8.visible=false;}if(xEl.oEl9.visible==true){xEl.oEl9.visible=false;}}
     if(xEu.x==0){bidU=1;xEu.oEu1.visible=true;if(xEu.oEu2.visible==true){xEu.oEu2.visible=false;}if(xEu.oEu3.visible==true){xEu.oEu3.visible=false;}if(xEu.oEu4.visible==true){xEu.oEu4.visible=false;}if(xEu.oEu5.visible==true){xEu.oEu5.visible=false;}if(xEu.oEu6.visible==true){xEu.oEu6.visible=false;}if(xEu.oEu7.visible==true){xEu.oEu7visible=false;}if(xEu.oEu8.visible==true){xEu.oEu8.visible=false;}if(xEu.oEu9.visible==true){xEu.oEu9.visible=false;}}
     if(xEr.x==0){bidR=1;xEr.oEr1.visible=true;if(xEr.oEr2.visible==true){xEr.oEr2.visible=false;}if(xEr.oEr3.visible==true){xEr.oEr3.visible=false;}if(xEr.oEr4.visible==true){xEr.oEr4.visible=false;}if(xEr.oEr5.visible==true){xEr.oEr5.visible=false;}if(xEr.oEr6.visible==true){xEr.oEr6.visible=false;}if(xEr.oEr7.visible==true){xEr.oEr7visible=false;}if(xEr.oEr8.visible==true){xEr.oEr8.visible=false;}if(xEr.oEr9.visible==true){xEr.oEr9.visible=false;}}}
else if(planer.currentFrame==11){limp1.gotoAndStop(6);
     if(xFd.x==0){bidD=1;xFd.oFd1.visible=true;if(xFd.oFd2.visible==true){xFd.oFd2.visible=false;}if(xFd.oFd3.visible==true){xFd.oFd3.visible=false;}if(xFd.oFd4.visible==true){xFd.oFd4.visible=false;}if(xFd.oFd5.visible==true){xFd.oFd5.visible=false;}if(xFd.oFd6.visible==true){xFd.oFd6.visible=false;}if(xFd.oFd7.visible==true){xFd.oFd7visible=false;}if(xFd.oFd8.visible==true){xFd.oFd8.visible=false;}if(xFd.oFd9.visible==true){xFd.oFd9.visible=false;}}
     if(xFl.x==0){bidL=1;xFl.oFl1.visible=true;if(xFl.oFl2.visible==true){xFl.oFl2.visible=false;}if(xFl.oFl3.visible==true){xFl.oFl3.visible=false;}if(xFl.oFl4.visible==true){xFl.oFl4.visible=false;}if(xFl.oFl5.visible==true){xFl.oFl5.visible=false;}if(xFl.oFl6.visible==true){xFl.oFl6.visible=false;}if(xFl.oFl7.visible==true){xFl.oFl7visible=false;}if(xFl.oFl8.visible==true){xFl.oFl8.visible=false;}if(xFl.oFl9.visible==true){xFl.oFl9.visible=false;}}
     if(xFu.x==0){bidU=1;xFu.oFu1.visible=true;if(xFu.oFu2.visible==true){xFu.oFu2.visible=false;}if(xFu.oFu3.visible==true){xFu.oFu3.visible=false;}if(xFu.oFu4.visible==true){xFu.oFu4.visible=false;}if(xFu.oFu5.visible==true){xFu.oFu5.visible=false;}if(xFu.oFu6.visible==true){xFu.oFu6.visible=false;}if(xFu.oFu7.visible==true){xFu.oFu7visible=false;}if(xFu.oFu8.visible==true){xFu.oFu8.visible=false;}if(xFu.oFu9.visible==true){xFu.oFu9.visible=false;}}
     if(xFr.x==0){bidR=1;xFr.oFr1.visible=true;if(xFr.oFr2.visible==true){xFr.oFr2.visible=false;}if(xFr.oFr3.visible==true){xFr.oFr3.visible=false;}if(xFr.oFr4.visible==true){xFr.oFr4.visible=false;}if(xFr.oFr5.visible==true){xFr.oFr5.visible=false;}if(xFr.oFr6.visible==true){xFr.oFr6.visible=false;}if(xFr.oFr7.visible==true){xFr.oFr7visible=false;}if(xFr.oFr8.visible==true){xFr.oFr8.visible=false;}if(xFr.oFr9.visible==true){xFr.oFr9.visible=false;}}}
     }else if(r1d==2){limp1.gotoAndStop(1);auto=0;
if(xWd.x==0){bidD=0;xWd.oWd1.visible=false;}if(xWl.x==0){bidL=0;xWl.oWl1.visible=false;}if(xWu.x==0){bidU=0;xWu.oWu1.visible=false;}if(xWr.x==0){bidR=0;xWr.oWr1.visible=false;}
if(xAd.x==0){bidD=0;xAd.oWd1.visible=false;}if(xAl.x==0){bidL=0;xAl.oWl1.visible=false;}if(xAu.x==0){bidU=0;xAu.oWu1.visible=false;}if(xAr.x==0){bidR=0;xAr.oWr1.visible=false;}
if(xLd.x==0){bidD=0;xLd.oWd1.visible=false;}if(xLl.x==0){bidL=0;xLl.oWl1.visible=false;}if(xLu.x==0){bidU=0;xLu.oWu1.visible=false;}if(xLr.x==0){bidR=0;xLr.oWr1.visible=false;}
if(xEd.x==0){bidD=0;xEd.oWd1.visible=false;}if(xEl.x==0){bidL=0;xEl.oWl1.visible=false;}if(xEu.x==0){bidU=0;xEu.oWu1.visible=false;}if(xEr.x==0){bidR=0;xEr.oWr1.visible=false;}
if(xFd.x==0){bidD=0;xFd.oWd1.visible=false;}if(xFl.x==0){bidL=0;xFl.oWl1.visible=false;}if(xFu.x==0){bidU=0;xFu.oWu1.visible=false;}if(xFr.x==0){bidR=0;xFr.oWr1.visible=false;}}
//r2d, r3d, r4d. r5d, r6d, r7d, r8d, r9d

pinW.addEventListener(MouseEvent.CLICK, pW)
function pW (event:MouseEvent):void{
shrine.gotoAndStop(1); planer.gotoAndPlay(2);auto=0;
xWd.x-=400;xWl.x-=400;xWu.x-=400;xWr.x-=400;
xAd.x-=400;xAl.x-=400;xAu.x-=400;xAr.x-=400;
xLd.x-=400;xLl.x-=400;xLu.x-=400;xLr.x-=400;
xEd.x-=400;xEl.x-=400;xEu.x-=400;xEr.x-=400;
xFd.x-=400;xFl.x-=400;xFu.x-=400;xFr.x-=400;
limp1.gotoAndStop(1);limp2.gotoAndStop(1);limp3.gotoAndStop(1);limp4.gotoAndStop(1);limp5.gotoAndStop(1);limp6.gotoAndStop(1);limp7.gotoAndStop(1);limp8.gotoAndStop(1);limp9.gotoAndStop(1);
bidD=0; bidL=0; bidU=0; bidR=0; bD.gotoAndStop(1); bL.gotoAndStop(1); bU.gotoAndStop(1); bR.gotoAndStop(1);
}
//pinA, pinL, pinE, pinF

bD.addEventListener(MouseEvent.CLICK, bDb)
function bDb (event:MouseEvent):void{if(bD.currentFrame==1){bidD=1;auto=1;
     if(planer.currentFrame==3){bD.gotoAndPlay(2);xWd.x=0;}
else if(planer.currentFrame==5){bD.gotoAndPlay(4);xAd.x=0;}
else if(planer.currentFrame==7){bD.gotoAndPlay(6);xLd.x=0;}
else if(planer.currentFrame==9){bD.gotoAndPlay(8);xEd.x=0;}
else if(planer.currentFrame==11){bD.gotoAndPlay(10);xFd.x=0;}
}else{bD.gotoAndStop(1); bidD=0;
     if(planer.currentFrame==3){xWd.x-=400;}
else if(planer.currentFrame==5){xAd.x-=400;}
else if(planer.currentFrame==7){xLd.x-=400;}
else if(planer.currentFrame==9){xEd.x-=400;}
else if(planer.currentFrame==11){xFd.x-=400;}
}
}
//bL, dU, bR

limp1.addEventListener(MouseEvent.CLICK, l1l)
function l1l (event:MouseEvent):void{if(auto==1){if(limp1.currentFrame==1){
     if(planer.currentFrame==3){limp1.gotoAndStop(2);
         if(bidD==1){xWd.oWd1.visible=true;}
    else if(bidL==1){xWl.oWl1.visible=true;}
    else if(bidU==1){xWu.oWu1.visible=true;}
    else if(bidR==1){xWr.oWr1.visible=true;}}
else if(planer.currentFrame==5){limp1.gotoAndStop(3);
         if(bidD==1){xAd.oAd1.visible=true;}
    else if(bidL==1){xAl.oAl1.visible=true;}
    else if(bidU==1){xAu.oAu1.visible=true;}
    else if(bidR==1){xAr.oAr1.visible=true;}}
else if(planer.currentFrame==7){limp1.gotoAndStop(4);
         if(bidD==1){xLd.oLd1.visible=true;}
    else if(bidL==1){xLl.oLl1.visible=true;}
    else if(bidU==1){xLu.oLu1.visible=true;}
    else if(bidR==1){xLr.oLr1.visible=true;}}
else if(planer.currentFrame==9){limp1.gotoAndStop(5);
         if(bidD==1){xEd.oEd1.visible=true;}
    else if(bidL==1){xEl.oEl1.visible=true;}
    else if(bidU==1){xEu.oEu1.visible=true;}
    else if(bidR==1){xEr.oEr1.visible=true;}}
else if(planer.currentFrame==11){limp1.gotoAndStop(6);
         if(bidD==1){xFd.oFd1.visible=true;}
    else if(bidL==1){xFl.oFl1.visible=true;}
    else if(bidU==1){xFu.oFu1.visible=true;}
    else if(bidR==1){xFr.oFr1.visible=true;}}
}
else{limp1.gotoAndStop(1);
     if(planer.currentFrame==3){
         if(bidD==1){xWd.oWd1.visible=false;}
    else if(bidL==1){xWl.oWl1.visible=false;}
    else if(bidU==1){xWu.oWu1.visible=false;}
    else if(bidR==1){xWr.oWr1.visible=false;}}
else if(planer.currentFrame==5){
         if(bidD==1){xAd.oAd1.visible=false;}
    else if(bidL==1){xAl.oAl1.visible=false;}
    else if(bidU==1){xAu.oAu1.visible=false;}
    else if(bidR==1){xAr.oAr1.visible=false;}}
else if(planer.currentFrame==7){
         if(bidD==1){xLd.oLd1.visible=false;}
    else if(bidL==1){xLl.oLl1.visible=false;}
    else if(bidU==1){xLu.oLu1.visible=false;}
    else if(bidR==1){xLr.oLr1.visible=false;}}
else if(planer.currentFrame==9){
         if(bidD==1){xEd.oEd1.visible=false;}
    else if(bidL==1){xEl.oEl1.visible=false;}
    else if(bidU==1){xEu.oEu1.visible=false;}
    else if(bidR==1){xEr.oEr1.visible=false;}}
else if(planer.currentFrame==11){
         if(bidD==1){xFd.oFd1.visible=false;}
    else if(bidL==1){xFl.oFl1.visible=false;}
    else if(bidU==1){xFu.oFu1.visible=false;}
    else if(bidR==1){xFr.oFr1.visible=false;}}
}}}
//limp2, limp3, limp4, limp5, limp6, limp7, limp8, limp9
Related content
Comments: 0