ASP实现播放Flash的例子

网络整理 - 07-26
<!-- #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 value="14552">
<param value="10583">
<param value="/mms/http://www.jz123.cn/Article/10/130/2005/search_score.swf?user=<%=session("id")%>&score=<%=sec%>">
<param value="/mms/http://www.jz123.cn/Article/10/130/2005/search_score.swf?user=<%=session("id")%>&score=<%=sec%>">
<param value="Window">
<param value="0">
<param value="-1">
<param value="High">
<param value>
<param value="-1">
<param value>
<param value="ShowAll">
<param value="0">
<param value="0">
<param value>
<param value><embed src="http://www.jz123.cn/Article/10/130/2005/search_score.swf" quality="high" bgcolor="#FFFFFF" YPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</OBJECT>
</body>
</html>