Thanks Alex and Gabriel. I think most of my problems were due to security domain issues. I finally have it working with the font swf registering its own font. The important part being that the font swf and the app swf are both running under the same security context (which means I couldn't run the app locally and load a remote font swf--most of my problem).
Anyway, you understand the security/domain intricacies more than I. In case anyone comes across this later, you can cross-reference this thread outlining my (and others') adventures with runtime font loading and TLF: http://forums.adobe.com/thread/465439 Thanks for your help! Aaron --- In flexcoders@yahoogroups.com, gabriel montagné <gabr...@...> wrote: > > On 07/05/2010, Alex Harui <aha...@...> wrote: > > I think I would make the font swf do the registration. Thatâs how I did > > it > > recently. And I always wait for INIT before doing things like that. > > There's also a very clear example of loading fonts for TLF at runtime on the > docs for the ISWFContext interface, on the callInContext method description: > > http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flashx/textLayout/compose/ISWFContext.html#callInContext() > > ... with all the tricky bits, i.e., > > > package flashx.textLayout.compose.examples { > > public class EmbeddedFontLineCreator extends Sprite implements ISWFContext > > { > > [...] > > > var embeddedFontLineCreator:Class = > > fontSWF.contentLoaderInfo.applicationDomain.getDefinition( > > "flashx.textLayout.compose.examples.EmbeddedFontLineCreator" ) as Class; > > flow.flowComposer.swfContext = new embeddedFontLineCreator(); > > hth, > gabriel > > -- > gabriel montagné láscaris comneno > http://rojored.com > +44 (0) 7500 709 209 >