Checking if text is overflowing dynamic text box

I was wondering if it was possible to check if a dynamic text box has overflowing text? So if there is too much text to fit in the constraints of the text box the scroll bar component will become visible?

Something like this:


if (news_txt = overflown)
{ 
scroller._visible = true;
} else {
	scroller._visible = false;
}

Is there a function included in flash that checks if it’s overflown?

Cheers,
Inept