erikober
09-27-2008, 01:00 AM
Hello.
This is the first time I have had to jump through this hoop, and having no luck. Basically IE6 yells at me with the restricting active content message no matter what I have tried. I have published a Flash 9 swf with the "Access local files only" setting flipped on in the publish settings, tried adding the swf through Dreamweaver as well as adding the Mark of the Web through the menu, embedding with emebed tags, embedding with object tags.
Lastly I just picked up the default example page that is included with the swfObject download files, which also has the Mark of the Web code, and again no luck (shown below). The swf displays fine in IE6 and Firefox. Perhaps the Mark of the Web method isn't totally bulletproof with the archaic IE6?
Any advice of how I can get around this is very appreciated!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SWFObject embed by Geoff Stearns (full page) @ deconcept</title>
<!-- SWFObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/ -->
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">
/* hide from ie on mac \*/
html {
height: 100%;
overflow: hidden;
}
#flashcontent {
height: 100%;
}
/* end hide */
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #f60;
}
</style>
</head>
<body>
<div id="flashcontent">
<strong>You need to upgrade your Flash Player</strong>
This is replaced by the Flash content.
Place your alternate content here and users without the Flash plugin or with
Javascript turned off will see this. Content here allows you to leave out <code>noscript</code>
tags. Include a link to <a href="fullpage.html?detectflash=false">bypass the detection</a> if you wish.
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("so_tester.swf", "sotester", "100%", "100%", "8", "#FF6600");
so.addVariable("flashVarText", "this is passed in via FlashVars for example only");
so.addParam("scale", "noscale");
so.write("flashcontent");
// ]]>
</script>
</body>
</html>
This is the first time I have had to jump through this hoop, and having no luck. Basically IE6 yells at me with the restricting active content message no matter what I have tried. I have published a Flash 9 swf with the "Access local files only" setting flipped on in the publish settings, tried adding the swf through Dreamweaver as well as adding the Mark of the Web through the menu, embedding with emebed tags, embedding with object tags.
Lastly I just picked up the default example page that is included with the swfObject download files, which also has the Mark of the Web code, and again no luck (shown below). The swf displays fine in IE6 and Firefox. Perhaps the Mark of the Web method isn't totally bulletproof with the archaic IE6?
Any advice of how I can get around this is very appreciated!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SWFObject embed by Geoff Stearns (full page) @ deconcept</title>
<!-- SWFObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/ -->
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">
/* hide from ie on mac \*/
html {
height: 100%;
overflow: hidden;
}
#flashcontent {
height: 100%;
}
/* end hide */
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #f60;
}
</style>
</head>
<body>
<div id="flashcontent">
<strong>You need to upgrade your Flash Player</strong>
This is replaced by the Flash content.
Place your alternate content here and users without the Flash plugin or with
Javascript turned off will see this. Content here allows you to leave out <code>noscript</code>
tags. Include a link to <a href="fullpage.html?detectflash=false">bypass the detection</a> if you wish.
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("so_tester.swf", "sotester", "100%", "100%", "8", "#FF6600");
so.addVariable("flashVarText", "this is passed in via FlashVars for example only");
so.addParam("scale", "noscale");
so.write("flashcontent");
// ]]>
</script>
</body>
</html>