Web Hosting Talk







View Full Version : swf works on Linux but not Windows server. Why?


robertk1
11-06-2009, 02:09 AM
I had a page running nicely on Linux, then switched to a Windows based server. I am starting to hate Windows.

The SWF file that worked previously, now doesn't and I can't make it work.

I've scratched my head until I can't scratch any more.... any help is appreciated.

Here is the page:
http://lifespine.com/

Here is the code I tried:

---------------------------------
<embed FlashVars="showId=0&pwidth=400&pheight=400" src="http://lifespine.com/images/Animation.swf"
width="400" height="400">
</embed>
---------------------------------
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="400" height="400" id="tech" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="images/Animation.swf" />
<param name="quality" value="high" />
<embed src="images/Animation.swf" quality="high" width="400" height="400" name="tech" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
---------------------------------
<object width="400" height="400">
<param name="movie" value="/images/Animation.swf">
<embed src="/images/Animation.swf" width="400" height="400">
</embed>
</object>
---------------------------------
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="32" height="32">
<param name="movie" value="images/Animation.swf">
<param name="quality" value="high">
<embed src="images/Animation.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed></object>
---------------------------------

Any suggestions are welcome, I gotta get this running before I can turn in tonight.

Thanks!

foobic
11-06-2009, 03:02 AM
Seems like the Animation.swf file is corrupted. Have you tried comparing it to a known-good copy or uploading it again?

robertk1
11-06-2009, 03:05 AM
You are great!

That was the problem....<sigh> 3 hours of my life spent on the coding and it is the graphic.

And I don't have the time to spare anymore!

Thanks for catching that.