swf不能访问html的问题
SecurityError: Error #2060: 安全沙箱冲突:ExternalInterface 调用者 file://E:\flexProject\ch_chess\bin-release\ch_chess.swf 不能访问 file://E:\flexProject\ch_chess\bin-release\ch_chess.html。
解决办法:
<object type="application/x-shockwave-flash" data="/player/loader.swf" width="100%" height="100%" id="1g1gPlayer" bgColor="#333333">
<param name="movie" value="/player/loader.swf"/>
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value ="always" />
</object>
<param name="movie" value="/player/loader.swf"/>
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value ="always" />
</object>
如果不行就是沙箱问题,debug版本是忽略沙箱的,用netbox服务器调试,vs自带的develop服务器似乎不行
沙箱问题,用EditPlus预览也行