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
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();
}
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();
}
Copy link to clipboard
Copied
Thank you so much!
Best regards
Jack
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
You can also watch some Lynda: Online Courses, Class, Training, Tutorials to help you with actionscript.