【发布时间】:2010-12-15 09:48:51
【问题描述】:
可以在嵌入在 background.html 和 background.html 上的 SWF 之间使用 ExternalInterface 吗?
当 creationComplete 时,调用 ExternalInterface.call("alert", "test"),但没有任何反应。
当 background.html 作为文件打开时,它可以工作。
SWF 和 bacground.html 在同一个目录中。
SWF添加全局安全面板和flash.system.Security.allowDomain("*");
谷歌浏览器是最新版本。
【问题讨论】:
标签: javascript actionscript-3 google-chrome google-chrome-extension externalinterface