> > I have been trying to dynamically create RadioButtonGroup > (due to the problem I posted earlier). I managed to create > the group but getting access to the RadioButtonGroup object > seems to be quite hard. I create the group during initialize > event, but when I try to access the group, it seems to be > totally different object. For example, if I set id property > for the group during initialization it has disappeared when > accessed later. > > It the same object, but for some reason the id is changing. No idea. > But why not make it an MXML component? That way you don't have to > struggle with createChild even.
Umm.. well... maybe I could use mxml. RadioButtonGroup and the RadioButtons constitue a boolean component in our software. And if there are several RadioButtonGroups with the same id in a form, focus transition with tab key won't work correctly. So the need was to set unique id dynamically and I thought it cannot be done with mxml. But why not, maybe I should try that. However, it still would be nice to know the reason for the "metamorphosis" since unsolved mysteries are irritating. ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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/

