5

FILE OPTIMIZATION

CHAPTER OUTLINE

Image Types

.jpg

.gif

.png

Image Compression

High-Quality Images

Manage Compression in Flash

Vectors and Fonts

Scaling and Zooming

Vector Considerations

Text and Fonts

Optimizing Code

Don't Repeat Yourself

Allow the Flash Player to Relax

Conclusion

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 ...

Get Flash Advertising now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.