开发者

Embedding a flash object old SWF markup? Will this work?

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.开发者_C百科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>


Try it in a browser - if it works its ok - Dreamweaver is rubbish!


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