0 Replies Latest reply on Jul 16, 2013 1:22 PM by Machu Picchu Ltd

    Swap out content with external comps

    Machu Picchu Ltd

      I'm trying to cycle between 8 compositions using edge animate and the edge commons library. So i have one button and one container which is a symbol, when they tap the btn i want it to load in a comp.

      When they tap it again they load in comp number two and just loop around the available comps.

      Is this possible? maybe with jquery?

      heres my edge code,

       

      // Load All-in-One (in creationComplete)
      yepnope
      ({
          load
      : "http://cdn.edgecommons.org/an/1.0.0/js/min/EdgeCommons.js",
          complete
      : function() {
             
      //center main stage
              EC
      .centerStage(sym);
             
      //load external comp into container
              EC
      .loadCompostion("comp/index.html", symgetSymbol("content"));
             
      }
      });