/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
var symbols = {
"stage": {
   version: "0.1.3",
   baseState: "Base State",
   initialState: "Base State",
   content: {
      dom: [
        {
            id:'cra',
            className:'stage_cra_id',
            type:'image',
            tag:'div',
            rect:[0,0,181,135],
            fill:['rgba(0,0,0,0)','themes/blackcandy/images/cra.png']
        },
        {
            id:'box',
            className:'stage_box_id',
            type:'image',
            tag:'div',
            rect:[0,0,250,215],
            fill:['rgba(0,0,0,0)','themes/blackcandy/images/box.png']
        }],
      symbolInstances: [
      ]
   },
   states: {
      "Base State": {
         "${_cra}": [
            ["transform", "translateY", '49px'],
            ["transform", "translateX", '69px']
         ],
         "${_stage}": [
            ["color", "background-color", 'rgba(255,255,255,0.00)'],
            ["style", "width", '250px'],
            ["style", "height", '215px'],
            ["style", "overflow", 'visible']
         ]
      }
   },
   timelines: {
      "Default Timeline": {
         fromState: "Base State",
         toState: "",
         duration: 250,
         labels: {

         },
         timeline: [
            { id: "eid1", tween: [ "style", "${_stage}", "width", '250px', { fromValue: '250px'}], position: 0, duration: 0 },
            { id: "eid9", tween: [ "transform", "${_cra}", "translateX", '0px', { fromValue: '69px'}], position: 0, duration: 250, easing: "swing" },
            { id: "eid2", tween: [ "style", "${_stage}", "height", '215px', { fromValue: '215px'}], position: 0, duration: 0 },
            { id: "eid8", tween: [ "color", "${_stage}", "background-color", 'rgba(255,255,255,0.00)', { animationColorSpace: 'RGB', valueTemplate: undefined, fromValue: 'rgba(255,255,255,0.00)'}], position: 0, duration: 0 },
            { id: "eid10", tween: [ "transform", "${_cra}", "translateY", '9px', { fromValue: '49px'}], position: 0, duration: 250, easing: "swing" }]
      }
   }
}};

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-189804988");

