[SWFObject] SymOnLoad() Problem.. I think...

domenic santangelo domenics at gmail.com
Fri Dec 8 16:07:49 PST 2006


Hi, all.

I'm using SWFObject as follows:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>KCE</title>
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">
body {
	margin:0px;
background-image:
url(backg.jpg);
background-repeat: no-repeat;
background-color: #ffffff;
text-align: center;
}
</style>
</head>
<body>
<div id="flashcontent">
	
	If you're seeing this, you don't have Flash or Javascript enabled, or
you're running Norton Internet Security. Just give us a call at
916-xxx-xxxx!
</div>

<script type="text/javascript">
   var so = new SWFObject("expo.swf", "expo", "1000", "600", "9", "#ffffff");
   so.addParam("quality", "high");
   so.addParam("wmode", "transparent");
   so.addParam("align", "middle");
   so.addParam("allowScriptAccess", "sameDomain");
   so.write("flashcontent");

</script>

<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
<!--
var sc_project=2058716;
var sc_invisible=1;
var sc_partition=18;
var sc_security="276d2835";
//-->
</script>

<script type="text/javascript" language="javascript"
src="http://www.statcounter.com/counter/counter.js"></script><noscript><a
href="http://www.statcounter.com/" target="_blank"><img
src="http://c19.statcounter.com/counter.php?sc_project=2058716&java=0&security=276d2835&invisible=1"
alt="free web site hit counter" border="0"></a> </noscript>
<!-- End of StatCounter Code -->
</body>
</html>

--------------------
On machines with Norton Internet Security, it doesn't work. The
SWFObject doesn't load. NIS adds some SymOnLoad() stuff, as you're
probably already aware.

I've spent the last 2 hours Googling, and can't figure out a good
solution, short of not using SWFObject anymore. I'd like to keep using
it, so if you can help...

Thanks,
Domenic



More information about the Swfobject mailing list