Components Flex

    xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="horizontal">
    
    
        
            import mx.collections.ArrayCollection;
            [Bindable]
            private var myDP:ArrayCollection = new ArrayCollection([{id:1,fName:"A", lName:"C"},
                                                                   {id:2, fName:"B", lName:"D"}]);
            private function getFullName(item:Object):String{
                return item.fName + " " + item.lName;
            }