flex输出在IE提示:Alternate HTML content should be placed here. This content requires the Adobe Flash Player

在flex输出的时候,在IE上提示:Alternate HTML content should be placed here. This content requires the Adobe Flash Player,查找了网上的时候,有中说法是fp的版本过低,但是去官网上下了最新的版本还是不行,后来看到一篇,提到在JS文件中出问题

,下面那网站上的解决方法:


if (!version)
    {
        try {
            // version will be set for 2.X player
            axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
            version = "WIN 2,0,0,11";
        } catch (e) {
            version = -1;
        }
    }


if (!version)
    {
        try {
            // version will be set for 2.X player
            axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
            version=axo.GetVariable("$version");
        } catch (e) {
            version = "WIN 2,0,0,11";
        }
    }

你可能感兴趣的:(flex输出在IE提示:Alternate HTML content should be placed here. This content requires the Adobe Flash Player)