使用 AllowNetworking Flash的世界安靜了
更新時間:2007年03月02日 00:00:00 作者:
經(jīng)常遇到有人喜歡利用 Flash 的 getURL 進行跳轉,而且 allowScriptAccess 還無法限制。 今天問同事,學到一個新的屬性 AllowNetworking ,可以防止任何getURL的動作。
看看官方的說明哈
引用內(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)容
復制代碼 代碼如下:
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.
相關文章
給所有ActionScript初學者的一點建議 經(jīng)典
這篇文章主要給大家介紹了關于對ActionScript初學者的一點建議的相關資料,需要的朋友可以參考下2006-12-12