It sounds like getChildByName is what you need:
yourContainer.getChildByName("panel1")
Regards,
Oscar
http://www.holaflex.com <http://www.holaflex.com>
--- In [email protected], "gjessup1" <[EMAIL PROTECTED]> wrote:
>
> I am creating a UI that gets configured from a database. For each DB
> entry it creates a panel dynamically.
> Then I have my app receiving messages. Based on the values in the
> message I decide which panel I want to display the message on.
>
> My question is when a panel is dynamically generated. How do I
> reference it so I can bind to it.
> i.e panel1.addChild(some object);
>
> Is there a getelementbyid reference. Does anyone else have a gui like
> this they could explain how they are doing it.
>
> thanks
>
> Greg
>