parentDocument.someMethod()

 

You want to use parentDocument, not parent.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Carlos 
Obregón
Sent: Friday, August 01, 2008 9:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Calling a parent's function

 

I'm within a component. 

>From here I want to call a function of its parent (the component
referend by the keyword parent)

How do I do that?

Alternatively I could add an eventListener from the parent to one of
the components' son. It's possible?

Thanks.

 

Reply via email to