/**
 * 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: 'Background2',
                type: 'rect',
                rect: ['47', '81','auto','auto','auto', 'auto'],
                clip: ['rect(0px 1265px 650px 0px)']
            },
            {
                id: 'RoundRect',
                type: 'rect',
                rect: ['47px', '121px','310px','35px','auto', 'auto'],
                borderRadius: ["0px", "0px", "10px", "0px"],
                fill: ["rgba(255,255,255,0.90)"],
                stroke: [1,"rgba(255,255,255,1.00)","solid"]
            },
            {
                id: 'descripcion',
                display: 'block',
                type: 'text',
                rect: ['100px', '165px','1170px','auto','auto', 'auto'],
                text: "Escribe una carta a algún compañero del salón. Luego, intercambien los textos y lean el mensaje",
                align: "left",
                font: ['cabin, sans-serif', 32, "rgba(255,255,255,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'momento',
                display: 'none',
                type: 'text',
                rect: ['100px', '129px','120px','auto','auto', 'auto'],
                text: "Desarrollo",
                align: "left",
                font: ['cabin, sans-serif', 24, "rgba(197,115,34,1.00)", "700", "none", "normal"]
            },
            {
                id: 'flecha',
                display: 'none',
                type: 'image',
                rect: ['212px', '137px','15px','15px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"flecha.png",'0px','0px']
            },
            {
                id: 'num_actividad',
                display: 'none',
                type: 'text',
                rect: ['231px', '129px','128px','auto','auto', 'auto'],
                text: "Actividad 3",
                align: "left",
                font: ['cabin, sans-serif', 24, "rgba(229,145,34,1.00)", "700", "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: 'bt_audio',
                display: 'none',
                type: 'rect',
                rect: ['199px', '254px','auto','auto','auto', 'auto'],
                title: 'audio_01',
                cursor: ['pointer'],
                transform: [[],[],[],['0.83333','0.83333']]
            }],
            symbolInstances: [
            {
                id: 'Background2',
                symbolName: 'Background'
            },
            {
                id: 'bt_audio',
                symbolName: 'bt_audio',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_Background2}": [
                ["style", "clip", [0,1265,650,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_RoundRect}": [
                ["color", "background-color", 'rgba(255,255,255,0.90)'],
                ["color", "border-color", 'rgba(255,255,255,1.00)'],
                ["style", "height", '35px'],
                ["style", "border-style", 'solid'],
                ["style", "border-width", '1px'],
                ["style", "width", '310px']
            ],
            "${_num_actividad}": [
                ["style", "top", '129px'],
                ["style", "width", '128px'],
                ["style", "display", 'none'],
                ["color", "color", 'rgba(229,145,34,1.00)'],
                ["style", "font-weight", 'bold'],
                ["style", "left", '231px'],
                ["style", "font-size", '24px']
            ],
            "${_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']
            ],
            "${_flecha}": [
                ["style", "top", '137px'],
                ["style", "display", 'none'],
                ["style", "height", '15px'],
                ["style", "left", '212px'],
                ["style", "width", '15px']
            ],
            "${_descripcion}": [
                ["style", "top", '165px'],
                ["style", "font-size", '32px'],
                ["color", "color", 'rgba(255,255,255,1.00)'],
                ["style", "display", 'block'],
                ["style", "left", '100px'],
                ["style", "width", '1170px']
            ],
            "${_momento}": [
                ["style", "top", '129px'],
                ["style", "width", '120px'],
                ["style", "display", 'none'],
                ["color", "color", 'rgba(197,115,34,1.00)'],
                ["style", "font-weight", 'bold'],
                ["style", "left", '100px'],
                ["style", "font-size", '24px']
            ],
            "${_bt_audio}": [
                ["style", "top", '254px'],
                ["transform", "scaleY", '0.83333'],
                ["style", "display", 'none'],
                ["transform", "scaleX", '0.83333'],
                ["style", "cursor", 'pointer'],
                ["style", "left", '199px']
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "display", 'none'],
                ["style", "height", '20px'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
                { id: "eid1259", tween: [ "style", "${_momento}", "display", 'block', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1265", tween: [ "style", "${_bt_audio}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1261", tween: [ "style", "${_num_actividad}", "display", 'block', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1260", tween: [ "style", "${_flecha}", "display", 'block', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1263", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1262", tween: [ "style", "${_descripcion}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 }            ]
        }
    }
},
"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 }            ]
        }
    }
},
"bt_audio": {
    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: [
                {
                    type: 'rect',
                    id: 'Rectangle',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    rect: ['0px', '0px', '90px', '90px', 'auto', 'auto'],
                    fill: ['rgba(192,192,192,0.00)']
                },
                {
                    type: 'image',
                    id: 'bt_audio',
                    rect: ['0px', '0px', '90px', '180px', 'auto', 'auto'],
                    clip: ['rect(0px 90px 180px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/bt_audio.png', '0px', '-97px']
                },
                {
                    type: 'rect',
                    rect: ['0px', '0px', '90px', '90px', 'auto', 'auto'],
                    clip: ['rect(0px 90px 90px 0px)'],
                    id: 'ht_spot',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    cursor: ['pointer'],
                    fill: ['rgba(192,192,192,0.00)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_bt_audio}": [
                ["style", "top", '0px'],
                ["style", "background-position", [0,5], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "height", '180px'],
                ["style", "clip", [0,90,90,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "left", '0px'],
                ["style", "width", '90px']
            ],
            "${_Rectangle}": [
                ["style", "top", '0px'],
                ["style", "height", '90px'],
                ["color", "background-color", 'rgba(192,192,192,0.00)'],
                ["style", "left", '0px'],
                ["style", "width", '90px']
            ],
            "${_ht_spot}": [
                ["color", "background-color", 'rgba(192,192,192,0.00)'],
                ["style", "height", '90px'],
                ["style", "clip", [0,90,90,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "cursor", 'pointer'],
                ["style", "width", '90px']
            ],
            "${symbolSelector}": [
                ["style", "height", '90px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '90px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "up": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1242", tween: [ "style", "${_bt_audio}", "left", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1244", tween: [ "style", "${_bt_audio}", "left", '0px', { fromValue: '0px'}], position: 250, duration: 0 },
                { id: "eid1243", tween: [ "style", "${_bt_audio}", "top", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1245", tween: [ "style", "${_bt_audio}", "top", '0px', { fromValue: '0px'}], position: 250, duration: 0 },
                { id: "eid3", tween: [ "style", "${_bt_audio}", "background-position", [0,5], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,5]}], position: 0, duration: 0 },
                { id: "eid4", tween: [ "style", "${_bt_audio}", "background-position", [0,-97], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,5]}], position: 250, duration: 0 }            ]
        }
    }
},
"Background": {
    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: [
                {
                    id: 'Background',
                    type: 'image',
                    rect: ['0px', '0px', '1265px', '650px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/IL_L_G02_U05_L01_03_04_01_Background.png', '0px', '0px']
                },
                {
                    id: 'paper',
                    type: 'image',
                    rect: ['120px', '269px', '553px', '581px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/IL_L_G02_U05_L01_03_04_01_paper.png', '0px', '0px']
                },
                {
                    id: 'text',
                    type: 'image',
                    rect: ['206px', '303px', '369px', '373px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/IL_L_G02_U05_L01_03_04_01_text.png', '0px', '0px']
                },
                {
                    id: 'img_001',
                    type: 'image',
                    rect: ['-345px', '60px', '206px', '219px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/IL_L_G02_U05_L01_03_04_01_img_001.png', '0px', '0px']
                },
                {
                    id: 'nota',
                    type: 'image',
                    rect: ['849px', '119px', '400px', '422px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/IL_L_G02_U05_L01_03_04_01_nota.png', '0px', '0px']
                },
                {
                    id: 'img_002',
                    type: 'image',
                    rect: ['1408px', '234px', '207px', '221px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/IL_L_G02_U05_L01_03_04_01_img_002.png', '0px', '0px']
                },
                {
                    id: 'hand',
                    type: 'image',
                    rect: ['449px', '323px', '407px', '492px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/IL_L_G02_U05_L01_03_04_01_hand.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${symbolSelector}": [
                ["style", "height", '850px'],
                ["style", "width", '1265px']
            ],
            "${_img_001}": [
                ["motion", "location", '-242px 169px'],
                ["transform", "rotateZ", '45deg']
            ],
            "${_text}": [
                ["style", "top", '303px'],
                ["style", "clip", [0,5.25,373,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "left", '206px'],
                ["transform", "skewX", '0.36deg']
            ],
            "${_hand}": [
                ["style", "left", '153px'],
                ["style", "top", '722px']
            ],
            "${_img_002}": [
                ["motion", "location", '1511.5px 344.75px'],
                ["transform", "rotateZ", '115deg']
            ],
            "${_nota}": [
                ["style", "top", '119px'],
                ["transform", "scaleY", '1.42061'],
                ["transform", "scaleX", '1.42061'],
                ["style", "height", '422px'],
                ["style", "opacity", '0'],
                ["style", "left", '772px'],
                ["style", "width", '400px']
            ],
            "${_paper}": [
                ["style", "left", '120px'],
                ["style", "top", '676px']
            ],
            "${_Background}": [
                ["style", "left", '0px'],
                ["style", "top", '0px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2000,
            autoPlay: true,
            timeline: [
                { id: "eid1269", tween: [ "transform", "${_img_001}", "rotateZ", '0deg', { fromValue: '45deg'}], position: 155, duration: 690, easing: "easeOutBack" },
                { id: "eid1297", tween: [ "style", "${_text}", "clip", [0,369,373,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [0,5.25,373,0]}], position: 1555, duration: 445 },
                { id: "eid1279", tween: [ "transform", "${_nota}", "scaleX", '1', { fromValue: '1.42061'}], position: 155, duration: 690, easing: "easeOutBack" },
                { id: "eid1283", tween: [ "style", "${_nota}", "left", '849px', { fromValue: '772px'}], position: 155, duration: 690, easing: "easeOutBack" },
                { id: "eid1291", tween: [ "style", "${_hand}", "left", '206px', { fromValue: '153px'}], position: 1000, duration: 500 },
                { id: "eid1294", tween: [ "style", "${_hand}", "left", '559px', { fromValue: '206px'}], position: 1555, duration: 445 },
                { id: "eid1293", tween: [ "style", "${_hand}", "top", '254px', { fromValue: '722px'}], position: 1000, duration: 500 },
                { id: "eid1295", tween: [ "style", "${_hand}", "top", '330px', { fromValue: '254px'}], position: 1555, duration: 445 },
                { id: "eid1287", tween: [ "transform", "${_text}", "skewX", '0deg', { fromValue: '0.36deg'}], position: 155, duration: 690, easing: "easeOutBack" },
                { id: "eid1281", tween: [ "transform", "${_nota}", "scaleY", '1', { fromValue: '1.42061'}], position: 155, duration: 690, easing: "easeOutBack" },
                { id: "eid1289", tween: [ "style", "${_paper}", "top", '269px', { fromValue: '676px'}], position: 155, duration: 690, easing: "easeOutBack" },
                { id: "eid1277", tween: [ "transform", "${_img_002}", "rotateZ", '0deg', { fromValue: '115deg'}], position: 155, duration: 690, easing: "easeOutBack" },
                { id: "eid1275", tween: [ "motion", "${_img_002}", [[1511.5, 344.75, 0, 0],[1346.01, 572.83, -539.21, 96.59, -387.94, 69.49],[876.5, 458.5, 0, 0]]], position: 155, duration: 690, easing: "easeOutBack" },
                { id: "eid1285", tween: [ "style", "${_nota}", "opacity", '1', { fromValue: '0'}], position: 155, duration: 690, easing: "easeOutBack" },
                { id: "eid1267", tween: [ "motion", "${_img_001}", [[-242, 169, 0, 0],[-35.38, 137.48, 267.13, 80.89, 265.37, 80.36],[113, 276.5, 0, 0]]], position: 155, duration: 690, easing: "easeOutBack" }            ]
        }
    }
}
};


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

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