I'm prototyping a system where a view is built dynamically from an XML
description (converted to VOs). The description refers to a template
(hard-coded in MXML). The dynamic view observes the description (which is a
part of its model) , and creates a child (the template) and adds it as a
child. However, it also needs to "fill in" the template which involves
accessing some of its children by id (eg. template["slot1"],
template["slot2"] ).

If I construct the template via new Template1(), the children are not yet
created. Their ids show up in the debugger, but the values are null. Should
I add a listener for creationComplete, or is this a case where callLater()
could be put to good effect?

Reply via email to