Hello all,

I want to create a non-visual component that can have another non-visual 
component as child. 
For example:
<MyComponentA>
  <MyComponentB/>
</MyComponentA>

How to do that?

I know I should implement the AS class of MyComponentA from IMXMLObject like 
the following. But I don't know how to make it enable to accept another 
non-visual component as child.

public class MyComponentA implements IMXMLObject 
{
        public function initialized(document:Object, id:String):void
        {
                trace(id);
                trace(document);
        }
}

You help is highly appreciated.

Regards,
Harry

Reply via email to