A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Firefox wants to save swf

  1. #1
    Senior Member
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    326

    Firefox wants to save swf

    I've uploaded a swf file to my Google Pages account. I should be able to access this swf file directly by using e.g. (below urls don't work, they serve just as examples):
    http://portfolio.googlepages.com/examples.swf

    But instead it gives me that save dialog ("you have chosen to open examples.swf, which is a flash file... save/open as..."). When I try the same thing in Internet Explorers it works and opens the flash movie.

    On other servers it works just fine, opening a swf file directly this way in Firefox. In fact, I've tried doing the same thing on my freewebs account e.g.:
    http://portfolio.freewebs.com/examples.swf
    and then I don't get this save dialog.

    What could cause this behaviour?

    Illustration | Animation | Web Banners | Graphic Design
    Ducklord Studio

  2. #2
    Senior Member
    Join Date
    Aug 2005
    Location
    The Netherlands
    Posts
    326
    Already found it through mozilla.org. It's a misconfiguration of the server the file is in. Indeed, when I entered the direct swf link at web-sniffer.net, in the found headers section it said a.o.:
    Content-Type: application/octet-stream
    Google Pages sent, along with the swf file, the wrong headers for this kind of file with it. That's why Firefox expects me to use an application instead of showing it inside the browser. So even if you give it the direct swf link, it's also important that the server it is in is configured right and sends the correct headers along with the file requested.

    Illustration | Animation | Web Banners | Graphic Design
    Ducklord Studio

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center