PDA

View Full Version : embed a font in a listbox component


erika
07-08-2004, 11:54 AM
Does anyone know how to embed a font in a listbox component

petefs
07-08-2004, 09:05 PM
Sorry for the late reply ^_^

something like this:


var o = _global.styles.List = new mx.styles.CSSStyleDeclaration();
o.fontFamily = "myFontSymbol";
o.embedFonts = true;


where myFontSymbol is the linkage identifier of a font symbol that you've created (Library Panel's pulldown thingamajig -> new font).