Forums  

Go Back   Forums > Talk > General FPP Discussion

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-16-2009, 04:02 PM
scheving scheving is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Downloads: 0
Uploads: 0
Default path issues

I have been searching the forum here, and seen a few posts about this problem, however I haven't been able to figure this out... I know, shame on me!

This is a problem with paths..

My structure:
My html page is here: mysite.com/places/place1.html
and has this code:
Code:
  <script type="text/javascript" src="../files/swfobject.js"></script>
<div id="flashcontent">This content requires <a href="http://www.adobe.com/go/getflashplayer/">Adobe Flash Player</a> and a browser with JavaScript enabled.<br />
  Built on <a href="http://flashpanoramas.com/player/">Flash Panorama Player</a>.</div>
<script type="text/javascript">	  
	var so = new SWFObject("files/show_pano.swf", "pano", "960", "500", "6.0.65", "#282828"); 	  
	so.addVariable("movie", "files/pano.swf");
	so.addVariable("xml_file", "xml/jokulsargljufur.xml")	  
	so.addVariable("redirect", window.location);	  
	so.addParam("allowFullScreen","true");	  
	so.addParam("allowScriptAccess","sameDomain");	  
	so.write("flashcontent");    
</script>
But the xml file and the swf files don't load, I assume that is because of some path issues.

I hope you guys understand what I mean, difficult to get this into words
Reply With Quote
 

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
Forum Jump


All times are GMT. The time now is 05:11 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.