SecurityError:错误 #2028:本地文件系统 SWF 文件

编程入门 行业动态 更新时间:2024-10-28 08:21:57
本文介绍了SecurityError:错误 #2028:本地文件系统 SWF 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我不知道如何告诉闪存让 swf 文件获得连接.我也使用了 crossdomain.xml,但没有任何改变.这是xml代码:

I don't know how to tell the flash to let the swf file get connected. I used the crossdomain.xml as well but nothing have changed. here is the xml code:

<?xml version="1.0"?>


        <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia/xml/dtds/cross-domain-policy.dtd">


        <cross-domain-policy>


            <allow-access-from domain="*" />


        </cross-domain-policy>

这是我在自己的电脑上运行 swf 文件时出现的错误(已解决):

and here is the error on the swf file when i run it from my own computer(this one solved):

SecurityError: Error #2028: Local-with-filesystem SWF file file:///*/index.swf cannot access Internet URL http://maps.googleapis/*.
    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 文件时出现错误:

and here is error when i run the swf file from the website:

Initialization failed: please check the API key,
swf location, version and network availability.

我现在该怎么办!?

推荐答案

Try to set "-use-network=true" in compiler's options or appropriate option in your IDE.可能会有帮助.

Try to set "-use-network=true" in compiler's options or appropriate option in your IDE. It may help.

这篇关于SecurityError:错误 #2028:本地文件系统 SWF 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-18 02:55:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/928458.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件系统   错误   文件   SecurityError   SWF

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!