/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
var symbols = {
"stage": {
   version: "0.1.3",
   baseState: "Base State",
   initialState: "Base State",
   content: {
      dom: [
        {
            id:'_3alves_logo_trn',
            className:'stage__3alves_logo_trn_id',
            type:'image',
            tag:'img',
            rect:[0,0,120,120],
            fill:['rgba(0,0,0,0)','/assets/images/3alves_logo_trn.png']
        },
        {
            id:'alves_logo_120',
            className:'stage_alves_logo_120_id',
            type:'image',
            tag:'div',
            rect:[0,0,120,120],
            opacity:1,
            fill: ['rgba(0,0,0,0)', '/assets/images/3alves_logo_120.png'],
            transform:[[215,140]]
        }],
      symbolInstances: [
      ]
   },
   states: {
      "Base State": {
         "${__3alves_logo_trn}": [
            ["transform", "originX", '50%'],
            ["transform", "translateX", '215px'],
            ["transform", "rotateZ", '-360deg'],
            ["style", "opacity", '0'],
            ["transform", "originY", '50%'],
            ["transform", "translateY", '-120px']
         ],
         "${_stage}": [
            ["style", "height", '400px'],
            ["color", "background-color", 'rgba(255,255,255,1)'],
            ["style", "width", '550px']
         ],
         "${_alves_logo_120}": [
            ["style", "opacity", '0'],
            ["transform", "translateX", '215px'],
            ["transform", "translateY", '140px']
         ]
      }
   },
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 6000,
         labels: {

         },
         timeline: [
            { id: "eid59", tween: [ "transform", "${__3alves_logo_trn}", "rotateZ", '0deg', { fromValue: '-360deg'}], position: 0, duration: 4000, easing: "swing" },
            { id: "eid56", tween: [ "transform", "${__3alves_logo_trn}", "translateY", '400px', { fromValue: '-120px'}], position: 0, duration: 2000 },
            { id: "eid73", tween: [ "transform", "${__3alves_logo_trn}", "translateY", '140px', { fromValue: '400px'}], position: 2000, duration: 2000 },
            { id: "eid71", tween: [ "style", "${__3alves_logo_trn}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 4000 },
            { id: "eid52", tween: [ "transform", "${__3alves_logo_trn}", "originX", '50%', { fromValue: '50%'}], position: 2000, duration: 0 },
            { id: "eid75", tween: [ "style", "${_alves_logo_120}", "opacity", '0.84705882352941', { fromValue: '0'}], position: 4000, duration: 2000 },
            { id: "eid53", tween: [ "transform", "${__3alves_logo_trn}", "originY", '50%', { fromValue: '50%'}], position: 2000, duration: 0 }]
      }
   }
}};

var comp;
Edge.registerCompositionDefn(compId, symbols);

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     comp = new Edge.Composition(compId, {stage: "." + compId}, {});
	   /**
 * Adobe Edge Timeline Launch
 */
     comp.ready(function() {
         comp.play();
     });
});
})(jQuery, jQuery.Edge, "EDGE-223719265");

