cannot see my swf
Posted by: joshuabarbour
Posted on: 2006-07-06 07:55:00
i've put the swf up on the ftp...then placed the html in notepad and named it index.html and now nothing loads on the website!! someone please help!!!
Posted by: joshuabarbour
Posted on: 2006-07-06 07:55:00
i've put the swf up on the ftp...then placed the html in notepad and named it index.html and now nothing loads on the website!! someone please help!!!
Posted by: guice
Posted on: 2006-07-06 09:06:00
uh?
You uploaded a shockwave file and then created an index.html file. Okay. Everything sounds normal here. What broke?
Posted by: norm1037
Posted on: 2006-07-06 09:41:00
In your index.html file did you have something like this (only a different swf file in the two portions
)
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" id="Flash1" height="263" width="396">
<param name="Movie" value="fish.swf">
<param name="Quality" value="AutoLow">
<param name="Loop" value="0">
<param name="Play" value="1">
<param name="Scale" value="ExactFit">
<param name="SAlign" value="L">
<embed id="Flash1" src="fish.swf" palette="background" quality="AutoLow" loop="FALSE" play="TRUE" scale="ExactFit" salign="L" alt="" pluginspage="http://www.macromedia.com/go/getflashplayer/" type="application/x-shockwave-flash" height="263" width="396">
--
Norm
Opinions are my own views and not the views of DreamHost.![]()
Any advice offered by me should be acted upon at your own risk.
Posted by: scjessey
Posted on: 2006-07-06 16:51:00
Posted by: gordaen
Posted on: 2006-07-06 17:36:00
I'd recommend against the embed tag, since it isn't XHTML compliant and was made by Netscape.
-G-
Check out Gordaen's Knowledge, the blog, and the MR2 page.
Posted by: norm1037
Posted on: 2006-07-07 00:46:00
Yes I agree about the embed tag. I was going to take it out before I pasted it but it was all I had to hand from my test site, and I was in a rush.
--
Norm
Opinions are my own views and not the views of DreamHost.![]()
Any advice offered by me should be acted upon at your own risk.
Posted by: gordaen
Posted on: 2006-07-07 07:43:00
Fair enough :) When strictly using the object tag, IE can have difficulty streaming, so one solution is a container movie, but that's starting to get a bit ahead.
Have you tried to access the swf directly from your browser (like http://www.domain.com/coolmovie.swf)? If that works, then all you need to add is something like this:
<object type="application/x-shockwave-flash" data="moviename.swf" width="640" height="480">
<param name="movie" value="moviename.swf" />
</object>
That's pretty much the bare minimum, if I remember correctly. Anyone know if you can use styles rather than attributes for setting the sizes on object tags? (and whether browsers will pay attention?)
Check out Gordaen's Knowledge, the blog, and the MR2 page.
Posted by: scjessey
Posted on: 2006-07-08 05:26:00
Did you not see my link above? All of the examples will work in any browser.