View Full Version : error code help with .swf file and .html file

07-27-2006, 07:40 PM
I am getting an error code I need to fix. Can you help please?
An .swf file is embedded in an .html page, which is opened in a new browser window by link. Everything works fine locally and on the server, except for viewing the page via internet, and opening the .swf file from the server directory. I am baffled. Please help!
Here are the links to the files in the directory.

http://johnnypants.com/flash/thefog.html (works)
http://johnnypants.com/flash/thefog.swf (doesn't work)

07-27-2006, 07:45 PM
In your HTML file, object has wrong parameters

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="400" height="100" id="thefog" align="middle">

in the above line give the the right width and height to your swf file.

07-27-2006, 07:49 PM
are ya talkin about height width or functioning??
sorry if i misunderstood!

07-27-2006, 07:57 PM
thank you, I mean functioning.
Did you see the error code, or did it work for you?

07-28-2006, 12:30 PM
They both work, i can't see any errors! :shock:

07-28-2006, 04:03 PM
thank you very much, you guys are allways good for help.
I removed IE7, and in IE6, everything works fine now. I hope IE7 won't bring any big problems.