On 3/31/06, iuliub <[EMAIL PROTECTED]> wrote: > Does anyone know how to add children to an inherited component? > Let's say , for example , I have al login component, that inherits > from a TitleWindow. > > Furthermore, I want a more complex login panel, that have several > additional text fields, and I want it to inherit from my initial login > component.
One idea: <!-- foo.mxml --> <TitleWindow> <!-- custom MXML component #1 --> <CustomComponent1 /> </TitleWindow> <!-- bar.mxml --> <foo> <!-- custom MXML component #1 --> <CustomComponent1 /> <!-- custom MXML component #2 --> <CustomComponent2 /> </foo> Combined with the DefaultProperty trick [1] [1]: http://weblogs.macromedia.com/pent/archives/2006/03/component_templ.cfm Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

