1 Reply Latest reply on Jan 6, 2009 11:01 AM by -Hob

    Displaying part of an arraylist in a list control and the data field in a textbox

    GSS1
      If I have an arraylist with object and data (like below), how can I display just the label (e.g. AL below) in just the list control and the data in a textbox?

      <mx:ArrayCollection id="myDP">
      <mx:source>
      <mx:Object label="AL" data="Montgomery"/>
      <mx:Object label="AK" data="Juneau"/>
      <mx:Object label="AR" data="Little Rock"/>
      </mx:source>
      </mx:ArrayCollection>

      Thanks