/**
 * 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: 'success',
                type: 'audio',
                tag: 'audio',
                rect: ['1128', '573','320px','45px','auto', 'auto'],
                source: ['media/success.mp3','media/success.ogg'],
                preload: 'auto'
            },
            {
                id: 'error',
                type: 'audio',
                tag: 'audio',
                rect: ['1128', '573','320px','45px','auto', 'auto'],
                source: ['media/error.mp3','media/error.ogg'],
                preload: 'auto'
            },
            {
                id: 'L_G01_U01_L01_03_03',
                type: 'image',
                rect: ['47px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"L_G01_U01_L01_03_03.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: 'descripcion',
                type: 'text',
                rect: ['100px', '165px','1150px','auto','auto', 'auto'],
                text: "Haz clic sobre el icono y pronuncia cada vocal.",
                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: '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',
                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: 'num_actividad',
                type: 'text',
                rect: ['260px', '129px','262px','36px','auto', 'auto'],
                text: "Actividad 2 - Ejercicio 2",
                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: 'flecha',
                type: 'image',
                rect: ['245px', '135px','12px','14px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"flecha.png",'0px','0px']
            },
            {
                id: 'cubo',
                type: 'image',
                rect: ['424px', '254px','4724px','400px','auto', 'auto'],
                clip: ['rect(0px 364px 400px 0px)'],
                cursor: ['pointer'],
                fill: ["rgba(0,0,0,0)",im+"IL_L_G01_U01_L01_03_03_01.png",'0px','0px']
            },
            {
                id: 'boton',
                type: 'image',
                rect: ['905px', '608px','50px','100px','auto', 'auto'],
                clip: ['rect(0px 50px 48.57177734375px 0px)'],
                cursor: ['pointer'],
                fill: ["rgba(0,0,0,0)",im+"bt_mano.png",'0px','0px'],
                transform: [[],[],[],['1.5','2']]
            },
            {
                id: 'hotspot',
                type: 'rect',
                rect: ['864px', '530px','106px','103px','auto', 'auto'],
                cursor: ['pointer'],
                fill: ["rgba(192,192,192,0.00)"],
                stroke: [0,"rgba(0,0,0,1)","none"]
            }],
            symbolInstances: [

            ]
        },
    states: {
        "Base State": {
            "${_L_G01_U01_L01_03_03}": [
                ["style", "left", '47px'],
                ["style", "top", '81px']
            ],
            "${_num_actividad}": [
                ["style", "top", '129px'],
                ["style", "height", '36px'],
                ["style", "font-size", '22px'],
                ["color", "color", 'rgba(229,145,34,1)'],
                ["style", "font-weight", 'bold'],
                ["style", "left", '240px'],
                ["style", "width", '262px']
            ],
            "${_cubo}": [
                ["style", "top", '254px'],
                ["style", "left", '424px'],
                ["style", "clip", [0,364,400,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "background-position", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "cursor", 'pointer']
            ],
            "${_instruccion}": [
                ["style", "top", '203px'],
                ["style", "font-size", '26px'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "display", 'none'],
                ["style", "font-weight", '400'],
                ["style", "left", '100px'],
                ["style", "width", '1150px']
            ],
            "${_textCount}": [
                ["style", "top", '100px'],
                ["style", "text-align", 'center'],
                ["style", "left", '1049px'],
                ["style", "display", 'none']
            ],
            "${_hotspot}": [
                ["color", "background-color", 'rgba(192,192,192,0.00)'],
                ["style", "top", '530px'],
                ["style", "height", '103px'],
                ["style", "cursor", 'pointer'],
                ["style", "left", '864px'],
                ["style", "width", '106px']
            ],
            "${_label}": [
                ["style", "top", '0px'],
                ["style", "display", 'none'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '768px'],
                ["style", "opacity", '1'],
                ["style", "left", '0px'],
                ["style", "width", '1366px']
            ],
            "${_momento}": [
                ["style", "top", '129px'],
                ["style", "font-size", '22px'],
                ["color", "color", 'rgba(197,115,34,1)'],
                ["style", "font-weight", 'bold'],
                ["style", "left", '100px'],
                ["style", "width", '150px']
            ],
            "${_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'],
                ["color", "color", 'rgba(26,26,26,1)'],
                ["style", "width", '1150px'],
                ["style", "left", '100px'],
                ["style", "font-size", '32px']
            ],
            "${_flecha}": [
                ["style", "left", '210px'],
                ["style", "top", '135px']
            ],
            "${_boton}": [
                ["style", "top", '608px'],
                ["transform", "scaleY", '2'],
                ["transform", "scaleX", '1.5'],
                ["style", "cursor", 'pointer'],
                ["style", "clip", [0,50,48.57177734375,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "left", '905px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
                { id: "eid1225", tween: [ "style", "${_textCount}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1296", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 }            ]
        }
    }
}
};


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

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