Hi All,
I'm brand new to GSAP, Animate CC and this forum and I greatly appreciate this learning resource and any help you can offer. I'm posting to this forum because I understand many of you are using GSAP + Animate like I am.
I need to play, then reverse tweens using clicks (one click plays tweens and the next reverses them).
Not sure if this is TMI but here's my code that currently does the first part of that. (Don't laugh.)
That code works in my Animate frame script. But I posted to the GSAP forum to get help reversing those tweens upon click.
PointC created this helpful codepen (http://codepen.io/PointC/pen/bgyoMg/) that accomplishes exactly what I want to do...but I haven't been able to get his JS code to work in my Animate frame script like the above.
One issue: He's using a div to receive the clicks
...which makes sense but I don't know how to achieve that when using Animate. Do I just let the stage receive the clicks?
Aside from that, PointC's JS code works in a web page but seems not to work in my Animate frame script (due to my lack of knowledge about how to adapt it for Animate).
Any insights? I can post my .fla file if needed.
Thanks much!