Topic: Simpleviewer Pro 2.0x doesn't recognize my earlier xml files

I just bought the upgrade and have been trying to update my older XML galleries, however they all live in the same directory (I hate over nesting things, I like directories to be simple) and Simpleviewer doesn't recognize their custom names.

So now I have to restructure the entire site's directories so that all the XML files are named gallery.xml?

Or is there a setting somewhere that I haven't found yet?


I'm assuming also that it only creates files named gallery.xml. I was really hoping this upgrade would help me avoid the mundane stuff like this. sad

Re: Simpleviewer Pro 2.0x doesn't recognize my earlier xml files

SimpleViewer 2 will read SimpleViewer 1.x galleries, but some of the parameters you use to do this have changed. For example instead of using xmldatapath to point to an XML you need to use galleryURL, flashvars.galleryURL = "theNameOfYourXML.xml";.

this code goes in the head of your HTML DOC.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
    var flashvars = {};
    flashvars.galleryURL = "gallery.xml";
    var params = {};            
    params.allowfullscreen = true;
    params.allowscriptaccess = "always";
    params.bgcolor = "222222";
    swfobject.embedSWF("simpleviewer.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);
</script>

For more info please check out the support docs
http://www.simpleviewer.net/simpleviewer/pro/support/

Mike Richards
SimpleViewer Support Team.