A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Embed Fonts

  1. #1

    Embed Fonts

    I am trying to embed some fonts in my text area component. I use the folowing script:

    text_area_02.color = 0x666666;
    text_area_02.embedFonts = "FFF Harmony";
    text_area_02.fontFamily = "FFF Harmony";
    text_area_02.fontSize = 8;
    text_area_02.fontStyle = "normal";
    text_area_02.textAlign = "right";
    text_area_02.depthChild0._alpha = 0;

    The fonts are not embeded...you can see at www.krukiel.com and go to an image icon then to info...what gives? Should I just change to ariel?

    thanks,

    Mark

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    Have you added the font to your library? On your library choose new font, select the font and give it a name. Then refer to that name in the embed code.

  3. #3
    Between Flash & Flashkit timothye's Avatar
    Join Date
    Dec 2003
    Location
    Sweden
    Posts
    1,666
    Code:
    txt_area.embedFonts=true;
    try that
    I want to learn .
    wannabe flasher [ Actionscript 2.0 ]

  4. #4
    Thanks a lot for helping -- I will try both of your suggestions. I broke down and called Macromedia tech support and they said that the text components don't support embedded fonts, but just between you and me..they may not know what they are talking about!

    Thanks,

    Mark

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