Team:TecMonterrey/test/final edgeActions.js

From 2013.igem.org

(Difference between revisions)
Line 69: Line 69:
})("Project");
})("Project");
//Edge symbol end:'Project'
//Edge symbol end:'Project'
-
 
+
alert("Content...");
//=========================================================
//=========================================================
Line 75: Line 75:
(function(symbolName){})("Preloader");
(function(symbolName){})("Preloader");
//Edge symbol end:'Preloader'
//Edge symbol end:'Preloader'
-
 
+
alert("Preloader end...");
//=========================================================
//=========================================================
Line 100: Line 100:
//Edge symbol end:'Menu_Team'
//Edge symbol end:'Menu_Team'
})(jQuery,AdobeEdge,"iGem");
})(jQuery,AdobeEdge,"iGem");
 +
alert("show menu...");

Revision as of 14:21, 16 September 2013

(function($,Edge,compId){var Composition=Edge.Composition,Symbol=Edge.Symbol; //Edge symbol: 'stage' (function(symbolName){Symbol.bindElementAction(compId,symbolName,"document","compositionReady",function(sym,e){asym.stop();yepnope({load:"http://cdn.edgecommons.org/an/1.0.0/js/min/EdgeCommons.js",complete:function(){EC.centerStage(sym);EC.Parallax.setup(sym);}});}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Menu}","mouseover",function(sym,e){}); //Edge binding end Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",1000,function(sym,e){sym.stop();}); //Edge binding end })("stage"); //Edge symbol end:'stage'

//=========================================================

//Edge symbol: 'Menu' (function(symbolName){})("Menu"); //Edge symbol end:'Menu' alert("menu..."); //Edge symbol: 'Menu_Project' (function(symbolName){Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseout",function(sym,e){sym.play("Play");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Description}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Description}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Rectangle}","mouseover",function(sym,e){sym.play("Open");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Rectangle}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop("Close");}); //Edge binding end })("Menu_Project"); //Edge symbol end:'Menu_Project'

//=========================================================

//Edge symbol: 'b1' (function(symbolName){})("b1"); //Edge symbol end:'b1' alert("b1..."); //=========================================================

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

//=========================================================

//Edge symbol: 'Dibujo' (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",3250,function(sym,e){sym.stop();}); //Edge binding end Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",1500,function(sym,e){sym.stop();}); //Edge binding end })("Dibujo"); //Edge symbol end:'Dibujo' alert("Dibujo..."); //=========================================================

//Edge symbol: 'Content' (function(symbolName){Symbol.bindElementAction(compId,symbolName,"${_Text4}","click",function(sym,e){sym.getSymbol("Dibujo3").play("zoom1In");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Text4Copy}","click",function(sym,e){sym.getSymbol("Dibujo3").play("zoom2In");}); //Edge binding end })("Project"); //Edge symbol end:'Project' alert("Content..."); //=========================================================

//Edge symbol: 'Preloader' (function(symbolName){})("Preloader"); //Edge symbol end:'Preloader' alert("Preloader end..."); //=========================================================

//Edge symbol: 'Menu_Project_1' (function(symbolName){Symbol.bindTriggerAction(compId,symbolName,"Default Timeline",0,function(sym,e){sym.stop("Close");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_FutureWork}","mouseout",function(sym,e){sym.play("Play");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Description}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Description}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseover",function(sym,e){sym.stop("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Background}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Rectangle}","mouseover",function(sym,e){sym.play("Open");}); //Edge binding end Symbol.bindElementAction(compId,symbolName,"${_Rectangle}","mouseout",function(sym,e){sym.play("Stay");}); //Edge binding end })("Menu_Team"); //Edge symbol end:'Menu_Team' })(jQuery,AdobeEdge,"iGem"); alert("show menu...");