#1 (permalink)  
Old 06-18-2008, 02:40 AM
cmb cmb is offline
Junior Member
 
Join Date: Jun 2008
Posts: 1
Default 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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.