What's the easiest way to create an extensible custom container in Flex?

Posted by Chris R on Stack Overflow See other posts from Stack Overflow or by Chris R
Published on 2010-04-21T15:12:48Z Indexed on 2010/04/21 19:03 UTC
Read the original article Hit count: 154

Filed under:
|
|

I want to create an MXML container component that has some of its own chrome -- a standard query display, et al -- and that supports the addition of child components to it. Something a lot like the existing mx:Panel class, which includes a title label, but acts like a plain mx:Box with regards to adding children.

What's the easiest way to do this?

Edit:

To be clear, I want to be able to extend the container using MXML, so the "Multiple visual children" problem is relevant.

© Stack Overflow or respective owner

Related posts about flex

Related posts about flex3