Dynamic length scrolling text field

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