日期:2014-05-19  浏览次数:21138 次

如何在asp.net(c#)中插入flash 谢谢
如题.

------解决方案--------------------
使用专门的控件,如Flash Control
下载:http://weblogs.asp.net/pleloup/archive/2005/12/28/434104.aspx

直接在aspx里面写下列代码:
<OBJECT classid= "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 "
codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0 "
WIDTH= "550 " HEIGHT= "400 " id= "myMovieName "> <PARAM NAME=movie VALUE= "myFlashMovie.swf "> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src= "/support/flash/ts/documents/myFlashMovie.swf " quality=high bgcolor=#FFFFFF WIDTH= "550 " HEIGHT= "400 "
NAME= "myMovieName " ALIGN= " " TYPE= "application/x-shockwave-flash "
PLUGINSPAGE= "http://www.macromedia.com/go/getflashplayer "> </EMBED> </OBJECT>