/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
//images folder
var im='images/';

var fonts = {};
var opts = {};
var resources = [
];
var symbols = {
"stage": {
    version: "3.0.0",
    minimumCompatibleVersion: "3.0.0",
    build: "3.0.0.322",
    baseState: "Base State",
    scaleToFit: "width",
    centerStage: "both",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
            {
                id: 'bg_1',
                type: 'image',
                rect: ['0px', '0px','1100px','700px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson1_6/bg_1.jpg",'0px','0px']
            },
            {
                id: 'ipst_logo',
                type: 'image',
                rect: ['14px', '16px','273px','52px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/ipst_logo.png",'0px','0px']
            },
            {
                id: 'title_1',
                type: 'image',
                rect: ['227px', '187px','333px','40px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson1_6/title_1.png",'0px','0px']
            },
            {
                id: 'border_1',
                type: 'image',
                rect: ['194px', '118px','768px','381px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson1_6/border_1.png",'0px','0px']
            },
            {
                id: 'scrollContent',
                type: 'rect',
                rect: ['211', '238','auto','auto','auto', 'auto']
            },
            {
                id: 'cartoon_12',
                type: 'rect',
                rect: ['22', '499','auto','auto','auto', 'auto']
            }],
            symbolInstances: [
            {
                id: 'scrollContent',
                symbolName: 'scroll',
                autoPlay: {

                }
            },
            {
                id: 'cartoon_12',
                symbolName: 'cartoon_1',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_scrollContent}": [
                ["style", "top", '232px'],
                ["style", "left", '215px'],
                ["transform", "scaleX", '0.95769']
            ],
            "${_title_1}": [
                ["style", "left", '227px'],
                ["style", "top", '187px']
            ],
            "${_Stage}": [
                ["color", "background-color", 'rgba(255,255,255,1)'],
                ["style", "min-width", '1024px'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '700px'],
                ["style", "max-width", '1100px'],
                ["style", "width", '1100px']
            ],
            "${_border_1}": [
                ["style", "left", '194px'],
                ["style", "top", '118px']
            ],
            "${_ipst_logo}": [
                ["style", "left", '14px'],
                ["style", "top", '16px']
            ],
            "${_cartoon_12}": [
                ["style", "top", '453px'],
                ["style", "left", '26px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 3250,
            autoPlay: true,
            timeline: [
                { id: "eid5", tween: [ "style", "${_cartoon_12}", "left", '26px', { fromValue: '26px'}], position: 0, duration: 0 },
                { id: "eid4", tween: [ "style", "${_cartoon_12}", "top", '453px', { fromValue: '453px'}], position: 0, duration: 0 }            ]
        }
    }
},
"scroll": {
    version: "3.0.0",
    minimumCompatibleVersion: "3.0.0",
    build: "3.0.0.322",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    id: 'content_1',
                    type: 'image',
                    rect: ['0', '0', '695px', '855px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson1_6/content_1.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${symbolSelector}": [
                ["style", "height", '238px'],
                ["style", "width", '732px'],
                ["style", "overflow", 'auto']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: false,
            timeline: [
            ]
        }
    }
},
"cartoon_1": {
    version: "3.0.0",
    minimumCompatibleVersion: "3.0.0",
    build: "3.0.0.322",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    id: 'cartoon_1',
                    type: 'image',
                    rect: ['0px', '0px', '180px', '280px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson1_6/cartoon_1.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_cartoon_1}": [
                ["style", "top", '47px'],
                ["style", "left", '0px']
            ],
            "${symbolSelector}": [
                ["style", "height", '280px'],
                ["style", "width", '180px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 3250,
            autoPlay: true,
            labels: {
                "loop_1": 1000
            },
            timeline: [
                { id: "eid9", tween: [ "style", "${_cartoon_1}", "top", '0px', { fromValue: '47px'}], position: 0, duration: 1000 },
                { id: "eid11", tween: [ "style", "${_cartoon_1}", "top", '-15px', { fromValue: '0px'}], position: 1000, duration: 1000 },
                { id: "eid12", tween: [ "style", "${_cartoon_1}", "top", '0px', { fromValue: '-15px'}], position: 2000, duration: 1000 }            ]
        }
    }
}
};


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

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