New Blog Format | Hosted on ServerDisk | Site Map
Search:
NewSourceMedia Popular Tutorials: PHP Javascripts Web Hosting
SoftwareTutorials
CATEGORIES
Scripts (2,2351) Podcast (video & audio)
 




Home / Flash / Debugging and Testing

Fixing Fonts In Flash

Published by: Alexander Mclean III
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 Comment



Related Articles for Flash Debugging and Testing:
Articale 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.
Articale Actionscript Converting Negitive to Positive Numbers
Needed to know the simples way to convert a number from positive to negative or negative to positive in actionscripts. Here it is.
Articale Autorun Launch Flash Projector on CD
How to create a Autorun CD-ROM to launch a flash projector file (exe) from a CD on Window pc system.
Articale Flash ActiveX Workaround Javascript Fix
Here is how to fix the activex issue \"click to activate\" by using javascript.
Articale List of Top Web Hosting sites with
UNLIMITED DISK SPACE





Hosting - List of top Web Hosting Services with FTP and Unlimited Disk Space