Hi,

If I am understanding you correctly, an MXML component is a class in itself.

So if you have a mxml component named MyCustomComponent.mxml, you would do
this when create the dynamic UI;

var child:MyCustomComponent = new MyCustomComponent();
.. initialize

container.addChild(child);

You can expand greatly on this but, you might be missing that the mxml file
is converted into a actionscript class when it gets compiled.

Don't forget to import it.

Mike

-- 
Teoti Graphix, LLC
http://www.teotigraphix.com

Teoti Graphix Blog
http://www.blog.teotigraphix.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to