0 Replies Latest reply on Nov 26, 2015 6:20 AM by rajeendranm56218114

    seekbar working in Edge CC. But not working in CC 2015. Please help.

    rajeendranm56218114

      Hi,

       

      I am facing seek bar issue in Adobe Edge Animate CC 2015. It was working fine in Edge Animate CC. Can anyone help me on this?

       

      I used  "range" type input.

       

      The steps I followed are mentioned below:

       

      1. created the element and name it as "seekbarBase".

       

      2. added below code to stage.document.compositionReady

       

      //create input-range-seekbar

       

      var seekbar = document.createElement("input");

      seekbar.type = "range";

      seekbar.value = 0;

      seekbar.max = sym.getDuration();

      $(seekbar).appendTo(sym.$("seekbarBase"));

      //event handler method for seekbar

      var seekbarfunc = {

        onMouseDown:function(evt){clearInterval(loopSeed);},

        onMouseUp:function(evt){

           loopSeed = setInterval(seekbarfunc.update, updateInterval);

        },

        onChange:function(evt){sym.stop(Number(this.value));},

        update:function(evt){seekbar.value = sym.getPosition();}

      };

      //handle event

      seekbar.addEventListener("mousedown",seekbarfunc.onMouseDown);

      seekbar.addEventListener("mouseup",seekbarfunc.onMouseUp);

      seekbar.addEventListener("change",seekbarfunc.onChange);

      //Monitor timeline pos by setInterval

      var updateInterval=1000/24|0; //interval about 24FPS

      var loopSeed = setInterval(seekbarfunc.update, updateInterval);

       

       

      It was working in previous version of Edge Animate. ie CC. Now I updated to CC 2015. There its not working.

       

      Please help me.

       

      Thanks,

      Reji.