繁体   English   中英

基于SWFObject的Flash电影将不会在Internet Explorer 10中显示

[英]SWFObject based Flash movie won't show in Internet Explorer 10

我正在使用Roy Tanck的WP-Cumulus标签云查看器。 这是一个SWF文件,与SWFObject.js一起使用以显示旋转的标签范围。 它在Chrome和FireFox中工作正常,但在Internet Explorer 10中,画布为空白。 如果我右键单击画布,我确实会看到指向Roy Tanck网站的归因链接,表明该电影已加载,并且在“调试器”的“控制台”选项卡中没有显示任何错误,但没有标记,只有一块空白的白色画布。 我正在使用SWFObject v2.2,而我的Flash Player版本是11.8.800.175。 我跟踪了用于创建SWF标签XML的主要函数(如下所示),一切正常。 不幸的是,除了电影的空白显示之外,我什么也没有得到,控制台中也没有错误。 我确实查看了flashvars的值,它们与我在Chrome和FireFox中跟踪方法时的值相同。 任何人都可以给我一些可以尝试解决此问题的方法吗?:

// Create the tag cloud using the given associative array where the Key is the
//  value to display in the tag cloud and the Value is the HREF for the link
//  to be associated with the display value.
function createTagCloud(aryDisplayStringsWithLinks, style)
{
    if (typeof aryDisplayStringsWithLinks == 'undefined')
        return;

    // Build tags XML partial for use by the Cumulus Tag Cloud.
    var tagCloudXML = "<tags>";

    var iCount = 0;

    for (var Key in aryDisplayStringsWithLinks)
    {
        tagCloudXML += createOneTagCloudXMLElement(Key, aryDisplayStringsWithLinks[Key], style);
        iCount++;
    } // for()

    tagCloudXML += "</tags>";

    // Must have at least two elements or the tag cloud won't make any sense.
    if (iCount < 2)
        return;

    var params =
    {
        wmode: "transparent"
    };

    var flashvars =
    {
        // TAGS HYPERLINKS ***MUST** HAVE THE STYLE ATTRIBUTE OR YOU WON'T SEE ANYTHING IN THE VIEWPORT! (and you
        //  will think it is broken when it is not).
        tagcloud: tagCloudXML,
        // tagcloud: '<tags><a href="http://google.com/" style="font-size:9pt;" >One</a><a href="http://microsoft.com/"  style="font-size:9pt;" >Two</a></tags>',

        mode: "tags",
        distr: "true",
        tcolor: "0x3366CC",
        hicolor: "0x0000bb"
    };

    swfobject.embedSWF(
        "/Content/flash/tagcloud.swf",
        "flashcontent",
        "470",
        "380",
        "9.0.0",
        "",
        flashvars
        );
} // function createTagCloud(aryDisplayStringsWithLins) {

您是否在以下操作系统上遇到问题:Windows 8浏览器:Internet Explorer 10

  • 打开调试器(F12)
  • 缓存(菜单栏)->选择[“始终从服务器刷新”]

现在可以使用了。

当所有请求都不是200时,就存在此问题。

发现此检查是否可以为您解决问题Flash无法在Windows 8 / Internet Explorer 10上运行

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM