Specifying publish settings for JPEG files

The JPEG format lets you save an image as a highly compressed, 24-bit bitmap. Generally, GIF format is better for exporting line art, and JPEG format is better for images with continuous tones, such as photographs, gradients, or embedded bitmaps.

Flash exports the first frame in the SWF file as a JPEG, unless you mark a different keyframe for export by entering the frame label #Static.

To publish a JPEG file with your Flash SWF file:

  1. Do one of the following to open the Publish Settings dialog box:
    • Select File > Publish Settings.
    • In the Property inspector for the document (which is available when no object is selected), click the Settings button.

    Note: To create a publish profile for the publish settings that you'll specify, see Using publish profiles.

  2. On the Formats tab, select the JPEG Image type. For the JPEG filename, either use the default filename, or enter a new filename with the .jpg extension.
  3. Click the JPEG panel to display its settings.
  4. For Dimensions, enter a width and height in pixels for the exported bitmap image, or select Match Movie to make the JPEG image the same size as the Stage and maintain the aspect ratio of your original image.
  5. For Quality, drag the slider or enter a value to control the amount of JPEG file compression used.

    The lower the image quality, the smaller the file, and vice versa. Try different settings to determine the best trade-off between size and quality.

    Note: You can set the bitmap export quality per object using the Bitmap Properties dialog box to change the object's compression setting. Selecting the default compression option in the Bitmap Properties dialog box applies the Publish Settings JPEG Quality option. See Setting bitmap properties.

  6. Select Progressive to display Progressive JPEG images incrementally in a web browser, to make images appear faster when loaded over a slow network connection.

    This option is similar to interlacing in GIF and PNG images.

  7. To save the settings with the current file, click OK.