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

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

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

    '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: '_01_01_01_bg',
                type: 'image',
                rect: ['47px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_01_01_01_bg.png",'0px','0px']
            },
            {
                id: 'textCount',
                display: 'none',
                type: 'text',
                rect: ['1049px', '100px','227px','42px','auto', 'auto'],
                text: "0/0",
                align: "center",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 24, "rgba(0,0,0,1)", "normal", "none", ""]
            },
            {
                id: 'instruccion',
                display: 'none',
                type: 'text',
                rect: ['100px', '203px','1150px','auto','auto', 'auto'],
                text: "Lorem ipsum dolor sit amet, consectetur",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 26, "rgba(102,102,102,1.00)", "400", "none", "normal"]
            },
            {
                id: 'momento',
                display: 'none',
                type: 'text',
                rect: ['100px', '129px','150px','auto','auto', 'auto'],
                text: "Desarrollo",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 22, "rgba(197,115,34,1.00)", "700", "none", "normal"]
            },
            {
                id: 'flecha',
                display: 'none',
                type: 'image',
                rect: ['210px', '135px','15px','15px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"flecha.png",'0px','0px']
            },
            {
                id: 'num_actividad',
                display: 'none',
                type: 'text',
                rect: ['240px', '129px','140px','auto','auto', 'auto'],
                text: "Actividad 1",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 22, "rgba(229,145,34,1.00)", "700", "none", "normal"]
            },
            {
                id: 'descripcion',
                display: 'none',
                type: 'text',
                rect: ['100px', '165px','1150px','auto','auto', 'auto'],
                text: "Lee el siguiente texto para conocer los materiales que fueron utilizados por nuestros antepasados para elaborar las pinturas rupestres. <br>",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 32, "rgba(26,26,26,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'AN_L_G03_U05_L02_01_01',
                type: 'video',
                tag: 'video',
                rect: ['252px', '232px','853px','480px','auto', 'auto'],
                controls: 'controls',
                source: ['media/AN_L_G03_U05_L02_01_01.mp4'],
                preload: 'metadata'
            }],
            symbolInstances: [

            ]
        },
    states: {
        "Base State": {
            "${_flecha}": [
                ["style", "top", '135px'],
                ["style", "display", 'none'],
                ["style", "height", '15px'],
                ["style", "left", '210px'],
                ["style", "width", '15px']
            ],
            "${_instruccion}": [
                ["style", "top", '203px'],
                ["style", "width", '1150px'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "font-weight", '400'],
                ["style", "display", 'none'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '100px'],
                ["style", "font-size", '26px']
            ],
            "${_textCount}": [
                ["style", "top", '100px'],
                ["style", "display", 'none'],
                ["style", "text-align", 'center'],
                ["style", "left", '1049px']
            ],
            "${_AN_L_G03_U05_L02_01_01}": [
                ["style", "height", '480px'],
                ["style", "top", '232px'],
                ["style", "left", '252px'],
                ["style", "width", '853px']
            ],
            "${__01_01_01_bg}": [
                ["style", "left", '47px'],
                ["style", "top", '81px']
            ],
            "${_num_actividad}": [
                ["style", "top", '129px'],
                ["style", "width", '140px'],
                ["color", "color", 'rgba(229,145,34,1)'],
                ["style", "font-weight", 'bold'],
                ["style", "display", 'none'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '240px'],
                ["style", "font-size", '22px']
            ],
            "${_descripcion}": [
                ["style", "top", '135px'],
                ["style", "font-size", '32px'],
                ["style", "display", 'none'],
                ["style", "opacity", '0'],
                ["color", "color", 'rgba(26,26,26,1)'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '100px'],
                ["style", "width", '1150px']
            ],
            "${_momento}": [
                ["style", "top", '129px'],
                ["style", "width", '150px'],
                ["color", "color", 'rgba(197,115,34,1)'],
                ["style", "font-weight", 'bold'],
                ["style", "display", 'none'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '100px'],
                ["style", "font-size", '22px']
            ],
            "${_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']
            ],
            "${_label}": [
                ["style", "top", '0px'],
                ["style", "display", 'none'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '768px'],
                ["style", "opacity", '1'],
                ["style", "left", '0px'],
                ["style", "width", '1366px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 750,
            autoPlay: true,
            timeline: [
                { id: "eid1338", tween: [ "style", "${_descripcion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1300", tween: [ "style", "${_flecha}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1456", tween: [ "style", "${_descripcion}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 750, easing: "easeOutBack" },
                { id: "eid1299", tween: [ "style", "${_num_actividad}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1225", tween: [ "style", "${_textCount}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1301", tween: [ "style", "${_momento}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1298", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1454", tween: [ "style", "${_descripcion}", "top", '165px', { fromValue: '135px'}], position: 0, duration: 750, easing: "easeOutBack" }            ]
        }
    }
}
};


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

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