使用 AllowNetworking Flash的世界安靜了
更新時(shí)間:2007年03月02日 00:00:00 作者:
經(jīng)常遇到有人喜歡利用 Flash 的 getURL 進(jìn)行跳轉(zhuǎn),而且 allowScriptAccess 還無(wú)法限制。 今天問同事,學(xué)到一個(gè)新的屬性 AllowNetworking ,可以防止任何getURL的動(dòng)作。
看看官方的說(shuō)明哈
引用內(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.
看看官方的說(shuō)明哈
引用內(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)文章
給所有ActionScript初學(xué)者的一點(diǎn)建議 經(jīng)典
這篇文章主要給大家介紹了關(guān)于對(duì)ActionScript初學(xué)者的一點(diǎn)建議的相關(guān)資料,需要的朋友可以參考下2006-12-12Flash與后臺(tái)數(shù)據(jù)交換方法整理
Flash與后臺(tái)數(shù)據(jù)交換方法整理...2007-02-02Flash中常用到的ActionScript控制語(yǔ)句用法
Flash中常用到的ActionScript控制語(yǔ)句用法...2007-03-03