Dynamic Text Field Font Change

Hi guys, i need a little help. I need to know how to set a dynamic fields’ font (and other properties) with actionScript. Can anyone help?

I thought it could be something like:

myDynamicTextField.font = "Comic Sans MS";

or at a long shot:

myDynamicTextField.setStyle("fontFamily", "Comic Sans MS");

(The second one only seems to work with “TextArea” components from the Components menu)