Topic: Multiple directories
I have everything working fine when all files are within one directory but not when I try place the "calling" index file from outside the directory where the xml and swf files are.
This is part of the code that sits in the calling index.htm file
var fo = new SWFObject("../viewer_deli/viewer.swf", "../viewer_deli/viewer", "100%", "100%", "8", "#FFFF99" );
However if I move this index file outside of the directory where the xml and swf file are, postcardviewer will not work. Note I have the xml and viewer.swf pointed to the correct directory so it should work?
(the reason I need to do this is because I have multiple postcardviewers within one application and I have therefore placed them all in separate directories. For other reasons I would prefer to put the index files calling each viewer in the top directory of the website. I am using lightroom 2 to generate swf