Hello to All,
I am newbiw to AS3. I am trying to read an xml file.
XML Content:
<?xml version="1.0" encoding="utf-8"?>
<birds>
<category alphabet="A">
<bird> American </bird>
<bird> array1</bird>
<bird introduction="American Avocet chicks leave the nest within 24 hours after hatching. Day-old avocets can walk, swim, and even dive to escape predators."
foods = "Pattey, Water, Banana"
habitats="American Avocet chicks leave the nest within 24 hours after hatching. Day-old avocets can walk, swim, and even dive to escape predators.">array2</bird>
</category>
<category alphabet="B">
<bird>beta</bird>
<bird>beta1</bird>
<bird>beta2</bird>
</category>
</birds>
You should search Google using terms like "AS3 XML tutorial" if you want to find information about loading and parsing xml file data. If you want to learn about loading the parsed data into a combobox at once, then look into the DataProvider class. You will need to parse the xml into an array of objects in order to realize the DataProvider.
North America
Europe, Middle East and Africa
Asia Pacific