Thanks Boddy, my HTML/Javascript looks proper. I would think there's
a problem with my Flash Movie, except that it works if I use the embed
tag. I also thought perhaps, javascript is simply trying to call the
AS function before the SWF is loaded, but if I call the function on a
scroll event, and scroll once the SWF is loaded, I get the same 'no
External Interface function' error message.
<link rel=StyleSheet type="text/css" href="../resources/css/
style.css" />
<script type="text/javascript" src="../resources/scripts/
browserDetect.js"></script>
<script type="text/javascript" src="../resources/test/swfobject.js"></
script>
<script type="text/javascript">
swfobject.registerObject("MySWF", "9.0.45", "../resources/
test/
expressinstall.swf");
var obj = swfobject.getObjectById("MySWF");
if (obj && typeof obj.ExtInterfaceScroller != "undefined") {
alert('External Interface available');
} else {
alert('no External Interface function available');
}
</script>
<script type="text/javascript" src="../resources/scripts/
resize2.js"></
script>
</head>
<body>
<div id="ONE">
<object id="MySWF" classid="clsid:D27CDB6E-
AE6D-11cf-96B8-444553540000" width="100%" height="100%">
<param name="movie" value="One.swf" />
<param name="allowScriptAccess"
value="sameDomain" />
<!--[if !IE]>-->
<object name="MySWF" type="application/
x-shockwave-flash"
data="One.swf" width="100%" height="100%">
<!--<![endif]-->
<div><p align="center"><br /
><br /><br />-- Requires Adobe Flash
Player 9.0.45 or higher --<br /><br /><a href="
http://www.adobe.com/
go/
getflashplayer"><img src="../resources/images/getFlash.gif" alt="Get
Flash Player" width="112" height="33" /></a></p></div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
<div id="SCROLLER">
<div id="FHEIGHT">
</div>
</div>
</body>
</html>