Best practice would be to have your component fire off a custom event that bubbles... Then, the parent can just listen for the event. Shan
_____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of dj Sent: Thursday, November 16, 2006 6:33 PM To: [email protected] Subject: [flexcoders] How to handle an event and call a method to it's parent? Hi: This doesn't work, what's the best practice? <mx:RadioButton groupName="pollq" id="option1" label="Who's The Baddest Player of them All?" itemClick="parent.-handleCard(-event);"/-> Thanks, Patrick -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.6/535 - Release Date: 11/15/2006 3:47 PM -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.6/535 - Release Date: 11/15/2006 3:47 PM

