14 Replies Latest reply on Jun 14, 2009 7:09 PM by bowsprit

    onMouseWeel not working

    Yaron Levy

      Hi,

       

      I am not sure what am I doing wrong, but I can't get onMouseWeel to work. I try this and get nothing:

       

      mouseListener = new Object();
      mouseListener.onMouseWheel = function(delta) {
      trace("weel "+delta)
         clip_mc._xscale += delta;
          clip_mc._yscale += delta;
      }
      mouseListener.onMouseDown = function() {
      trace("down")

      }
      Mouse.addListener(mouseListener);

       

      The onMouseDown does work, but not the onMouseWeel...

       

      Any help ?