Mouse Down, Mouse Release Button Code HTML5 Canvas
Hello,
I am trying to create an interactive airplane panel and one of the buttons, when you hold the button down, it does different stuff and when you release it, it goes back to the original state. I was able to do this years ago in Edge Animate - when you hold down the mouse click, it will do different stuff like the guages move and lights flash and when I release that mouse click, it will go back to the original state and no longer do all that. However, since Edge Animate is no longer available, I need to do this in Animate CC. I figured I would create a movie clip with the different stuff happening but I'm not sure how to go about the button itself and how to code it for HTML5 Canvas. This has been an issue I have been trying to solve for months and it is for work.
