button.addEventListener(...)
button.label = "foo"
control.removeChild(button)

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark 
Easton
Sent: Thursday, September 11, 2008 6:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How To Access Child From Parent?


Hi,

I am having a mental blank moment. If I add a child to a control. How can I 
access the child from the control?

i.e.
button = new Button();
control.addChild(button);

So via control how can I now access that button?

Cheers
Mark



Reply via email to