求各位大侠,赐教。分不够可以加!!!!

解决方案 »

  1.   

    var params={allowFullScreen:'true',allowScriptAccess:'always',quality:'high',wmode:'Transparent'}swfobject.embedSWF("flashSourc/a.swf","div_id","635","750","9.0.0","/b.swf",{},params,{})http://www.javaeye.com/wiki/topic/236599
      

  2.   

    //flash用js调用
    function F_viewSwf(width, height, wmode,ffwmode, url){
    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' ");
    document.write(" codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' ");
    document.write(" width='"+width+"' height='"+height+"' align='middle'>");
    document.write(" <param name='allowScriptAccess' value='always' /> ");
    document.write(" <param name='movie' value='"+url+"' /> ");
    document.write(" <param name='quality' value='high' /> ");
    document.write(" <param name='menu' value='false'> ");
    document.write(" <param name='wmode' value='"+wmode+"'> ");
    document.write(" <embed src='"+url+"' quality='high' wmode='"+ffwmode+"' menu='false' width='"+width+"' height='"+height+"' align='middle' ");
    document.write(" allowScriptAccess='sameDomain' type='application/x-shockwave-flash' ");
    document.write(" pluginspage='http://www.macromedia.com/go/getflashplayer' />");
    document.write("</object>");
    }
    //代码结束
    //实例:  <script>F_viewSwf('170','15','transparent','transparent','images/index.swf');</script>//
      

  3.   

    Silverlight不知道能存活多长时间。等html5普及了之后