我的网站是:http://harringtonplanningdesign.com 当我在闪光灯盒上移动光标时,菜单消失。当光标位于Flash内容框中时,如何防止菜单隐藏?这意味着我不想在移动鼠标时隐藏菜单。
主页代码在这里:
<html>
<head>
<title>Harrington Planning + Design</title>
<script type="text/javascript" src="com/swfobject/swfobject.js"></script>
<script type="text/javascript" src="com/swfaddress/swfaddress.js"></script>
<script type="text/javascript" src="com/pixelbreaker/swfmacmousewheel.js"></script>
<style type="text/css">
html {
height: 100%;
overflow: hidden;
overflow-y: hidden;
}
#flashcontent {
height: 100%;
}
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #FFFFFF;
overflow-y: hidden;
}
</style>
</head>
<body>
<div id="flashcontent">
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject('container.swf', 'container', '100%', '100%', '9', '#FFFFFF');
so.useExpressInstall('com/swfobject/expressinstall.swf');
so.addParam('allowFullScreen','true');
so.addParam('menu','false');
if( so.write('flashcontent') )
{
var macmousewheel=new SWFMacMouseWheel(so);
}
// ]]>
</script>
</body>
答案 0 :(得分:0)
您必须编辑.swf的代码,并在其中添加一些MouseEvent。如果此变体适合您,请告诉我您的AS代码,我会帮助您。