# Scrolling a dynamic text box with mousewheel

**URL:** https://forum.kirupa.com/t/scrolling-a-dynamic-text-box-with-mousewheel/137802
**Category:** Uncategorized
**Created:** [February 17, 2005, 2:57pm UTC](https://forum.kirupa.com/t/scrolling-a-dynamic-text-box-with-mousewheel/137802 "2005-02-17T14:57:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ricferr](https://avatars.discourse-cdn.com/v4/letter/r/91b2a8/32.png) [@ricferr](https://forum.kirupa.com/u/ricferr)
#### Post date: [February 17, 2005, 2:57pm UTC](https://forum.kirupa.com/t/scrolling-a-dynamic-text-box-with-mousewheel/137802/1 "2005-02-17T14:57:54Z")

</div>

Hi,

Can anyone tell me what is the most simple way of using the mousewheel to scroll a large text inserted in a dynamic text box of a Flash MX 2004 movie. I also use to buttons to scroll the text up and down. Here is the code for that (this code in applied to a movie that has a button inside):

onClipEvent ( enterFrame ) {  
if (lMouseover) {  
\_root.texto.scroll += 1;  
}  
}

Thanks for any help

Regards

RicFerr
