Custom navigation button linked to XML file

I designed a flash photo gallery using SlideshowPro and since it does not give the option of downloading images or pulling them for personal use, I’d like to add a button that will allow the viewer to download a zip file of the album they are viewing.

I have created a button that I added to the navigation that successfully links to a zip file, but I need to code the button to match the album the viewer is currently in. For example, right now the photo gallery knows to link to a XML file and when you click on a specific album, it draws the photos/thumbnails/full screen images etc from that album’s XML file. I want to code the button to match this, so that the button is there for any album but knows to pull from the specific XML file for the album currently being viewed.

Is this possible?