HTML5 Button Script
This should have not been so hard to figure it out, but here I am anyway ![]()
I have a this.stop() at the end of a timeline, and I want a button to be able to replay the main timeline animation.
Script:
this.stop();
this.btnPLAY.addEventListener("click", buttonPLAY);
function buttonPLAY()
{
gotoAndPlay(0); //THIS IS WHAT I CAN'T FIGURE OUT.
};
Thanks for helping me with this and taking pity on me.
