# External links in picture gallery/slideshow

**URL:** <https://forum.kirupa.com/t/external-links-in-picture-gallery-slideshow/235910>\
**Category:** Uncategorized\
**Created:** [August 15, 2007, 6:47pm UTC](https://forum.kirupa.com/t/external-links-in-picture-gallery-slideshow/235910 "2007-08-15T18:47:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshmcdan](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@joshmcdan](https://forum.kirupa.com/u/joshmcdan)\
**Post date:** [August 15, 2007, 6:47pm UTC](https://forum.kirupa.com/t/external-links-in-picture-gallery-slideshow/235910/1 "2007-08-15T18:47:20Z")

</div>

I worked through the picture gallery and slideshow tutorials, and even added external links to the images using XML. However, I want to link the caption as well, or add a button that links to a different page for each image. I created a button named textlink and added the links in the XML and included this code in my fla file:

textlink.onRelease = function() {  
getURL(link[p]);

but, it didn’t work. On hover, the button shows that it is clickable, but nothing happens when clicked. Any ideas on what I might have done wrong?

Thanks in advance,  
joshmcdan
