# Help with setting text boundary with action script!

**URL:** <https://forum.kirupa.com/t/help-with-setting-text-boundary-with-action-script/46241>\
**Category:** Uncategorized\
**Created:** [March 22, 2004, 9:42pm UTC](https://forum.kirupa.com/t/help-with-setting-text-boundary-with-action-script/46241 "2004-03-22T21:42:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SBUH](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@SBUH](https://forum.kirupa.com/u/SBUH)\
**Post date:** [March 22, 2004, 9:42pm UTC](https://forum.kirupa.com/t/help-with-setting-text-boundary-with-action-script/46241/1 "2004-03-22T21:42:27Z")

</div>

Hello, friends. I have problem with set the boundary for the textfield.

I have movieclip called screen\_mc and inside I have movieclip called text\_mc which contains a dynamic textfield. And I have two buttons for increasing and decreasing the text movieclip’s size. But I would like to have it work like no matter how many words I typed or how large I press the increase button to increase it, the text is within the boundary of screen movieclip.

Does any one has some idea how to make it? Thanks a lot if you have any idea or suggestion. And wait for your reply!
