1 Reply Latest reply on Nov 1, 2012 2:43 PM by TimJaramillo

    Edge doesn't swipe

    AmintaAdobe Level 1

      Hi all!



      I've builded a simply project in wich - on SwipeRight - the timeline plays, on SwipeLeft it plays reverse.


      I know the beautiful TimJaramillo's code http://forums.adobe.com/message/4363829#4363829, but I would use an external library, like I do with Quo.js (http://quojs.tapquo.com/api/), to swipe.


      In CompositionReady I wrote:

















      complete: init









      //when yepnope has loaded everything execute init();



      function init (){



      //initialise your variables and Edge comp here




      document.ontouchmove = function(event) {








      $(document).swipeRight(function() {






      $(document).swipeLeft(function() {       











      but nothing happens. Why?


      Here's the demo: http//www.terredainventare.it/swipe/edge/SwipeEdge.html


      Here are the project files: http://www.terredainventare.it/swipe/edge/SwipeEdge.zip



      Many thanks in advance for your help!



        • 1. Re: Edge doesn't swipe
          TimJaramillo Level 4

          Hi Davide,


          When testing your file, I get 2 errors in the javascript console on launch. Are you seeing this on your end?


          quo.js, line 45:

          Uncaught TypeError: undefined is not a function


          SwipeEdge_edgeActions, line 50

          Uncaught TypeError: Object [object Object] has no method 'swipeRight'


          Even when I disable all the code except loading quo.js, I still get the error with quo.js. Perhaps you should see if they have a new version of the quo.js file.