/**
 * 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': '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: 'background',
                type: 'image',
                rect: ['47', '81','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_L_G02_U04_L02_05_01_01_background.png",'0px','0px']
            },
            {
                id: 'banner_text',
                type: 'image',
                rect: ['120px', '199px','1144px','507px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_L_G02_U04_L02_05_01_01_banner_text.png",'0px','0px']
            },
            {
                id: 'Text',
                type: 'text',
                rect: ['170px', '244px','1044px','70px','auto', 'auto'],
                text: "Titulo de la fábula: _________________________________________ <br>",
                align: "left",
                font: ['cabin, \'Trebuchet MS\', \'Myriad Pro\', \'Gill Sans MT\', Helvetica, sans-serif', 32, "rgba(0,0,0,1)", "bold", "none", "normal"]
            },
            {
                id: 'TextCopy',
                type: 'text',
                rect: ['269px', '308px','974px','51px','auto', 'auto'],
                text: "● ¿Cuál fue el problema que vivió la gallina Marcelina?<br><br>__________________________________________________",
                align: "left",
                font: ['cabin, \'Trebuchet MS\', \'Myriad Pro\', \'Gill Sans MT\', Helvetica, sans-serif', 32, "rgba(0,0,0,1)", "bold", "none", "normal"]
            },
            {
                id: 'TextCopy2',
                type: 'text',
                rect: ['269px', '440px','974px','51px','auto', 'auto'],
                text: "● ¿Cómo solucionó el problema la gallina Marcelina?<br><br>__________________________________________________",
                align: "left",
                font: ['cabin, \'Trebuchet MS\', \'Myriad Pro\', \'Gill Sans MT\', Helvetica, sans-serif', 32, "rgba(0,0,0,1)", "bold", "none", "normal"]
            },
            {
                id: 'characters_2',
                type: 'image',
                rect: ['1121px', '559px','232px','172px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_L_G02_U04_L02_05_01_01_characters_2.png",'0px','0px']
            },
            {
                id: 'characters_1',
                type: 'image',
                rect: ['34px', '591px','263px','139px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_L_G02_U04_L02_05_01_01_characters_1.png",'0px','0px']
            },
            {
                id: 'bt_ayuda',
                type: 'rect',
                rect: ['649px', '695px','auto','auto','auto', 'auto']
            },
            {
                id: 'hotspot_ayuda',
                type: 'rect',
                rect: ['648px', '695px','70px','70px','auto', 'auto'],
                cursor: ['pointer'],
                fill: ["rgba(192,192,192,0.00)"],
                stroke: [0,"rgba(0,0,0,1)","none"]
            },
            {
                id: 'TextArea_3',
                type: 'rect',
                rect: ['100px', '590px','908px','31px','auto', 'auto'],
                borderRadius: ["0px 0px", "0px 0px", "0px 0px", "0px 0px"],
                fill: ["rgba(65,233,223,0.22)"],
                stroke: [1,"rgba(255,121,121,1.00)","none"]
            },
            {
                id: 'TextCopy3',
                type: 'text',
                rect: ['269px', '568px','974px','51px','auto', 'auto'],
                text: "● ¿Cuál es la moraleja de la fábula?<br><br> __________________________________________________",
                align: "left",
                font: ['cabin, \'Trebuchet MS\', \'Myriad Pro\', \'Gill Sans MT\', Helvetica, sans-serif', 32, "rgba(0,0,0,1)", "bold", "none", "normal"]
            },
            {
                id: 'TextArea_4',
                type: 'rect',
                rect: ['100px', '590px','908px','31px','auto', 'auto'],
                borderRadius: ["0px 0px", "0px 0px", "0px 0px", "0px 0px"],
                fill: ["rgba(65,233,223,0.22)"],
                stroke: [1,"rgba(255,121,121,1.00)","none"]
            },
            {
                id: 'TextArea_1',
                type: 'rect',
                rect: ['100px', '303px','728px','31px','auto', 'auto'],
                borderRadius: ["0px 0px", "0px 0px", "0px 0px", "0px 0px"],
                fill: ["rgba(65,233,223,0.22)"],
                stroke: [1,"rgba(255,121,121,1.00)","none"]
            },
            {
                id: 'TextArea_2',
                type: 'rect',
                rect: ['100px', '448px','908px','31px','auto', 'auto'],
                borderRadius: ["0px 0px", "0px 0px", "0px 0px", "0px 0px"],
                fill: ["rgba(65,233,223,0.22)"],
                stroke: [1,"rgba(255,121,121,1.00)","none"]
            },
            {
                id: 'help',
                display: 'none',
                type: 'image',
                rect: ['416px', '331px','531px','249px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"help_textarea.png",'0px','0px']
            },
            {
                id: 'flecha',
                display: 'none',
                type: 'image',
                rect: ['210px', '127px','12px','14px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"flecha.png",'0px','0px']
            },
            {
                id: 'descripcion',
                type: 'text',
                rect: ['100px', '160px','1167px','auto','auto', 'auto'],
                text: "Completa la ficha.<br>",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 32, "rgba(0,0,0,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'instruccion',
                display: 'none',
                type: 'text',
                rect: ['100px', '196px','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', '120px','150px','auto','auto', 'auto'],
                text: "Desarrollo",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 22, "rgba(255,255,255,1.00)", "700", "none", "normal"]
            },
            {
                id: 'num_actividad',
                display: 'none',
                type: 'text',
                rect: ['240px', '120px','140px','auto','auto', 'auto'],
                text: "Actividad 2",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 22, "rgba(255,255,255,1.00)", "700", "none", "normal"]
            }],
            symbolInstances: [
            {
                id: 'bt_ayuda',
                symbolName: 'bt_ayuda',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_bt_ayuda}": [
                ["style", "top", '695px'],
                ["transform", "scaleY", '1'],
                ["style", "left", '649px'],
                ["transform", "scaleX", '1']
            ],
            "${_num_actividad}": [
                ["style", "top", '120px'],
                ["style", "width", '140px'],
                ["style", "display", 'none'],
                ["style", "font-weight", 'bold'],
                ["color", "color", 'rgba(255,255,255,1.00)'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '240px'],
                ["style", "font-size", '22px']
            ],
            "${_characters_1}": [
                ["style", "height", '139px'],
                ["style", "top", '591px'],
                ["style", "left", '34px'],
                ["style", "width", '263px']
            ],
            "${_instruccion}": [
                ["style", "top", '196px'],
                ["style", "font-size", '26px'],
                ["style", "display", 'none'],
                ["style", "font-weight", '400'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '100px'],
                ["style", "width", '1150px']
            ],
            "${_characters_2}": [
                ["style", "height", '172px'],
                ["style", "top", '559px'],
                ["style", "left", '1121px'],
                ["style", "width", '232px']
            ],
            "${_momento}": [
                ["style", "top", '120px'],
                ["style", "width", '150px'],
                ["style", "display", 'none'],
                ["style", "font-weight", 'bold'],
                ["color", "color", 'rgba(255,255,255,1.00)'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '100px'],
                ["style", "font-size", '22px']
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "height", '20px'],
                ["style", "display", 'none'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ],
            "${_TextArea_3}": [
                ["color", "background-color", 'rgba(65,233,223,0.22)'],
                ["style", "border-style", 'none'],
                ["style", "border-width", '1px'],
                ["style", "width", '908px'],
                ["style", "top", '631px'],
                ["style", "height", '31px'],
                ["color", "border-color", 'rgba(255,121,121,1.00)'],
                ["style", "opacity", '0'],
                ["style", "left", '102px']
            ],
            "${_flecha}": [
                ["style", "top", '127px'],
                ["style", "left", '210px'],
                ["style", "display", 'none']
            ],
            "${_hotspot_ayuda}": [
                ["style", "top", '695px'],
                ["color", "background-color", 'rgba(192,192,192,0.00)'],
                ["style", "height", '70px'],
                ["style", "left", '648px'],
                ["style", "cursor", 'pointer'],
                ["style", "width", '70px']
            ],
            "${_Text}": [
                ["style", "left", '170px'],
                ["style", "top", '244px']
            ],
            "${_help}": [
                ["style", "top", '331px'],
                ["style", "left", '416px'],
                ["style", "display", 'none']
            ],
            "${_TextArea_4}": [
                ["color", "background-color", 'rgba(65,233,223,0.22)'],
                ["style", "border-style", 'none'],
                ["style", "border-width", '1px'],
                ["style", "width", '908px'],
                ["style", "top", '631px'],
                ["style", "height", '31px'],
                ["color", "border-color", 'rgba(255,121,121,1.00)'],
                ["style", "left", '102px'],
                ["style", "opacity", '0']
            ],
            "${_banner_text}": [
                ["style", "left", '120px'],
                ["style", "top", '199px']
            ],
            "${_TextCopy2}": [
                ["style", "top", '440px'],
                ["style", "height", '51px'],
                ["style", "left", '269px'],
                ["style", "width", '974px']
            ],
            "${_TextArea_2}": [
                ["color", "background-color", 'rgba(65,233,223,0.22)'],
                ["style", "border-style", 'none'],
                ["style", "left", '102px'],
                ["style", "width", '908px'],
                ["style", "top", '489px'],
                ["style", "height", '31px'],
                ["color", "border-color", 'rgba(255,121,121,1.00)'],
                ["style", "opacity", '0'],
                ["style", "border-width", '1px']
            ],
            "${_descripcion}": [
                ["style", "top", '160px'],
                ["style", "width", '1167px'],
                ["color", "color", 'rgba(0,0,0,1.00)'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '100px'],
                ["style", "font-size", '32px']
            ],
            "${_TextArea_1}": [
                ["color", "background-color", 'rgba(65,233,223,0.22)'],
                ["style", "border-style", 'none'],
                ["style", "left", '102px'],
                ["style", "width", '728px'],
                ["style", "top", '344px'],
                ["style", "height", '31px'],
                ["color", "border-color", 'rgba(255,121,121,1.00)'],
                ["style", "opacity", '0'],
                ["style", "border-width", '1px']
            ],
            "${_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']
            ],
            "${_box_01}": [
                ["color", "background-color", 'rgba(255,255,255,0.00)'],
                ["style", "border-top-left-radius", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "border-bottom-right-radius", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "opacity", '1'],
                ["style", "left", '34px'],
                ["style", "width", '446px'],
                ["style", "top", '226px'],
                ["style", "border-bottom-left-radius", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "display", 'block'],
                ["style", "border-top-right-radius", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "height", '282px']
            ],
            "${_TextCopy}": [
                ["style", "height", '51px'],
                ["style", "top", '308px'],
                ["style", "left", '269px'],
                ["style", "width", '974px']
            ],
            "${_TextCopy3}": [
                ["style", "height", '51px'],
                ["style", "top", '568px'],
                ["style", "left", '269px'],
                ["style", "width", '974px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
                { id: "eid1029", tween: [ "style", "${_TextArea_2}", "left", '264px', { fromValue: '102px'}], position: 0, duration: 0, easing: "easeInBack" },
                { id: "eid1032", tween: [ "style", "${_TextArea_1}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 0, easing: "easeInBack" },
                { id: "eid968", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid967", tween: [ "style", "${_help}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1030", tween: [ "style", "${_TextArea_2}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 0, easing: "easeInBack" },
                { id: "eid1040", tween: [ "style", "${_TextArea_3}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 0, easing: "easeInBack" },
                { id: "eid1038", tween: [ "style", "${_TextArea_3}", "top", '490px', { fromValue: '631px'}], position: 0, duration: 0, easing: "easeInBack" },
                { id: "eid1036", tween: [ "style", "${_TextArea_4}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 0, easing: "easeInBack" },
                { id: "eid1024", tween: [ "style", "${_num_actividad}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1025", tween: [ "style", "${_flecha}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1035", tween: [ "style", "${_TextArea_4}", "top", '618px', { fromValue: '631px'}], position: 0, duration: 0, easing: "easeInBack" },
                { id: "eid1033", tween: [ "style", "${_TextArea_1}", "top", '218px', { fromValue: '344px'}], position: 0, duration: 0, easing: "easeInBack" },
                { id: "eid1023", tween: [ "style", "${_momento}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1039", tween: [ "style", "${_TextArea_3}", "left", '269px', { fromValue: '102px'}], position: 0, duration: 0, easing: "easeInBack" },
                { id: "eid1037", tween: [ "style", "${_TextArea_4}", "left", '269px', { fromValue: '102px'}], position: 0, duration: 0, easing: "easeInBack" },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1031", tween: [ "style", "${_TextArea_2}", "top", '357px', { fromValue: '489px'}], position: 0, duration: 0, easing: "easeInBack" },
                { id: "eid497", tween: [ "gradient", "${_box_01}", "background-image", [270,[['rgba(255,255,255,0.00)',0],['rgba(255,255,255,0.00)',100]]], { fromValue: [270,[['rgba(255,255,255,0.00)',0],['rgba(255,255,255,0.00)',100]]]}], position: 0, duration: 0 },
                { id: "eid1034", tween: [ "style", "${_TextArea_1}", "left", '439px', { fromValue: '102px'}], position: 0, duration: 0, easing: "easeInBack" }            ]
        }
    }
},
"bt_ayuda": {
    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: true,
    content: {
            dom: [
                {
                    type: 'image',
                    id: 'botones4',
                    rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                    clip: ['rect(0px 70px 70px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/botones.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${symbolSelector}": [
                ["style", "height", '70px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '70px']
            ],
            "${_botones4}": [
                ["style", "clip", [0,70,70,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "background-position", [-220,0], {valueTemplate:'@@0@@px @@1@@px'} ]
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "normal": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1280", tween: [ "style", "${_botones4}", "background-position", [-220,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-220,0]}], position: 0, duration: 0 },
                { id: "eid1281", tween: [ "style", "${_botones4}", "background-position", [-220,-70], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-220,0]}], position: 250, duration: 0 }            ]
        }
    }
}
};


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

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