title: FilePathResult doesn't work for swf files?
body: <p>I'm using FileResult to show files in my web site as the following:</p>
  
  <pre><code>public ActionResult GetSwf(long id = 0)
  {
      if (id &lt;= 0) return null;
      Attachment attachment = Service.GetAttachmentById(id);
      if (attachment == null) return null;
  
      string filename = attachment.Name;
      string mimeType = "application/x-shockwave-flash";
      string absoluteFilePath = UploadedPaths.GetAbsolutePath(attachment.Path);
  
      return File(absoluteFilePath, mimeType, filename);
  }
  </code></pre>
  
  <p>It doesn't work for the following tag and the browser is going to download file instead of show it!</p>
  
  <pre><code>&lt;object type="application/x-shockwave-flash" width="220" height="166" data="File/GetSwf/1232" class="flash-object" data-name="ads-file"&gt;&lt;/object&gt;
  </code></pre>
  
  <p>What's wrong, how can I fix it?</p>