# Add links to Slideshow

**URL:** <https://forum.kirupa.com/t/add-links-to-slideshow/168817>\
**Category:** flash\
**Created:** [November 10, 2005, 10:39am UTC](https://forum.kirupa.com/t/add-links-to-slideshow/168817 "2005-11-10T10:39:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gso](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/gso/32/1909_2.png) [@gso](https://forum.kirupa.com/u/gso)\
**Post date:** [November 10, 2005, 10:39am UTC](https://forum.kirupa.com/t/add-links-to-slideshow/168817/1 "2005-11-10T10:39:07Z")

</div>

Hi,

I read this great tutorial [here](http://www.kirupa.com/developer/mx2004/xml_slideshow.htm) (thanks!!) and wanted to modify a bit. I wanted to add a link to the text for each image.

What I understand is that I need to add a link field in the XML file

```php
	<pic>
		<image>http://www.kirupa.com/developer/mx2004/pg/kresge.jpg</image>
		<caption>Kresge</caption>
		<link>http://www.kirupa.com/developer/mx2004/xml_slideshow.htm</link>
	</pic>

```

and in the flash’s action layer add the link

```php
image = []; description = [];url = [];

```

After this, I kinda get lost. I understand that, I have to add another line right after

```php
desc_txt.text = description[p];

```

which would be something like

```php
desc_txt.text = url[p];

```

But I am not too sure. Also how can I make that (aqua colored) bar clickable with target \_self.

I would really appreciate if someone could guide me to a tutorial or similar code. Thanks in adavance.

PS - I _did_ search and looked in the 11 pages of this forum, but couldn’t find anything similar to what I am looking.
