Need help creating play, pause, reverse, forward button functionality
My knowledge of Adobe Animate CC and CreateJS is basic (no prior Flash experience) so I need help with this. I am essentially trying to create movie controls on this animation:
http://evolution-dev.berkeley.edu/flashconversion/treeRoom/fieldguide-tree-square-anim-controls.html
There's nothing fancy about the animation, just forward movement of the timeline.
The play button:
_this.btnSmPlay.on('click', function(){
_this.gotoAndPlay(1);
});
The pause button:
_this.btnPause.on('click', function(){
_this.stop();
});
I found the script for the forward and reverse buttons on this forum here: https://community.adobe.com/t5/animate/play-in-reverse-in-animate-htlm-canvas-for-a-360/m-p/10828021
Problems:
- How do I get the play button to continue playing from the frame number that it has stopped on and not to go to frame 1 which is what I have it currently doing?
- Reverse and forward buttons also don't work once the animation is paused.
Thanks for any help!
