Restart button or reset button
Hello,
I need some help because I made an animation with Animate but I can't create a "restart button".
I give you an example of my project. In my project the intitial light switch position is OFF. When the trainee touches the light switch (button) the light is ON and when he touches it again the light goes OFF. My problem is when I create a restart button with function Gotoframe N°1 instead of going back to its initial postion (OFF), the light switch goes back to the last position that has been selected by the trainee. I came back on Frame N°1 but the light switch is not correct. (OFF position)
I'm a beginner in Animate and HTLM5, I don't know Javascript function. Is there a "clear function", a "restart function"...? something which reset every actions made by the trainee.
Thanks a lot and I wish you a happy new year.
