I was trying to find out ways to have a custom component addchild method be
overriden to instead of adding child to the component itself, at it to one
of it's child. Example below:

Lets say I have a custom component which extends Canvas, inside this
component, I have a Hbox container.

When I put this component in MXML I'm trying to have it like so:
<customComponent>
    <label>
</customComponent>

I would like the label to actually be added to the hbox inside the canvas.
Any way to do this at all ?

Thanks.


-- 
Joseph Abenhaim 
Sr. Software Engineer - Flex
AOL Personal Media

Reply via email to