I am working on a mobile actionsxcript project and am having trouble embedding some fonts. The fonts are embedded in SWF files as only a small subset is needed and I am trying to embed the SWF files in my AS build and then access the fonts via their linkage names.
I am not having any luck but am not really sure of the exact approach here so if anyone can shed any light or provide a tutorial/example that would be great as I am about to start banging my head on stuff.
I am embedding the font swf like this:
public var FontBold:Class;
I assume I need to construct an instance and cast it before I can use the font (maybe wrong about this) but am unsure of the details.
Thanks in advance for any help.
Turns out to be really (embarressingly) simple and I'm not sure how it took me so long to get working.
No idea how I had so much trouble with this when it is so obvious and straighforward. Oh well, that's often the case (with me at least)