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.
Code:
var plainTextArea:TextArea = new TextArea();
plainTextArea.verticalScrollPolicy = ScrollPolicy.ON;
plainTextArea.setSize(260, 360);
plainTextArea.move(10, 10);
addChild(plainTextArea);
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.