2 Replies Latest reply on May 8, 2006 4:32 PM by Sarford

    attaching a variable to a name

    Sarford
      Hi guys,

      I have a real simple problem here. I'm trying to attatch a variable to a movieclipname. I know its possible to do couse I've done this before.

      Problem is I only code about 3 or 4 times a year, so I tend to forget everyting everytime. I have a file with the solution but that one is at the studio and I'm at home right now. Ofcourse I don't have time to wait to tommorow (its night here)...

      I would realy apreceate it if someone could lend me a hand

      Here is the (faulty) code:

      for (i=1; i<=15; i++) {
      drop+(i)+_mc.gotoAndStop(12);
      }
      for (i=1; i<=15; i++) {
      drop(i).swapDepths(i);
      }

      regards, Simon