Understanding how to add hover action to buttons on a Animate CC Canvas
I have a simple button that I need to go to frame 25 when hovered over in Animate CC.
Can anyone offer some simple instructions?
Is there any way to upload the file?
Thanks
I have a simple button that I need to go to frame 25 when hovered over in Animate CC.
Can anyone offer some simple instructions?
Is there any way to upload the file?
Thanks
There is the "window/Code Snippet" window, but its limited and you still need to poke around with the script it creates to get what you want..... based on the link, the bellow goodness does whats needed...remember animate isn't a wysiwyg program when it comes to the scripting, would be interesting to have a node based system like "playmaker" for unity for instance....
this.stop();
root = this;
stage.enableMouseOver();
this.MYBUTTON.addEventListener("mouseover", MYFUNCTION);
function MYFUNCTION()
{
root.gotoAndPlay(FRAMENUMBER);
}
Regards,
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.