1. Home
  2. Computing & Technology
  3. Web Design / HTML

Optimize Flash Fonts
Avoid Embedded Fonts

By , About.com Guide

Optimize Flash Fonts

Optimize Flash Fonts

Jennifer Kyrnin

Limit the Number of Fonts and Font Styles in Flash Documents

The more fonts and font styles you have in your document the larger it will be. Flash stores a version of the font in the Flash document, and if you have multiple styles like bold, italics, and small caps, your document can get very large in a hurry.

Avoid Embedded Fonts in Flash

Embedded fonts in Flash rapidly increase the file size. In fact, if your Flash document is too large, the first thing you should look at is how many fonts you have embedded. It can be very tempting to embed many fonts because then your document will look how you want it to look no matter what. But having a page that downloads in 10 minutes versus 10 seconds is not a benefit.

I once was working on a Flash document that had multiple languages in it. We first embedded around 20 fonts so that all the languages would show up correctly. But this made what was essentially a very simple application around 5MB - way too big for a Web page to download. We had to remove most of the embedded fonts to make it download fast enough. In fact, according to the Flash help document, "some fonts, particularly those used for Asian languages, can add significantly to the SWF file size when embedded."

Remove Embedded Fonts

  1. Select a text box and open the Properties (Window > Properties)
  2. Click on the Embed button
  3. Click the "Don't Embed" button
  4. Click OK to close the window

Embed Only the Font Characters You Need

The best thing to do when embedding fonts to keep the file size down is to only embed the font glyphs that you need. When you open the Embed dialog box, below the font options is a text box you can choose which glyphs you need. The easiest thing to do is click on the "Autofill" button, and Flash will fill in the glyphs you should embed. This allows you to embed fonts, but keep the file size down by only embedding the fonts your file uses.

Explore Web Design / HTML
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. About.com Web Design A to Z
  5. Books
  6. About Web Design Book
  7. AWD: Chapter 14
  8. Optimize Flash Fonts - Avoid Embedded Fonts in Flash Animations for Faster Downloads>

©2009 About.com, a part of The New York Times Company.

All rights reserved.