If you are creating text fields dynamically and calling the setTextFormat doesn't appear to have any effect, this may be caused by an issue with actionscript. Actionscript by default resets the TextFormat of a TextField when you set the .text property of the field. To ensure that your format is applied, set the format only AFTER setting the text contents