Posts tagged as:

load config

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…]

{ 0 comments }

The following example shows how you can use a custom configuration file in a Flex Builder Flex project by specifying an additional compiler argument, -load-config.

Full code after the jump.

[click to continue…]

{ 12 comments }