Does anyone know how to use scrollreveal.js with animate html5 canvas projects to animate movieclips when they're scrolled into the viewport? I can't seem to figure out the code. I've tried either of these with no luck:
this.myCircle.data-sr = "enter top move 50px, after 0.9s";
this.myCircle.setAttribute("data-sr", "enter top move 50px, after 0.9s");
What else could i try? Also, is there maybe an easier way altogether to get movieclips to fade in after they're scrolled into the viewport?
Animate objects are not browser DOM objects. Any third-party library designed to work with the browser DOM is likely not going to work with Animate.
do you have any suggestions for how i might go about achieving my goal, i.e. to have movie clips animate when you scroll down to them?