(function (cjs, an) {

var p; // shortcut to reference prototypes
var lib={};var ss={};var img={};
lib.ssMetadata = [
		{name:"actividad2c_atlas_1", frames: [[0,0,1471,1471]]},
		{name:"actividad2c_atlas_2", frames: [[0,770,1063,498],[0,1270,1113,278],[0,1550,1113,278],[0,0,1366,768]]},
		{name:"actividad2c_atlas_3", frames: [[1714,1124,271,160],[1714,1286,271,160],[1714,1448,271,160],[1738,1709,250,160],[1403,1709,333,123],[867,1717,250,160],[532,1717,333,123],[1115,668,748,226],[0,1754,353,92],[1115,896,748,226],[0,1660,530,92],[857,1624,544,91],[0,1300,855,58],[0,1360,855,58],[857,1124,855,128],[857,1384,855,58],[0,1420,855,58],[1115,240,855,226],[857,1444,855,58],[0,1480,855,58],[0,1120,855,178],[0,0,1113,278],[857,1504,855,58],[0,1540,855,58],[1115,468,855,198],[0,280,1113,278],[857,1564,855,58],[0,1600,855,58],[857,1254,855,128],[0,560,1113,278],[1115,0,855,238],[0,840,1113,278],[1119,1834,479,65],[1403,1624,593,83]]}
];


(lib.AnMovieClip = function(){
	this.actionFrames = [];
	this.ignorePause = false;
	this.gotoAndPlay = function(positionOrLabel){
		cjs.MovieClip.prototype.gotoAndPlay.call(this,positionOrLabel);
	}
	this.play = function(){
		cjs.MovieClip.prototype.play.call(this);
	}
	this.gotoAndStop = function(positionOrLabel){
		cjs.MovieClip.prototype.gotoAndStop.call(this,positionOrLabel);
	}
	this.stop = function(){
		cjs.MovieClip.prototype.stop.call(this);
	}
}).prototype = p = new cjs.MovieClip();
// symbols:



(lib.CachedBmp_682 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(0);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_680 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(1);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_678 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(2);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_676 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(3);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_679 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(4);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_674 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(5);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_681 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(6);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_672 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(7);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_671 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(8);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_670 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(9);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_669 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(10);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_668 = function() {
	this.initialize(ss["actividad2c_atlas_2"]);
	this.gotoAndStop(0);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_667 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(11);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_666 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(12);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_665 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(13);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_664 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(14);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_663 = function() {
	this.initialize(ss["actividad2c_atlas_2"]);
	this.gotoAndStop(1);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_662 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(15);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_661 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(16);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_660 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(17);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_659 = function() {
	this.initialize(ss["actividad2c_atlas_2"]);
	this.gotoAndStop(2);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_658 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(18);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_657 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(19);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_656 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(20);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_655 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(21);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_654 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(22);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_653 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(23);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_652 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(24);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_651 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(25);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_650 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(26);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_649 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(27);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_648 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(28);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_647 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(29);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_646 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(30);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_645 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(31);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_644 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(32);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_643 = function() {
	this.initialize(ss["actividad2c_atlas_3"]);
	this.gotoAndStop(33);
}).prototype = p = new cjs.Sprite();



(lib.animacion0065 = function() {
	this.initialize(ss["actividad2c_atlas_2"]);
	this.gotoAndStop(3);
}).prototype = p = new cjs.Sprite();



(lib.botonnext = function() {
	this.initialize(ss["actividad2c_atlas_1"]);
	this.gotoAndStop(0);
}).prototype = p = new cjs.Sprite();



(lib.MARCO = function() {
	this.initialize(img.MARCO);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,5932,3442);


(lib.pj12 = function() {
	this.initialize(img.pj12);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,1473,3726);// helper functions:

function mc_symbol_clone() {
	var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop, this.reversed));
	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.sig = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Capa_1
	this.instance = new lib.CachedBmp_678();
	this.instance.setTransform(-136.1,19,0.5,0.5);

	this.instance_1 = new lib.botonnext();
	this.instance_1.setTransform(4,0,0.077,0.077);

	this.instance_2 = new lib.CachedBmp_681();
	this.instance_2.setTransform(-142.75,25.55,0.5,0.5);

	this.instance_3 = new lib.CachedBmp_680();
	this.instance_3.setTransform(-136.1,19,0.5,0.5);

	this.instance_4 = new lib.CachedBmp_679();
	this.instance_4.setTransform(-142.75,25.55,0.5,0.5);

	this.instance_5 = new lib.CachedBmp_682();
	this.instance_5.setTransform(-136.1,19,0.5,0.5);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).to({state:[{t:this.instance_4},{t:this.instance_1},{t:this.instance_3}]},1).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance_5}]},2).wait(1));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-142.7,0,259.9,113.2);


