2 Replies Latest reply on Jun 29, 2017 2:33 PM by Numinus67

    Scrollreveal.js with Movieclips

    Numinus67

      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?