I would like to play an animation by click and then play reversed by clicking again...

.. like a bulging menu and go back again. How is that possible? No doubt very simple.

You must save the State.

in compositionReady, set the tracking variable

sym.setVariable ("popOpen", false);

myObject.click

var popOpen = sym.getVariable ("popOpen");

If (popOpen == true) {}

close

sym.playReverse ();

sym.setVariable ("popOpen", false);

}

else {}

Open

SYM. Play();

sym.setVariable ("popOpen", true);

}

Hope that helps!

-Elaine

Tags: Edge Animate

Similar Questions

Maybe you are looking for