2 Replies Latest reply on Jun 26, 2009 11:46 PM by Flex harUI

    Dynamic Font Embedding

    UGA_Bulldawg Level 1

      My goal is to let the user of my flex/air application choose one of their system fonts from a drop down and then format text on the screen using that font.  The dropdown is built but I can't get it to change the font of the textbox and the font must be embedded in order for the rotate method to work properly on the textbox.  I get the following errors:

       

      "unable to resolve myvarrocks for transcoding"

      "Unable to transcode myvarrocks"

       

       

      Here is the code I was attempting to run.

       

      [

      Embed(source=myvarrocks,fontName="EmbedMyFont",mimeType="application/x-font")]

       

       

      Is there any way to do what I am attempting?   Thanks!

       

      varEmbedMyFont:Class;

      varEmbedMyFont:Class;

       

      Is there any way to do what I am attempting?   Thanks!