3 Replies Latest reply on Dec 25, 2014 10:21 AM by mlprouty

    promise.done not working with Edge Animate CC(2014)

    mlprouty Level 1

      I have a trigger with code at a label named 'swipe' that is called with promise.done.  I am using Edge Commons sample code I found half way down the page at at  http://www.edgedocks.com/edgecommons

       

      Anybody know why promise.done doesn't work anymore?  It had worked in the previous Edge Animate version.  Is there a workaround?

       

      var targetContainer = sym.getSymbol("content");

                var promise = EC.loadComposition("page05Key_upgraded/keyboard05.html", targetContainer);

          

                promise.done(function(comp) {

                var stage = comp.getStage();

                stage.$("Stage").swiperight(function(){

                sym.play('swipe');

                });

                stage.$("menuGroup").click(function(){

                sym.play('swipe');

                });

                });