(lib.Play = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Capa_1
	this.instance = new lib.CachedBmp_674();
	this.instance.setTransform(-134.75,19.1,0.5,0.5);

	this.instance_1 = new lib.botonnext();
	this.instance_1.setTransform(0,0,0.077,0.077);

	this.instance_2 = new lib.CachedBmp_681();
	this.instance_2.setTransform(-146.65,25.65,0.5,0.5);

	this.instance_3 = new lib.CachedBmp_676();
	this.instance_3.setTransform(-134.75,19.1,0.5,0.5);

	this.instance_4 = new lib.CachedBmp_679();
	this.instance_4.setTransform(-146.65,25.65,0.5,0.5);

	this.shape = new cjs.Shape();
	this.shape.graphics.f("#CC3300").s().p("AtAE1IAAppIaBAAIAAJpg");
	this.shape.setTransform(-63.35,56.5);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.instance_1},{t:this.instance}]}).to({state:[{t:this.instance_4},{t:this.instance_3},{t:this.instance_1}]},1).to({state:[{t:this.shape},{t:this.instance_1}]},2).wait(1));

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-146.6,0,259.8,113.2);


(lib.Interpolación6 = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Capa_1
	this.instance = new lib.pj12();
	this.instance.setTransform(-102.95,-260.4,0.1398,0.1398);

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

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-102.9,-260.4,205.9,520.8);


(lib.btnRespuesta = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {ini:0,ok:1,wrong:2};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// timeline functions:
	this.frame_0 = function() {
		this.stop();
	}

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

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.f().s("#830000").ss(4,1,1).p("EgnSgFRMBOlAAAIAAKjMhOlAAAg");
	this.shape.setTransform(0,0.025);

	this.shape_1 = new cjs.Shape();
	this.shape_1.graphics.f("#E74E25").s().p("EgnSAFSIAAqjMBOlAAAIAAKjg");
	this.shape_1.setTransform(0,0.025);

	this.shape_2 = new cjs.Shape();
	this.shape_2.graphics.f().s("#336600").ss(4,1,1).p("EgnSgFRMBOlAAAIAAKjMhOlAAAg");
	this.shape_2.setTransform(0,0.025);

	this.shape_3 = new cjs.Shape();
	this.shape_3.graphics.f("#339900").s().p("EgnSAFSIAAqjMBOlAAAIAAKjg");
	this.shape_3.setTransform(0,0.025);

	this.shape_4 = new cjs.Shape();
	this.shape_4.graphics.f().s("#990000").ss(4,1,1).p("EgnSgFRMBOlAAAIAAKjMhOlAAAg");
	this.shape_4.setTransform(0,0.025);

	this.shape_5 = new cjs.Shape();
	this.shape_5.graphics.f("#FF0000").s().p("EgnSAFSIAAqjMBOlAAAIAAKjg");
	this.shape_5.setTransform(0,0.025);

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

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-253.4,-35.8,506.9,71.69999999999999);


(lib.btnFinalizar = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Layer_1
	this.instance = new lib.CachedBmp_667();
	this.instance.setTransform(-136.05,-22.65,0.5,0.5);

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

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-136,-22.6,272,45.5);


