Maarten Serneels, Actionscript 3 and golden oldies.
embedding font in actionscript 3.0 components
Another great tip by the man with the golden smile Jannes Van de Maele about embedding fonts, this time for components.
Check out this small example and quiver with joy and utter amazement!
var radioButton : RadioButton = new RadioButton(); var myFormat : TextFormat = new TextFormat(); myFormat.font = TextManager.HELVETICA_NEUE; radioButton.setStyle("textFormat", myFormat); radioButton.setStyle( "embedFonts", true );
That’s it for now, kids! More to come soon though!

[...] quick post in relation to my post about embedding fonts in actionscript 3 components: A combobox example. [...]
What is “TextManager”?
…for me, this doesn’t work at all.
Hey Matt. TextManager is a static class that holds a fontname. In your case you do not have this class, so you have to set a font as a string. It’s the same thing basically:
myFormat.font = “Verdana”;
For example.