It depends on the actual swf gallery player. It depends how it is implemented. If the xml file name is fixed, you can only change it's content. Actually you can generate it dynamically. I suppose, you use ASP.NET. Here is an example, how to generate XML on server side:
http://www.stardeveloper.com/articles/display.html?article=2009031901&page=1[
^]. But you need to make the player reload the xml.
If the file name was provided to the object using a parameter, you can simply change this DOM attribute on client side. But this will be not enough, since these values are loaded by the flash player on initialization. So changing attribute will have no effect. So you either have to rebuild the object in DOM, or try using
swfObject's "dynamic" loading method[
^].
I suggest you consult the gallery player's documentation first to see what your possibilities are.