Event Flex


    xmlns:mx="library://ns.adobe.com/flex/mx"
    xmlns:s="library://ns.adobe.com/flex/spark">
    
         
        import mx.controls.Alert; 
        private function myEventHandler(s:String):void { 
            Alert.show("Current Target: " + s); 
        } 
      
    

            click="myEventHandler(event.currentTarget.id)" />