5 Replies Latest reply on Jan 3, 2017 5:55 AM by kglad

    Play Movie on Device Shake




      I have an HTML5 Canvas document with a script to gotoAndPlay from frame 60 on the main timeline upon mousedown. I would like it to do the same when a mobile device is shaken. I’ve determined that this requires a devicemotion event, but have been unable to write something that works.


      I’d appreciate any help you could provide.


      Animate CC 2015.2

      MacOS Sierra 10.12.1