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
you will have to use any of these functions/properties:
* numChildren : int
* getChildAt(index:int):DisplayObject
* getChildByName(name:String):DisplayObject
On Fri, Sep 12, 2008 at 3:57 AM, Mark Easton [EMAIL PROTECTED] wrote:
Hi,
I am having a mental blank moment. If I add a child to a
you will have to use any of these functions/properties:
* numChildren : int
* getChildAt(index:int):DisplayObject
* getChildByName(name:String):DisplayObject
On Fri, Sep 12, 2008 at 3:57 AM, Mark Easton [EMAIL PROTECTED] wrote:
Hi,
I am having a mental blank moment. If I add a child to a
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
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
5 matches
Mail list logo