Setting MIME Types on Your Server

I l @ ve RuBoard

For browsers to recognize and display Flash files, the server that delivers the Flash Player (.swf) files must tell the browser what type of files it's serving. This information is called the MIME type . The intricacies of server administration are beyond the scope of this book, but this section provides a basic description of the MIME types and the Flash suffixes to add to your server's configuration files. (Check out the Macromedia Flash Support Center at / www.macromedia.com/support/flash for technical notes about setting MIME types on specific servers.)

To identify a MIME type:

To update your server's configuration files, do one of the following:

  • For files published as Flash Player 2 through 6 or exported as Flash Movie, add the MIME type application/x-shockwave-flash and the associated suffix .swf .

  • For files published as Flash Player 1 or exported as FutureSplash Player, add the MIME type application/futuresplash and the associated suffix .spl .

To set additional parameters for Macintosh servers:

  1. For servers hosting movies published as Flash Player 2 through 6, do the following:

    • Set the Action parameter to Binary .

    • Set the Type parameter to SWFL .

    • Set the Creator parameter to SWF2 .

  2. For servers hosting movies published as Flash Player 1 or FutureSplash Player, do the following:

    • Set the Action parameter to Binary .

    • Set the Type parameter to TEXT .

    • Set the Creator parameter to Fspl .

graphics/01icon02.gif Tip

  • You can use Netscape Navigator to check whether the MIME type has been set properly on the server where you're posting your Flash movies. In Navigator, surf to a movie on the server that you want to check. From Navigator's View menu, choose Page Info (or Document Info ). In the window that appears, click the Embed link for the .swf file. Navigator lists the MIME type for the Embed URL in the bottom frame of the browser window (Figure 16.46). See whether the type displayed there matches the MIME type that you need.

    Figure 16.46. The View > Document Info (or View > Page Info) command in Netscape Navigator lets you see whether the MIME type has been set correctly on the server where your Web site is located.

    graphics/16fig46.gif


I l @ ve RuBoard


Macromedia Flash MX for Windows and Macintosh. Visual QuickStart Guide
Macromedia Flash MX 2004 for Windows and Macintosh (Visual QuickStart Guides)
ISBN: 0582851165
EAN: 2147483647
Year: 2002
Pages: 243

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net