2 Replies Latest reply on Jul 28, 2009 6:27 PM by Ned Murphy

    move MCs with for loop?

    shintashi Level 1

      I'm trying to figure out a way to move movie clips with a for loop

       

      I've got 10 dots called dt1-dt10 and I want to be able to set them all to y = 200.

      I understand i can set i=1;i<11;i++

       

      like

       

      for(i=1;i<11;i++){

      dt+i._y = 200;}

       

      or

       

       

      for(i=1;i<11;i++){

      String("dt"+i)._y = 200;}

       

       

       

      but the rest of it is a mess and either doesn't work, or glitches. I have yet to find a for loop help file for moving multiple movie clips.