如何在asp.net页里面插入广告条SWF格式的.
如题 --------------------编程问答-------------------- <embed allowScriptAccess="never" allowNetworking="internal" src="http://huibiaoli.go3.icpcn.com/cfplay/cfplay.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" quality="high" width="450" height="320"></embed> --------------------编程问答-------------------- 跟静态页一样,这东西不分asp.net或php和jsp的. --------------------编程问答-------------------- 在需要的地方插入:<OBJECT id="logo" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
height="45" width="359" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
<PARAM NAME="_cx" VALUE="9499">
<PARAM NAME="_cy" VALUE="1191">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="g_images/logoleaf.swf">
<PARAM NAME="Src" VALUE="g_images/logoleaf.swf">
<PARAM NAME="WMode" VALUE="Window">
<PARAM NAME="Play" VALUE="0">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="High">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="0">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="">
<PARAM NAME="Scale" VALUE="ExactFit">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData" VALUE="">
<PARAM NAME="SeamlessTabbing" VALUE="1">
<PARAM NAME="Profile" VALUE="0">
<PARAM NAME="ProfileAddress" VALUE="">
<PARAM NAME="ProfilePort" VALUE="0">
<PARAM NAME="AllowNetworking" VALUE="all">
<PARAM NAME="AllowFullScreen" VALUE="false">
<EMBED src="logo.swf" quality="high" WIDTH="359" HEIGHT="45" NAME="logo" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED>
</OBJECT></noscript>
</td>
<td width="411" height="2"> </td>
</tr>
<tr>
<td width="359" height="18"><IMG height="39" src="g_images/leftbar.gif" width="359"></td>
<td align="right" bgColor="#093a7f" height="18"><A onMouseOver="MM_swapImage('SEARCH1','','SEARCH1_f2.gif',1);" onMouseOut="MM_swapImgRestore();"
href="index.aspx" target="_blank"><IMG id="SEARCH1" height="24" alt="To The Back!" src="SEARCH1.gif" width="200" border="0"
name="SEARCH1"></A>
</td>
</tr>
<tr>
<td colSpan="2">
<!--
<IMG height="69" src="g_images/topbar.gif" width="770">-->
<script type="text/javascript">
AC_FL_RunContent( 'id','logo','codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0','height','69','width','770','viewastext','VIEWASTEXT','src','g_images/topbar-hi','quality','High','name','logo','align','','pluginspage','http://www.macromedia.com/go/getflashplayer','_cx','20373','_cy','1826','flashvars','','movie','g_images/topbar-hi','wmode','Window','play','0','loop','-1','salign','','menu','0','base','','allowscriptaccess','','scale','ExactFit','devicefont','0','embedmovie','0','bgcolor','','swremote','','moviedata','','seamlesstabbing','1','profile','0','profileaddress','','profileport','0','allownetworking','all','allowfullscreen','false' ); //end AC code
</script><noscript><OBJECT id="logo" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
height="69" width="770" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
<PARAM NAME="_cx" VALUE="20373">
<PARAM NAME="_cy" VALUE="1826">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="g_images/topbar-hi.swf">
<PARAM NAME="Src" VALUE="g_images/topbar-hi.swf">
<PARAM NAME="WMode" VALUE="Window">
<PARAM NAME="Play" VALUE="0">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="High">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="0">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="">
<PARAM NAME="Scale" VALUE="ExactFit">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData" VALUE="">
<PARAM NAME="SeamlessTabbing" VALUE="1">
<PARAM NAME="Profile" VALUE="0">
<PARAM NAME="ProfileAddress" VALUE="">
<PARAM NAME="ProfilePort" VALUE="0">
<PARAM NAME="AllowNetworking" VALUE="all">
<PARAM NAME="AllowFullScreen" VALUE="false">
<EMBED src="logo.swf" quality="high" WIDTH="770" HEIGHT="69" NAME="logo" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED>
</OBJECT> --------------------编程问答-------------------- 晕 太多了...
应该是
<OBJECT id="logo" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
height="45" width="359" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
<PARAM NAME="_cx" VALUE="9499">
<PARAM NAME="_cy" VALUE="1191">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="g_images/logoleaf.swf">
<PARAM NAME="Src" VALUE="g_images/logoleaf.swf">
<PARAM NAME="WMode" VALUE="Window">
<PARAM NAME="Play" VALUE="0">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="High">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="0">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="">
<PARAM NAME="Scale" VALUE="ExactFit">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData" VALUE="">
<PARAM NAME="SeamlessTabbing" VALUE="1">
<PARAM NAME="Profile" VALUE="0">
<PARAM NAME="ProfileAddress" VALUE="">
<PARAM NAME="ProfilePort" VALUE="0">
<PARAM NAME="AllowNetworking" VALUE="all">
<PARAM NAME="AllowFullScreen" VALUE="false">
<EMBED src="logo.swf" quality="high" WIDTH="359" HEIGHT="45" NAME="logo" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED>
</OBJECT> --------------------编程问答-------------------- 然后修改<PARAM NAME="Src" VALUE="g_images/logoleaf.swf">这一条就可以了 --------------------编程问答-------------------- 不行啊 --------------------编程问答-------------------- 能告诉我
每条语句是什么意思吗??? --------------------编程问答-------------------- 一般改下面的就行了
height="45" width="359" //定义大小
<PARAM NAME="Quality" VALUE="High">//显示质量
<PARAM NAME="Src" VALUE="g_images/logoleaf.swf">
//将g_images/logoleaf.swf替换为你的swf文件所处地址即可 --------------------编程问答-------------------- 每一个
<PARAM NAME="A" VALUE="">节点对应于flash的一个控制选项 --------------------编程问答-------------------- 其实就是插入了一个flash媒体对象
如果你觉的不方便直接用DW打开页面插入也可以 --------------------编程问答-------------------- 呵呵,网上搜搜就 有 --------------------编程问答-------------------- 11111111 --------------------编程问答-------------------- 感谢#1楼的指导,代码又简单又好用。直接dw添加即可,谢谢了。
补充:.NET技术 , ASP.NET