Hi, The LayoutContainer is for mxml because of addChild() and how mxml does this for you using the nested tags.
Subclassing Module in as will work fine because it's like extending Container(separates content children from chrome children). I haven't looked at the classes yet but, if they say it there is a reason. Peace, Mike On 1/9/07, Daniel Freiman <[EMAIL PROTECTED]> wrote:
The docs say that you should extend from Module if you are using mxml and ModuleBase if you are using Actionscript, but these Classes are drastically different. One is a subclass of EventDispatcher (similar to and Object) and one subclasses LayoutContainer (similar to Container). This is a very important difference. I've tried using actionscript to subclass Module and it works perfectly fine. Are the docs incorrect or is there a more subtle reason why actionscript shouldn't extend Module? - Dan
-- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.

