SWFObject2.0



PROBLEM: using % in the height and width(e.g. 100%) with the SWFObject 2.0 (or 2.1) with dynamic publishing causes Flash movie to get fullscreen fullbrowser flash causes flash not show at all. e.g.
<</span>script type="text/javascript">
//
SWFObject.embedSWF("example.swf", "flashMovie", "100%", "100%", "9.0115.0","expressInstall.swf");
//
</</span>script>

FIX: you need to add CSS to make it fullscreen flash e.g.


I hit this using the great SWFObject Generator Tool which generates all the html code...but not the CSS necessary for full screen flash (aka Full Browser Flash)

版权声明:本文为博主原创文章,未经博主允许不得转载。

原文地址:https://www.cnblogs.com/stevin-john/p/4768936.html