Topic: source

I am trying to post a website with autoviewer embedded on my index page.  Somehow I need to find a way to make my index.html reference autoviewer in a separate folder.  My index page is www.mattdphotos.com and my slide show is http://mattdphotos.com/home/swfobject.js

What do I need to change in the code to make these work together without the two files being in the same folder?

Re: source

Change

<script type="text/javascript">
        var fo = new SWFObject("viewer.swf", "viewer", "1000", "450", "8", "#ffffff");
        fo.write("flashcontent");    
    </script>

to

<script type="text/javascript">
        var fo = new SWFObject("home/viewer.swf", "viewer", "1000", "450", "8", "#ffffff");
        fo.addVariable("xmlURL", "home/gallery.xml");
        fo.write("flashcontent");    
    </script>
Mike Richards
SimpleViewer Support Team.