IE 6 Trouble Viewing SWF

Hi,

I’m having trouble viewing my swf movie in IE 6 on PC only. If I resize the browser window it works fine. Can someone check out my code? It works perfectly in every other browser.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>

		<title>Design</title>

		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<meta http-equiv="Content-Language" content="en-us" />
		<meta http-equiv="imagetoolbar" content="false" />
		<meta name="MSSmartTagsPreventParsing" content="true" />
		
		<link rel="stylesheet" type="text/css" href="/css/master.css" title="Style Sheet" media="screen" />

		
		<script language="Javascript" type="text/javascript" src="scripts/time.js"></script>
		<script language="Javascript" type="text/javascript" src="scripts/pop.js"></script>
		
	</head>

	<body bgcolor="#FFFFFF">
		
		<div id="test">
			<script language="Javascript" type="text/javascript" src="scripts/write.js"></script>
			<noscript>

				<object type="application/x-shockwave-flash" data="mymovie_day.swf" width="100%" height="100%">
					<param name="MOVIE" value="mymovie_day.swf" />
				</object>
			</noscript>
		</div>
		
	</body>
</html>

If you need to look at any of the scripts let me know.

I’ll be like DDD and say… try takin out the DOCTYPE line and see what happens.

who is DDD?

It seems to work once the Doctype is removed. Now what

DDD is a MOD here… and everytime someone has issues w/ their html his first answer is Remove the Doctype… and oddly enough… that almost always fixes it.

As for the rest of the problems… I guess you’ll need to shoot us a link so we can help you trouble shoot it. I dunno if this is a secret, not to be disclosed website or what not… but that’s the best way we can help.

Yea DW puts in a weird doc-type by default that hardly no browser interprets right. But DOCTYPES are our friends you just need to know how to use them. And what they do in the browser. www.w3schools.com I believe has stuff on it. I learned the hard way after days of banging my head on the screen you learned after one post. Anyway best thing to do is post a link to the site and let us do our own view source and testing. The code does not help much as it is not visual enough, for me that is.

Ok, here are all the files files involved. I stripped things down even more to simplify things further. Just keep in mind that, everything works 100% Perfect as is now, except in IE 6 on PC you have to resize the browser window to get the swf movie to appear. With DOCTYPE…no go… without DOCTYPE…yay!! Me want DOCTYPE!

???

Any ideas?

???

you only used the object tag, ie requires the embed as well :wink:

look at how dw embeds swf’s by default, or look at ala’s tut on using valid code for embedding flash :wink:

hmm…