我正在使用Roy Tanck的WP-Cumulus Tag Cloud查看器。它是一个与SWFObject.js一起使用的SWF文件,用于显示旋转的标记范围。它在Chrome和FireFox中运行良好,但在Internet Explorer 10中,画布为空白。如果我右键单击画布,我会看到Roy Tanck的网站的归属链接,表明电影已加载,并且调试器的控制台选项卡中没有显示错误,但没有标记范围,只是一个空白的白色画布。我使用的是SWFObject v2.2,我的Flash播放器版本是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) {
答案 0 :(得分:0)
你是否正面临这个问题 操作系统:Windows 8 浏览器:Internet Explorer 10
它现在可以使用了。
当所有请求都不是200时,存在问题 进一步调试以找到没有上述调整的修复
发现此检查是否可以解决您的问题 Flash not working on Windows 8 / Internet explorer 10