Fixing Fonts In Flash

Here is a fix for pixel fonts (like 8pt fonts) in flash that converts to system fonts or becomes blurry after saved as a swf file.

I just had a hard time embedding the font with out getting the blurry look.

Then it came to me that these are dependent on the pixel location. So I changed all my text fields _x and _y locations to positions that are rounded to the nearest tenth

Bad Example: _y = 100.8;
Best Example: _y = 100

If your text box is located inside of a movie clip, make sure the movie clip _x and _y are located to positions that are rounded to the nearest tenth also. That goes for all of the movie clip in the path leading to your text box.

You must aline your fonts to the left or right, never to the center.

Finally, when publishing your movie, make sure the movie “Dimensions” are either in Pixels or Match Movie.

Leave a Reply