1 Reply Latest reply on Oct 24, 2006 2:51 PM by leotemp

    How to loop through list to get all items in a comma delimited String.

    Like2Flex Level 1
      So here is my for loop:
      I can't figure out how to get all the items in the List.

      Note that I don't have a data provider because, this list is being populated from another list by the using the Drag-Drop method.

      var mylist:String;

      for(i=0;i< 4;i++)
      mylist = mylist + "," + lstmylist.selectedIndex(i).?? what next??

      Pls anyone who has been through this.

      many Thanks.