实现内容:asp.net页面中显示一个swf文件的动画
代码中"1.swf"是动画的路径和文件名称。
代码:
Code
<%@page language="C#"%>
<%@import namespace="System.IO"%>
<script runat="server">
void page_load(object serder, EventArgs e)
{ }
</script>
<html>
<body>
<form id="Form1" runat="server">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/_
cabs/flash/swflash.cab#version=6,0,29,0" width="300" height="300">
<param name="movie" value="1.swf">
<param name="quality" value="high">
<param name="SCALE" value="exactfit">
<embed src="1.swf" width="300" height="300" quality="high"pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" scale="exactfit"></embed>
</object>
</form>
</body>
</html>