http://gallery.stevesobol.com/activex-plain.html works in Firefox 1.5 and
Opera 9 but not in IE 6, and I can't figure out why.
The IE developer toolbar's DOM inspector shows the OBJECT tag and the PARAM
tags inside it, and if I don't have the Javascript in an external file, I'll
get the "click here to activate" tooltip and the border around what is
supposed to be the Flash movie. If I right-click inside the border, I get the
Flash context menu. The movie just doesn't load.
Any help would be appreciated.
<html><head><title>foo</title>
<script>
function foo() {
AXObject = document.createElement("object");
AXObject.type="application/x-shockwave-flash";
AXObject.data="flashtest.swf";
AXObject.width="200";
AXObject.height="50";
AXObject.style.visibility="visible";
var p=document.createElement("param");
p.name="movie";
p.value="flashtest.swf";
AXObject.appendChild(p);
var p=document.createElement("param");
p.name="quality";
p.value="high";
AXObject.appendChild(p);
document.body.appendChild(AXObject);
}
</script>
</head>
<body id="foo" onload="foo()">
</body>
</html>
Help!
Thanks,
Steve
--
Steve Sobol, Professional Geek ** Java/VB/VC/PHP/Perl ** Linux/*BSD/Windows
Apple Valley, California PGP:0xE3AE35ED
It's all fun and games until someone starts a bonfire in the living room.