# Checking if text is overflowing dynamic text box

**URL:** <https://forum.kirupa.com/t/checking-if-text-is-overflowing-dynamic-text-box/148874>\
**Category:** Uncategorized\
**Created:** [May 24, 2005, 8:51am UTC](https://forum.kirupa.com/t/checking-if-text-is-overflowing-dynamic-text-box/148874 "2005-05-24T08:51:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Inept](https://avatars.discourse-cdn.com/v4/letter/i/e274bd/32.png) [@Inept](https://forum.kirupa.com/u/Inept)\
**Post date:** [May 24, 2005, 8:51am UTC](https://forum.kirupa.com/t/checking-if-text-is-overflowing-dynamic-text-box/148874/1 "2005-05-24T08:51:37Z")

</div>

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:

```auto

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
