【问题标题】:getting the c00ce514 error in IE when attemping to load a swf file尝试加载 swf 文件时在 IE 中出现 c00ce514 错误
【发布时间】:2012-04-04 17:09:51
【问题描述】:

我在 .each 循环中有以下 ajax 调用,它从服务器加载多个 .swf 文件:

$.ajax({
   url: src, //a variable containing the url of the swf file
   success: function(){
      //success code.
   },
   error: function(jqXHR, textStatus, errorThrown) {
      alert(textStatus+' - '+errorThrown);
   }
});

这在所有浏览器上都像一个魅力,除了 IE。有些 .swf 文件已加载,有些则没有。

我得到的错误如下:Could not complete the operation due to error c00ce514.

我搜索了这个错误,发现这是由于字符集问题或类似问题造成的;有些人提供了有关 html/xml 文件的解决方案,但我不确定如何为 .swf 文件解决此问题。有什么想法/解决方法吗?

【问题讨论】:

  • 我在预加载 wav 文件时遇到了同样的问题,也只是在 IE 上崩溃了 :-( 很想知道解决方案 :-/

标签: jquery ajax internet-explorer flash


【解决方案1】:

看看这张票:

http://bugs.jquery.com/ticket/11426

如果我做对了: IE 无法将二进制文件作为 AJAX 调用中的响应来处理,因此您必须阻止 IE 执行调用。使用 AJAX 调用似乎无法在 IE 中预加载 swf。

【讨论】:

    猜你喜欢
    • 2014-07-28
    • 2011-04-02
    • 2017-10-05
    • 2022-01-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-03-03
    • 2018-05-03
    相关资源
    最近更新 更多