1

Events like touchstart,touchend does not work in Actual IPad and in chrome Simulation in Animate CC JavaScript

element.addEventListener("touchstart", function f2_MouseClickHandler(e) {
                correctAnswer(e, position, responseId);
}.bind(self));
  • `.on` is jquery function to bind event handler. Otherwise, you're supposed to use `ontouchstart` with pure js. Just to make sure if you've included your jquery as well.. – choz Jul 05 '16 at 06:56
  • @choz I changed my question I am using pure JS – Shoaib Bhimani Jul 05 '16 at 07:13

1 Answers1

1

I found Solution I forgot to enable touch on stage

createjs.Touch.enable(stage);

I Hope it help someone else Source:https://forums.adobe.com/thread/2177196