Flash AS3禁用右键菜单

2009-04-02 14:13:40

看似不错! [html] <html> <head> <meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /> <title>RIGHT CLICK DEMO / AS3</title> <script type=&#34;text/javascript&#34; src=&#34;http://www.uza.lt/rightclick/swfobject.js&#34;></script> <script type=&#34;text/javascript&#34; src=&#34;http://www.uza.lt/rightclick/rightClick.js&#34;></script> </head> <body onload=&#34;RightClick.init();&#34;> <div id=&#34;flashcontent&#34;>Flash Player 9 required</div> <script type=&#34;text/javascript&#34;> var so = new SWFObject(&#34;http://www.uza.lt/rightclick/RightClick.swf&#34;, &#34;customRightClick&#34;, &#34;560&#34;, &#34;420&#34;, &#34;9&#34;, &#34;#CCCCCC&#34;); so.addParam(&#34;quality&#34;, &#34;high&#34;); so.addParam(&#34;name&#34;, &#34;customRightClick&#34;); so.addParam(&#34;id&#34;, &#34;customRightClick&#34;); so.addParam(&#34;AllowScriptAccess&#34;, &#34;always&#34;); so.addParam(&#34;wmode&#34;, &#34;opaque&#34;); so.addParam(&#34;menu&#34;, &#34;false&#34;); so.addVariable(&#34;variable1&#34;, &#34;value1&#34;); so.write(&#34;flashcontent&#34;); </script> </body> </html> [/html] 如果看不到,请点击:[url=http://www.uza.lt/rightclick/]http://www.uza.lt/rightclick/[/url]