Hi all,
Coding isn't my strong point but I have a basic understanding of how functions etc work.
I've been learning about referencing symbol timelines with the awesome tutorial from the Adobe Blog, included below.
http://blogs.adobe.com/edge/2012/07/18/tutorial-leveraging-independent -symbol-timelines/
I've been able to get my symbol to play from a certain part of it's timeline depending on whether the mouse is rolling in or out but now I'm a little bit stuck.
The mouseover event triggers an animation and the mouseout triggers another animation that starts from the same frame that the mouseover animation ends with.
The problem is this. If I move the mouse quickly over the buttons, the first animation will play halfway through and when the mouseout triggers the second animation, the first animation will seemingly "skip" to the ending and move straight to the first frame of the second animation.
I know enough to code it so that the second animation will check if the first animation is still playing before starting by using an else/if statement. Using this method I only know how to skip the second animation if the first is playing but that isn't really what I'm looking to do.
Here comes the question; can anyone explain to me how to create a wait loop in Edge Animate?
When I say wait loop, I am talking about code that will check a variable and perform an action if the variable is true OR loop back to the start of the function if the variable is false (to check the variable again).
The behavior I am trying to achieve is somewhat like queuing the second animation so that it will "wait" until the first animation is played before beginning the second animation.
Any ideas?