(lib.btn_reintentar = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// Capa_2
	this.shape = new cjs.Shape();
	this.shape.graphics.f("#FFFFFF").s().p("AIrBpIgXhXIgRAAIAABXIggAAIAAjRIAyAAQAXAAANANQAOAOAAAXIAAAXQAAAPgGAKQgGALgKAGIAaBegAIDgKIARAAQAJAAAFgGQAFgFAAgJIAAgZQAAgJgFgFQgFgFgJAAIgRAAgAGqBpIgHguIgiAAIgHAuIggAAIAjjRIArAAIAjDRgAGfAcIgNhXIgNBXIAaAAgAEKBpIAAizIgjAAIAAgeIBlAAIAAAeIgiAAIAACzgACtBpIgqiFIAACFIgfAAIAAjRIAjAAIAoCMIAAiMIAfAAIAADRgAgQBpIAAjRIBZAAIAAAeIg6AAIAAA6IAuAAIAAAeIguAAIAAA9IA6AAIAAAegAhrBpIAAizIgjAAIAAgeIBmAAIAAAeIgjAAIAACzgAjIBpIgqiFIAACFIgfAAIAAjRIAjAAIApCMIAAiMIAfAAIAADRgAlTBpIAAjRIAfAAIAADRgAnIBpIAAjRIBaAAIAAAeIg6AAIAAA6IAuAAIAAAeIguAAIAAA9IA6AAIAAAegAoDBpIgXhXIgRAAIAABXIgfAAIAAjRIAxAAQAXAAAOANQANAOAAAXIAAAXQAAAPgFAKQgGALgLAGIAbBegAorgKIARAAQAJAAAFgGQAGgFAAgJIAAgZQAAgJgGgFQgFgFgJAAIgRAAg");
	this.shape.setTransform(3.025,-0.75);

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

	// Capa_1
	this.shape_1 = new cjs.Shape();
	this.shape_1.graphics.f("#CF0E25").s().p("AoTDvQhjAAhGhGQhGhGAAhjQAAhiBGhGQBGhGBjAAIQnAAQBjAABGBGQBGBGAABiQAABjhGBGQhGBGhjAAg");
	this.shape_1.setTransform(-0.025,0.025);

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

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-77.1,-23.8,154.2,47.7);


(lib.globoTexto = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	this.isSingleFrame = false;
	// timeline functions:
	this.frame_0 = function() {
		if(this.isSingleFrame) {
			return;
		}
		if(this.totalFrames == 1) {
			this.isSingleFrame = true;
		}
		this.stop();
		var _this = this;
		_this.btnFinalizar.on("click", function(){
			window.open("actividad2d.html","_self");
		});
	}

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

	// btn
	this.btnFinalizar = new lib.btnFinalizar();
	this.btnFinalizar.name = "btnFinalizar";
	this.btnFinalizar.setTransform(34.75,76.25);
	new cjs.ButtonHelper(this.btnFinalizar, 0, 1, 1);

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

	// texto
	this.instance = new lib.CachedBmp_672();
	this.instance.setTransform(-147.75,-61.75,0.5,0.5);

	this.instance_1 = new lib.CachedBmp_671();
	this.instance_1.setTransform(-61.45,-103.65,0.5,0.5);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(1));

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.f().s("#990000").ss(4,1,1).p("A8XszIh5AKIq9A8IK9EpIBrAtA+QspIAAmeMBHeAAAMAAAAmPMhHeAAAIAA6M");
	this.shape.setTransform(0,0.025);

	this.shape_1 = new cjs.Shape();
	this.shape_1.graphics.f("#FFFFFF").s().p("A+QTIIAA6MIq9kpIK9g8IB5gKIh5AKIAAmeMBHeAAAMAAAAmPgA8lmXIhrgtg");
	this.shape_1.setTransform(0,0.025);

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

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.globoTexto, new cjs.Rectangle(-265.7,-124.3,531.5,248.7), null);


