• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Play Movie on Device Shake

New Here ,
Jan 02, 2017 Jan 02, 2017

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

Views

302

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 02, 2017 Jan 02, 2017

Votes

Translate

Translate
Community Expert ,
Jan 02, 2017 Jan 02, 2017

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 02, 2017 Jan 02, 2017

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 02, 2017 Jan 02, 2017

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 03, 2017 Jan 03, 2017

Copy link to clipboard

Copied

thanks for the help

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 03, 2017 Jan 03, 2017

Copy link to clipboard

Copied

LATEST

you're welcome.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines