Have slideshowpro but having difficulties using the SWFObjects technique. The following is only my test page with 2 pics exactly the same (which you can see changing between one another) http://www.archivesociety.co.uk/ and you can see SSP only shows partially.
Have uploaded the required pages (well i think i have), which are .xml, .html, .swf and the swfobject.js. My code is as follows-
<script type="text/javascript" src="swfobject.js"></script> (which is near top of hmtl doc)
<div id="flashcontent"><p>This part of this site requires Macromedia Flash Player Version 7 or higher. If you can see this text you either do not have the Flash Player installed or have javascript turned off. <a href="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">Click here to download and install Flash Player.</a></p> </div><!--Closes #flashcontent-->
<script type="text/javascript"> // <![CDATA[
var so = new SWFObject("slideshow.swf", "slideshow", "478", "264", "7", "#FFFFFF");
If it vanishes when you remove the object tag then you're most likely not referencing the swfobject.js properly. This line tells the browser where the swfobject.js file is that you uploaded: <script type="text/javascript" src="swfobject.js"></script> If you put it inside a folder when you uploaded it then you need to change the src path. ie. src="myfolder/swfobject.js"
The following script makes use of the swfobject.js to display the swf file. <script type="text/javascript"> // <![CDATA[
var so = new SWFObject("slideshow.swf", "slideshow", "478", "264", "7", "#FFFFFF");
According to your object tag code your swf lives in: "slideshow/slideshow.swf" which means the above code needs to use the same reference - var so = new SWFObject("slideshow/slideshow.swf", "slideshow", "478", "264", "7", "#FFFFFF");
jbw, that seems to make sense. Will have to test this when I get home later. Just to clarify, yes my slideshow and JS file resides within a folder. Eg. Folder1. Therefore, the source code will be
You are correct about the first step but I think you're getting confused with the 2nd step. If your slideshow and JS file reside within a folder, eg Folder1 the source code will be:
var so = new SWFObject("folder1/slideshow.swf", "slideshow", "478", "264", "7", "#FFFFFF");
it's all relative to the location of the html file.
Just noticed in design view there is now a flash image backgrd supposedly for the slideshow. It is centred with the image broke picture.
Completed the required data and images still dont show. My folder where everything is harvested is "soderhavet", therefore my src - <script type="text/javascript" src="Soderhavet/swfobject.js"></script>
The rest - var so = new SWFObject("Soderhavet/slideshow.swf", "slideshow", "478", "264", "7", "#FFFFFF");
Also took out the object file. Am completely stumped...
The absolute path from your homepage html file for the swfobject is http://www.archivesociety.co.uk/swfobject.js so your include script would be: <script type="text/javascript" src="http://www.archivesociety.co.uk/swfobject.js"></script> or the relative path would be: <script type="text/javascript" src="swfobject.js"></script>
before I get carried away, while the player shows, my images dont. I checked to see where my images resided with the below and everything fine here. Not sure what is wrong but having said that, when I try and publish the same page in flash to view in html, the images also dont load. Maybe something is wrong in my XML?
Lastly, does anyone know in http://www.archivesociety.co.uk/about%20us.html while the right hand side has broken out? Also my slideshow is alot smaller than my flash image though I suppose i can play around with this...