
January 25th, 2004, 03:48 PM
|
|
frequent PHP idiot
|
|
Join Date: Jun 2003
Posts: 337
Time spent in forums: 1 Day 5 h 48 m 58 sec
Reputation Power: 6
|
|
|
xml parsing and arrays
I've been seaching around for months trying to find out how to parse xml elements so that I can create html links in flash like this
<xml>
<text link="http://www.blahblah.com">This is a link</text>
<text link="http://www.blahblah.com">This is a link</text>
<text link="http://www.blahblah.com">This is a link</text>
</xml>
I don't know if I'm even writing the xml correctly...Also, I've read that trying to define which tag you're talking about like
firstchild.firstnode.nodevalue
get's really sloppy and I have to agree. I read where someone suggested using arrays, but I don't know how to parse the xml to do that and even if I did, I still wouldn't know how to tell flash which part of the array to get. Can anyone help me out, or point me in the direction I need to go?
|