网页中嵌入flash

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="760" height="700" style="margin:0 auto; vertical-align:bottom">
    <param name="movie" value="index.swf" /><!--========指定执行的flash=======-->
    <param name="quality" value="high" />
    <embed src="index.swf" width="760" height="700" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
<!--<embed> src="index.swf" 属性指定执行的flash文件-->
<!--<embed>和<object>标签其实是等效同级别的,有的浏览器支持<embed>有的浏览器支持<object>,但最好把<embed>标签放在<object>标签内,这样当浏览器识别<object>标签时不会读取<embed>标签否则不识别<object>标签时读<embed>标签,就算两种标签都识别也只会读取执行一个-->


<!--
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="760" height="700" style="margin:0 auto; vertical-align:bottom">
    <param name="movie" value="index.swf" />
    <param name="quality" value="high" />
</object>
<embed src="index.swf" width="760" height="700" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
这种形式下IE浏览器就会执行两遍flash
-->
posted @ 2012-03-13 22:46  风吹屁股凉冰冰  阅读(607)  评论(0编辑  收藏  举报