Home > Alagad > ArrayCollection or XML list of States and Countries

ArrayCollection or XML list of States and Countries

Seems like I’m always trying to put my hands on an XML list of states or list of countries for some Flex project or another. I’m posting these here in hopes that I’m not the only one looking for this information. I used to have this xml posted on a server somewhere and I’d just point a service at it, but now I have no idea where I posted it.

I’m also posting both of these lists as ArrayCollections. I’ve found this method the easiest and most reusable. I just instantiate the class and bind the view to it, for example:

The StatesArrayCollection looks like this:

Source:ArrayCollection or XML list of States and Countries

admin Alagad