在Firefox中,无法全屏也是就是100%显示SWF。其官网给出了原因所在:
It was because I was trying to set the flash files height to 100%. But its parent (div id=wrapper) didn't have a height. And 100% of zero = zero. To fix this, i had to set the wrapper div, the body, and the html's height to 100%.
就是说包含SWF的DIV的Parent DIV的大小没有设置,高度按照0乘以100%来计算,所以高度为0在Firefox中自然就不可见了。
http://code.google.com/p/swfobject/wiki/faq
可通过设置CSS,解决上述问题: