3 Replies Latest reply on Jun 6, 2009 9:50 AM by sam luke

    Help with ArrayCollection

    sam luke Level 1


      I need help on the syntax of how to get and set items in a 2 dimensional ArrayCollection list.  For example if I have the following:


      public var vline:ArrayCollection = new ArrayCollection([
              {time: 0, line: 10

              {time: 1, line: 0},
              {time: 2, line: 0},
              {time: 3, line: 0},



      how do I get

           line at time=1


      how to set

           line to 10 at time=2


      Hope you can help,