5 Replies Latest reply on Aug 12, 2015 4:28 AM by PEPPERFACE

    controlling the timeline with mouse scrolling

    mirifarr

      Hello all,

       

       

      i need to control the timeline animation with the mouse wheel.

      how is it possible

       

       

      i've tried this code but I've could only make it work with mouse move, unfortunatly the scroll does not work -

       

       

      composition ready:

       

      this.onMove=function(posX, posY){

        timelinecontrol = Number(posX)*30;

        console.log(timelinecontrol);

        sym.stop(timelinecontrol);

      }

       

       

      mousemove:

       

      this.onMove(e.pageX, e.pageY);

       

      I've also tried this one - http://forums.adobe.com/thread/1149792

      but didnt worked either

       

       

      many tnx!!!!