1 Reply Latest reply on Jun 20, 2007 12:45 PM by m_hartnett

    DataBinding in ArrayCollection

    m_hartnett Level 3
      Hi All,

      I have a ArrayCollection of Address classes.
      The Address class is a VO and has some typical properties such as street ... zipcode and so on.

      I am using ActionScript to create an instance of an AddressDetail mxml object.
      However each dynamically created AddressDetail object must bind its data to the Address class contained in the ArrayCollectiion.

      I have tried the following but does not work.
      <mx:TextInput id="street" text="{model.compDetailsAddressAC.getItemAt(0).street}" />

      Can anyone give me a little help on this or know of any documentation as to binding data to an Object in an ArrayCollection.

      Thanks