# XML/Flash Slideshow - Change hyperlink for each image?

**URL:** <https://forum.kirupa.com/t/xml-flash-slideshow-change-hyperlink-for-each-image/220174>\
**Category:** flash\
**Created:** [March 23, 2007, 1:24pm UTC](https://forum.kirupa.com/t/xml-flash-slideshow-change-hyperlink-for-each-image/220174 "2007-03-23T13:24:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![norfstar](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/norfstar/32/3476_2.png) [@norfstar](https://forum.kirupa.com/u/norfstar)\
**Post date:** [March 23, 2007, 1:24pm UTC](https://forum.kirupa.com/t/xml-flash-slideshow-change-hyperlink-for-each-image/220174/1 "2007-03-23T13:24:17Z")

</div>

Hi there,

I’m new to these forums and to Flash in general so my apologies in advance if I leave something important out of my questions. I’ve used the excellent tutorial at [http://www.kirupa.com/developer/mx2004/xml\_slideshow.htm](http://www.kirupa.com/developer/mx2004/xml_slideshow.htm) to create a slideshow from an XML file generated by PHP/MySQL. I’ve successfully managed to add a couple extra text fields, but I would also really like to be able to have the viewer directed to a different link depending on what image is clicked. Is this possible? So far, I’ve only been able to get clicking to open a link by putting the following on the movie:

```auto
on (release){
    getURL("http://www.mysite.com/", "_blank");
}

```

Can anyone give me a pointer as to how I can change that URL with a field from the XML file with the change of image?
