Embed fonts in actionscript
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Embed fonts in actionscript

  1. #1
    Senior Member
    Join Date
    Mar 2002
    Location
    The Netherlands
    Posts
    144
    Hi all,

    I create a dynamic textfield within actionscript,i need this textfield in a scrollpane later on. So i need to embed the font. But this doesn't work.....

    It does work when i put a textfield on the stage,set it dynamic, and embed all characters....but when i do it all by actionscript it doesn't work....and i need to do it with actionscript....

    So: when i embed text within my dynamic textfield created with actionscript it doesn't show the text at all.....can anyone give me a hand with this????

    thanx a lot...

  2. #2
    Aquarium drinker
    Join Date
    Nov 2000
    Location
    Greater than 45 degrees in Minkowski space
    Posts
    571
    If you're referring to the embedFonts property of the Textfield object, then for embedFonts = true to work, the font must have been embedded earlier in the movie. So what you need to do is place a textfield off-screen where you embed the font outline in the first frame, then embedFonts should work.

    Hope this helps.

  3. #3
    Senior Member
    Join Date
    Mar 2002
    Location
    The Netherlands
    Posts
    144
    Patrick,

    I tried that earlier but with no result....i now am busy with a workaround.....i just create the textfields in movieclips which i then duplicate......not pretty but it does the trick right now.....

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

Poll by Flashkit.com