(function (cjs, an) {

var p; // shortcut to reference prototypes
var lib={};var ss={};var img={};
lib.ssMetadata = [];


// symbols:
// helper functions:

function mc_symbol_clone() {
	var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop));
	clone.gotoAndStop(this.currentFrame);
	clone.paused = this.paused;
	clone.framerate = this.framerate;
	return clone;
}

function getMCSymbolPrototype(symbol, nominalBounds, frameBounds) {
	var prototype = cjs.extend(symbol, cjs.MovieClip);
	prototype.clone = mc_symbol_clone;
	prototype.nominalBounds = nominalBounds;
	prototype.frameBounds = frameBounds;
	return prototype;
	}


(lib.lightning = function(mode,startPosition,loop) {
	this.initialize(mode,startPosition,loop,{});

	// Layer 1
	this.shape = new cjs.Shape();
	this.shape.graphics.f().s("#FFFFFF").ss(4,1,1).p("AkagSIFDgoIANBkIDlAR");
	this.shape.setTransform(75.8,64.8);

	this.shape_1 = new cjs.Shape();
	this.shape_1.graphics.f().s("#FFFFFF").ss(2,1,1).p("AlkHIIAHCcADZotICMg2");
	this.shape_1.setTransform(136.1,109.1);

	this.shape_2 = new cjs.Shape();
	this.shape_2.graphics.f().s("#FFFFFF").ss(3,1,1).p("Ajsk6Ig/DSIA/gDIgMBvIg/DRIA/gDIgrC5IgFBHIAOBHAj6kzIAOgHIDMhvIgUA9ICLg3ABemiIDah2IgVA8");
	this.shape_2.setTransform(128.7,101);

	this.shape_3 = new cjs.Shape();
	this.shape_3.graphics.f().s("#FFFFFF").ss(5,1,1).p("Aigk5IBgFCIBuA5IBzD4");
	this.shape_3.setTransform(31.4,31.4);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape_3},{t:this.shape_2},{t:this.shape_1},{t:this.shape}]}).wait(1));

}).prototype = getMCSymbolPrototype(lib.lightning, new cjs.Rectangle(12.8,-2.5,160,173.8), null);


(lib.light22 = function(mode,startPosition,loop) {
	this.initialize(mode,startPosition,loop,{});

	// Layer 1
	this.shape = new cjs.Shape();
	this.shape.graphics.f().s("#FFFFFF").ss(26.1,1,1).p("Am05gIETZXIE6G0IEcS2");
	this.shape.setTransform(86.5,163.3);

	this.shape_1 = new cjs.Shape();
	this.shape_1.graphics.f().s("#FFFFFF").ss(14.6,1,1).p("AstqUIOuGIIAnHcIKGHF");
	this.shape_1.setTransform(213.1,399.3);

	this.shape_2 = new cjs.Shape();
	this.shape_2.graphics.f().s("#FFFFFF").ss(6.9,1,1).p("ABOnBIimMsICxBW");
	this.shape_2.setTransform(288.5,510.6);

	this.shape_3 = new cjs.Shape();
	this.shape_3.graphics.f().s("#FFFFFF").ss(3,1,1).p("AkaDEIB8kYICJhvICCCuABxgSICqgu");
	this.shape_3.setTransform(293.3,640.4);

	this.shape_4 = new cjs.Shape();
	this.shape_4.graphics.f().s("#FFFFFF").ss(5,1,1).p("AmrDHIg1KCAm2q7IJDiNIg4DwIGMgQ");
	this.shape_4.setTransform(340.2,535.7);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.shape_4},{t:this.shape_3},{t:this.shape_2},{t:this.shape_1},{t:this.shape}]}).wait(1));

}).prototype = getMCSymbolPrototype(lib.light22, new cjs.Rectangle(29.8,-13,361,674.6), null);


