# mouseWheelEnabled 'Broken'

**URL:** <https://forum.kirupa.com/t/mousewheelenabled-broken/220607>\
**Category:** flash\
**Created:** [March 27, 2007, 6:04pm UTC](https://forum.kirupa.com/t/mousewheelenabled-broken/220607 "2007-03-27T18:04:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomyknoker](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@tomyknoker](https://forum.kirupa.com/u/tomyknoker)\
**Post date:** [March 27, 2007, 6:04pm UTC](https://forum.kirupa.com/t/mousewheelenabled-broken/220607/1 "2007-03-27T18:04:54Z")

</div>

Is it just as simple as adding the bold line into my code to get the scrollwheel to work on the mouse for a text field? If so it aint working! ☹

```auto
function loadTxt(theTxt){
    var lv:LoadVars = new LoadVars();
    lv.onLoad = function(success:Boolean){
        
        if (success){
            my_text.html = true;
            my_text.htmlText = lv.txt;
		**my_text.mouseWheelEnabled = true;**
        }else{
            trace ("cannot load text!");
        }
    };
    lv.load(theTxt);
}

```