(lib.feedbackWrong = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	this.isSingleFrame = false;
	// timeline functions:
	this.frame_0 = function() {
		if(this.isSingleFrame) {
			return;
		}
		if(this.totalFrames == 1) {
			this.isSingleFrame = true;
		}
		var escenaError2 = this;
		escenaError2.stop();
		escenaError2.restartBtn.on("click", reiniciar);
		
		function reiniciar(){
			window.location.reload();
		}
	}

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

	// Layer_1
	this.instance = new lib.CachedBmp_670();
	this.instance.setTransform(-171.4,-55.7,0.5,0.5);

	this.instance_1 = new lib.CachedBmp_669();
	this.instance_1.setTransform(-122.55,-105.75,0.5,0.5);

	this.restartBtn = new lib.btn_reintentar();
	this.restartBtn.name = "restartBtn";
	this.restartBtn.setTransform(7.45,93.55);
	new cjs.ButtonHelper(this.restartBtn, 0, 1, 1);

	this.instance_2 = new lib.CachedBmp_668();
	this.instance_2.setTransform(-291.75,-124.35,0.5,0.5);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_2},{t:this.restartBtn},{t:this.instance_1},{t:this.instance}]}).wait(1));

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.feedbackWrong, new cjs.Rectangle(-291.7,-124.3,531.5,249), null);


