This will make the Dynamic Text auto resizing to fit long of text.

Once create dynamic text. set Behavior to Single line



When you set the text to this text field, you just code like this :
menuTextNormal.autoSize = TextFieldAutoSize.LEFT;
menuTextNormal.text = _menuText;

That's done.