# \[f8\] xml - attribute - hyperlink - actionscript

**URL:** <https://forum.kirupa.com/t/f8-xml-attribute-hyperlink-actionscript/220039>\
**Category:** flash\
**Created:** [March 22, 2007, 2:24am UTC](https://forum.kirupa.com/t/f8-xml-attribute-hyperlink-actionscript/220039 "2007-03-22T02:24:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dr\_Abner\_Mellon](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Dr\_Abner\_Mellon](https://forum.kirupa.com/u/Dr_Abner_Mellon)\
**Post date:** [March 22, 2007, 2:24am UTC](https://forum.kirupa.com/t/f8-xml-attribute-hyperlink-actionscript/220039/1 "2007-03-22T02:24:07Z")

</div>

hey I was wondering if anyone could help me with a quick questions.

weburl = weburl == dataArray[trackCount].weburl ? dataArray[trackCount].weburl : dataArray[trackCount].weburl;  
loadAndPlay(trackCount);

I need weburl to be a link in flash for each artist… there are 30 different links that will be loading into this dynamic text box.

this is my attribute I used on a different thing.

SetSong = function(node){  
snd.node = node;  
snd.loadSound(node.attributes.src);  
title\_txt.text = node.attributes.title;  
artist\_txt.text = node.attributes.artist;  
label\_txt.text = node.attributes.label;  
web\_url = node.attributes.weburl;  
web\_txt.html = true;  
web\_txt.htmlText = “\<a href=”"+web\_url+""\>"+web\_url+"\</a\>";

but really I only need the web\_url…

would I just change SetSong to something else?
