the two APIs are not intended to be similar, although perhaps the names
themselves might lead one to think they are related at first glance.
getItemAt() returns the specified item from the list's data provider.
getChildAt() is inherited from View which is a base class that provides
containment semantics. so MXML components that can have other MXML
components within them extend View.
/mgk
Krzysztof Szlapinski wrote:
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/