# Dynamic length scrolling text field

**URL:** <https://forum.kirupa.com/t/dynamic-length-scrolling-text-field/240905>\
**Category:** Uncategorized\
**Created:** [October 8, 2007, 4:30am UTC](https://forum.kirupa.com/t/dynamic-length-scrolling-text-field/240905 "2007-10-08T04:30:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![celticvfx](https://avatars.discourse-cdn.com/v4/letter/c/7ba0ec/32.png) [@celticvfx](https://forum.kirupa.com/u/celticvfx)\
**Post date:** [October 8, 2007, 4:30am UTC](https://forum.kirupa.com/t/dynamic-length-scrolling-text-field/240905/1 "2007-10-08T04:30:48Z")

</div>

IVe seen this problem come up a lot, but none of the solutions have worked for me…Ill throw some code out there, and see if anyone has a thought. thanks in advance.

code:

var scrollEndY = scrollStartY-mcScroll.\_height+mcBgrDragger.\_height;

this is the line that seems to control the amount of scrolling, which is actually just rolling the text field up as the scroll bar is pulled down…

celticvfx
