I have this sliding gallery swf that loads the thumbs from a xml file. But I would like it to load a different xml file depending on a variable in the browser URL. For example if viewpics.php?category=cars, I want the swf to load cars.xml
Ok man, Iām a noob but Iām gonna try to help here. One way I found was to parse that string since I canāt find a way to query it(like in asp). myString.substring(from, to); may allow you to grab that ācarsā string and concatenate it into your load swf command. Take a look here for the details http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary698.html From would obviously be where the = sign is and to would be string.length I hope this helps, let me know if you find a better way.