[flashpro] setStyle("FontFamily"... and shared font
eric choisy
bbp at bbp-online.com
Thu Aug 4 08:52:54 EDT 2005
Hye all.
I use a shared font in an external library and that's work fine with
dynamique textfield...
but i'm unable to use this font for styling a combobox.
UnibodyRegular is the ID in the link property of the font
in a Dynamic textField, just have to select the font in the listfonts.
it appear with a star after the name to sho this the "embeded" font...
I've tried this code but the font is not the good one, i suppose it use
the _sans default font...
i've tried with ou without embedFonts param...
nothing better.
listeVehicule.setStyle("fontFamily", "UnibodyRegular"); //
UnibodyRegular is the ID in the link property of the font
listeVehicule.setStyle("fontSize", 8);
listeVehicule.setStyle("embedFonts", "true");
Have an idea or a solution ?
perhaps this doesn't work !
best regards
eric
More information about the FlashPro
mailing list