0 Replies Latest reply on Apr 25, 2008 5:40 AM by kdennis4

    ActionScript Array Duplication

    kdennis4
      I've got the following code:

      private function addImageList():void{
      var i:int;
      for (i=0;i < multiProjects._files.length; i ++){
      var thisImageList:String = multiProjects._files .name;
      thisImageList += multiProjects._files
      .name;
      Alert.show(thisImageList);
      }
      }

      It's creating a comma-delimited list, but of the same name, then goes to the next one... Testing it with my Alert. Any clues on how to resolve this and concatenate and not duplicate? Thanks in advance for suggestions!