日期:2014-05-20  浏览次数:20718 次

script调用FLASH
function swf(file,w,h) {
  document.write('<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="'+w+'" height="'+h+'"> ');
  document.write('<param name="movie" value="' + file + '">');
  document.write('<param name="quality" value="high"> ');
  document.write('<param name="wmode" value="transparent"> ');
  document.write('<param name="menu" value="false"> '); 

  document.write('<embed src="' + file + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed> ');  document.write('</object> ');
  } 

加粗的语句不明白,能否详细解读一下。谢谢!


------解决方案--------------------
探讨
我想调用a.swf文件在jsp页面上显示。在jsp页面如何写?假如上述就是一个flash.js文件,a.swf和flash.js在同一路径下。谢谢!