A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Problem with dynamic text and it's font

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Location
    Lithuania
    Posts
    21

    Problem with dynamic text and it's font

    Hello.
    I have a problem here how can I make that users who don't have the specific font still could see the font? It's fine witch static text, but with dynamic is completely different. Can i somehow import that font to the library? If yes how? Becouse when i'm trying to import TTF file i get UNEXPECTED FILE FORMAT message.

  2. #2
    pablo cruisin' hanratty21's Avatar
    Join Date
    Mar 2002
    Location
    on the lam
    Posts
    2,275
    You need to EMBED the font. Basically what you are doing is encapsulating the font within the swf file itself, so that you deliver the font to the users.

    So, go to your dynamic text bos, and click on it, so the Properties box comes up. Then, click the Character button -- when the pop up comes up, Choose the All Characters Radio button and click Done.

    Normally your filesize will increase a little bit, because now you are adding the size of the Font file into the swf, but since you are using some Static text with the same font, you have already done this. When you use static text, you embed the font automatically. Unfortunately, this doesn't carry over to the dynamic boxes in the same swf.

    Follow the steps above. It will work perfectly!

    RH

    p.s. 900 posts!?!?! I've been here TOO long!

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