Category Archives: Embed

Embedding fonts in a Flex application using Embed metadata (redux)

In a previous example, “Embedding fonts in a Flex application using Embed metadata”, we saw how you could embed fonts using the [Embed] metadata with the source attribute.

The following example shows how you can embed system fonts in a Flex application using the [Embed] metadata with the systemFont attribute.

Full code after the jump.

Continue reading Embedding fonts in a Flex application using Embed metadata (redux)

Using embedded fonts with the Panel container in Flex

The following example shows how you can use an embedded font with the Flex Panel container so that a Panel container can be rotated or faded without the text “disappearing”. The trick here is to set the panel’s titleStyleName style to a custom style which sets the font family to the embedded font.

Full code after the jump.

Continue reading Using embedded fonts with the Panel container in Flex