/**
 * Adobe Helium: symbol definitions
 */
window.symbols = {
"stage": {
   version: "0.1",
   baseState: "Base State",
   initialState: "Base State",
   parameters: {

   },
   content: {
      dom: [
        {
            id:'fondo',
            type:'image',
            rect:[0,0,245,141],
            fill:['rgba(0,0,0,0)','images/fondoDAM.jpg'],
        },
        {
            id:'damdown',
            type:'image',
            rect:[0,0,222,52],
            fill:['rgba(0,0,0,0)','images/damAbajo.png'],
        },
        {
            id:'damup',
            type:'image',
            rect:[0,0,222,52],
            fill:['rgba(0,0,0,0)','images/damArriba1.png'],
        },
        {
            id:'proyecto',
            type:'image',
            rect:[0,0,222,52],
            fill:['rgba(0,0,0,0)','images/proyecttt.png'],
        },
      ],
      symbolInstances: [
      ],
   },
   states: {
      "Base State": {
         "#fondo": [
            ["transform", "translateX", '0px'],
            ["transform", "translateY", '0px']
         ],
         "#damdown": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '-17.4846px'],
            ["transform", "translateX", '11.65443px']
         ],
         "#proyecto": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '52.5154px'],
            ["transform", "translateX", '11.26194px']
         ],
         "#damup": [
            ["style", "opacity", '0'],
            ["transform", "translateY", '3.57171px'],
            ["transform", "translateX", '11.65444px']
         ],
         "#stage": [
            ["color", "background-color", 'rgba(255,255,255,1)'],
            ["style", "width", '245px'],
            ["style", "height", '141px'],
            ["style", "overflow", 'hidden']
         ]
      }
   },
   actions: {

   },
   bindings: [

   ],
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 5000,
         timeline: [
            { id: "eid81", tween: [ "transform", "#damdown", "translateX", '11.65443px', { valueTemplate: undefined, fromValue: '11.65443px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid70", tween: [ "style", "#stage", "height", '141px', { valueTemplate: undefined, fromValue: '141px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid76", tween: [ "transform", "#fondo", "translateY", '0px', { valueTemplate: undefined, fromValue: '0px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid133", tween: [ "style", "#proyecto", "opacity", '0', { valueTemplate: undefined, fromValue: '0'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid127", tween: [ "style", "#proyecto", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 2500, duration: 500, easing: "linear" },
            { id: "eid116", tween: [ "style", "#damdown", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 0, duration: 1875, easing: "linear" },
            { id: "eid125", tween: [ "transform", "#proyecto", "translateY", '52.5154px', { valueTemplate: undefined, fromValue: '52.5154px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid108", tween: [ "transform", "#proyecto", "translateY", '52.5154px', { valueTemplate: undefined, fromValue: '52.5154px'}], position: 2500, duration: 0, easing: "linear" },
            { id: "eid69", tween: [ "style", "#stage", "width", '245px', { valueTemplate: undefined, fromValue: '245px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid140", tween: [ "transform", "#damup", "translateY", '52.57171px', { valueTemplate: undefined, fromValue: '3.57171px'}], position: 3000, duration: 2000, easing: "easeOutBounce" },
            { id: "eid86", tween: [ "transform", "#damup", "translateX", '11.65444px', { valueTemplate: undefined, fromValue: '11.65444px'}], position: 3000, duration: 0, easing: "linear" },
            { id: "eid113", tween: [ "transform", "#damdown", "translateY", '52.5154px', { valueTemplate: undefined, fromValue: '-17.4846px'}], position: 0, duration: 2500, easing: "easeOutBounce" },
            { id: "eid124", tween: [ "transform", "#proyecto", "translateX", '11.26194px', { valueTemplate: undefined, fromValue: '11.26194px'}], position: 0, duration: 0, easing: "linear" },
            { id: "eid95", tween: [ "transform", "#proyecto", "translateX", '11.26194px', { valueTemplate: undefined, fromValue: '11.26194px'}], position: 2500, duration: 0, easing: "linear" },
            { id: "eid136", tween: [ "style", "#damup", "opacity", '1', { valueTemplate: undefined, fromValue: '0'}], position: 3000, duration: 2000, easing: "linear" },
            { id: "eid75", tween: [ "transform", "#fondo", "translateX", '0px', { valueTemplate: undefined, fromValue: '0px'}], position: 0, duration: 0, easing: "linear" }]
      }
   },
}};

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     $.Edge.initialize(symbols);
});
/**
 * Adobe Edge Timeline Launch
 */
$(window).load(function() {
    $.Edge.play();
});

