# Textfield scroll lock

**URL:** <https://forum.kirupa.com/t/textfield-scroll-lock/273410>\
**Category:** flash\
**Created:** [October 15, 2008, 9:08am UTC](https://forum.kirupa.com/t/textfield-scroll-lock/273410 "2008-10-15T09:08:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mixey](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mixey/32/1979_2.png) [@mixey](https://forum.kirupa.com/u/mixey)\
**Post date:** [October 15, 2008, 9:08am UTC](https://forum.kirupa.com/t/textfield-scroll-lock/273410/1 "2008-10-15T09:08:32Z")

</div>

Hi, guys!

Very strange problem. I have Dynamic textfield attached to the movie and then I put some text inside of it. Every line of the text fits to the textfield size perfectly.

mytext.autosize = true;

but! if I roll my mouse over the textfield and then try to use scrolling wheel I notice that it actually scrolls and the first line disappears. Of course I can scroll back, but why it have reaction on to the scroll wheel if ALL content fits perfectly?

Is there any way to lock scroll?

Thank you in advance
