Copy link to clipboard
Copied
I'm a new user to Animate. I've created two animations separately in Animate. One movie that interacts as planned, right up to the point where the user clicks on a button. When that happens, I want movie 1 to stop, and movie 2 to play in its place. I can't seem to make that work.
Copy link to clipboard
Copied
Hi, Please check below code
root = this;
function myFunction(){
root.movie1.gotoAndStop();
root.movie2.gotoAndPlay();
}
root.mcBtn.addEventListener("click", myFunction);
Copy link to clipboard
Copied
That might be a good start. I tried, and can't figure out exactly how to use that code in "Actions", or how to make it specific to my movie(s)
Find more inspiration, events, and resources on the new Adobe Community
Explore Now