请问怎样在ASP.NET里插入FLASH?
我上传上去,为什么总是不能显示呀?急切等待答案!
急用!
随机显示flash.
<SCRIPT LANGUAGE="JavaScript">
var how_many_ads = 3;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad == 1) {swf="swf/main_01.swf";}
else if (ad == 2) {swf="swf/main_02.swf";}
else if (ad == 3) {swf="swf/main_03.swf";}
document.write('<td bgcolor=139BD9><embed SRC=\"' + swf + '\" menu=false quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi? P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="936" height="129"></embed></td>');
</SCRIPT>
看看这个吧,可能对你有用.