If you give the component an id, you can access the public members
through that id:

myComponent.init();

 

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of TJ Downes
Sent: Monday, January 22, 2007 12:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Trigger a method a method in a child document

 

Im looking for a way to trigger a method in a child document, namely a
custom component, from the parent document. For example, when I click
the tab in the parent document that displays my custom component I
want the parent document to trigger the init() method in the component
to reset itself. 

Since there is no childDocument property, is there another way to
handle this?

 

Reply via email to