I have a title window that I'm creating and passing data to. I want to
create children of the title window based on this data and I don't want to
show the title window until the children have been created and added to the
title window.
titleWindow = new SomeComponent();
titleWindow.data = someData
titleWindow.createSubChildren();
PopUpManager.addPopUp(titleWindow, this);
titleWindow.center();
When I call the createSubChildren method, I get errors because it doesn't
seem that any of the titleWindow's sub containers have been created. I
thought using the new operator to create the component would create all of
the children but it doesn't seem to happen until it is actually added using
the PopupManager. Any ideas?
--
View this message in context:
http://old.nabble.com/When-the-creationComplete-event-is-fired-on-a-TitleWindow-tp26202032p26202032.html
Sent from the FlexCoders mailing list archive at Nabble.com.