嵌入 Flash 对象旧 SWF 标记?这行得通吗?
我正在将 Flash 对象嵌入到我的站点中,当我这样做时,我从 Dreamweaver 收到一条消息,显示
“此页面包含一些 swf 对象,这些对象在最新版本的 Internet Explorer 中可能无法正常工作。Dreamweaver 无法将它们转换为新的 SWF 标记”请删除它们中的每一个并再次插入它们”
我不知道有任何新的 SWF 标记,但这是我的代码,用于检查我是否做错了什么:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
</head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="350" height="140" title="Flash Audio Recorder">
<param name="movie" value="AudioRecorder.swf" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="high" />
<param name="FlashVars" value="userid=2&settings=myXML/settings.xml" />
<embed src="AudioRecorder.swf" FlashVars="userid=2&settings=myXML/settings.xml" allowScriptAccess="sameDomain" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="350" height="140"></embed>
</object>
</body>
</html>
I am embedding a flash object into my site and when I do I get a message from dreamweaver saying
"This page contains some swf objects that may not work correctly in the most recent versions of Internet Explorer. Dreamweaver cannot convert them to the new SWF markups please delete each of them and insert them again"
I am not aware of any new SWF markups but here is my code to check maybe I am doing something wrong:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
</head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="350" height="140" title="Flash Audio Recorder">
<param name="movie" value="AudioRecorder.swf" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="high" />
<param name="FlashVars" value="userid=2&settings=myXML/settings.xml" />
<embed src="AudioRecorder.swf" FlashVars="userid=2&settings=myXML/settings.xml" allowScriptAccess="sameDomain" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="350" height="140"></embed>
</object>
</body>
</html>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在浏览器中尝试一下 - 如果可以的话那就没问题 - Dreamweaver 就是垃圾!
Try it in a browser - if it works its ok - Dreamweaver is rubbish!
使用 SWFObject,您就不必担心此类问题。跨平台使这一切在眨眼间发生。
Use SWFObject and you don't have to worry about stuff like that. Makes it all happen in the blink of an eye cross-platform.