(lib.lightning2 = function(mode,startPosition,loop) {
	this.initialize(mode,startPosition,loop,{});

	// timeline functions:
	this.frame_0 = function() {
		playSound("Thunder");
	}

	// actions tween:
	this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(290));

	// Layer 1
	this.instance = new lib.lightning();
	this.instance.parent = this;
	this.instance.setTransform(299.8,297,3.515,3.515,0,0,0,85.3,84.5);

	this.instance_1 = new lib.light22();
	this.instance_1.parent = this;
	this.instance_1.setTransform(696.5,279.8,1,1,0,0,0,192.1,305.2);

	this.shape = new cjs.Shape();
	this.shape.graphics.f().s("#FFFFFF").ss(10.7,1,1).p("AAg6hIhifIICFhIIghXD");
	this.shape.setTransform(1056.1,837.1);

	this.shape_1 = new cjs.Shape();
	this.shape_1.graphics.f().s("#FFFFFF").ss(16.5,1,1).p("EgOsg0MMADQAyHIDsH7MAEFAkrEAOnA0NIABgNIAFgp");
	this.shape_1.setTransform(965.5,334.1);

	this.shape_2 = new cjs.Shape();
	this.shape_2.graphics.f().s("#FFFFFF").ss(12.7,1,1).p("AJaIPIgMgCIgBAAInbgsIgdvuIquJF");
	this.shape_2.setTransform(1000.5,610.3);

	this.shape_3 = new cjs.Shape();
	this.shape_3.graphics.f().s("#FFFFFF").ss(5,1,1).p("AlqLAIAEgKIAOgrIHC1CIgqJtIErp1AloKyIADgpIADgh");
	this.shape_3.setTransform(1095.2,597.9);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[]}).to({state:[{t:this.instance}]},19).to({state:[]},1).to({state:[{t:this.instance_1}]},9).to({state:[]},1).to({state:[{t:this.shape_3},{t:this.shape_2},{t:this.shape_1},{t:this.shape}]},7).to({state:[]},1).wait(252));

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = null;


// stage content:
(lib.Element_nature_lightning_Canvas = function(mode,startPosition,loop) {
	this.initialize(mode,startPosition,loop,{});

	// lightning
	this.instance = new lib.lightning2();
	this.instance.parent = this;
	this.instance.setTransform(96,100.3,0.355,0.355,0,0,0,299.7,297.1);

	this.timeline.addTween(cjs.Tween.get(this.instance).wait(1));

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = null;
// library properties:
lib.properties = {
	id: '836E6454DB4E58408321351FBDB6CE5D',
	width: 400,
	height: 400,
	fps: 24,
	color: "#CCCCCC",
	opacity: 1.00,
	manifest: [
		{src:"sounds/Thunder.mp3", id:"Thunder"}
	],
	preloads: []
};



// bootstrap callback support:

(lib.Stage = function(canvas) {
	createjs.Stage.call(this, canvas);
}).prototype = p = new createjs.Stage();

p.setAutoPlay = function(autoPlay) {
	this.tickEnabled = autoPlay;
}
p.play = function() { this.tickEnabled = true; this.getChildAt(0).gotoAndPlay(this.getTimelinePosition()) }
p.stop = function(ms) { if(ms) this.seek(ms); this.tickEnabled = false; }
p.seek = function(ms) { this.tickEnabled = true; this.getChildAt(0).gotoAndStop(lib.properties.fps * ms / 1000); }
p.getDuration = function() { return this.getChildAt(0).totalFrames / lib.properties.fps * 1000; }

p.getTimelinePosition = function() { return this.getChildAt(0).currentFrame / lib.properties.fps * 1000; }

an.bootcompsLoaded = an.bootcompsLoaded || [];
if(!an.bootstrapListeners) {
	an.bootstrapListeners=[];
}

an.bootstrapCallback=function(fnCallback) {
	an.bootstrapListeners.push(fnCallback);
	if(an.bootcompsLoaded.length > 0) {
		for(var i=0; i<an.bootcompsLoaded.length; ++i) {
			fnCallback(an.bootcompsLoaded[i]);
		}
	}
};

an.compositions = an.compositions || {};
an.compositions['836E6454DB4E58408321351FBDB6CE5D'] = {
	getStage: function() { return exportRoot.getStage(); },
	getLibrary: function() { return lib; },
	getSpriteSheet: function() { return ss; },
	getImages: function() { return img; }
};

an.compositionLoaded = function(id) {
	an.bootcompsLoaded.push(id);
	for(var j=0; j<an.bootstrapListeners.length; j++) {
		an.bootstrapListeners[j](id);
	}
}

an.getComposition = function(id) {
	return an.compositions[id];
}



})(createjs = createjs||{}, AdobeAn = AdobeAn||{});
var createjs, AdobeAn;