ASP实现播放Flash的例子

2016-01-29 17:24 18 1 收藏

ASP实现播放Flash的例子,ASP实现播放Flash的例子

【 tulaoshi.com - ASP 】

  <!-- #include file = "DB.fun" --
<%
mingcheng=request("mingcheng")
sec=Request("score")
session("mingcheng")=mingcheng
session("sec")=sec
If session("ID")="" then
   response.redirect "qzhuce.asp"
   response.end
End If
dim time1
sec=Request("score")
Set conn = GetMdbConnection("score.mdb")
time1=Cstr(date)
SQL2="select * from mmd where nickname='"&session("id")&"'"
Set zy2 = Conn.Execute( SQL2 )
old = zy2("mgdf")
'response.write old
'zy2.close
if cint(old) <= cint(sec) and cint(old)<0 then
    SQL1="update mmd set mgdf ="&old&",time1='"&time1&"' where nickname ='"&session("id")&"'"
else   
    SQL1="update mmd set mgdf ="&sec&",time1='"&time1&"' where nickname ='"&session("id")&"'"
end if
Set zy1 = Conn.Execute( SQL1 )
'zy1.close
%
<HTML
<HEAD
<TITLE m&m's</TITLE
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"
</HEAD
<BODY BGCOLOR=#FFFFFF marginwidth=0 marginheight=0 leftmargin=0 topmargin=0
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=550 HEIGHT=400
<param name="_cx" value="14552"
<param name="_cy" value="10583"
<param name="Movie" value="/mms/search_score.swf?user=<%=session("id")%&amp;score=<%=sec%"
<param name="Src" value="/mms/search_score.swf?user=<%=session("id")%&amp;score=<%=sec%"
<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="-1"
<param name="Base" value
<param name="Scale" value="ShowAll"
<param name="DeviceFont" value="0"
<param name="EmbedMovie" value="0"
<param name="BGColor" value
<param name="SWRemote" value<embed src="http://img.jcwcn.com/attachment/portal/jcwcj/2005-12/10/0512100114051576.swf"" quality="high" bgcolor="#FFFFFF" WIDTH="550" HEIGHT="400" YPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
</OBJECT
</body
</html
 

来源:http://www.tulaoshi.com/n/20160129/1501260.html

延伸阅读
标签: ASP
  Controlling Flash with ASP A recent project has required a few things that I haven't done for a while. One is dealing with Flash - which I haven't done since shortly after the release of Flash 3.0. The other is to actually figure some way of getting dynamic content in without using Generator. One solution we...
标签: FLASH flash教程
  很多多媒体制作爱好者总是在不断创新,尝试将各种多媒体元素结合到一起来作出效果令人炫目的作品。 本文将要介绍的是如何在在flash中插入全景,利用flash的控制来实现全景的播放、场景切换等动作。 首先说明一下,用flash控制全景,需要本身全景播放器提供一个编译接口,所以这里以杰图漫游大师为例,漫游大师播放器提供了用javascript...
  首先,你的机器里要装有Flash播放软件(你的IE能显示Flash)。IE之所以能显示Flash是安装了 由Macromedia公司提供的swflash.ocx控件,我们可以在Win98的$WindowsSystemMacromed Flash中 或在Win2000中的$WinntSystem32 MacromedFlash中找到它。ActiveX控件在Windows里是通用的, Delphi也同样支持。 首先,你的机...
标签: ASP
      用ASP实现搜索引擎的功能是一件很方便的事,可是,如何实现类似3721的智能搜索呢?比如,当在搜索条件框内输入“中国人民”时,自动从中提取“中国”、“人民”等关键字并在数据库内进行搜索。看完本文后,你就可以发现,这个功能实现起来竟然是如此的简单。OK,Follow Me!     第一步,...
标签: ASP
  例子: 在"c:\excel\book1.xls"存在一个EXCEL表book1.xsl,表的结构如下: 1  序号    名称      金额 2    1        张三    100 3    2  &nb...

经验教程

692

收藏

58
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部