6 Replies Latest reply on Mar 24, 2010 9:14 AM by kglad

    attachMovie using variable target and source names

    MarionMacDonald

      I've frequently used variable names for the target but is it impossible to do this:

       

      holder.attachMovie(["mcButton"+i], ["box" + i + "_btn"], this.getNextHighestDepth()*200, {_x: arrBtnX[i], _y: arrBtnY[i]});

       

      I can't get it to work and I haven't been able to find an example.  It doesn't work without the square brackets either.

      Thanks

      Marion