function getFlash(a,b,c,d){
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width= '+b+' height= '+c+' "id="star"align="">')
document.write('<param name=movie value=' +a+ '>')
document.write('<param name=quality value=high>')
document.write('<param name=wmode value=' +d+ '>')
document.write('<embed src=' +a+ ' quality=high wmode='+d+' width=' +b+ ' height= '+c+' name="star" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed> </object>')
}
getFlash("about.swf","100%","220","transparent")
/*用法*/
参数1;位置
参数2;宽
参数3;高
参数4;透明属性-----transparent-透明----opaque-不透明