The issues you are having, are simply related to paths. There are 4 "flaws" in your new page
http://www.nondo.net/okay.php :
1) Since you have moved the file, the path to the javascript in the source is incorrect. You are using:
src="javascript/swfobject_source.js"
It should be:
src="upload/javascript/swfobject_source.js"
2) You have not included a "div" tag block in your sourcecode for where the javascript is supposed to create the slideshow swf. In our default slideshow.php file, we have:
<div id="slideshow">www.photo.gallery slideshow module</div>
...
so.write("slideshow");
In your code, you are completely missing the necessary <div id="slideshow"> tag where the slideshow is created from the javascript.
3) The path to the swf is "nearly" correct. You are using:
var so = new SWFObject("./upload/slideshow.swf" ...
It should be:
var so = new SWFObject("upload/slideshow.swf" ...
You should use relative paths, and not root-relative because flash may not understand this.
4) Finally, you need to add the
globalpath parameter, so that the slideshow understands the true location of the slideshow files and scripts. To your source, add the following line:
so.addVariable('globalpath','upload/');
Fix these issues, and your slideshow should work as a dream!
