# getURL with xml and action script

**URL:** https://forum.kirupa.com/t/geturl-with-xml-and-action-script/244493
**Category:** flash
**Created:** [November 19, 2007, 2:42am UTC](https://forum.kirupa.com/t/geturl-with-xml-and-action-script/244493 "2007-11-19T02:42:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![william7](https://avatars.discourse-cdn.com/v4/letter/w/b38774/32.png) [@william7](https://forum.kirupa.com/u/william7)
#### Post date: [November 19, 2007, 2:42am UTC](https://forum.kirupa.com/t/geturl-with-xml-and-action-script/244493/1 "2007-11-19T02:42:45Z")

</div>

Hello i need a genius to help me,

Say if we where making the flash photo gallery from [KIRUPA.com](http://KIRUPA.com)

[http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm)

And we wanted to add a link to the image.

So i’ve already made the adjustment in the XML file and action script get’s the url and i’ve made a button in the flash document and i just need it to be click-able.

```auto

function firstImage()                  
{
 if (loaded == filesize)                        
{ 
picture._alpha = 0; 
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
link_txt.text = link[0];
picture_num();
}
}

```

What would i change “link\_txt.text = link[0];” to?

As you see i’m a beginner but pleace if you have any ideas feel free to post them :mario:
