List.getItemAt(..) gives you item(data object) from dataprovider.  List
inherits from View, that's why you see getChildAt(..) method, which
essentially gives the reference of child at specified index. Not sure, how
it works in case of List..

Does it make sense?

-abdul



-----Original Message-----
From: Krzysztof Szlapinski [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 9:54 PM
To: [email protected]
Subject: [flexcoders] the difference between List.getItemAt and
List.getChildAt


Hi,

I wonder what is the difference between List.getItemAt() property and 
List.getChildAt() method.

When I create List items with addItem the List.getChildAt() gives me 
undefined value and getItemAt() gives me the correct item.

why?

krzysiek 




 
Yahoo! Groups Links



 





 
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/
 



Reply via email to