`
LiYunpeng
  • 浏览: 942822 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

Error #2044: Unhandled SecurityErrorEvent:. text=Error #2140: .............

阅读更多
Error #2044: Unhandled SecurityErrorEvent:. text=Error #2140:  .............

关于这个错误,首先我们能看到这个错误就是因为访问了跨域的文件

那么跨域又分很多种
有通过网络的,跨域的,有本地也禁用的等等

这个就是访问本地的资源就被禁用了

解决办法

1)Right-click on your project
2)Click on 'Properties' --> Flex Compiler --> Additional Compiler Arguments
3) Add this configuration setting -use-network=false
4) Now use the flex swf in your flash file

右键你的项目
点击属性 Flex编译器 添加参数
在参数配置中 -use-network=false 添加这个
这样,就可以了~

我是参见http://www.actionscript.org/forums/showthread.php3?t=170064
分享到:
评论

相关推荐

    Microsoft.ReportViewer.WebForms, Version=10.0.0.0

    sembly 'Microsoft.ReportViewer.WinForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 系统找不到指定的文件。 File name: 'Microsoft.ReportViewer....

    NTGraph测试程序(有问题)

    不切分视图的情况下,添加上去是正常的,但是切分之后出现:Debug Assertion Failed!错误。 ... program: e:\....Controltest2.exe ...Unhandled exception in controltest2.exe(mfc42d.dll):0xc0000005:access violation.

    WCF中动态设置KnownType的示例代码

    Unhandled Exception: System.Runtime.Serialization.SerializationException: Type '--------' with data contract name 'Dog:http://schemas.datacontract.org/2004/07/Serialization' is not expected....

    WCF中动态设置KnownType的示例

    Unhandled Exception: System.Runtime.Serialization.SerializationException: Type '--------' with data contract name 'Dog:http://schemas.datacontract.org/2004/07/Serialization' is not expected....

    l_e多页面浏览器(1.4.0)

    需要设置一下vb才能在ide中正常运行tools->options->general,error trapping那里选上 break on unhandled errors3.这个程序是从2001年开始写的,那时候写的代码在各方面都不成熟,注释就不用说了,也就最近新写或改写的...

    AviWriter 带demo

    a compressed file, or an unhandled exception. The only way to prevent it, that I see, is, to collect more peculiarities about the codecs and stop execution in case of certain combinations of settings....

    关于微信小程序遇到的wx.request({})问题

    域名请求错误问题 当我们在编写小程序,要发送请求时,wx.request({})时或许会遇到如下的问题: (此图片来源于网络,如有侵权,请联系删除! ) ...如下图所示: (此图片来源于网络,如有侵权,请联系删除!...

    org.apache.commons.lang jar包下载

    org.apache.commons.lang.UnhandledException.class org.apache.commons.lang.Validate.class org.apache.commons.lang.WordUtils.class org.apache.commons.lang.builder.CompareToBuilder.class org.apache....

    python selenium运行失败常见错误.docx

    org.openqa.selenium.WebDriverException: unknown error: unhandled inspector error: {"code":-32603,"message":"Cannot navigate to invalid URL"} 原因:网站地址格式有问题,重新检查下。 解决方案: * 重新...

    分析Node.js connect ECONNREFUSED错误

    // Unhandled ‘error’ event  ^ Error: connect ECONNREFUSED at errnoException (net.js:770:11) at Object.afterConnect [as oncomplete] (net.js:761:19) 最后在stackoverflow找到解决方案,这主要由于上一次...

    snmp Unhandled exception(NTDLL.DLL):0xC0000005

    在snmp++的MFC编程中,调试运行到Snmp snmp(status,0,false);语句时总是出现这个错误。Unhandled exception in xxx.exe(NTDLL.DLL):0xC0000005:Access Volation该怎么解决呢?

    LE多页面浏览器

    error trapping那里选上 break on unhandled errors 3.这个程序是从2001年开始写的,那时候写的代码在各方面都不成熟,注释就不用说了,也就最近新写或改写的代码才有部分注释,各位大虾就有怪莫怪了. 详细文档,呵呵,...

    解决electron安装,卡在install.js不动的问题,UnhandledPromiseRejectionWarning: RequestError: read ECONNRESET

    1.选择项目文件夹 2.npm init 3.npm install electron –save-dev 4.npm –registry=...5.node install.js的时候ctrl+c取消,y确定 6.cd ./node_modules/electron ...此为64位win版本,如果是其他版本请进

    Node.js connect ECONNREFUSED错误解决办法

    // Unhandled ‘error’ event ^ Error: connect ECONNREFUSED at errnoException (net.js:770:11) at Object.afterConnect [as oncomplete] (net.js:761:19) 最后在stackoverflow找到解决方案,这主要由于上一次...

    多页面网页浏览器LE 0.6 源码

    error trapping那里选上 break on unhandled errors 3.这个程序是从2001年开始写的,那时候写的代码在各方面都不成熟,注释就不用说了,也就最近新写或改写的代码才有部分注释,各位大虾就有怪莫怪了. 详细文档,呵呵,...

    dns-notfound-what:改进 node 中 dns.js 的 ENOTFOUND 消息错误

    // Unhandled 'error' event ^ Error: getaddrinfo ENOTFOUND at errnoException (dns.js:37:11) at Object.onanswer [as oncomplete] (dns.js:124:16) 这是因为您在某处执行请求而不处理“错误”事件。 但是 ...

    EurekaLog_7.5.0.0_Enterprise

    27)..Fixed: Ignored unhandled thread exceptions (when EurekaLog is disabled) now triggers default OS processing (WER) 28)..Fixed: Irnored exceptions (via per-exception/events) now bring up default RTL...

    org.apache.commons.lang jar包下载(commons-lang3-3.1.jar)

    org.apache.commons.lang.UnhandledException.class org.apache.commons.lang.Validate.class org.apache.commons.lang.WordUtils.class org.apache.commons.lang.builder.CompareToBuilder.class org.apache....

    maxwell-1.29.2.jar修改后兼容utf8mb3

    maxwell-1.29.2.jar修改后兼容utf8mb3maxwell-1.29.2.jar修改后兼容utf8mb3maxwell-1.29.2.jar修改后兼容utf8mb3maxwell-1.29.2.jar修改后兼容utf8mb3maxwell-1.29.2.jar修改后兼容utf8mb3maxwell-1.29.2.jar修改后...

    【JavaScript源代码】nodejs的错误处理过程记录.docx

    nodejs的错误处理过程记录  本文以连接错误ECONNREFUSED为例,看看nodejs对错误处理的过程。 假设我们有以下代码 1.... // Unhandled 'error' event 3. ^ 4. 5. Error: connect ECONNREFUSED 127.0.0.1

Global site tag (gtag.js) - Google Analytics