decorative banner

Exporting artwork in SWF format


    SWF is a vector format that produces high-quality, animated Web graphics. (See Creating Web graphics with SWF.)

To export artwork in SWF format:

  1. Export the artwork as described in About saving and exporting artwork. Choose Macromedia Flash (SWF) as the file format.
  2. In the Macromedia Flash (SWF) Format Options dialog box, select an Export As option:
    • AI File to SWF File to export the artwork to a single frame. Select this option to preserve layer clipping masks.
    • AI Layers to SWF Frames to export the artwork on each layer to a separate SWF frame, creating an animated SWF.
    • AI Layers to SWF Files to export the artwork on each layer to a separate SWF file. The result is multiple SWF files, each containing a single frame with the artwork from a single Illustrator layer.
  3. Set additional options, and click OK:
  4. Frame Rate

    Specifies the rate at which the animation will be played in a Macromedia Flash viewer. (This option is only available for AI Layers to SWF Frames.)

    Looping

    Causes the animation to loop continuously, rather than play once and then stop, when played in a Macromedia Flash viewer. (This option is only available for AI Layers to SWF Frames.)

    Generate HTML

    Generates HTML code for the SWF file, including its width and height. You can use this code to easily include the SWF file in a Web page. The HTML file is saved to the same location as the SWF file.

    Read Only

    Prohibits users from modifying the exported SWF file.

    Clip to Artboard Size

    Exports the entire artboard (and any artwork within the artboard borders) to the SWF file. Any artwork outside the artboard borders will be clipped off.

    Curve Quality

    Determines the accuracy of the bezier curves. A low number decreases the exported file size with a slight loss of curve quality. A higher number increases the accuracy of the bezier curve reproduction, but results in a larger file size.

    Image Format

    Determines how the artwork is compressed. Lossless compression maintains the highest image quality but creates a large SWF file. Lossy (JPEG) compression creates a smaller SWF file but adds artifacts to the image. Select Lossless if you intend to continue to work on the file (or files) in Macromedia Flash; select Lossy if you're exporting the final SWF file.

    JPEG Quality

    Specifies the amount of detail in the exported image. The higher the quality, the larger the file size. (This option is only available if you choose Lossy compression.)

    Method

    Specifies the type of JPEG compression that is used. Baseline (Standard) applies the standard type of compression, while Baseline Optimized applies additional optimization. (These options are only available if you choose Lossy compression.)

    Resolution

    Adjusts the screen resolution for bitmap images. Resolution for exported SWF files can be 72 to 2400 pixels per inch (ppi). Higher resolution values result in better image quality but larger file sizes.