网页向flash传递参数

来源:互联网 发布:怎么变成大小为1矩阵 编辑:程序博客网 时间:2024/05/16 01:46
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="state.aspx.cs" Inherits="state2" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <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="100%" height="100%" id="state" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="flashvars" value="bsid=<%=ViewState["bsid"].ToString() %>" />
<param name="movie" value="state.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000066" /><embed src="state.swf" quality="high" bgcolor="#000066" width="100%" height="100%" name="state" align="middle" allowScriptAccess="sameDomain" flashvars="bsid=<%=ViewState["bsid"].ToString() %>" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
    </div>
    </form>
</body>
</html>
0 0