d000hg
03-07-2008, 12:29 PM
I want to create a list containing details of servers available for an online game... I'm thinking I want a custom component which displays name, number of people logged in, etc.
My understanding is that any custom component derived from UIComponent can be used in a standard mx.controls.List?
The thing I'm confused about is if I should actually be adding these items one by one, or if I should store them in a collection (array, etc) and set this as the data provider of the List object. I don't really follow data providers and data binding very well, as I'm coming from a Java/C++ background.
One important point is that the list of servers will be refreshed regularly, for what difference this makes.
Thanks for any help.
My understanding is that any custom component derived from UIComponent can be used in a standard mx.controls.List?
The thing I'm confused about is if I should actually be adding these items one by one, or if I should store them in a collection (array, etc) and set this as the data provider of the List object. I don't really follow data providers and data binding very well, as I'm coming from a Java/C++ background.
One important point is that the list of servers will be refreshed regularly, for what difference this makes.
Thanks for any help.