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)’
The following example shows how you can embed a font using ActionScript and the [Embed] metadata.
Full code after the jump.
Continue reading ‘Embedding fonts in a Flex application using Embed metadata’
OK, I learnt this trick a few weeks ago from a co-worker. A user emailed me and asked if it was possible to embed an HTML/text file in a Flex application rather than having to load the files at runtime, similar to how you can embed images or whatnot.
Not being certain, I asked the team and got this response…
Full code after the jump.
Continue reading ‘Embedding external files using [Embed]’