There is one pattern where you declare a new default property for the MXMLComponent, new children get stuffed in there, and when you get instantiated you add those children. It works, but feels rough around the edges.
Changing the compiler to "add" any children won't really work if you are trying to insert the children between a menubar and status bar. ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Wednesday, July 30, 2008 4:36 PM To: [email protected] Subject: Re: [flexcoders] Can we subclass Application yet? Alex, I definitely understand the need for this, but I'd use components is all. I can see how it'd be useful though. I'd have to poke around inside the generated actionscript, but I'm sure this could be hacked up without *too* much shenanigans to work with the current compiler. I might take a look at that over the weekend along with some component lifecycle stuff I want to put together to blog about. -Josh On Thu, Jul 31, 2008 at 9:25 AM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Template apps, just like html templates. I want every app to have a control bar and a accordion, etc. Sounds like Tracy has a way, so maybe that'll work for this customer. -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

