Okay I am going to reword this to make this easier.
I have a XML file with this field:
<link>http://www.definitivetheater.com</link>
<link>http://www.renewlending.com</link>
In Actionscript I have put the following code to hold the information in the XML:
link = [];
link = xmlNode.childNodes.childNodes[3].firstChild.nodeValue;**
Now I have a button that has the following code in it:
**on (release) {
getURL(_root.link, “_blank”);
**}
Because my variable link has all the information from the xml stored in it the web address outputs:
**http://www.definitivetheater.com, **http://www.renewlending.com
How can I get it to just target the first <link>?