如果您在 Facebook 中创建一个新应用程序,指向一个仅包含以下代码的 HTML 页面,您将在 Flash 对象加载后看到段落中字体平滑的明显变化。这只发生在 WebKit 浏览器和 Facebook 中。
<!doctype html>
<head></head>
<body style="background-color: #333">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="170" id="movie_name" align="middle">
<param name="movie" value="http://edmullen.net/flash/BBC1.swf"/>
<param name="wMode" value="transparent" />
<object type="application/x-shockwave-flash" data="http://edmullen.net/flash/BBC1.swf" width="100%" height="170">
<param name="movie" value="http://edmullen.net/flash/BBC1.swf"/>
<param name="wMode" value="transparent" />
</object>
</object>
<p style="color: red">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p style="color: white">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</body>
</html>
我已经用多个 swf 文件复制了它。我什至将 Flash 对象嵌入到 中iframe
,但错误仍然存在。