// stage content:
(lib.actividad2c = function(mode,startPosition,loop,reversed) {
if (loop == null) { loop = true; }
if (reversed == null) { reversed = false; }
	var props = new Object();
	props.mode = mode;
	props.startPosition = startPosition;
	props.labels = {intro:0,pregunta1:1,pregunta2:2,pregunta3:3,pregunta4:4,pregunta5:5,feedback:6};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	this.actionFrames = [0,1,2,3,4,5,6];
	// timeline functions:
	this.frame_0 = function() {
		escena_intro = this;
		escena_intro.stop();
		
		escena_intro.next.on('click', function(){
			escena_intro.gotoAndStop('pregunta1');
		});
		
		escena_intro.back.on('click', function(){
			pasarEstado();
		});
	}
	this.frame_1 = function() {
		escena_pregunta1 = this;
		escena_pregunta1.stop();
		escena_pregunta1.next.alpha = 0;
		
		escena_pregunta1.p1r1.cursor = "pointer";
		escena_pregunta1.p1r2.cursor = "pointer";
		
		escena_pregunta1.next.on('click', function(){
			escena_pregunta1.gotoAndStop('pregunta2');
		});
		
		escena_pregunta1.p1r1.on('click', function(){
			escena_pregunta1.p1r1.gotoAndStop("wrong");
			addErrores();
			escena_pregunta1.next.alpha = 1;
			escena_pregunta1.p1r2.alpha = 0;
		
		});
		
		escena_pregunta1.p1r2.on('click', function(){
			addAciertos();
			escena_pregunta1.p1r2.gotoAndStop("ok");
			escena_pregunta1.next.alpha = 1;
			escena_pregunta1.p1r1.alpha = 0;
		});
	}
	this.frame_2 = function() {
		escena_pregunta2 = this;
		escena_pregunta2.stop();
		escena_pregunta2.next.alpha = 0;
		
		escena_pregunta2.p2r1.cursor = "pointer";
		escena_pregunta2.p2r2.cursor = "pointer";
		
		escena_pregunta2.next.on('click', function(){
			escena_pregunta2.gotoAndStop('pregunta3');
		});
		
		escena_pregunta2.p2r1.on('click', function(){
			escena_pregunta2.p2r1.gotoAndStop("ok");
			addAciertos();
			escena_pregunta2.next.alpha = 1;
			escena_pregunta2.p2r2.alpha = 0;
		});
		
		escena_pregunta2.p2r2.on('click', function(){
			addErrores();
			escena_pregunta2.p2r2.gotoAndStop("wrong");
			escena_pregunta2.next.alpha = 1;
			escena_pregunta2.p2r1.alpha = 0;
		});
	}
	this.frame_3 = function() {
		escena_pregunta3 = this;
		escena_pregunta3.stop();
		escena_pregunta3.next.alpha = 0;
		
		escena_pregunta3.p3r1.cursor = "pointer";
		escena_pregunta3.p3r2.cursor = "pointer";
		
		escena_pregunta3.next.on('click', function(){
			escena_pregunta3.gotoAndStop('pregunta4');
		});
		
		escena_pregunta3.p3r1.on('click', function(){
			escena_pregunta3.p3r1.gotoAndStop("ok");
			addAciertos();
			escena_pregunta3.next.alpha = 1;
			escena_pregunta3.p3r2.alpha = 0;
		});
		
		escena_pregunta3.p3r2.on('click', function(){
			addErrores();
			escena_pregunta3.p3r2.gotoAndStop("wrong");
			escena_pregunta3.next.alpha = 1;
			escena_pregunta3.p3r1.alpha = 0;
		});
	}
	this.frame_4 = function() {
		escena_pregunta4 = this;
		escena_pregunta4.stop();
		escena_pregunta4.next.alpha = 0;
		
		escena_pregunta4.p4r1.cursor = "pointer";
		escena_pregunta4.p4r2.cursor = "pointer";
		
		escena_pregunta4.next.on('click', function(){
			escena_pregunta4.gotoAndStop('pregunta5');
		});
		
		escena_pregunta4.p4r1.on('click', function(){
			escena_pregunta4.p4r1.gotoAndStop("ok");
			addAciertos();
			escena_pregunta4.next.alpha = 1;
			escena_pregunta4.p4r2.alpha = 0;
		});
		
		escena_pregunta4.p4r2.on('click', function(){
			addErrores();
			escena_pregunta4.p4r2.gotoAndStop("wrong");
			escena_pregunta4.next.alpha = 1;
			escena_pregunta4.p4r1.alpha = 0;
		});
	}
	this.frame_5 = function() {
		escena_pregunta5 = this;
		escena_pregunta5.stop();
		escena_pregunta5.next.alpha = 0;
		
		escena_pregunta5.p5r1.cursor = "pointer";
		escena_pregunta5.p5r2.cursor = "pointer";
		
		escena_pregunta5.next.on('click', function(){
			escena_pregunta5.gotoAndStop('feedback');
		});
		
		escena_pregunta5.p5r1.on('click', function(){
			escena_pregunta5.p5r1.gotoAndStop("wrong");
			addErrores();
			escena_pregunta5.next.alpha = 1;
			escena_pregunta5.p5r2.alpha = 0;
		});
		
		escena_pregunta5.p5r2.on('click', function(){
			addAciertos();
			escena_pregunta5.p5r2.gotoAndStop("ok");
			escena_pregunta5.next.alpha = 1;
			escena_pregunta5.p5r1.alpha = 0;
		});
	}
	this.frame_6 = function() {
		escenaFeedback = this;
		escenaFeedback.stop();
		
		if(aciertos>=5){
			escenaFeedback.feedbackOk.x=534,75;
			escenaFeedback.feedbackOk.y=272,15;
		}else{
			escenaFeedback.feedbackWrong.x=534,75;
			escenaFeedback.feedbackWrong.y=272,15;
		}
	}

	// actions tween:
	this.timeline.addTween(cjs.Tween.get(this).call(this.frame_0).wait(1).call(this.frame_1).wait(1).call(this.frame_2).wait(1).call(this.frame_3).wait(1).call(this.frame_4).wait(1).call(this.frame_5).wait(1).call(this.frame_6).wait(1));

	// titulo
	this.instance = new lib.CachedBmp_644();
	this.instance.setTransform(361.3,576.85,0.5,0.5);

	this.instance_1 = new lib.CachedBmp_643();
	this.instance_1.setTransform(331.7,570.5,0.5,0.5);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_1},{t:this.instance}]}).wait(7));

	// marco
	this.instance_2 = new lib.MARCO();
	this.instance_2.setTransform(0,0,0.1618,0.1859);

	this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(7));

	// mascara (mask)
	var mask = new cjs.Shape();
	mask._off = true;
	mask.graphics.p("EhG4AuFMAAAhcJMCNxAAAMAAABcJg");
	mask.setTransform(479.2,318.5);

	// texto
	this.instance_3 = new lib.CachedBmp_646();
	this.instance_3.setTransform(341.3,77.15,0.5,0.5);

	this.instance_4 = new lib.CachedBmp_645();
	this.instance_4.setTransform(241.65,66.2,0.5,0.5);

	this.instance_5 = new lib.CachedBmp_650();
	this.instance_5.setTransform(357.75,329.3,0.5,0.5);

	this.instance_6 = new lib.CachedBmp_649();
	this.instance_6.setTransform(357.75,249.05,0.5,0.5);

	this.instance_7 = new lib.CachedBmp_648();
	this.instance_7.setTransform(338.6,102,0.5,0.5);

	this.instance_8 = new lib.CachedBmp_647();
	this.instance_8.setTransform(241.65,66.2,0.5,0.5);

	this.instance_9 = new lib.CachedBmp_654();
	this.instance_9.setTransform(357.75,332,0.5,0.5);

	this.instance_10 = new lib.CachedBmp_653();
	this.instance_10.setTransform(357.75,249.05,0.5,0.5);

	this.instance_11 = new lib.CachedBmp_652();
	this.instance_11.setTransform(340.35,86.8,0.5,0.5);

	this.instance_12 = new lib.CachedBmp_651();
	this.instance_12.setTransform(241.65,66.2,0.5,0.5);

	this.instance_13 = new lib.CachedBmp_658();
	this.instance_13.setTransform(357.75,332,0.5,0.5);

	this.instance_14 = new lib.CachedBmp_657();
	this.instance_14.setTransform(357.75,249.05,0.5,0.5);

	this.instance_15 = new lib.CachedBmp_656();
	this.instance_15.setTransform(340.35,88.1,0.5,0.5);

	this.instance_16 = new lib.CachedBmp_655();
	this.instance_16.setTransform(241.65,66.25,0.5,0.5);

	this.instance_17 = new lib.CachedBmp_662();
	this.instance_17.setTransform(357.75,332,0.5,0.5);

	this.instance_18 = new lib.CachedBmp_661();
	this.instance_18.setTransform(357.75,249.05,0.5,0.5);

	this.instance_19 = new lib.CachedBmp_660();
	this.instance_19.setTransform(340.35,79.8,0.5,0.5);

	this.instance_20 = new lib.CachedBmp_659();
	this.instance_20.setTransform(241.65,66.2,0.5,0.5);

	this.instance_21 = new lib.CachedBmp_666();
	this.instance_21.setTransform(357.75,333.35,0.5,0.5);

	this.instance_22 = new lib.CachedBmp_665();
	this.instance_22.setTransform(357.75,249.05,0.5,0.5);

	this.instance_23 = new lib.CachedBmp_664();
	this.instance_23.setTransform(340.35,102.9,0.5,0.5);

	this.instance_24 = new lib.CachedBmp_663();
	this.instance_24.setTransform(241.65,66.2,0.5,0.5);

	this.feedbackWrong = new lib.feedbackWrong();
	this.feedbackWrong.name = "feedbackWrong";
	this.feedbackWrong.setTransform(1403.55,432);

	this.feedbackOk = new lib.globoTexto();
	this.feedbackOk.name = "feedbackOk";
	this.feedbackOk.setTransform(1369.35,91.6);

	var maskedShapeInstanceList = [this.instance_3,this.instance_4,this.instance_5,this.instance_6,this.instance_7,this.instance_8,this.instance_9,this.instance_10,this.instance_11,this.instance_12,this.instance_13,this.instance_14,this.instance_15,this.instance_16,this.instance_17,this.instance_18,this.instance_19,this.instance_20,this.instance_21,this.instance_22,this.instance_23,this.instance_24,this.feedbackWrong,this.feedbackOk];

	for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) {
		maskedShapeInstanceList[shapedInstanceItr].mask = mask;
	}

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_4},{t:this.instance_3}]}).to({state:[{t:this.instance_8},{t:this.instance_7},{t:this.instance_6},{t:this.instance_5}]},1).to({state:[{t:this.instance_12},{t:this.instance_11},{t:this.instance_10},{t:this.instance_9}]},1).to({state:[{t:this.instance_16},{t:this.instance_15},{t:this.instance_14},{t:this.instance_13}]},1).to({state:[{t:this.instance_20},{t:this.instance_19},{t:this.instance_18},{t:this.instance_17}]},1).to({state:[{t:this.instance_24},{t:this.instance_23},{t:this.instance_22},{t:this.instance_21}]},1).to({state:[{t:this.feedbackOk},{t:this.feedbackWrong}]},1).wait(1));

	// btns
	this.next = new lib.sig();
	this.next.name = "next";
	this.next.setTransform(874.45,566.05,0.413,0.4126,0,0,0,20.8,40.5);
	new cjs.ButtonHelper(this.next, 0, 1, 2, false, new lib.sig(), 3);

	this.back = new lib.Play();
	this.back.name = "back";
	this.back.setTransform(72.9,574.1,0.4133,0.4133,0,0,180,56.8,56.8);
	new cjs.ButtonHelper(this.back, 0, 1, 2, false, new lib.Play(), 3);

	this.p1r2 = new lib.btnRespuesta();
	this.p1r2.name = "p1r2";
	this.p1r2.setTransform(585.85,346.4);

	this.p1r1 = new lib.btnRespuesta();
	this.p1r1.name = "p1r1";
	this.p1r1.setTransform(585.85,263.5);

	this.p2r2 = new lib.btnRespuesta();
	this.p2r2.name = "p2r2";
	this.p2r2.setTransform(585.85,346.4);

	this.p2r1 = new lib.btnRespuesta();
	this.p2r1.name = "p2r1";
	this.p2r1.setTransform(585.85,263.5);

	this.p3r2 = new lib.btnRespuesta();
	this.p3r2.name = "p3r2";
	this.p3r2.setTransform(585.85,346.4);

	this.p3r1 = new lib.btnRespuesta();
	this.p3r1.name = "p3r1";
	this.p3r1.setTransform(585.85,263.5);

	this.p4r2 = new lib.btnRespuesta();
	this.p4r2.name = "p4r2";
	this.p4r2.setTransform(585.85,346.4);

	this.p4r1 = new lib.btnRespuesta();
	this.p4r1.name = "p4r1";
	this.p4r1.setTransform(585.85,263.5);

	this.p5r2 = new lib.btnRespuesta();
	this.p5r2.name = "p5r2";
	this.p5r2.setTransform(585.85,346.4);

	this.p5r1 = new lib.btnRespuesta();
	this.p5r1.name = "p5r1";
	this.p5r1.setTransform(585.85,263.5);

	var maskedShapeInstanceList = [this.next,this.back,this.p1r2,this.p1r1,this.p2r2,this.p2r1,this.p3r2,this.p3r1,this.p4r2,this.p4r1,this.p5r2,this.p5r1];

	for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) {
		maskedShapeInstanceList[shapedInstanceItr].mask = mask;
	}

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.back},{t:this.next}]}).to({state:[{t:this.next},{t:this.p1r1},{t:this.p1r2}]},1).to({state:[{t:this.next},{t:this.p2r1},{t:this.p2r2}]},1).to({state:[{t:this.next},{t:this.p3r1},{t:this.p3r2}]},1).to({state:[{t:this.next},{t:this.p4r1},{t:this.p4r2}]},1).to({state:[{t:this.next},{t:this.p5r1},{t:this.p5r2}]},1).to({state:[]},1).wait(1));

	// pj
	this.instance_25 = new lib.Interpolación6("synched",0);
	this.instance_25.setTransform(195.35,435.65,1.1335,1.1335);

	var maskedShapeInstanceList = [this.instance_25];

	for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) {
		maskedShapeInstanceList[shapedInstanceItr].mask = mask;
	}

	this.timeline.addTween(cjs.Tween.get(this.instance_25).wait(7));

	// fondo
	this.instance_26 = new lib.animacion0065();
	this.instance_26.setTransform(-115,-15,0.8716,0.8716);

	var maskedShapeInstanceList = [this.instance_26];

	for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) {
		maskedShapeInstanceList[shapedInstanceItr].mask = mask;
	}

	this.timeline.addTween(cjs.Tween.get(this.instance_26).wait(7));

	this._renderFirstFrame();

}).prototype = p = new lib.AnMovieClip();
p.nominalBounds = new cjs.Rectangle(480,320,480,319.9);
// library properties:
lib.properties = {
	id: '030D34BEEB7B4E558350F13094E2DD03',
	width: 960,
	height: 640,
	fps: 60,
	color: "#FFFFFF",
	opacity: 0.00,
	manifest: [
		{src:"images/MARCO.png?1684267717233", id:"MARCO"},
		{src:"images/pj12.png?1684267717233", id:"pj12"},
		{src:"images/actividad2c_atlas_1.png?1684267717204", id:"actividad2c_atlas_1"},
		{src:"images/actividad2c_atlas_2.png?1684267717204", id:"actividad2c_atlas_2"},
		{src:"images/actividad2c_atlas_3.png?1684267717204", id:"actividad2c_atlas_3"}
	],
	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['030D34BEEB7B4E558350F13094E2DD03'] = {
	getStage: function() { return exportRoot.stage; },
	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];
}


