How do I read XML tags within Flash an display the correct one?

  • Thread starter Thread starter Brennon L
  • Start date Start date
B

Brennon L

Guest
I'm having a small problem in flash (CS4 Pro). I'm using Ebay API (output XML) to display objects in flash. So far it works great for the one item I've tried, however the tags within the XML always change when you move to a new item. This type of code:

myXmlText.text = this.firstChild.childNodes[5].childNodes[7].firstChild.nodeValue;

...reads from an exact location in an XML tree. I need something that will search for a tag, and when it's found, display that tags contained info.
 
Back
Top