# AS3: MOUSE\_WHEEL issues

**URL:** <https://forum.kirupa.com/t/as3-mouse-wheel-issues/275444>\
**Category:** flash\
**Created:** [November 13, 2008, 10:06pm UTC](https://forum.kirupa.com/t/as3-mouse-wheel-issues/275444 "2008-11-13T22:06:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sean1983uk](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@sean1983uk](https://forum.kirupa.com/u/sean1983uk)\
**Post date:** [November 13, 2008, 10:06pm UTC](https://forum.kirupa.com/t/as3-mouse-wheel-issues/275444/1 "2008-11-13T22:06:52Z")

</div>

I’ve noticed I can only get my MOUSE\_WHEEL event listener to work in either ie or ff depending on the wmode set. But i cannot get it to work in both!!

```auto

aboutText_mc.addEventListener(MouseEvent.MOUSE_WHEEL, onMouseWheelEvent);

function onMouseWheelEvent(event:MouseEvent):void
{
    if(aboutText_mc.y > 450)
    {
        aboutText_mc.y= 450
        
    }else if(aboutText_mc.y >= 450 - aboutText_mc.height)
    {
        aboutText_mc.y = aboutText_mc.y + event.delta;
    }else if(aboutText_mc.y >= 450.)
    {
        aboutText_mc.y = aboutText_mc.y - event.delta;
    }else if(450 - aboutText_mc.height)
    {
        aboutText_mc.y = aboutText_mc.y +10;
    }

}

Is there anyway around this without using javascript? I tried adding a MOUSE_OVER event which triggered a trace call but again would not call the MOUSE_WHEEL event.

ANy ideas appreciated

Sean

```
