2 Replies Latest reply on Mar 13, 2014 7:01 AM by jan rissss
      • 1. Re: I need help with parallax scrolling.
        sunil7862 Level 1

        Here is the solution provided by me on http://forums.adobe.com/thread/1290563

         

        Just create your animation with autoplay off and put the below code in the composition ready for stage :

         

        $(window).scroll(function(e){

                var scrollTop = $(window).scrollTop();

                var docHeight = $(document).height();

                var winHeight = $(window).height();

                var scrollPercent = (scrollTop) / (docHeight - winHeight);

                var percentageScrolled = (scrollPercent*100)/100;

                var pos = Math.round(percentageScrolled*sym.getDuration());

              sym.stop(pos)

        });

        • 2. Re: I need help with parallax scrolling.
          jan rissss Level 1

          Hi Sunil,

          I am also new to Edge. Question: do you mean by 'put the below code in the composition ready for stage' that the code should be inserted in the Action for the Stage of the composition. I inserted the code there, but the scrolling does not work.