Topic: work... sometimes

Hello,
I shearch now from many hours :

my gallery is working fine when I open "viewer.swf" :

http://demolacave.exastores.com/pub/gal … viewer.swf

and not when I include it in a HTML page

http://demolacave.exastores.com/pages/t … erie-flash


HELP please.

Re: work... sometimes

PostcardViewer is looking for the 'viewer.swf' file in the same directory as your HTML page (at the location http://demolacave.exastores.com/pages/viewer.swf) but it does not exist there.
Either move the 'viewer.swf' file or, in your HTML page, change:

var fo = new SWFObject("viewer.swf", "viewer", "50%", "50%", "8", "#181818");

... to:

var fo = new SWFObject("../pub/galeries/saintes_04/viewer.swf", "viewer", "50%", "50%", "8", "#181818");

Your gallery's XML page should also be located in the same directory as your HTML page (at the location http://demolacave.exastores.com/pages/gallery.xml) but it, too, does not exist there.
Either move the 'gallery.xml' file or change:

fo.addVariable("xmlURL", "gallery.xml");

... to:

fo.addVariable("xmlURL", "../pub/galeries/saintes_04/gallery.xml");

Also, remember that the relative paths to the images within the 'gallery.xml' file are relative to the HTML file into which PostcardViewer is embedded.

Steven Speirs
SimpleViewer Support Team.

Re: work... sometimes

Shame on me, I tried so many different string but I forget ".."
Thanks a lot.