an.makeResponsive = function(isResp, respDim, isScale, scaleType, domContainers) {		
	var lastW, lastH, lastS=1;		
	window.addEventListener('resize', resizeCanvas);		
	resizeCanvas();		
	function resizeCanvas() {			
		var w = lib.properties.width, h = lib.properties.height;			
		var iw = window.innerWidth, ih=window.innerHeight;			
		var pRatio = window.devicePixelRatio || 1, xRatio=iw/w, yRatio=ih/h, sRatio=1;			
		if(isResp) {                
			if((respDim=='width'&&lastW==iw) || (respDim=='height'&&lastH==ih)) {                    
				sRatio = lastS;                
			}				
			else if(!isScale) {					
				if(iw<w || ih<h)						
					sRatio = Math.min(xRatio, yRatio);				
			}				
			else if(scaleType==1) {					
				sRatio = Math.min(xRatio, yRatio);				
			}				
			else if(scaleType==2) {					
				sRatio = Math.max(xRatio, yRatio);				
			}			
		}
		domContainers[0].width = w * pRatio * sRatio;			
		domContainers[0].height = h * pRatio * sRatio;
		domContainers.forEach(function(container) {				
			container.style.width = w * sRatio + 'px';				
			container.style.height = h * sRatio + 'px';			
		});
		stage.scaleX = pRatio*sRatio;			
		stage.scaleY = pRatio*sRatio;
		lastW = iw; lastH = ih; lastS = sRatio;            
		stage.tickOnUpdate = false;            
		stage.update();            
		stage.tickOnUpdate = true;		
	}
}
an.handleSoundStreamOnTick = function(event) {
	if(!event.paused){
		var stageChild = stage.getChildAt(0);
		if(!stageChild.paused || stageChild.ignorePause){
			stageChild.syncStreamSounds();
		}
	}
}
an.handleFilterCache = function(event) {
	if(!event.paused){
		var target = event.target;
		if(target){
			if(target.filterCacheList){
				for(var index = 0; index < target.filterCacheList.length ; index++){
					var cacheInst = target.filterCacheList[index];
					if((cacheInst.startFrame <= target.currentFrame) && (target.currentFrame <= cacheInst.endFrame)){
						cacheInst.instance.cache(cacheInst.x, cacheInst.y, cacheInst.w, cacheInst.h);
					}
				}
			}
		}
	}
}


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