In a previous example, “Embedding fonts by name instead of location”, we saw how you could embed a font in Flex by specifying the font name instead of a location by using the local() function instead of the src() function when embedding a font.
The following example shows how you can load a system font in Flex 4 by specifying a custom Flex configuration file and specifying a local font path.
Full code after the jump.
[click to continue…]
Tagged as:
@font face,
Gumbo,
load config,
local()
The following example shows how to specify an effect which gets played when an Alert control is displayed by setting the Alert control’s creationCompleteEffect style. You can also see how to embed both the normal and bold font using CSS and @font-face.
Full code after the jump.
[click to continue…]
Tagged as:
@font face,
creationCompleteEffect,
local()
The following example shows how you can embed a font in Flex by specifying the font name instead of a location by using the local() function instead of the src() function when embedding a font.
Full code after the jump.
[click to continue…]
Tagged as:
@font face,
local()