Macromedia flash mx 2004 User Guide

Page of 48
Performance Optimization
13
Select the Use Imported JPEG Data checkbox to use the default compression quality specified 
for the imported image. To specify a new quality compression setting, deselect Use Imported 
JPEG Data and enter a value between 1 and 100 in the Quality text box. A higher setting 
produces a higher image quality, but also a larger file size, so adjust the value accordingly.
Select Lossless (PNG/GIF) in the Compression pop-up menu to compress the image with 
lossless compression, in which no data is discarded from the image
Use lossless compression 
for images with simple shapes and relatively few colors. Save the bitmap as a PNG file.
4
Click Test to determine the results of the file compression. Compare the original file size to the 
compressed file size to determine if the selected compression setting is acceptable.
You can also globally adjust the compression settings for JPEG files
.
 
To globally control bitmap compression for JPEG files:
1
Select File > Publish Settings, then select the Flash tab. The Publish Settings dialog box with 
the Flash tab options appears:
2
Adjust the JPEG Quality slider or enter a value. 
A higher JPEG quality value results in a higher image quality. As with the compression settings 
previously described, lower image quality produces a smaller SWF file; higher image quality 
produces a larger SWF file. Try different settings to determine the best trade-off between size 
and quality.
Vector graphics
Whenever possible do not use borders in your vector graphics; this will greatly diminish the 
number of rendered lines.