While rendering to SWF, After Effects maintains vectors as much as possible. However, raster images, blending modes, motion blur, some effects, and the contents of nested compositions cannot be represented as vectors in the SWF file and are rasterized.
You can choose to ignore these unsupported items so that the SWF file includes only those After Effects features that can be converted into native SWF elements, or you can choose to rasterize frames that contain unsupported features and add them to the SWF file as JPEG-compressed bitmap images, which may reduce the efficiency of the SWF file.
Audio is encoded in MP3 format and added to the SWF file as an audio stream.
When After Effects creates a SWF file, it also saves a report ([SWF file_name]R.htm) to the same folder as the SWF file. The report also contains a link to the SWF file so that you can preview the output using the Flash Player plug-in. Open the report in a browser to view the SWF file and see which items in the composition are unsupported.
The exported SWF file includes each unchanged item in the After Effects composition once, and then references it for each use. If a layer is used in multiple frames, each use refers to the same object, even if the layer’s transform properties (such as Position) are animated. However, if the content of the layer changes—for example, if a mask on the layer is animated or if the layer’s source footage item is video—a new object is created for each frame in which the layer is visible. If multiple layers in the composition share the same source footage item, the source is added once and is then referenced for every additional layer that shares the source. If the source is an Illustrator file, a SWF movie clip is created and referenced. Text characters are added as vectors once and then referenced on all subsequent frames, unless you choose Fill Over Stroke from the Fill And Stroke options menu; in that case, the characters are added as vectors on every frame.
SWF export settingsEach mask is exported as a separate SWF object, the name of which is the layer name followed by the mask name. If all masks use Difference mode, all masks are exported as one SWF object, and the name is the layer name. Each text character is exported as a separate SWF object.
There are advantages and disadvantages to flattening Illustrator artwork. When you flatten Illustrator artwork, text is exported to SWF properly, so you don’t need to convert text to outlines. Overlapping objects are removed, so composited layers appear the same in both After Effects and the SWF file. End caps, joins, and transparency groups are exported properly, and artwork outside crop marks, which is not visible in the SWF file, is not included. However, SWF files don’t necessarily become smaller. In addition, the flattening process may introduce unsupported objects that are then ignored or rasterized, and white fringes may appear around some objects. The process can be slow, memory-intensive, and possibly ineffective for complex Illustrator artwork.
Target commands for web links in a SWF file
Supported features for SWF exportAll Path Text options are supported, except the following: Composite On Original, Fill Over Stroke, and Difference mode.
Lines drawn by the Audio Spectrum and Audio Waveform effects are converted to vectors. The following unsupported features are ignored: Outside Color (only Inside Color is used), Softness, and Composite On Original. In addition, only uniformly thick lines are included in the SWF file. For example, if you select the Use Polar Path option in Audio Spectrum, lines become thicker farther from the center in After Effects, but in the SWF file the lines remain at the same thickness.
The waveforms may increase the SWF file size, so decrease the Displayed Samples value in the Audio Waveform effect or the Frequency Bands value in the Audio Spectrum effect, or decrease the frame rate to make the SWF file smaller.
Layers that have Illustrator source files are converted to corresponding SWF items if the layer does not contain masks or have Collapse Transformations enabled. Illustrator layers that contain masks or have Collapse Transformations enabled are rasterized. The SWF file maintains the Illustrator crop marks. Artwork outside the crop marks is included in the SWF file even though it’s not visible, thereby increasing the file size.
The SWF export report lists information for unsupported features in Illustrator files for the first frame in which the Illustrator file is visible. Unsupported features are ignored or rasterized (depending on whether you’ve selected Ignore or Rasterize Unsupported Features) on all frames in which the footage is visible.