I'm using Flash CS5 and AS3.
I've made a form using the library's "User Interface" object and I want to change the font size for the TextInput and TextArea fields but I can't find any option in their properties to change it.
I've tried this code
var myTextFormat: TextFormat = new TextFormat();
myTextFormat.size = 14;
even though I don't get any error while publishing, my page doesn't appear, if I remove this code the page comes back to work.
How can I do to change the font size?
Solved with this code
var tf:TextFormat = new TextFormat();
tf.color = 0x000016;
tf.font = "Tahoma";
tf.size = 14;
tf.align = "left";
tf.bold = true;