【发布时间】:2014-07-22 12:15:32
【问题描述】:
我不知道如何告诉闪存让 swf 文件连接。 我也使用了 crossdomain.xml,但没有任何改变。 这是xml代码:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
这是我从自己的计算机上运行 swf 文件时出现的错误(这个已解决):
SecurityError: Error #2028: Local-with-filesystem SWF file file:///*/index.swf cannot access Internet URL http://maps.googleapis.com/*.
at flash.display::Loader/_load()
at flash.display::Loader/load()
at BootstrapConfiguration/loadAddingAcceptLanguageHeaderIfAir()
at com.google.maps::ClientBootstrap/loadUrl()
at com.google.maps::ClientBootstrap/internalLoadBootstrap()
at com.google.maps::ClientBootstrap/executeNextFrameCalls()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
当我从网站运行 swf 文件时出现错误:
Initialization failed: please check the API key,
swf location, version and network availability.
我现在该怎么办!?
【问题讨论】:
标签: actionscript-3 flash google-maps api-key