hi. i'm using scrollable TextArea components in a flash mx 2004 fla. they are pulling in text from xml and are formatted to use css.
my problem is that i can't get the font to be embedded. i'm using the "syntax" font. the actionscript to set the font and component styles reads:
ActionScript Code:
_global.setStyle("embedFonts", true);
_global.setStyle("fontFamily", "Syntax")
_global.style.setStyle("themeColor",0xF0B3B3);
_global.style.setStyle("borderColor",0xFFFFFF);
_global.style.setStyle("highlightColor",0xFFFFFF);
_global.style.setStyle("shadowColor",0xFFFFFF);
_global.style.setStyle("borderCapColor",0xFFFFFF);
_global.style.setStyle("shadowCapColor",0xFFFFFF);
please can someone help...i'm going crazy. i tried a couple variations of the code above and included the font in the library; but i still can't get this to work. posting a simple fla with a working example of a font embed script would be of tremendous help. i can also link to my fla file if anyone would like to check it out. thanks!!!