backgroundColor="#FFFFFF" width="300" height="150">
private function validate():void{
if(myText.text.length < 10){
myText.errorString = "This field requires at least 10 characters";
} else {
myText.errorString = null;
}
}