Loading font at runtime for TLF in Flex 3.3
Hey flexers,
I have an app that's using the Flex 3.3 SDK. We pulled the text layout swc from Flex 4 and are using a text flow in our app. Previous to this we had been using the old TextField.
How do I go about loading in a font swf at runtime and getting a text flow to use it? I've tried several things as posted on the forum and around the web and it never actually takes effect in the text flow. Here are a couple questions I came up with along the way though:
When I compile the font swf from the font css, do I need to have embedAsCFF=true?
Should I be able to use StyleManager.loadStyleDeclarations() to load in the font swf? When I do, I get the following error:
VerifyError: Error #1014: Class mx.modules::ModuleBase could not be found.
Any idea why or know how I would load in the font swf?
