1.JS 部分:
Функция SWF (SRC, W, H) {
html = '';
html+= '<object classid = clsid: d27cdb6e-ae6d-11cf-96b8-4445553540000 codebase = http: //fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,00,00,0 widts =' widts = '+ высота = '+h+' id = main> ';
html += '<param name = AllingCrickAccess value = samedomain />';
html+= '<param name = value ='+src+' />';
html += '<param name = Quality value = High />';
html += '<param name = wmode value = prongent />';
html += '<embed src=main.swf quality=high bgcolor=#cc6600 width='+w+' height='+h+' name=main align=center allowscriptaccess=samedomain type=application/x-shockwave-flash pluginspage=http://www.macromedia.com/go/getflashplayer />';
html += '<// object>';
document.write (html);
}
2. 调用部分
<Script> swf ('http://www.vevb.com/benner.swf' ,1004','159') </script>