protected void UpdateSize()
{
if (_updatingSize)
return;
_updatingSize = true;
if (_textField.autoSize == AutoSizeType.Both)
this.size = displayObject.size;
else if (_textField.autoSize == AutoSizeType.Height)
this.height = displayObject.height;
_updatingSize = false;
}