Embed font in Combo Box and Radio Buttons
Hi all,
Yes me again.
I am currently creating a contact form which scrolls up and down showing form components. I am using shared library fonts from another swf which is working fine however because I needed it to be masked therfore need to embed the fonts. This is easy to do with text boxes however I am having trouble in embedding a shared font into a combo box and radio buttons.
I am using this actionscript for the combo box
Code:
var myStyleFormat = new _root.contactDetails.contactResearch.ComboBox.FStyleFormat();
myStyleFormat.textColor = 0xFF0000;
myStyleFormat.embedFonts = true;
myStyleFormat.textFont = "Font Standard"; // Name of the embedded font
myStyleFormat.FStyleFormat.applyChanges();
I think that I am on the right lines but its not quite working. Does anyone have any ideas?
Thanks