0 Replies Latest reply on Apr 25, 2008 1:30 AM by nishantkyal

    Using embedded fonts

    nishantkyal Level 1

      I've embedded font into an SWF in the following manner:
      package resources.fonts
      import flash.display.Sprite;

      public class _Arial extends Sprite
      [Embed(source='c:/windows/fonts/Arial.ttf', fontName='_Arial')]
      public static var _Arial:Class;

      Now when I try to load it in my AIR app, I get "IFlexAsset could not be found" error when the file gets loaded. Any ideas?