2 Replies Latest reply on Jan 22, 2010 8:27 AM by e11137

    ArrayCollection with custom keys

    Francisc Level 3

      Hello!

       

      Is it possible to have an Array or ArrayCollection with 'custom' keys?

       

      e.g.

       

      myCollection['name']['first']

      myCollection['name']['last']

      myCollection['age']

      myCollection['address']

      etc...

       

       

      AS3 always forces an index-like key: myCollection[0]['name']['first'], myCollection[1]['name']['last'], myCollection[2]['age'] etc.

       

      Thank you!