Url links in text loaded from xml

Hi,

I’ve used the newsblock component from http://www.flashcomponents.net

Got this working fine, but now I want to have url links in the text. Is there a way of doing this directly in the xml-file? Ideally I want the link to open a new browser window, with the possibillity to specify height, width, scrollbars, toolbars etc. I got a javascript function that does this with a normal flash button, but want do use this functionality with the component.

Help much appreciated.

hi,

Don’t know exactly what you’re doing, but if you’re using XML:
the XML should contain text with the url, for example:


<something>
<myLink myUrl = "http://www.kirupa.com/" />
</something>

Now you can use the myUrl attribute in flash as the url in getURL(), or your custom javascript function.