The following example shows how you can embed a font in the Flex 4 and use the embedded font with the new Spark RichEditableText class.
Full code after the jump.
{ 26 comments }
Just a bunch of Adobe Flex Examples
Posts tagged as:
The following example shows how you can embed a font in the Flex 4 and use the embedded font with the new Spark RichEditableText class.
Full code after the jump.
Tagged as: cff, embedAsCFF, Gumbo, mimeType, needsSWF
{ 26 comments }
by Peter deHaan on April 1, 2008
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.
Tagged as: advancedAntiAliasing, embeddedFontList, mimeType, systemFont
{ 7 comments }
by Peter deHaan on February 7, 2008
The following example shows how you can embed a font using ActionScript and the [Embed] metadata.
Full code after the jump.
Tagged as: fontFamily, fontName, mimeType
{ 9 comments }
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.
Tagged as: mimeType
{ 0 comments }
Get smart with the Thesis WordPress Theme from DIYthemes.