/**
 * 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: 'animacion',
                type: 'rect',
                rect: ['47', '81','auto','auto','auto', 'auto'],
                clip: ['rect(0px 1271.666015625px 651.33349609375px 0px)']
            },
            {
                id: 'descripcion',
                display: 'block',
                type: 'text',
                rect: ['100px', '165px','658px','auto','auto', 'auto'],
                text: "Escucha y lee el siguiente texto sobre la película <br>",
                align: "left",
                font: ['cabin, sans-serif', 32, "rgba(0,0,0,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'descripcionCopy',
                display: 'block',
                type: 'text',
                rect: ['761px', '165px','497px','auto','auto', 'auto'],
                text: "Buscando a Nemo.",
                align: "left",
                font: ['cabin, sans-serif', 32, "rgba(0,0,0,1.00)", "bold", "none", "italic"]
            },
            {
                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: 'RoundRect',
                display: 'none',
                type: 'rect',
                rect: ['138px', '240px','704px','431px','auto', 'auto'],
                borderRadius: ["10px", "10px", "10px", "10px"],
                fill: ["rgba(255,255,255,0.71)"],
                stroke: [3,"rgba(255,255,255,1.00)","solid"]
            },
            {
                id: 'Text',
                type: 'text',
                rect: ['172px', '284px','646px','348px','auto', 'auto'],
                text: "Nemo es un pequeño y aventurero pez payaso. Un día, después de desobedecer a su padre, se aleja de casa y se pierde en el océano. Su papá, Marlin, emprende un gran viaje junto a su amiga Dory para encontrar a su hijo. En el camino, los dos se enfrentan a tiburones, gaviotas, medusas y tortugas. Al final, Nemo logra ser rescatado y llevado a casa, sano y salvo.<br>",
                align: "left",
                font: ['cabin, sans-serif', 32, "rgba(0,0,0,1)", "400", "none", "normal"]
            },
            {
                id: 'bt_audio',
                display: 'none',
                type: 'rect',
                rect: ['101px', '202px','auto','auto','auto', 'auto'],
                title: 'audio',
                cursor: ['pointer'],
                transform: [[],[],[],['0.83333','0.83333']]
            },
            {
                id: 'audio',
                type: 'audio',
                tag: 'audio',
                rect: ['1122', '158','320px','45px','auto', 'auto'],
                source: ['media/L_G01_U05_L06_03_04_A01.mp3'],
                preload: 'true'
            }],
            symbolInstances: [
            {
                id: 'bt_audio',
                symbolName: 'bt_audio',
                autoPlay: {

                }
            },
            {
                id: 'animacion',
                symbolName: 'animacion',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_animacion}": [
                ["style", "clip", [0,1271.666015625,651.33349609375,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_descripcionCopy}": [
                ["style", "top", '165px'],
                ["style", "font-size", '32px'],
                ["style", "font-style", 'italic'],
                ["color", "color", 'rgba(0,0,0,1.00)'],
                ["style", "display", 'block'],
                ["style", "left", '761px'],
                ["style", "width", '497px']
            ],
            "${_instruccion}": [
                ["style", "top", '209px'],
                ["style", "font-size", '26px'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "display", 'none'],
                ["style", "font-weight", '400'],
                ["style", "left", '100px'],
                ["style", "width", '913px']
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "height", '20px'],
                ["style", "display", 'none'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ],
            "${_Text}": [
                ["style", "top", '307px'],
                ["style", "line-height", '42px'],
                ["style", "font-style", 'normal'],
                ["style", "font-weight", '400'],
                ["style", "height", '348px'],
                ["style", "opacity", '0'],
                ["style", "left", '172px'],
                ["style", "width", '646px']
            ],
            "${_bt_audio}": [
                ["style", "top", '202px'],
                ["transform", "scaleY", '0.27036'],
                ["transform", "scaleX", '0.27036'],
                ["style", "left", '101px'],
                ["style", "cursor", 'pointer'],
                ["style", "display", 'none']
            ],
            "${_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']
            ],
            "${_descripcion}": [
                ["style", "top", '165px'],
                ["style", "width", '658px'],
                ["color", "color", 'rgba(0,0,0,1.00)'],
                ["style", "display", 'block'],
                ["style", "left", '100px'],
                ["style", "font-size", '32px']
            ],
            "${_RoundRect}": [
                ["color", "background-color", 'rgba(255,255,255,0.71)'],
                ["style", "display", 'none'],
                ["style", "border-style", 'solid'],
                ["style", "height", '25px'],
                ["color", "border-color", 'rgba(255,255,255,1.00)'],
                ["style", "border-width", '3px'],
                ["style", "width", '44px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2455,
            autoPlay: true,
            timeline: [
                { id: "eid1290", tween: [ "style", "${_RoundRect}", "display", 'block', { fromValue: 'none'}], position: 1540, duration: 0, easing: "easeOutElastic" },
                { id: "eid1278", tween: [ "transform", "${_bt_audio}", "scaleX", '0.83333', { fromValue: '0.27036'}], position: 1250, duration: 430, easing: "easeOutElastic" },
                { id: "eid1280", tween: [ "transform", "${_bt_audio}", "scaleY", '0.83333', { fromValue: '0.27036'}], position: 1250, duration: 430, easing: "easeOutElastic" },
                { id: "eid1263", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1289", tween: [ "style", "${_RoundRect}", "width", '704px', { fromValue: '44px'}], position: 1540, duration: 500, easing: "easeOutExpo" },
                { id: "eid1262", tween: [ "style", "${_descripcion}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid1281", tween: [ "style", "${_bt_audio}", "display", 'block', { fromValue: 'none'}], position: 1250, duration: 0, easing: "easeOutElastic" },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1276", tween: [ "style", "${_descripcionCopy}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid1294", tween: [ "style", "${_Text}", "opacity", '1', { fromValue: '0'}], position: 1945, duration: 510, easing: "easeOutExpo" },
                { id: "eid1287", tween: [ "style", "${_RoundRect}", "height", '431px', { fromValue: '25px'}], position: 1540, duration: 500, easing: "easeOutExpo" },
                { id: "eid1292", tween: [ "style", "${_Text}", "top", '293px', { fromValue: '307px'}], position: 1945, duration: 510, easing: "easeOutExpo" }            ]
        }
    }
},
"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: [
                {
                    type: 'rect',
                    id: 'Rectangle2',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    rect: ['0px', '0px', '89px', '83px', 'auto', 'auto'],
                    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", "width", '89px'],
                ["style", "overflow", 'hidden']
            ]
        }
    },
    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: [
                {
                    rect: ['0px', '0px', '90px', '90px', 'auto', 'auto'],
                    id: 'Rectangle',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    type: 'rect',
                    fill: ['rgba(192,192,192,0.00)']
                },
                {
                    rect: ['0px', '0px', '90px', '180px', 'auto', 'auto'],
                    id: 'bt_audio',
                    type: 'image',
                    clip: ['rect(0px 90px 180px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/bt_audio.png', '0px', '-97px']
                },
                {
                    rect: ['0px', '0px', '90px', '90px', 'auto', 'auto'],
                    type: 'rect',
                    cursor: ['pointer'],
                    id: 'ht_spot',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    clip: ['rect(0px 90px 90px 0px)'],
                    fill: ['rgba(192,192,192,0.00)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_bt_audio}": [
                ["style", "top", '0px'],
                ["style", "clip", [0,90,90,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "height", '180px'],
                ["style", "left", '0px'],
                ["style", "background-position", [0,5], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["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", "cursor", 'pointer'],
                ["style", "clip", [0,90,90,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "width", '90px']
            ],
            "${symbolSelector}": [
                ["style", "height", '90px'],
                ["style", "width", '90px'],
                ["style", "overflow", 'hidden']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "up": 0,
                "down": 250
            },
            timeline: [
                { 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 },
                { 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: "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 }            ]
        }
    }
},
"animacion": {
    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: 'IL_L_G01_U05_L06_03_04_01_background',
                    type: 'image',
                    rect: ['0px', '0px', '1265px', '650px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U05_L06_03_04_01_background.png', '0px', '0px']
                },
                {
                    id: 'IL_L_G01_U05_L06_03_04_01_Dory',
                    type: 'image',
                    rect: ['1485px', '10px', '260px', '180px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U05_L06_03_04_01_Dory.png', '0px', '0px']
                },
                {
                    id: 'IL_L_G01_U05_L06_03_04_01_Nemo',
                    type: 'image',
                    rect: ['1491px', '291px', '220px', '157px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/IL_L_G01_U05_L06_03_04_01_Nemo.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_IL_L_G01_U05_L06_03_04_01_Nemo}": [
                ["motion", "location", '1601px 369.5px'],
                ["style", "height", '113px'],
                ["style", "width", '159px']
            ],
            "${_IL_L_G01_U05_L06_03_04_01_background}": [
                ["style", "left", '0px'],
                ["style", "top", '0px']
            ],
            "${symbolSelector}": [
                ["style", "height", '650px'],
                ["style", "width", '1265px']
            ],
            "${_IL_L_G01_U05_L06_03_04_01_Dory}": [
                ["motion", "location", '1615px 100px'],
                ["style", "height", '145px'],
                ["style", "width", '210px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1365,
            autoPlay: true,
            timeline: [
                { id: "eid1266", tween: [ "style", "${_IL_L_G01_U05_L06_03_04_01_Dory}", "height", '180px', { fromValue: '145px'}], position: 210, duration: 900, easing: "easeInOutSine" },
                { id: "eid1271", tween: [ "motion", "${_IL_L_G01_U05_L06_03_04_01_Nemo}", [[1601, 369.5, 0, 0],[1410.18, 385.29, -176.43, -18.71, -397.64, -42.16],[1174.41, 319.5, -316.39, 32.34, -166.05, 16.97],[969, 246.84, 0, 0]]], position: 410, duration: 955, easing: "easeInOutSine" },
                { id: "eid1268", tween: [ "style", "${_IL_L_G01_U05_L06_03_04_01_Dory}", "width", '260px', { fromValue: '210px'}], position: 210, duration: 900, easing: "easeInOutSine" },
                { id: "eid1273", tween: [ "style", "${_IL_L_G01_U05_L06_03_04_01_Nemo}", "height", '157px', { fromValue: '113px'}], position: 410, duration: 955, easing: "easeInOutSine" },
                { id: "eid1264", tween: [ "motion", "${_IL_L_G01_U05_L06_03_04_01_Dory}", [[1615, 100, 0, 0],[1407.59, 104.49, -219.47, 116.53, -283.2, 150.37],[1211.31, 295.34, -379.82, 87.28, -232.96, 53.53],[1062, 421.33, 0, 0]]], position: 210, duration: 900, easing: "easeInOutSine" },
                { id: "eid1275", tween: [ "style", "${_IL_L_G01_U05_L06_03_04_01_Nemo}", "width", '220px', { fromValue: '159px'}], position: 410, duration: 955, easing: "easeInOutSine" }            ]
        }
    }
}
};


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

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