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

A tutorial : how insert interactivity with HTML 5 canvas would be great.

Community Beginner ,
Jan 21, 2017 Jan 21, 2017

Copy link to clipboard

Copied

Hello,

Last week i wondered where it was possible to find a book about html canvas to insert interactivity in our animations.

One week later, I would be very pleased if someone would create a tutorial to explain how coding HTML 5 canvas script to allow a button in a clip to stop and play it.

For example in this case .

Thank you

Jack

Views

285

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 21, 2017 Jan 21, 2017

open the snippets panel and it shows sample code to do that:

this.clip.btn.addEventListener('click',f.bind(this));

function f(e){

this.clip.play();

}

Votes

Translate

Translate
Community Expert ,
Jan 21, 2017 Jan 21, 2017

Copy link to clipboard

Copied

open the snippets panel and it shows sample code to do that:

this.clip.btn.addEventListener('click',f.bind(this));

function f(e){

this.clip.play();

}

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 Beginner ,
Jan 22, 2017 Jan 22, 2017

Copy link to clipboard

Copied

Thank you so much!

Best regards

Jack

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 22, 2017 Jan 22, 2017

Copy link to clipboard

Copied

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
Community Expert ,
Jan 22, 2017 Jan 22, 2017

Copy link to clipboard

Copied

LATEST

You can also watch some Lynda: Online Courses, Class, Training, Tutorials to help you with actionscript.

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