flash调用(包括最简单的JavaScript调用C#参数写法)
Code
<%string fileurl = Request.QueryString["f"];
//string vType = fileurl.Substring(fileurl.Length - 3);
%>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript" >
var so = new SWFObject("mediaplayer.swf", "mymovie", "480", "360", "8");
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.useExpressInstall('expressinstall.swf');
so.addVariable('file',"<%=fileurl%>");
so.addVariable('autostart','true');
so.write("flashcontent");
</script>