4 Replies Latest reply on Oct 6, 2011 3:05 PM by Budkin76

    Can fonts embedded with StyleManager in Flex app be applied to AS3 components?

    Budkin76 Level 1

      I'm testing some font embedding in Flex 4. Using the tutorial below (modified a bit), I'm loading in fonts via compiling CSS into SWFs.

       

      http://www.softwarebyrichard.com/content/embedding-fonts-flex-4

       

      When I apply those styles to my Flex components all is well, however, I need to add an AS3 component to my Flex app. This component has some Flash text fields in it. The only way I know to embed fonts in AS3 is completely different and I believe requires another load. What I want to know is if there is any way that the text fields in my AS3 component can use the same styles and embedded fonts that the Flex components are using. This would make my life a whole lot easier (and my app smaller I believe). Thanks.