/***********************
* Adobe Edge Animate Composition Actions
*
* Edit this file with caution, being careful to preserve 
* function signatures and comments starting with 'Edge' to maintain the 
* ability to interact with these actions from within Adobe Edge Animate
*
***********************/
(function($, Edge, compId){
var Composition = Edge.Composition, Symbol = Edge.Symbol; // aliases for commonly used Edge classes

   //Edge symbol: 'stage'
   (function(symbolName) {
      
      
      

      Symbol.bindSymbolAction(compId, symbolName, "creationComplete", function(sym, e) {
         yepnope({
             load: [
         		"js/energize.js"
         	],
         	complete: function () {
         
              console.log("allscript complete");
              sym.play();
           }
         });

      });
      //Edge binding end

   })("stage");
   //Edge symbol end:'stage'

   //=========================================================
   
   //Edge symbol: 'content_1'
   (function(symbolName) {   
   
      Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 500, function(sym, e) {
         // insert code here
      });
      //Edge binding end

   })("content_1");
   //Edge symbol end:'content_1'

   //=========================================================
   
   //Edge symbol: 'content_2'
   (function(symbolName) {   
   
   })("content_2");
   //Edge symbol end:'content_2'

   //=========================================================
   
   //Edge symbol: 'content_3'
   (function(symbolName) {   
   
   })("content_3");
   //Edge symbol end:'content_3'

   //=========================================================
   
   //Edge symbol: 'content_4'
   (function(symbolName) {   
   
   })("content_4");
   //Edge symbol end:'content_4'

   //=========================================================
   
   //Edge symbol: 'arrow_animate'
   (function(symbolName) {   
   
      Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 0, function(sym, e) {
         sym.play();

      });
      //Edge binding end

      Symbol.bindTriggerAction(compId, symbolName, "Default Timeline", 1000, function(sym, e) {
         sym.playReverse();

      });
      //Edge binding end

   })("arrow_animate");
   //Edge symbol end:'arrow_animate'

})(jQuery, AdobeEdge, "EDGE-181380684");