I'm just trying to create a text area object and add it to the stage and everytime I try it gives me an error.
var plainTextArea:TextArea = new TextArea();
plainTextArea.verticalScrollPolicy = ScrollPolicy.ON;
This is the simple code that I copied directly from Adobe Livedocs just to test and see if it works. When I compile it I get these errors.
1046: Type was not found or was not a compile-time constant: TextArea.