Forum Moderators: open

Message Too Old, No Replies

Embedding a Flash Slideshow

Slideshow doesn't load when in another folder

         

wsamoht

2:42 am on Feb 13, 2008 (gmt 0)

10+ Year Member



I am trying to embed a flash slide show in XHTML strict.

This is the code I am using and that is not working:

<object type="application/x-shockwave-flash" data="/slideshows/newlyweds.swf" width="500" height="500">
<param name="movie" value="/slideshows/newlyweds.swf" />
</object>

I first used:
<object type="application/x-shockwave-flash" data="newlyweds.swf" width="500" height="500">
<param name="movie" value="newlyweds.swf" />
</object>
This code works fine, the flash file and images are in the same folder as the html file.

However, I have many flash slide shows for many pages so I am trying to put them in sub-folders (slideshows/newlyweds.swf). When I do that the flash file is not showing up on my html page. I tried linking them directly, http://www.example.com/slideshows/newlyweds.swf but that didn't work either.

phranque

5:08 am on Feb 13, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



did you clear your cache before testing?

by the way, welcome to WebmasterWorld [webmasterworld.com], wsamoht!
thanks for delurking...

wsamoht

12:54 pm on Feb 13, 2008 (gmt 0)

10+ Year Member



Thanks for your reply but it is still not working...

jpl80

1:28 pm on Feb 13, 2008 (gmt 0)

10+ Year Member



did you ever get this working? Your paths might be wrong because if you go to the .swf file directly, it should work.

I still think embedding in the xhtml is the way to go, but testing to see if the .swf is there is a good idea.

What version of flash are you using? Are you publishing to html and swf?

wsamoht

2:36 pm on Feb 13, 2008 (gmt 0)

10+ Year Member



It does work going directly to the .swf file, but linking directly to the .swf in my html (http://www.example.com/slideshows/newltweds.swf) it doesn't work.

I am using flash 9,0,115,0.

I am not embedding because it doesn't validate.

Maybe I will just put each .html file with its slideshow in their own separate folder.