cannot use proxy to stream flash object.

Tech-Archive recommends: Fix windows errors by optimizing your registry



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?



.



Relevant Pages

  • Re: Flash and Frames in Sites
    ... Roy Schestowitz wrote: ... > The text "If your browser does not support Flash, ... > the Flash object ...
    (comp.infosystems.www.authoring.html)
  • Re: OT: Spare pair of eyes needed.
    ... >> formatted using modern web standards? ... > using a trailing-edge browser is a good way to identify those content ... if the browser can't display the Flash object. ...
    (uk.comp.sys.mac)