Copy link to clipboard
Copied
Hello,
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
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thanks! But how can I use this to do what I have described in Animate? I have very little experience using both Animate and Javascript.
Copy link to clipboard
Copied
that's not really something suitable for a novice.
you can google tutorials for help using animate and javascript but i don't know any easy way to do this that's suitable for forum help other than point you in the right direction so you can learn how to do this yourself, or hire someone.
Copy link to clipboard
Copied
thanks for the help
Copy link to clipboard
Copied
you're welcome.