2 Replies Latest reply on Dec 10, 2013 7:04 PM by poperob

    Starting Animation From JavaScript

    poperob

      Hi.

       

      I just made my first edge animate project and made a progress loader animation. Works well.

       

      When i placed the code in the site the animation was always on, so i've hidden the item in css

       

      #Stage { display:none; }

       

      When my animation is needed i'm making is visible however the animation has already been started in the background so wont begin the right place.

       

      I'm wondering should i stop the stage autoplay in the config and then start the animation in JS? If so how can i go about starting the animation via JS.

       

      I've been playing around with  AdobeEdge.bootstrapCallback but cant seem to get it to play.

       

      Many thanks.