[flashpro] setStyle("FontFamily"... and shared font
Denis Huë
denis at atypic.be
Thu Aug 4 11:30:18 EDT 2005
Try to change directly the "flabel" movie ( in the library: Flash UI
Components/Component Skins/Global skin)
Change the default type by yours, and choose all Characters in Character
Options...
-----Message d'origine-----
De : flashpro-bounces at muinar.org [mailto:flashpro-bounces at muinar.org] De la
part de eric choisy
Envoyé : jeudi 4 août 2005 14:53
À : Mailing list for professional Flash designers and developers
Objet : [flashpro] setStyle("FontFamily"... and shared font
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
------------------------------------------------------------------
send message to the list: mailto:flashpro at muinar.org
[FlashPro] list info, subscribe, archive: http://flash-list.com/
There's also a WebPro mailing list: http://webdesign-list.com/
cutting-edge sounds for flash: http://flash-sounds.com/
More information about the FlashPro
mailing list