Can not add font to dynamic text field
I am Tring to Add Font in my dynamic text field But it just dont happens here is the code
var format:TextFormat = new TextFormat(); format.color = stringColor;
format.font="Palentino linotype"; mysidepanel.badgeHolder.defaultbg.usernameholder.engraveUsername.setTextFormat(format); mysidepanel.badgeHolder.defaultbg.designationholder.engraveUserdesg.setTextFormat(for开发者_Python百科mat); mysidepanel.badgeHolder.defaultbg.usersloganholder.engraveUserslogan.setTextFormat(format);
ANd i have embeded the font Palentino linotype. may be i am not embeding the font properly if some one helps me in this i will be very gratefull.
Please set mysidepanel.badgeHolder.defaultbg.usernameholder.engraveUsername.embedFonts = true
before setting text format. Here is a more complete guide.
精彩评论