Create Play/Pause button in HTML5 canvas
Hi all!
I`m newbie in Adobe Animate CC.
How to create one button for Play/Pause in HTML5 canvas ?
I did not find snippet for create one button for Play/Pause. There is to create only pause button and only play buttons. On this forum i find this discussion Adding a play/pause button into an animation for Adobe Edge Animate. I try to use code from answer - but he didnt work:
In PauseButton's actions, select "click", and enter:
sym.stop();
sym.$("PlayButton").show();
sym.$("PauseButton").hide();
In PlayButton's actions, select "click" and enter:
sym.play();
sym.$("PlayButton").hide();
sym.$("PauseButton").show();
How can fix the problem?
