This content has been marked as final.
Show 2 replies
-
1. Re: controlling timeline with touch
Zaxist Sep 7, 2013 2:13 PM (in response to mirifarr)i'm not sure, but try this :
sym.getComposition().getStage().moveSlide( e.originalEvent.touches[0].pageX );
$(window).bind('touchmove', function(event) {
var diro = event.originalEvent.touches[0] < 0 ? 'Up' : 'Down';
var velo = Math.abs(event.originalEvent.touches[0]);
$(this).text(diro + ' at a velocity of ' + velo);
if(diro == 'Up')
sym.play();
else
sym.playReverse();
});
Zaxist
-
2. Re: controlling timeline with touch
mirifarr Sep 9, 2013 2:21 AM (in response to Zaxist)Zaxist Tnx for your reply,
actoually i have found another solution with swipe -
works great....
example:
http://www.timjaramillo.com/code/edge/swipe_v2_touch_and_mouse/swipe.html
source:
http://www.timjaramillo.com/code/edge/_source/swipe_v2_touch_and_mouse .zip
thread:

