Q: OFM does not render fonts when embedded.
A: Did you apply a mask to OFM? If you do so, make sure the mask is not a scene-mask, but a mask defined using the actionscript setMask() call. OFM uses device fonts, which are not masked when using a scene mask. Also, the masquee may not be an externally loaded MovieClip. This means you'll need to load OFM as a child clip of a normal movieclip, for masking to function correctly.
Here's some sample code:
MapMask is the maskmapComponent is the masqueemapComponent.target_mc is the OFM component// // Load mask clip.. // attachMovie("MapBg_mc", "MapMask", getNextHighestDepth()); with (MapMask) { _x = 122.2 _y = 30.2; _width = 399.4; _height = 345.6; } // // Load OFM clip.. // OFM is loaded into the mapComponent.target_mc clip. // var mclListener:Object = new Object(); /* Called when OFM component is initialized */ mclListener.onLoadInit = function(target_mc:MovieClip) { target_mc.notifyOnPublicInterfaceSetup(interfaceLoaded); }; /* Called when OFM public interface is ready to use. */ function interfaceLoaded() { /* Do something using the public interface.. */ ofmInterface = mapComponent.target_mc.getPublicInterface(); ofmInterface.setOFMParameter("CustomizeCursor", false); } var mcl = new MovieClipLoader(); mcl.addListener(mclListener); mapComponent.createEmptyMovieClip("target_mc", 0); mcl.loadClip("OrbitFlashMap_modern.swf", mapComponent.target_mc); // // Set mask.. // mapComponent.setMask(MapMask);