1 Reply Latest reply on Dec 21, 2012 3:32 AM by AmintaAdobe

    How to prevent Edge creation to quit with two fingers gesture in iBooks Auhtor

    AmintaAdobe Level 1

      Hi all!


      I have a problem with the Edge creations I put in iBooks Author as Html Widget: on Html widget opened on iPad, if I tap with two fingers the screen and I pinch in, the Widget quits and goes back to the page of the iBook. This is the default behaviour.


      But what if I want modify this beheaviour?


      I tried these solutions:


      document.addEventListener('gesturechange', function (e) {e.preventDefault();}, false);

      document.addEventListener('gesturestart', function (e) {e.preventDefault();}, false);

      document.addEventListener('gestureend', function (e) {e.preventDefault();}, false);

      document.addEventListener('touchmove', function (e) {e.preventDefault();}, false);


      both in head of main html file and in Stage -> Composition Ready of Edge.


      I've also tried,  in Stage -> Composition Ready of Edge,

      $(document).bind("gesturestart", function(e) {





      but it doesn't work.


      Any hint?


      Thanks in advance!