日期:2014-05-18  浏览次数:20624 次

在asp.net中引入swf文件
如何在asp.net中引入swf文件,及指定其在页面中的布局?
asp.net中有没有承载swf的控件?

------解决方案--------------------
<object ....
------解决方案--------------------
从dw中拖进来,这样最简单
------解决方案--------------------
<object ....COPY到html代码里。跟上文件路径,如果要布局的话,前面在加个<div></div>然后对DIV布局吧。
------解决方案--------------------
在DW中插入swf,然後復制<object...></object>整段代到.net頁就行了
------解决方案--------------------
例如:
HTML code

<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="130" height="130">
  <param name="movie" value="路径" />
  <param name="quality" value="high" />
  <embed src="路径" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="130" height="130"></embed>
</object>

------解决方案--------------------
C# code

 <td height="99" colspan="2" style="height: 21px">
                    <span style="color: #0000ff">
                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="576" height="80">
                      <param name="movie" value="flash/banner.swf">
                      <param name=quality value=high>
                      <embed src="flash/banner.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="574" height="80"></embed>
                    </object>

------解决方案--------------------
我比较习惯在DW里面做页面布局,然后直接放进VS里面用。
------解决方案--------------------
只能是ctrl+A代码,ctrl+C,再ctrl+V了。微软自己已经有了富客户技术Sliverlight,所以,下了阴招{这就是商业~~~}
------解决方案--------------------

<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="130" height="130">
<param name="movie" value="路径" />
<param name="quality" value="high" />
<embed src="路径" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="130" height="130"></embed>
</object>
------解决方案--------------------
HTML code
<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="74" height="90" id="Flash" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="路径" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />
    <embed src="Flash.swf" quality="high" bgcolor="#ffffff" width="74" height="90" n