4 Replies Latest reply on Apr 17, 2006 3:13 AM by Godwin

    Problem creating Multiple instances of Movie Clip

    Godwin
      Hi

      I am trying to position instances of a moveiclip with different parameters for X, Y, rotation, and Y Scale which does not seems to happen.

      I have created a movie clip and have exported it for actionscript with a linkage name "mcGraph". Now when I try to postion the movieclip using variables from my array for X and Y postion, only the last instance gets positoned and the rest take value of x = 0 and Y = 0.

      My code is this

      for (i=0; i<13; i++) {
      this.attachMovie("mcGraph", " ", getNextHighestDepth());
      setProperty("
      ", _x, xarray );
      setProperty("
      ", _y, yarray );
      setProperty("
      ", _rotation, Number(mymonth));
      }
      }

      Can any one tell me where I am going wrong or what is the right way of doing this.


      Thanks

      Godwin