Can't create a text field

Hi,

Using the code below I cannot even create a text field. is it possible my class libraries have been corrupted?

var mainText2:TextField = new TextField();
mainText2.width=200;
mainText2.height=160;
mainText2.x=20;
mainText2.text = “hello”;
addChild(mainText2);

Attached is a screenshot of my actionscript settings