import flash.text.TextFormat;
import flash.text.TextField;
import fl.controls.TextArea;
var linksText:TextArea = new TextArea();
addChild(linksText);
With or without the imports I get
1046: Type was not found or was not a compile-time constant: TextArea.