Skip to main content
Known Participant
June 29, 2017
Answered

Scrollreveal.js with Movieclips

  • June 29, 2017
  • 1 reply
  • 322 views

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?

This topic has been closed for replies.
Correct answer ClayUUID

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.

1 reply

ClayUUIDCorrect answer
Legend
June 29, 2017

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.

Numinus67Author
Known Participant
June 29, 2017

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?