A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Bold and regular text with embedded fonts, AS3, CS4

  1. #1
    Member
    Join Date
    Dec 2006
    Posts
    65

    Bold and regular text with embedded fonts, AS3, CS4

    Anybody know the trick to getting both bold and regular text in a dynamic text field? I can do it with system fonts no problem (using htmlText), but the client wants copy to be Futura Medium and Futura Bold. I'm pretty sure this isn't the first time anyone's had to do this.

    Thanks --

  2. #2
    Senior Member
    Join Date
    May 2004
    Posts
    226
    The only way I found to get bold/italic in a dynamic field is to import the font 3 times into the library, such as:
    ArialBold > with bold checked
    ArialItalic > with italic checked
    ArialPlain > with no style checked

    Then set your textFields font to ArialPlain and embed the required characters and you should be good to go.

    Edit:The above is for CS3, don't know if it will work in CS4.
    Last edited by v5000; 05-12-2009 at 03:57 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center