I would instead advise that when you create the child, you place a reference to it in some kind of dictionary structure, like an array, an associative array(object), or dictionary.
Use that reference to access public members, add event listeners, etc. You will not need to worry about where it is in the dom. Tracy --- In [email protected], "gjessup1" <[EMAIL PROTECTED]> wrote: > > Oscar, > Thanks for that. That is basically exactly what I needed. The one > problem I am running into is that I want my panels to be only 3 wide > on the page and I have 12 entries in the DB. So I am creating a page 3 > panels wide and 4 panels down. > > To do this I create a new HBOX every 3rd Panel. > > so I need a way to figure out which HBOX the panel is in. Then I can do > HBOX3.getChildByName("My Panel") > > The way I am starting to do this is by creating an array collection > that keeps the Panel Names and the childIndex for the HBOX and the Panel. > > What would be nice is if you had a Canvas and and it didn't matter how > many levels deep the panel was (i.e the panel had a global bindable name) > Then you could do Canvas.getChildByName. > > I can post code if that doesn't make sense. >

