Let's say your textfield is called myText.

When you initialize it, you set autoSize to true:

myText.text = 'initial text';
myText.autoSize = true;


When you change it, the textHeight property will tell you how tall it is.

myText.text = 'changed text';
myText._y = 200 - myText.textHeight;