7 Replies Latest reply on Aug 17, 2012 12:27 PM by sinious

    Problem with compiling AIR with Embed (font) tag

    Ana G. Pino

      Hi,

      I have an application developed for AIR. When I compile it without the fonts that I need to embed it is compiled without problems when I add the Embed tags then it compiles but when it is running it can not be used, the input text fields cannot be accessed.

      Has anybody encountered this problem? What could be the possible reasons?

       

      Here is an example of how I embed the fonts.

       

      [Embed(systemFont="FreeSans", embedAsCFF='false', fontName="FreeSansEmbed", mimeType="application/x-font")]

      private var freeSansFont:Class;

       

      Thank you,

      Ana