【问题标题】:flash website content box hiding the menuflash 网站内容框隐藏菜单
【发布时间】:2013-03-21 06:15:42
【问题描述】:

我的网站是: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>

【问题讨论】:

  • 这种行为似乎是在 Flash 中定义的(不是您在上面发布的 HTML),因为您的整个网站都是 Flash 内容,填充了整个浏览器窗口。
  • @Lars Blåsjö,我发布的代码底部有一些 Flash 内容。不是覆盖菜单吗?
  • 菜单是 Flash 内容的一部分。都是 Flash,所有的内容(“100%”的宽度和高度)。

标签: flash onmouseover onmousemove


【解决方案1】:

您必须编辑 .swf 的代码,在其中添加一些 MouseEvent。如果此变体适合您,请告诉我您的 AS 代码,我会提供帮助。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-11-16
    • 1970-01-01
    • 2018-06-20
    • 1970-01-01
    • 2012-03-20
    • 1970-01-01
    • 1970-01-01
    • 2020-11-02
    相关资源
    最近更新 更多