views:

13

answers:

1

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(format); 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.

+1  A: 

Please set mysidepanel.badgeHolder.defaultbg.usernameholder.engraveUsername.embedFonts = true before setting text format. Here is a more complete guide.

Maxim Kachurovskiy
Worked As Charm
dip1232001