Read up on templates: http://livedocs.adobe.com/flex/3/html/help.html?content=templating_3.html
I'm using a variation where I override commitProperties rather than use the init event. I mentioned this in the recent thread "template architecture" and no one told me that I was crazy (but they didn't tell me I wasn't, either). But the docs above should get you going. Hope this helps. On Mon, Aug 25, 2008 at 11:49 AM, Nate Pearson <[EMAIL PROTECTED]>wrote: > I made a custom panel component. It has some stuff in there (like > header info) that get duplicated a lot so I wanted to make it a custom > component. > > In the parent app that calls that component I still want to add > children in MXML. I get the error "Multiple sets of visual children > have been specified for this component (component definition and > component instance)." > > That makes sense but how can I get around this? > > Thanks, > > Nate > > >

