使用 AllowNetworking Flash的世界安靜了
更新時(shí)間:2007年03月02日 00:00:00 作者:
經(jīng)常遇到有人喜歡利用 Flash 的 getURL 進(jìn)行跳轉(zhuǎn),而且 allowScriptAccess 還無法限制。 今天問同事,學(xué)到一個(gè)新的屬性 AllowNetworking ,可以防止任何getURL的動(dòng)作。
看看官方的說明哈
引用內(nèi)容
This HTML parameter governs a number of ActionScript
APIs. It has the following possible values:
"all"—the default. No networking restrictions; player
behaves normally.
"internal"—SWF files may not call browser navigation or
browser interaction APIs, but may call any other networking
APIs.
"none"—SWF files may not call any networking APIs, nor
any SWF-to-SWF communication APIs.
看看官方的說明哈
引用內(nèi)容
復(fù)制代碼 代碼如下:
This HTML parameter governs a number of ActionScript
APIs. It has the following possible values:
"all"—the default. No networking restrictions; player
behaves normally.
"internal"—SWF files may not call browser navigation or
browser interaction APIs, but may call any other networking
APIs.
"none"—SWF files may not call any networking APIs, nor
any SWF-to-SWF communication APIs.
相關(guān)文章
FlashObject之Flash的檢測(cè)和嵌入Javascript腳本
FlashObject之Flash的檢測(cè)和嵌入Javascript腳本...2007-03-03
使用 AllowNetworking Flash的世界安靜了
使用 AllowNetworking Flash的世界安靜了...2007-03-03

