central dictionary. Then you only have to scan the dictionary.
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of gaurav1146
> Sent: Thursday, November 29, 2007 7:31 AM
> To: flexcoders@yahoogroups.com
>
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Accessing Components By Dynamically generated
IDs
I was wondering if there was a by which I could access the componets
directly using ids without iterating through all the children. I
observed that the components that were present directly
I was wondering if there was a by which I could access the componets
directly using ids without iterating through all the children. I
observed that the components that were present directly in the mxml
can be accessed using this[$id] but the components that I am adding
later using actionscript cann
I got the same problem... and solve with this function
function $(object:String,container:DisplayObjectContainer = null) {
if (container == null) container = this;
for (var i:uint=0; i < container.numChildren; i++)
{
var child:DisplayObject = container.getChildAt(i);
4 matches
Mail list logo