3
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>flash video refresh</title>
</head>
<body>
    <div id="PlayerZone"><embed height="496" width="580" flashvars="flvid=19742822&amp;createtime=2012-4-19 13:46:33" wmode="opaque" allowscriptaccess="always" allowfullscreen="true" quality="high" bgcolor="#000000" name="player" id="player" src="swf/mine.swf" type="application/x-shockwave-flash"></div>
<a onclick="return test();" id="test">click me popup a div,and hide the scrollbar</a>
</body>

上代码:</p>

例如,当我单击 a#test 按钮时,弹出一个 div,没问题,但我想在 div 弹出时隐藏滚动条。

我在 test() 函数中使用了 $('html').css('overflow','hidden') ,在大多数浏览器中都可以执行它,除了 FF(我使用的是 FF3.6)它会刷新 flash。

https://bugzilla.mozilla.org/show_bug.cgi?id=90268 (溢出/显示/位置导致此错误)

如何解决?谢谢

4

1 回答 1

0
    Hi thanks for asking these kind of question.

Better you use in a updated firefox version and try. if not 
     please refer this link this will help u i think. use local shared objects. 
    http://www.actionscript.org/forums/showthread.php3?t=79009
    http://flash.bigresource.com/How-to-protect-Flash-Videos-from-Being-Downloaded-KV9j8rfkn.html
    http://whatisgon.wordpress.com/2010/03/17/poking-around-in-the-firefox-cache-and-protecting-your-privacy-from-flash/
于 2012-06-08T12:52:55.393 回答