<!–
// flashWrite(flash路径,宽度,高度,ID,背景色,变量,是否为背景flash)
function flashWrite(url,w,h,id,bg,vars,win){// 开始
var flashStr=
"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
"<param name='allowScriptAccess' value='always' />"+
"<param name='movie' value='"+url+"' />"+
"<param name='FlashVars' value='"+vars+"' />"+
"<param name='wmode' value='"+win+"' />"+
"<param name='menu' value='false' />"+
"<param name='quality' value='high' />"+
"<param name='bgcolor' value='"+bg+"' />"+
"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
"</object>";// 输出
document.write(flashStr);
}
–>
<script>flashWrite('top.swf','600','40','TOP','#FFFFFF','','transparent')</script>
- 本文固定链接: https://www.cnmiss.cn/?p=9
- 转载请注明: admin 于 我的博客 – 技术分享 发表