not loading into sub directories
Hi,
I'm having trouble getting the xml file to load into files located in my subdirectory. The swf, xml, and js are in the root and work fine when called by other files in the root, but when I reference the files from a subdirectory it doesn't load. Is there somewhere in the flash file or js that will fix this? Below is how I'm referencing the files from the subdirectory if that helps and I've tried to reference them with an absolute url, but that didn't work either. Any help would be appreciated.
<div id="flashcontent">You need to upgrade your browser</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("../menutabs.swf", "flash", "983", "52", "8", "#000000");
so.addVariable("xml", "../data.xml");
so.write("flashcontent");
// ]]>
</script>
Thanks
Last edited by cmb; 06-18-2008 at 04:53 PM.
Reason: added code
|