开发者

Externally disable link embedded in .swf file?

I inherited a project from a lax developer who left me NO source files. On the main page of our website is a .swf file in which the previous developer embedded an incorrect link. So now the Flash movie links to a page that is no longer开发者_开发百科 active, which is frustrating. I have only the .swf file, no .fla files. Is there any way to externally disable the link embedded in the .swf file?

Thanks!


You can disable all links within the SWF directly using parameters in your html object: param name="allowScriptAccess" value="never" param name="allowNetworking" value="internal"


The problem with setting "allowScriptAccess" to "never" is that it removes the ability to control the object with Javascript. Eugene M provided the correct answer, which is to place a transparent div on top of the Flash movie using a higher z-index. I wrote about this here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