Author Topic: Pathing issues and folder structures.  (Read 866 times)

Pantalon

  • Newbie
  • *
  • Posts: 2
Pathing issues and folder structures.
« on: March 30, 2010, 08:39:16 pm »
Hi,

I have always kept the megazine.swf and the index.html (the loading page) in the same folder and used swfobject to embed the SWF. When I moved the SWF to a different folder and loaded the SWF, the pages don't load. In fact, the requests for the pages aren't even made (checked in Fire Bug). I use absolute paths for the "src" attribute of the "img" node. The post page does appear, however. I know I'm pathing to the XML correctly because other data from the XML (such as the postpage) is working.

So to sum it up, if the megazine.swf is not in the same directory as the index.html, the pages don't load. Any thoughts?

Pantalon

  • Newbie
  • *
  • Posts: 2
Re: Pathing issues and folder structures.
« Reply #1 on: March 31, 2010, 12:35:57 am »
After going back and re-reading some of the older posts, I might have solved the problem.

Looks like the main megazine.swf needs some external files in order to run properly. When I copy and pasted the interface.swf and the language xml's to the same folder as the megazine swf, it worked again.

Still not sure exactly how all this fits together, but it seems that those files are essential for the main megazine.swf to work at all, even if you don't think you use them.