2 Replies Latest reply on Jan 18, 2007 12:13 AM by Movitz

    Looping using variables

    Movitz Level 1
      My problem is this: I want to use an array to loop through movieClip instances and get their positions on stage.
      Why doesn't this work?

      aMovieClips:Array = new Array("movie1","movie2");

      for (i:Number=0; i<aMovieClips.length; i++) {
      trace(aMovieClips ._x);

      Could anyone help me with this I sure would be grateful.


      Thord Linde