又来送分了,简单问题:请教如何插入flash.
下面这页简单的代码,应该如何插入一个位置在 "~/m.swf "的flash呢?只要成功,立即给分。
<%@ Page Language= "C# " MasterPageFile= "~/MasterPage.master " AutoEventWireup= "true " CodeFile= "Default.aspx.cs " Inherits= "_Default " %>
<asp:Content ID= "Content1 " runat= "server " ContentPlaceHolderID= "ContentPlaceHolder1 ">
<asp:LoginView ID= "LoginView1 " runat= "server ">
<LoggedInTemplate>
Welcome
<asp:LoginName ID= "LoginName1 " runat= "server " />
<br />
<br />
</LoggedInTemplate>
<AnonymousTemplate>
Sorry, you are not login.
<br />
</AnonymousTemplate>
</asp:LoginView>
<asp:HyperLink ID= "HyperLink1 " runat= "server " NavigateUrl= "~/ForgotPassword.aspx "
Width= "156px "> Forget your password? </asp:HyperLink> <br />
<br />
<span style= "color: #3333ff; font-family: Arial "> <strong>
<br />
<span style= "font-size: 12pt "> <br />
<br />
<br />
Please login here: </span>
<asp:LinkButton ID= "LinkButton1 " runat= "server " PostBackUrl= "~/Login.aspx "> Login </asp:LinkButton> </strong> </span> <br />
</asp:Content>
[解决办法]
最简单方法用 DW 打开插入后 再用 VS 打开。
o(∩_∩)o...哈哈
[解决办法]
楼上的正确阿~
------解决方案--------------------
对啊!用楼上的方法!用DW里打开网面,然后插入 flash 后!再回到VS里面就行了!
[解决办法]
Dreamweaver网页编辑软件 插入后~在拷贝到VS里面的HTML中
[解决办法]
<OBJECT codeBase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 "
height= "100 " width= "750 " classid= "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 " VIEWASTEXT>
<PARAM NAME= "_cx " VALUE= "19844 ">
<PARAM NAME= "_cy " VALUE= "2646 ">
<PARAM NAME= "FlashVars " VALUE= " ">
<PARAM NAME= "Movie " VALUE= "flash/fushe.swf ">
<PARAM NAME= "Src " VALUE= "flash/fushe.swf ">
<PARAM NAME= "WMode " VALUE= "Transparent ">
<PARAM NAME= "Play " VALUE= "-1 ">
<PARAM NAME= "Loop " VALUE= "-1 ">
<PARAM NAME= "Quality " VALUE= "High ">
<PARAM NAME= "SAlign " VALUE= " ">
<PARAM NAME= "Menu " VALUE= "-1 ">
<PARAM NAME= "Base " VALUE= " ">
<PARAM NAME= "AllowScriptAccess " VALUE= " ">
<PARAM NAME= "Scale " VALUE= "ShowAll ">
<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 ">
<embed src= "flash/fushe.swf " quality= "high " pluginspage= "http://www.macromedia.com/go/getflashplayer "
type= "application/x-shockwave-flash " width= "750 " height= "100 "> </embed>
</OBJECT>
把flash/fushe.swf换成你的flash文件
楼上的方法很好!
[解决办法]
<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= "352 " height= "100 ">
<param name= "movie " value= "flash/index_pro.swf ">
<param name= "quality " value= "high ">
<embed src= "flash/index_pro.swf " quality= "high " pluginspage= "http://www.macromedia.com/go/getflashplayer "
type= "application/x-shockwave-flash " width= "352 " height= "100 "> </embed>
</object>
value= "flash/index_pro.swf " 这个换成你的FLASH 路径就可以了