Hi everybody, I know how to add children to a component doing something like the following, but I can't help but think there ought to be a better way to do it. Perhaps I should be overriding one of UIComponent's methods? Anyway, the issue (see link) is that container isn't defined when the setter is called. Where is the proper place to actually add the children?
http://pastie.textmate.org/234853 You would use it like this -- <me:myComp> <me:newChildren> <mx:Button label='new button'/> </me:newChildren> </me:myComp> Thanks!