1

我有 ASP.Net 应用程序,它具有 ASHX 处理程序来为某些请求返回“应用程序/x-shockwave-flash”的内容类型。

当我尝试在本地服务器上测试应用程序时,IE 不显示任何内容,但是当我使用 Chrome 尝试它时,它运行良好。

本地 Internet 区域的安全设置是默认设置,高级设置也是默认设置。

我有 Adob​​e Flash Player 11 ActiveX

这是我的代码:

HttpResponse response = context.Response;

response.Clear(); 

context.Response.ContentType = "application/x-shockwave-flash";

byte[] buffer = BlobStorageService.DownloadByteArray("MyContainer","8_L001_1.swf");

System.IO.MemoryStream ms = new System.IO.MemoryStream(buffer);
ms.WriteTo(response.OutputStream);

ms.Close();
response.End(); 

可能是什么问题呢?

4

0 回答 0