PDA

View Full Version : FlashVar and Xml path doesnt work with URL variable


deanparkr
11-29-2010, 06:48 PM
Hi,

First post - I think this belongs in the newbie category but am not sure!

I have a flash based gallery which reads images though an XML file like this:

var flashvars = {xmlPath: "photos/"};

This works perfectly fine in a normal url such as test.com/test

However if the URL looks like this: test.com/test/?

The flash object loads but it fails to find the XML file. Any idea why this is and how it can be avoided? At the moment if I put any variable past the "?" it means the FlashVar fails to get the path to the XML file.

Am I missing something simple here?

Thanks for any enlightenment! :)