Roy Tanck の WP-Cumulus Tag Cloud ビューアーを使用しています。タグの回転する球体を表示するために SWFObject.js で使用される SWF ファイルです。Chrome と FireFox では問題なく動作しますが、Internet Explorer 10 ではキャンバスが空白になります。キャンバスを右クリックすると、ムービーが読み込まれたことを示す Roy Tanck の Web サイトへの帰属リンクが表示され、デバッガーの [コンソール] タブにエラーは表示されませんが、タグの球体はなく、空白の白いキャンバスだけです。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) {