On 9/16/05, Shahnavaz Alware <[EMAIL PROTECTED]> wrote:
> I do the similar stuff using "getChildAt(i)" instead of
> "childDescriptors[i]" and that works fine if I want to read the properties I
> set during createChild. Eg parentID.getChildAt(i).id
childDescriptors is only for children created in MXML. Normally if
you want to iterate over the children of a container, this is the
right way:
for (var i:Number = 0; i < container.numChildren; i++)
trace(container.getChildAt(i).id);
------------------------ 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/