Pass individual properties to an event listener
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> private function myEventHandler(s:String):void { trace(s); } </mx:Script> <mx:Button id="b1" label="Click Me" click="myEventHandler(event.currentTarget.id)"/> </mx:Application>