popunonkok
11-28-2007, 07:37 PM
My wierd problem is as follows:
I sometimes deliver panos on a cd and want a folder structure that allows me to have the first folder with (almost) only one (or more) .htm files named something like pano1.htm so that my custumer just have to dubbelclick that file, nothing else. I thought that this would be verry simple.
But when I have a html file with the code:
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("pano/pano1.swf", "pano", "300", "150", "9", "#666666");
so.write("flashcontent");
</script>
FPP says "Loading failed" wich I belive means that the path to the .swf file is correct.
The pano works when I move the html file into the folder "pano" and change the code to:
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("pano1.swf", "pano", "300", "150", "9", "#666666");
so.write("flashcontent");
</script>
To me this is wierd, I mean it is just a simple path.
Please, anyone, help me... Im starting to get desperate...
//Peter F
I sometimes deliver panos on a cd and want a folder structure that allows me to have the first folder with (almost) only one (or more) .htm files named something like pano1.htm so that my custumer just have to dubbelclick that file, nothing else. I thought that this would be verry simple.
But when I have a html file with the code:
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("pano/pano1.swf", "pano", "300", "150", "9", "#666666");
so.write("flashcontent");
</script>
FPP says "Loading failed" wich I belive means that the path to the .swf file is correct.
The pano works when I move the html file into the folder "pano" and change the code to:
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("pano1.swf", "pano", "300", "150", "9", "#666666");
so.write("flashcontent");
</script>
To me this is wierd, I mean it is just a simple path.
Please, anyone, help me... Im starting to get desperate...
//Peter F