Hello,

I am embedding a multi-video .swf player on a page and I am almost there. The player and videos are working fine, but I lose my scrollbars on the page.

This is the error message:

Line: 60
Error: 'swfmacmousewheel' is null or not an object


From this code:

<head>
<title>Dynamic Flash Video Gallery</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript" src="js/swfmacmousewheel2.js"></script>
<script type="text/javascript">

var vars = {xmlURL:'gallery.xml' ,autoplay:'false',videoHeight:'328', videoWidth:'594'};
var params = { scale:'noScale', salign:'lt', menu:'false', bgcolor:'3a362f', allowfullscreen:'true' };
var attributes = { id:'testObject', name:'testObject' }; // give an id to the flash object

swfobject.embedSWF("preview.swf", "flashContent", "812", "360", "9.0.0", "js/expressInstall.swf", vars, params, attributes );
swfmacmousewheel.registerObject(attributes.id);

</script>
<style type="text/css" media="screen">
html, body, #flashContent { height:100%; background-color:#3a362f; }
body { margin:0; padding:0; overflow:hidden; }
</style>
</head>

<body bgcolor="#3a362f" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll="no">
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<th align="center" valign="middle">
<div id="flashContent">
<h1>Alternative content</h1>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</th>
</tr>
</table>
</body>
</html>


I have pasted this code in Xara as a paceholder which has been copied from a sample hmtl [age that came with the player.

Thanks for you help!