/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
//images folder
var im='images/';

var fonts = {};    fonts['Helvetica']='';
    fonts['cabin, sans-serif']='<script src=\"http://use.edgefonts.net/cabin:n4,i4,n7,i7,n5,i5,n6,i6:all.js\"></script>';

var opts = {
    'gAudioPreloadPreference': 'true',

    'gVideoPreloadPreference': 'auto'
};
var resources = [
];
var symbols = {
"stage": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "both",
    centerStage: "both",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
            {
                id: '_03_04_BG',
                type: 'image',
                rect: ['47px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_1.png",'0px','0px']
            },
            {
                id: '_03_04_02',
                type: 'image',
                rect: ['47px', '81px','1265px','650px','auto', 'auto'],
                clip: ['rect(0px 1178.1357421875px 650px 0px)'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_02.png",'0px','0px']
            },
            {
                id: 'descripcion',
                type: 'text',
                rect: ['100px', '165px','1138px','92px','auto', 'auto'],
                text: "Para enviar una postal se deben completar los siguientes datos:<br>",
                align: "left",
                font: ['cabin, sans-serif', 32, "rgba(37,37,37,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'instruccion',
                display: 'none',
                type: 'text',
                rect: ['100px', '209px','913px','auto','auto', 'auto'],
                text: "Escucha, lee y repite el trabalenguas. <br>",
                align: "left",
                font: ['cabin, sans-serif', 26, "rgba(102,102,102,1.00)", "400", "none", "normal"]
            },
            {
                id: '_03_04_04',
                type: 'image',
                rect: ['901px', '341px','49px','131px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_04.png",'0px','0px']
            },
            {
                id: 'titulo',
                type: 'rect',
                rect: ['689px', '273','auto','auto','auto', 'auto']
            }],
            symbolInstances: [
            {
                id: 'titulo',
                symbolName: 'titulo',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${__03_04_04}": [
                ["style", "top", '341px'],
                ["style", "opacity", '0'],
                ["style", "left", '901px'],
                ["style", "clip", [116.4384765625,49,131,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_titulo}": [
                ["style", "top", '240px'],
                ["style", "opacity", '0'],
                ["style", "left", '689px']
            ],
            "${_descripcion}": [
                ["style", "top", '165px'],
                ["transform", "scaleY", '1'],
                ["transform", "scaleX", '1'],
                ["style", "height", '92px'],
                ["style", "left", '100px'],
                ["style", "clip", [0,-5.529296875,92,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["color", "color", 'rgba(37,37,37,1.00)']
            ],
            "${__03_04_02}": [
                ["style", "top", '81px'],
                ["style", "left", '47px'],
                ["style", "clip", [0,1178.1357421875,650,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "display", 'none'],
                ["style", "height", '20px'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ],
            "${_instruccion}": [
                ["style", "top", '209px'],
                ["style", "width", '913px'],
                ["style", "display", 'none'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "font-weight", '400'],
                ["style", "left", '100px'],
                ["style", "font-size", '26px']
            ],
            "${_Stage}": [
                ["color", "background-color", 'rgba(255,255,255,0.00)'],
                ["style", "min-width", '320px'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '768px'],
                ["style", "max-width", '1366px'],
                ["style", "width", '1366px']
            ],
            "${__03_04_BG}": [
                ["style", "left", '47px'],
                ["style", "top", '81px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1500,
            autoPlay: true,
            timeline: [
                { id: "eid1388", tween: [ "style", "${_titulo}", "top", '452px', { fromValue: '240px'}], position: 500, duration: 500, easing: "easeOutBack" },
                { id: "eid1357", tween: [ "style", "${_descripcion}", "clip", [0,1138,92,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [0,-5.529296875,92,0]}], position: 0, duration: 750 },
                { id: "eid1412", tween: [ "style", "${__03_04_04}", "clip", [0,49,131,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [116.4384765625,49,131,0]}], position: 1000, duration: 500 },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1414", tween: [ "style", "${__03_04_04}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 500 },
                { id: "eid1263", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1390", tween: [ "style", "${_titulo}", "opacity", '1', { fromValue: '0'}], position: 500, duration: 500, easing: "easeOutBack" }            ]
        }
    }
},
"flecha_bt": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    rect: ['0px', '0px', '89px', '83px', 'auto', 'auto'],
                    id: 'Rectangle2',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    type: 'rect',
                    fill: ['rgba(192,192,192,0.00)']
                },
                {
                    id: 'M_G01_U01_L03_03_03_06Copy2',
                    type: 'image',
                    rect: ['0px', '0px', '80px', '200px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/M_G01_U01_L03_03_03_062.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_M_G01_U01_L03_03_03_06Copy2}": [
                ["style", "left", '0px'],
                ["style", "top", '0px']
            ],
            "${_Rectangle2}": [
                ["color", "background-color", 'rgba(192,192,192,0.00)'],
                ["style", "height", '83px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '89px']
            ],
            "${symbolSelector}": [
                ["style", "height", '83px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '89px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "up": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1306", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "left", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1307", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "top", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1308", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "top", '-110px', { fromValue: '0px'}], position: 250, duration: 0 }            ]
        }
    }
},
"titulo": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    rect: ['0px', '0px', '494px', '160px', 'auto', 'auto'],
                    borderRadius: ['10px', '10px', '10px', '10px'],
                    id: 'RoundRect',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    type: 'rect',
                    fill: ['rgba(206,113,104,1.00)']
                },
                {
                    font: ['cabin, sans-serif', 32, 'rgba(255,255,255,1.00)', '400', 'none', 'normal'],
                    type: 'text',
                    id: 'Text',
                    text: 'La postal no va en un sobre, por eso el nombre del destinatario debe escribirse directamente.<br>',
                    align: 'left',
                    rect: ['28px', '20px', '457px', '120px', 'auto', 'auto']
                },
                {
                    id: '_03_04_053',
                    type: 'image',
                    rect: ['99px', '50px', '360px', '48px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/_03_04_05.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${__03_04_053}": [
                ["style", "left", '99px'],
                ["style", "top", '50px']
            ],
            "${_RoundRect}": [
                ["color", "background-color", 'rgba(206,113,104,1.00)'],
                ["style", "height", '160px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '494px']
            ],
            "${_Text}": [
                ["style", "top", '20px'],
                ["style", "width", '457px'],
                ["color", "color", 'rgba(255,255,255,1.00)'],
                ["style", "height", '120px'],
                ["style", "font-weight", '400'],
                ["style", "left", '28px'],
                ["style", "font-size", '32px']
            ],
            "${symbolSelector}": [
                ["style", "height", '163px'],
                ["style", "width", '497px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
},
"titulo_1": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    rect: ['0px', '0px', '463px', '120px', 'auto', 'auto'],
                    borderRadius: ['10px', '10px', '10px', '10px'],
                    id: 'RoundRect',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    type: 'rect',
                    fill: ['rgba(211,124,172,1.00)']
                },
                {
                    font: ['cabin, sans-serif', 32, 'rgba(255,255,255,1.00)', '400', 'none', 'normal'],
                    type: 'text',
                    id: 'Text',
                    text: 'Es importante escribir tu nombre para firmar la postal.<br>',
                    align: 'left',
                    rect: ['32px', '20px', '415px', '83px', 'auto', 'auto']
                },
                {
                    id: '_03_04_052',
                    type: 'image',
                    rect: ['202px', '52px', '106px', '46px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/_03_04_05.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${__03_04_052}": [
                ["style", "left", '202px'],
                ["style", "top", '52px']
            ],
            "${_RoundRect}": [
                ["color", "background-color", 'rgba(211,124,172,1.00)'],
                ["style", "height", '120px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '463px']
            ],
            "${_Text}": [
                ["style", "top", '20px'],
                ["style", "font-size", '32px'],
                ["style", "height", '83px'],
                ["color", "color", 'rgba(255,255,255,1.00)'],
                ["style", "font-weight", '400'],
                ["style", "left", '32px'],
                ["style", "width", '415px']
            ],
            "${symbolSelector}": [
                ["style", "height", '124px'],
                ["style", "width", '469px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
}
};


Edge.registerCompositionDefn(compId, symbols, fonts, resources, opts);

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     Edge.launchComposition(compId);
});
})(jQuery, AdobeEdge, "EDGE-94063035");
