0 Replies Latest reply on Apr 2, 2013 8:43 AM by TheBionicGroup

    Trouble using touch commands


      I am trying to use touch comands so that as well as using a thumbnail to move to a fullscreen image (sym.play("label");) I would like to be able to use the touch comands to swipe between the markers but still keep the functionality of the thumbnails.


      I am trying the following code on the stage:



      // Get start point

      var xStart = e.originalEvent.touches[0].pageX;

      sym.setVariable('xStart', xStart);



      xStart = sym.getVariable('xStart');

      var xEnd = e.originalEvent.touches[0].pageX;



      if (xEnd > xStart)




      else if (xEnd < xStart)





      Any advice would be a great help. Thanks