> Yes, you are right. But I implemented IMXMLObject interface. My class > instantiates in the root of the component, but nowhere else. On the > other hand native RadioButtonGroup that is also inherited from > EventDispatcher, not UIComponent, could be instantiated even inside > nested containers. Why so? >
Yes, you're right. :) RadioButtonGroup does not extend UIComponent or implement IUIComponent. The VBox is a UIComponent and does not redefine addChild. I'm not familiar with IMXMLObject, but it says that it represents non-visual elements to the MXML compiler. Perhaps there's a implementation detail we're missing? Are only the RadioButton controls being added as children? -- 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/

