Internet Explorer 用 Flash 内容覆盖 facebook 对话框,这是在用户单击打开对话框时隐藏任何 Flash 内容的常用解决方案。
闪光灯隐藏但不会重新出现,这是我的代码:
function postToWall(postName,postCaption,postDescription,postPicture,postLink) {
    hideFlash();
    FB.ui({
        method: 'feed',
        name: postName,
        caption: postCaption,           
        access_token: '<?php echo $accessToken ?>',
        description: postDescription,
        picture: postPicture,
        link: postLink,
        display: 'iframe'
    },
    function (response) {
        showFlash();
        var swf = swfobject.getObjectById("flashContent");
        swf.postToWallCallback(response);
    });
    return false;
}
function hideFlash(){
    var flashContent = document.getElementById("flashContent");
    flashContent.style.visibility = "hidden";
}
function showFlash(){
    var flashContent = document.getElementById("flashContent");
    flashContent.style.visibility = "visible";
}