1 Reply Latest reply on Jan 12, 2011 10:28 PM by Flex harUI

    Using fonts embedded in the main app in Flash swf(s) loaded at runtime

    FTQuest Level 3

      Hello there,

       

      My main application has several fonts embedded via CSS:

      @font-face {

      src: url('/Library/Fonts/ACaslonPro-Regular.otf');

      fontFamily: CaslonR;

      unicodeRange: U+0021-U+007E;

      }

       

      At runtime the main application loads various swf files that were created in Flash CS5.

      I can't figure out how to allow those dynamically loaded external swf files to use the fonts that are already embedded in the main application.

      Of course I can embed the font in each swf in Flash CS5 to begin with, but that doesn't seem like an elegant solution, let alone it significantly increases the file size of every swf.

       

      Thanks,

      FTQuest