# URL link in AS2-HTML photo gallery?

**URL:** https://forum.kirupa.com/t/url-link-in-as2-html-photo-gallery/309875
**Category:** flash
**Created:** [May 26, 2010, 5:35pm UTC](https://forum.kirupa.com/t/url-link-in-as2-html-photo-gallery/309875 "2010-05-26T17:35:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ianhill090776](https://avatars.discourse-cdn.com/v4/letter/i/7feea3/32.png) [@ianhill090776](https://forum.kirupa.com/u/ianhill090776)
#### Post date: [May 26, 2010, 5:35pm UTC](https://forum.kirupa.com/t/url-link-in-as2-html-photo-gallery/309875/1 "2010-05-26T17:35:16Z")

</div>

Hello all,  
I’ve built a quick photo gallery using AS2 and XML based on [this tutorial](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm), and I want to create a URL link for the description text. Everything works fine until I get to the actual link - it’s displaying the HTML. I’ve clicked on the HTML button in the properties inspector for the text field (see the attached photo); I’ve also added the following in the AS:

```auto

desc_txt.html = true; 
desc_txt.multiline = true;

```

No luck; it’s still displaying the HTML.  
Here’s some of the relevant AS - any help would be appreciated.

```auto

function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = "<a href='"+storylink[p]+"'>"+description[p]+"</a>";
picture_num();
}
}
}

```
