2 Replies Latest reply on Aug 28, 2007 2:15 PM by

    Array Collection

      I have the following statement

      var returnstring:String = acTestArrayCollection.getItemAt(1).ThisWillBeAVariable.toString();

      I need to know how I can reference an element of an array collection by a dynamic variable. If I change ThisWillBeAVariable to the string representation of an element that is in that array collection it will work but I need this to be dynamic. If anyone can help me that would be great.