Components Flex



    xmlns:mx="library://ns.adobe.com/flex/mx"
    xmlns:s="library://ns.adobe.com/flex/spark">
    
        
    

    
         
        public function clicker(cName:String):void { 
          foolabel.text=cName; 
        } 
      
    

    
    
        
            
                Red
                Yellow
                Blue
            

        
        
    

    
        
                            label="{myrep.currentItem}" />