Trouble using touch commands
i trying use touch comands using thumbnail move fullscreen image (sym.play("label");) able use touch comands swipe between markers still keep functionality of thumbnails.
i trying following code on stage:
touchstart:
// start point
var xstart = e.originalevent.touches[0].pagex;
sym.setvariable('xstart', xstart);
touchend:
xstart = sym.getvariable('xstart');
var xend = e.originalevent.touches[0].pagex;
if (xend > xstart)
{
sym.playreverse();
}
else if (xend < xstart)
{
sym.play();
}
any advice great help. thanks
More discussions in Edge Animate CC
adobe
Comments
Post a Comment