Hi
I have a Flex XML object as follows:
private var _xmlCountries:XML =
<Countries>
<option value="AF">Afghanistan</option>
<option value="AL">Albania</option>
<option value="DZ">Algeria</option>
<option value="AO">Angola</option>
<option value="AI">Anguilla</option>
........
<Countries>;
This object is ok, and shows up correctly in debug mode. The problem is I have a country name i.e. private var _country:String = "Angola";
, and I want to get the corresponding value 'AO' from the XML object. Do you know how to do this?
I have tried loads of Livedocs examples, but cant get it to work!!!
P.S. I am working on a HtpService & WebService driven app to display global weather conditions overlayed on a Google Maps interface. Going to make it available to the Flex community when finished.