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.