Revision: 68605
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 24, 2015 02:18 by RodolfoMiranda
Initial Code
yepnope({nope:["http://cdnjs.cloudflare.com/ajax/libs/gsap/1.11.0/TweenMax.min.js"], complete:init}); var red = sym.$("red"); //var text1 = sym.getComposition().getStage().getSymbol('txt1Box').element; function init() { tl = new TimelineMax(); animate(); } function animate() { //tl.to(red, 1, {onStart:resetSigns, alpha:0, onComplete:animateSigns}); tl.to(red, 2, {alpha:0}, "-=1"); } function animateSigns(){ spriteContainer.play(); } function resetSigns(){ spriteContainer.stop(0); } function resetAndReplay(){ tl.restart(); }
Initial URL
Initial Description
Paste this code in Edge's creationComplete function.
Initial Title
Edge Animation JS
Initial Tags
Initial Language
JavaScript