Using the yahoo maps component I can add markers to the map, complete with labels etc. This works when I run the swf containing the component by itself. However when i use loadMovie to load it from another, the map displays, the markers are in right place, but the text on the labels doesn't display. I've seen this kind of problem before with masks and alphas on dynamic text fields, and have solved it by embedding fonts. Problem is how do i embed fonts into compiled components? I've tried this:
myMap.setStyle("embedFonts", true);
myMap.setStyle("fontFamily", "Verdana");
This doesn't work, even with Verdana exported in both the parent and child MCs.
I've searched everywhere for a solution, but nobody seems to have reported this 'bug' before.