/**
 * 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>';
    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: '_03_05_01',
                type: 'image',
                rect: ['47px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_05_01.png",'0px','0px']
            },
            {
                id: '_03_05_04b',
                type: 'image',
                rect: ['479px', '98px','806px','601px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_05_04b.png",'0px','0px']
            },
            {
                id: '_03_05_03',
                type: 'image',
                rect: ['70px', '98px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_05_03.png",'0px','0px']
            },
            {
                id: '_03_06_02',
                type: 'image',
                rect: ['831px', '357px','150px','84px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_06_02.png",'0px','0px']
            },
            {
                id: '_03_07_01',
                type: 'image',
                rect: ['689px', '341px','100px','101px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_07_01.png",'0px','0px']
            },
            {
                id: '_03_07_08',
                type: 'image',
                rect: ['1029px', '346px','118px','94px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_07_08.png",'0px','0px']
            },
            {
                id: 'TextCopy2',
                type: 'text',
                rect: ['666px', '215px','495px','91px','auto', 'auto'],
                text: "Van a hacer moños a alguien con mucho pelo. ¿Qué material eligen para ello? <br>",
                align: "center",
                font: ['cabin, sans-serif', 36, "rgba(0,0,0,1)", "normal", "none", ""]
            },
            {
                id: 'TextCopy',
                type: 'text',
                rect: ['646px', '442px','516px','84px','auto', 'auto'],
                text: "¿Qué propiedades tiene el material seleccionado?<br>",
                align: "center",
                font: ['cabin, sans-serif', 36, "rgba(0,0,0,1)", "normal", "none", ""]
            },
            {
                id: 'Text',
                type: 'text',
                rect: ['701px', '174px','432px','42px','auto', 'auto'],
                text: "Caso 2",
                align: "center",
                font: ['cabin, sans-serif', 36, "rgba(140,198,63,1.00)", "700", "none", ""]
            },
            {
                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_1',
                type: 'rect',
                rect: ['637px', '537px','538px','122px','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: 'momento',
                display: 'block',
                type: 'text',
                rect: ['100px', '129px','125px','30px','auto', 'auto'],
                text: "Actividad 3",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 22, "rgba(35,163,143,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']
            ],
            "${__03_07_08}": [
                ["style", "top", '346px'],
                ["transform", "scaleY", '0.20972'],
                ["style", "height", '94px'],
                ["transform", "scaleX", '-0.20973'],
                ["style", "opacity", '0'],
                ["style", "left", '1029px'],
                ["style", "width", '118px']
            ],
            "${__03_05_01}": [
                ["style", "left", '47px'],
                ["style", "top", '81px']
            ],
            "${__03_06_02}": [
                ["style", "top", '357px'],
                ["transform", "scaleY", '0.20972'],
                ["style", "height", '84px'],
                ["transform", "scaleX", '-0.20973'],
                ["style", "opacity", '0'],
                ["style", "left", '831px'],
                ["style", "width", '150px']
            ],
            "${_momento}": [
                ["color", "color", 'rgba(35,163,143,1.00)'],
                ["style", "font-weight", 'bold'],
                ["style", "left", '100px'],
                ["style", "font-size", '22px'],
                ["style", "top", '129px'],
                ["style", "height", '30px'],
                ["style", "font-family", 'cabin, \'Trebuchet MS\', \'Myriad Pro\', \'Gill Sans MT\', Helvetica, sans-serif'],
                ["style", "width", '125px'],
                ["style", "display", 'block']
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "height", '20px'],
                ["style", "display", 'none'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ],
            "${__03_05_04b}": [
                ["style", "top", '100px'],
                ["style", "height", '601px'],
                ["style", "opacity", '0'],
                ["style", "left", '327px'],
                ["style", "width", '806px']
            ],
            "${__03_07_01}": [
                ["style", "top", '341px'],
                ["transform", "scaleY", '0.20972'],
                ["style", "height", '101px'],
                ["transform", "scaleX", '-0.20973'],
                ["style", "opacity", '0'],
                ["style", "left", '689px'],
                ["style", "width", '100px']
            ],
            "${_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']
            ],
            "${_help}": [
                ["style", "top", '331px'],
                ["style", "left", '416px'],
                ["style", "display", 'none']
            ],
            "${__03_05_03}": [
                ["style", "top", '100px'],
                ["style", "opacity", '0'],
                ["style", "left", '165px']
            ],
            "${_Text}": [
                ["color", "color", 'rgba(140,198,63,1.00)'],
                ["style", "font-weight", '700'],
                ["style", "left", '701px'],
                ["style", "font-size", '36px'],
                ["style", "top", '174px'],
                ["style", "text-align", 'center'],
                ["style", "height", '42px'],
                ["style", "font-family", 'cabin, sans-serif'],
                ["style", "width", '432px'],
                ["style", "opacity", '0']
            ],
            "${_TextArea_1}": [
                ["color", "background-color", 'rgba(65,233,223,0.22)'],
                ["style", "border-style", 'none'],
                ["style", "border-width", '1px'],
                ["style", "width", '538px'],
                ["style", "top", '537px'],
                ["style", "height", '122px'],
                ["color", "border-color", 'rgba(255,121,121,1.00)'],
                ["style", "left", '637px'],
                ["style", "opacity", '0']
            ],
            "${_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", "line-height", '40px'],
                ["style", "opacity", '0'],
                ["style", "left", '646px'],
                ["style", "font-size", '36px'],
                ["style", "top", '435px'],
                ["style", "text-align", 'center'],
                ["style", "height", '84px'],
                ["style", "font-family", 'cabin, sans-serif'],
                ["style", "width", '516px']
            ],
            "${_TextCopy2}": [
                ["style", "line-height", '40px'],
                ["style", "opacity", '0'],
                ["style", "left", '666px'],
                ["style", "width", '495px'],
                ["style", "top", '193px'],
                ["style", "text-align", 'center'],
                ["style", "height", '91px'],
                ["style", "font-family", 'cabin, sans-serif'],
                ["style", "font-size", '36px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2000,
            autoPlay: true,
            timeline: [
                { id: "eid972", tween: [ "style", "${__03_05_04b}", "left", '479px', { fromValue: '327px'}], position: 0, duration: 500, easing: "easeOutBack" },
                { id: "eid967", tween: [ "style", "${_help}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1002", tween: [ "style", "${_TextCopy}", "top", '442px', { fromValue: '435px'}], position: 1500, duration: 500 },
                { id: "eid1007", tween: [ "style", "${_momento}", "display", 'none', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1004", tween: [ "style", "${_TextCopy}", "opacity", '1', { fromValue: '0'}], position: 1500, duration: 500 },
                { id: "eid1000", tween: [ "style", "${_Text}", "opacity", '1', { fromValue: '0'}], position: 510, duration: 490 },
                { id: "eid990", tween: [ "style", "${__03_07_08}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 500 },
                { id: "eid996", tween: [ "style", "${_TextCopy2}", "top", '215px', { fromValue: '193px'}], position: 510, duration: 490 },
                { id: "eid980", tween: [ "transform", "${__03_07_08}", "scaleY", '1', { fromValue: '0.20972'}], position: 1000, duration: 500 },
                { id: "eid976", tween: [ "style", "${__03_05_04b}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 500, easing: "easeOutBack" },
                { id: "eid974", tween: [ "style", "${__03_05_04b}", "top", '121px', { fromValue: '100px'}], position: 0, duration: 500, easing: "easeOutBack" },
                { id: "eid988", tween: [ "transform", "${__03_06_02}", "scaleY", '1', { fromValue: '0.20972'}], position: 1000, duration: 500 },
                { 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: "eid968", tween: [ "style", "${__03_05_03}", "top", '98px', { fromValue: '100px'}], position: 0, duration: 500, easing: "easeOutBack" },
                { id: "eid970", tween: [ "style", "${__03_05_03}", "left", '70px', { fromValue: '165px'}], position: 0, duration: 500, easing: "easeOutBack" },
                { id: "eid1006", tween: [ "style", "${_TextArea_1}", "opacity", '1', { fromValue: '0'}], position: 1500, duration: 500 },
                { id: "eid994", tween: [ "style", "${__03_06_02}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 500 },
                { id: "eid978", tween: [ "transform", "${__03_07_08}", "scaleX", '1', { fromValue: '-0.20973'}], position: 1000, duration: 500 },
                { id: "eid992", tween: [ "style", "${__03_07_01}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 500 },
                { id: "eid984", tween: [ "transform", "${__03_07_01}", "scaleY", '1', { fromValue: '0.20972'}], position: 1000, duration: 500 },
                { id: "eid986", tween: [ "transform", "${__03_06_02}", "scaleX", '1', { fromValue: '-0.20973'}], position: 1000, duration: 500 },
                { id: "eid969", tween: [ "style", "${__03_05_03}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 500, easing: "easeOutBack" },
                { id: "eid982", tween: [ "transform", "${__03_07_01}", "scaleX", '1', { fromValue: '-0.20973'}], position: 1000, duration: 500 },
                { id: "eid998", tween: [ "style", "${_TextCopy2}", "opacity", '1', { fromValue: '0'}], position: 510, duration: 490 }            ]
        }
    }
},
"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: [
                {
                    rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                    id: 'botones4',
                    type: 'image',
                    clip: ['rect(0px 70px 70px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/botones.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_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'} ]
            ],
            "${symbolSelector}": [
                ["style", "height", '70px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '70px']
            ]
        }
    },
    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");
