A way to keep fonts clear in Flash

Source: Internet
Author: User

All know that when the flash display static text, the text appears to be very fuzzy, the middle or even stick together, the solution is 3.

1) using Device fonts
When you use static text in Flash, Flash inserts font profile information, and anti-aliasing processing, so the outline will appear very fuzzy, the use of device fonts, flash no longer inserts font profile information, only when the client plays the client's font information, and will not be anti-aliasing processing, The results of this are:
A. The font is clear when it is below 12pt, but it is significantly jagged when larger (about 18pt or more).
B. If the client does not have the appropriate font, then the unexpected situation will appear, which is definitely not the font you want. So use the font must be universal to do.
C. Flash is unable to perform a regular time line mask with the device font and requires the Setmask command.
D. In the flash edit state, see no difference, need to export to see the effect. There are always impatient friends complaining that no effect, and later confirmed that did not press Ctrl+enter.
"Supplemental":
A Flash includes three device fonts: _sans (similar to Helvetica or Arial font), _serif (similar to Times Roman font) and _typewriter (similar to Courier fonts).
You can also customize by using the device font (Use device font) option on the text Box Properties panel.
b dynamic text and input text use device fonts by default, so it usually looks like they're clearer, and if your needs are just the opposite, embed fonts are used.
Method: Click the "character (characters)" button on the property panel, and then see a dialog box, select the appropriate option.
"Note": English fonts are generally relatively small, full embedding will not let SWF increase how much. But the Chinese font is completely different, do not embed all, as long as the need to embed the characters on the line, otherwise the file must be in MB calculation. When you embed a font, you can see the expected effect even if you don't have the font installed.


2 Use Sawtooth type tool
Use device fonts to make text clear is OK, but there are so many inconvenient places, always uncomfortable, Flash MX 2004 Chinese This property panel appears a new thing: Sawtooth text, click this button, even in the editing state, you can see the font becomes clear, And in the absence of a computer to install the font can also be normal display, which makes the work of the text becomes very easy, especially pixel fonts, previously always worried about unclear, and not universal, with embedded fonts are not every font is still clear. Now it's all done with this tool.
About the Sawtooth tool is not much to say, you need to note that the text will have a certain extent of the "sinking", may sometimes only the upper half of a word is displayed. It doesn't matter much, just pull the text box up a bit.


3) using bitmaps

With Photoshop and other image processing software, and then output transparent GIF or PNG, and finally imported into Flash, in the Flash library, the bitmap properties set, Cancel the "Allow smoothing" option, this method is slightly troublesome, not commonly used. But if you take into account the combination of some cosmetic, special effects, or more convenient, such as using Photoshop to add shadow to the text, and then export transparent PNG to flash.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.