About fonts

You define the font that appears in each of your components using the fontFamily style property. This property can take a list of fonts, as the following example shows:

.myClass {
   fontFamily: Arial, Helvetica;
   color: Red;
   fontSize: 22;
   fontWeight: bold;
}

If the client's system does not have the first font in the list, the Flash Player attempts to find the second, and so on, until it finds a font that matches. If no fonts match, Flash Player makes a best guess to determine which font the client uses.


Version 1.5

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000564.htm