Xml links in flash 8

I’m having trouble creating a button in a flash movie that pulls a URL from an xml file.

Here is my Action Script (bold blue text is what i’m having trouble with)

stop();
var nInterval = setInterval(Play, 9000);
function Play() {
clearInterval(nInterval);
gotoAndPlay(_currentframe+1);
}
myXML = new XML()
myXML.ignoreWhite = true
myXML.load(“ascolta.xml”)
myXML.ref = this
myXML.onLoad = function(succes){
if(succes){

var root = this.firstChild
nodes = root.childNodes
for(var i=0; i<nodes.length; i++) {
this.ref[“Title_txt”+i].text = nodes*.attributes.name
subnodes = nodes*.childNodes
this.ref[“heading”+i].text = subnodes[0].firstChild.toString()
[COLOR=blue]this.ref[“URL”+i].text = subnodes[1].firstChild.toString()[/COLOR]
[COLOR=blue]_root.yo = this.ref[“URL”+i].text[/COLOR]
this.ref[“article”+i].text = subnodes[2].firstChild.toString()

}
} else trace(“Error loading XML document”)
}

below is my button code


[COLOR=blue]on (release) { getURL(_root.yo); }[/COLOR]


below is my xml file


[COLOR=#0000ff]<?xml version=“1.0” ?>[/COLOR]
[[FONT=Courier New][COLOR=#ff0000]-[/COLOR][/FONT]](file:///C:/Documents%20and%20Settings/admin/Local%20Settings/Temp/fz3temp-1/ascolta.xml#) [COLOR=#0000ff]<[/COLOR][COLOR=#990000]Widget[/COLOR][COLOR=#0000ff]>[/COLOR]
[[FONT=Courier New][COLOR=#ff0000]-[/COLOR][/FONT]](file:///C:/Documents%20and%20Settings/admin/Local%20Settings/Temp/fz3temp-1/ascolta.xml#) [COLOR=#0000ff]<[/COLOR][COLOR=#990000]menu1 name[/COLOR][COLOR=#0000ff]="[/COLOR]Menu Name 1[COLOR=#0000ff]">[/COLOR]
[COLOR=#0000ff]<[/COLOR][COLOR=#990000]Heading1[/COLOR][COLOR=#0000ff]>[/COLOR]Heading 1[COLOR=#0000ff]</[/COLOR][COLOR=#990000]Heading1[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]URL1[/COLOR][COLOR=#0000ff]>[/COLOR]www.link1.com[COLOR=#0000ff]</[/COLOR][COLOR=#990000]URL1[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]Article1[/COLOR][COLOR=#0000ff]>[/COLOR]Article 1[COLOR=#0000ff]</[/COLOR][COLOR=#990000]Article1[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]</[/COLOR][COLOR=#990000]menu1[/COLOR][COLOR=#0000ff]>[/COLOR]

[[FONT=Courier New][COLOR=#ff0000]-[/COLOR][/FONT]](file:///C:/Documents%20and%20Settings/admin/Local%20Settings/Temp/fz3temp-1/ascolta.xml#) [COLOR=#0000ff]<[/COLOR][COLOR=#990000]menu2 name[/COLOR][COLOR=#0000ff]="[/COLOR]Menu Name 2[COLOR=#0000ff]">[/COLOR]
[COLOR=#0000ff]<[/COLOR][COLOR=#990000]Heading2[/COLOR][COLOR=#0000ff]>[/COLOR]Heading 2[COLOR=#0000ff]</[/COLOR][COLOR=#990000]Heading2[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]URL2[/COLOR][COLOR=#0000ff]>[/COLOR]www.link2.com[COLOR=#0000ff]</[/COLOR][COLOR=#990000]URL2[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]Article2[/COLOR][COLOR=#0000ff]>[/COLOR]Article 2[COLOR=#0000ff]</[/COLOR][COLOR=#990000]Article2[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]</[/COLOR][COLOR=#990000]menu2[/COLOR][COLOR=#0000ff]>[/COLOR]

[[FONT=Courier New][COLOR=#ff0000]-[/COLOR][/FONT]](file:///C:/Documents%20and%20Settings/admin/Local%20Settings/Temp/fz3temp-1/ascolta.xml#) [COLOR=#0000ff]<[/COLOR][COLOR=#990000]menu3 name[/COLOR][COLOR=#0000ff]="[/COLOR]Menu Name 3[COLOR=#0000ff]">[/COLOR]
[COLOR=#0000ff]<[/COLOR][COLOR=#990000]Heading3[/COLOR][COLOR=#0000ff]>[/COLOR]Heading 3[COLOR=#0000ff]</[/COLOR][COLOR=#990000]Heading3[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]URL3[/COLOR][COLOR=#0000ff]>[/COLOR]www.link3.com[COLOR=#0000ff]</[/COLOR][COLOR=#990000]URL3[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]Article3[/COLOR][COLOR=#0000ff]>[/COLOR]Article 3[COLOR=#0000ff]</[/COLOR][COLOR=#990000]Article3[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]</[/COLOR][COLOR=#990000]menu3[/COLOR][COLOR=#0000ff]>[/COLOR]

[[FONT=Courier New][COLOR=#ff0000]-[/COLOR][/FONT]](file:///C:/Documents%20and%20Settings/admin/Local%20Settings/Temp/fz3temp-1/ascolta.xml#) [COLOR=#0000ff]<[/COLOR][COLOR=#990000]menu4 name[/COLOR][COLOR=#0000ff]="[/COLOR]Menu Name 4[COLOR=#0000ff]">[/COLOR]
[COLOR=#0000ff]<[/COLOR][COLOR=#990000]Heading4[/COLOR][COLOR=#0000ff]>[/COLOR]Heading 4[COLOR=#0000ff]</[/COLOR][COLOR=#990000]Heading4[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]URL4[/COLOR][COLOR=#0000ff]>[/COLOR]www.link4.com[COLOR=#0000ff]</[/COLOR][COLOR=#990000]URL4[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]Article4[/COLOR][COLOR=#0000ff]>[/COLOR]Article 4[COLOR=#0000ff]</[/COLOR][COLOR=#990000]Article4[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]</[/COLOR][COLOR=#990000]menu4[/COLOR][COLOR=#0000ff]>[/COLOR]

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]Widget[/COLOR][COLOR=#0000ff]>[/COLOR]
[COLOR=#0000ff]---------------------------------------------------------------------[/COLOR]
does anyone know why my button pulls an undefined link?

thanks in advance - dave :-/