jan_flanders

Untitled

Jul 26th, 2012
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var mcarray=new Array();
  2. for(var i=1;i<=3;i++)
  3.     mcarray.push(_root.cuprins["pictograma"+i]);
  4. sus_scroll.onPress=function()
  5. {
  6.     for(i=0; i<mcarray.length; i++)
  7.     {
  8.         trace([mcarray[i], mcarray[i]._alpha]);
  9.         mcarray[i].tween("_alpha", 0, 1, "linear")
  10.         /*
  11.         if(mcarray[i]._y-98 < sus_scroll._y)
  12.         {
  13.             mcarray[i].alphaTo (0, 2, "linear");
  14.         }
  15.         mcarray[i]._y-=98; 
  16.         */
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment