# Photo Gallery - mulitple XMLs, one swf

**URL:** <https://forum.kirupa.com/t/photo-gallery-mulitple-xmls-one-swf/85971>\
**Category:** flash\
**Created:** [April 8, 2005, 7:16pm UTC](https://forum.kirupa.com/t/photo-gallery-mulitple-xmls-one-swf/85971 "2005-04-08T19:16:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![helix169](https://avatars.discourse-cdn.com/v4/letter/h/6a8cbe/32.png) [@helix169](https://forum.kirupa.com/u/helix169)\
**Post date:** [April 8, 2005, 7:16pm UTC](https://forum.kirupa.com/t/photo-gallery-mulitple-xmls-one-swf/85971/1 "2005-04-08T19:16:47Z")

</div>

Hello, I’ve implemented the photogallery using xml from the tutorial, works great. Here’s my problem. I want to change the xmlData.load(“src”); in the actionscript to a variable that can be determined from javascript on the html page. I have multiple slide shows, and when you click on one, I would like it to just tell the .swf slideshow which xml file to use for that particular set of pictures.

I can’t seem to figure it out, I’ve tried all kinds of wacky methods, after hours of reserch.

Any help?
