# IE 6 Trouble Viewing SWF

**URL:** <https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404>\
**Category:** web dev\
**Created:** [August 9, 2004, 4:49pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404 "2004-08-09T16:49:17Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![wyclef](https://avatars.discourse-cdn.com/v4/letter/w/65b543/32.png) [@wyclef](https://forum.kirupa.com/u/wyclef)\
**Post date:** [August 9, 2004, 4:49pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404/1 "2004-08-09T16:49:17Z")

</div>

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.

```auto

<!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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 9, 2004, 6:33pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404/2 "2004-08-09T18:33:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 9, 2004, 7:05pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404/3 "2004-08-09T19:05:29Z")

</div>

who is DDD?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 9, 2004, 7:14pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404/4 "2004-08-09T19:14:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 9, 2004, 10:40pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404/5 "2004-08-09T22:40:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 9, 2004, 10:52pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404/6 "2004-08-09T22:52:50Z")

</div>

> [@simplistik](#):
>
> 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](http://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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 10, 2004, 10:09pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404/7 "2004-08-10T22:09:57Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2004, 2:23pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404/8 "2004-08-11T14:23:00Z")

</div>

???

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2004, 3:53pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404/9 "2004-08-11T15:53:13Z")

</div>

Any ideas?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2004, 7:13pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404/10 "2004-08-11T19:13:51Z")

</div>

???

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2004, 7:16pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404/11 "2004-08-11T19:16:01Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 21, 2004, 3:19pm UTC](https://forum.kirupa.com/t/ie-6-trouble-viewing-swf/60404/12 "2004-09-21T15:19:36Z")

</div>

hmm…
