We need to build some components based on dynamically-parsed definitions. I don't need to parse MXML at runtime, but, e.g., if I have something like
I want to be able to parse it into the corresponding Flex objects and then add this tree of components to the display list. Can I just instantiate each component and then call addChild immediately to add its children, or is there some event I need to wait for here? Calling addChild immediately after instantiation seems to work, but I want to make sure I'm not shooting myself in the foot with this design.