2 Replies Latest reply on Sep 7, 2009 4:19 AM by sri harsha namala

    Mouse Wheel in Mozilla and IE

    Asmita_Viscus

      Hey Guys,

       

      I have the following code that works for mouse wheel

       

      init()

      {

               systemManager.addEventListener(MouseEvent.MOUSE_WHEEL, onMouseWheel);

      }

       

      private function onMouseWheel(evt:MouseEvent):void
      {

           Alert.show("MouseWheel Called");

      }

       

      While running it on IE it works just fine, but in Mozilla everytime I move the scroll, the function is called twice.

       

      Help, anybody ?

       

      Regards