cannot use proxy to stream flash object.

P

Peter Rilling

Hi.

I am trying to troubleshoot why a proxy I have created is not streaming a
flash object correctly to the broswer.

The following is how I am pushing it to the browser:
Response.Clear();

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

Response.AddHeader("Content-Type", "application/x-shockwave-flash");

Response.AddHeader("Content-Disposition", "inline;filename=flash.swf");

Response.WriteFile(@"C:\Documents and Settings\PRilling\My Documents\Visual
Studio 2005\WebSites\WebSite1\flash.swf");

Response.End();

So the browser can render the flash object, I am using the following HTML:
<embed style="width: 300px; height: 250px;" src="get.aspx" />

This should work but I get a blank area. The flash file is correctly
formatted as I can create an <embed> tag that directly references the file,
but the proxy does not seem to work. Is there something that I am missing?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top