/**
 * 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_8/bg_1.jpg",'0px','0px']
            },
            {
                id: 'cartoon_12',
                type: 'rect',
                rect: ['14', '415','auto','auto','auto', 'auto']
            },
            {
                id: 'ipst_logo',
                type: 'image',
                rect: ['15px', '17px','273px','52px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/ipst_logo.png",'0px','0px']
            }],
            symbolInstances: [
            {
                id: 'cartoon_12',
                symbolName: 'cartoon_1',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_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']
            ],
            "${_ipst_logo}": [
                ["style", "left", '15px'],
                ["style", "top", '17px']
            ],
            "${_cartoon_12}": [
                ["style", "top", '497px'],
                ["style", "left", '10px'],
                ["transform", "rotateZ", '30deg']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2000,
            autoPlay: true,
            timeline: [
                { id: "eid9", tween: [ "style", "${_cartoon_12}", "top", '497px', { fromValue: '497px'}], position: 0, duration: 0 },
                { id: "eid7", tween: [ "transform", "${_cartoon_12}", "rotateZ", '30deg', { fromValue: '30deg'}], position: 0, duration: 0 },
                { id: "eid8", tween: [ "style", "${_cartoon_12}", "left", '10px', { fromValue: '10px'}], position: 0, duration: 0 }            ]
        }
    }
},
"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_8/cartoon_1.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_cartoon_1}": [
                ["style", "top", '0px'],
                ["style", "left", '0px']
            ],
            "${symbolSelector}": [
                ["style", "height", '280px'],
                ["style", "width", '180px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2000,
            autoPlay: true,
            timeline: [
                { id: "eid10", tween: [ "style", "${_cartoon_1}", "top", '-13px', { fromValue: '0px'}], position: 0, duration: 1000 },
                { id: "eid13", tween: [ "style", "${_cartoon_1}", "top", '0px', { fromValue: '-13px'}], position: 1000, duration: 1000 }            ]
        }
    }
}
};


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

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