Components Flex



    
        
        
            private function formatData(item:Object):String 
            {
                return dateF.format(item.data);
            }
            
            private function changeData(obj:Object):void
            {
                dateTxt.text =  dateF.format(obj.data);
            }
      
    

    
        
            
            
            
        
           
    
    
    
            labelFunction="formatData"
        change="changeData(myCombo.selectedItem)" />