Newbie question: Issues in creating a replay button
New Animator question here. I'm trying to create a replay button that displays a quick animation when you hover over the button and then replays another animation all when clicked. I'm using the Scenes and Actions panels to do this.
I have the Scenes broken up like this:
Main Animation (this is what I want to replay).
End Scene (the last frame of the Main Animation with no animation)
Replay (the End Scene with the replay animation on continuos loop)
Using Actions, I have Scene1 go to Scene2 when it's finished playing (End). Then on my replay button in Scene2, I have go to Scene3 with mouseover and go to Scene 1 with click.
The replay of Scene1 works fine except when the mouse scrolls off the button. Then the animation stops and jumps to Scene3. How do I set my file up so that the replay runs all the way through Scene1 even if the mouse scrolls off the replay button?
Thanks, I took a look at it. It is not exactly clear to me what you want to accomplish so let me know if I am answering the wrong question
I found two issues.
1) When in the replay scene, and you click the replay icon, the mouse out event gets fired because we moved the element the mouse was over since we change scene, and the browser will fire that even on first mouse move. To work around this, I added a flag to the start action of the scene, and the reset the flag when the replay button is clicked. If the mouse out action is fired, we can check and see if the flag is set and decided to do nothing if the flag is not set.
2) I removed the mouse over action in the first scene for the replay_arrow. This doesn't really affect much since the arrow is just faded it fast at the end of the scene and then it will switch to next scene where the action is attached.