Graphics Reference
In-Depth Information
5
FILE OPTIMIZATION
CHAPTER OUTLINE
Image Types
76
.jpg 76
.gif 79
.png 80
Image Compression 81
High-Quality Images 81
Manage Compression in Flash
82
Vectors and Fonts 85
Scaling and Zooming
86
Vector Considerations
86
Text and Fonts 87
Optimizing Code 88
Don't Repeat Yourself 88
Allow the Flash Player to Relax
89
Conclusion
90
Whether you
re building banner ads, microsites, games, applications,
or anything else, it
'
s always a good practice to do your best to keep
your file sizes as low as you can while still achieving your design and
animation goals. Although microsites and games are going to be
bigger than banners, you don
'
t want them to be too big because you
may risk the loss of potential users. Those potential users are, in
turn, potential customers for your client. Banners need to be kept
down in file size for a different reason: specs. When you go over
thefilesizeallowedinthebanner
'
s specs, the site(s) on which it is
running will most likely reject your banner.
Enter file optimization. Optimizing your Flash files can consist of
anything from changing the compression settings on your images to
slimming down your code or using vector drawing instead of
imported images. There are several ways to reduce your file size and
knowing some of them can not only help your sanity, but also help
you in building your projects without the need to remove any key
features or images.
'
 
Search WWH ::




Custom Search