Hi list,

Is there a way to access nested children of the Application object
programatically? I have an app: Application object and inside I have
HDividededBox (id="topFrame") and inside of this I have two more elements
with ID properties. These are VBox (id="leftPane") and VBox
(id="rightPane").

If I do like this:

topFrame = app.getChildByName("topContainer");

I can get the DisplayObject.

But I don't see any way how to access the children of topFrame, both of
these don't work:

rightPane = topFrame.getChildByName("rightPane"); // of course because
DisplayObject doesn't have getChildByName method

rightPane = app.getChildByName("rightPane"); // because application "sees"
its children just one level of children hierarchy


I'm sure there must be a way, but after fair amount of googling and
experimenting I couldn't find any.

Cheers,
Alen

Reply via email to