(function (cjs, an) {

var p; // shortcut to reference prototypes
var lib={};var ss={};var img={};
lib.ssMetadata = [
		{name:"actividad3_atlas_1", frames: [[0,0,2000,799],[0,801,1366,768]]},
		{name:"actividad3_atlas_2", frames: [[0,0,1471,1471]]},
		{name:"actividad3_atlas_3", frames: [[0,523,1063,498],[0,1482,1124,438],[0,1023,1119,457],[0,0,1094,521]]},
		{name:"actividad3_atlas_4", frames: [[0,401,1113,278],[0,681,1113,278],[0,961,1113,278],[1126,0,855,458],[0,1241,1113,278],[0,1521,1113,278],[0,0,1124,399]]},
		{name:"actividad3_atlas_5", frames: [[0,1460,748,170],[857,1230,748,226],[857,1030,855,198],[1115,0,855,358],[0,1782,855,128],[857,1734,855,114],[857,1850,855,114],[1115,360,855,358],[0,840,855,258],[0,1100,855,198],[0,0,1113,278],[857,1618,930,114],[0,1300,855,158],[857,1458,855,158],[0,1632,855,148],[0,280,1113,278],[0,1912,855,128],[0,560,1113,278],[1115,720,855,308]]},
		{name:"actividad3_atlas_6", frames: [[1714,0,271,160],[1714,706,271,160],[1714,868,271,160],[881,1091,250,160],[1673,1030,333,123],[0,1099,250,160],[546,1091,333,123],[1133,1100,353,92],[1141,1006,530,92],[0,1006,544,91],[1864,162,107,68],[1864,232,107,68],[252,1099,213,68],[252,1169,213,68],[0,226,930,58],[932,226,930,58],[932,646,855,58],[0,706,855,58],[0,286,930,58],[932,286,930,58],[0,346,930,58],[932,346,930,58],[857,706,855,58],[0,766,855,58],[0,0,855,114],[857,766,855,58],[0,406,930,58],[932,406,930,58],[0,466,930,58],[932,466,930,58],[0,526,930,58],[932,526,930,58],[0,826,855,58],[857,826,855,58],[0,586,930,58],[0,886,855,58],[857,0,855,114],[932,586,930,58],[0,646,930,58],[857,886,855,58],[0,946,855,58],[857,946,855,58],[0,116,855,108],[857,116,855,108],[1488,1155,479,65],[546,1006,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_148 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(0);
}).prototype = p = new cjs.Sprite();



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



(lib.CachedBmp_93 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(34);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_92 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(35);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_91 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(36);
}).prototype = p = new cjs.Sprite();



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



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



(lib.CachedBmp_88 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(37);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_87 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(38);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_86 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(39);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_85 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(40);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_84 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(41);
}).prototype = p = new cjs.Sprite();



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



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



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



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



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



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



(lib.CachedBmp_77 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(42);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_76 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(43);
}).prototype = p = new cjs.Sprite();



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



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



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



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



(lib.CachedBmp_71 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(44);
}).prototype = p = new cjs.Sprite();



(lib.CachedBmp_70 = function() {
	this.initialize(ss["actividad3_atlas_6"]);
	this.gotoAndStop(45);
}).prototype = p = new cjs.Sprite();



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



(lib.botonnext = function() {
	this.initialize(ss["actividad3_atlas_2"]);
	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);


(lib.render0051 = function() {
	this.initialize(ss["actividad3_atlas_1"]);
	this.gotoAndStop(1);
}).prototype = p = new cjs.Sprite();
// 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_144();
	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_147();
	this.instance_2.setTransform(-142.75,25.55,0.5,0.5);

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

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

	this.instance_5 = new lib.CachedBmp_148();
	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_140();
	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_147();
	this.instance_2.setTransform(-146.65,25.65,0.5,0.5);

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

	this.instance_4 = new lib.CachedBmp_145();
	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ón8 = 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.render0051();
	this.instance.setTransform(-532.3,-299.25,0.7793,0.7793);

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

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-532.3,-299.2,1064.6,598.5);


(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_133();
	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.btn5050 = 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_2
	this.instance = new lib.CachedBmp_131();
	this.instance.setTransform(-27.45,-15.05,0.5,0.5);

	this.instance_1 = new lib.CachedBmp_132();
	this.instance_1.setTransform(-27.45,-15.05,0.5,0.5);

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

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.f("#830000").s().p("AsHDdQhkAAAAhkIAAjxQAAhkBkAAIYPAAQBkAAAABkIAADxQAABkhkAAg");
	this.shape.setTransform(0.025,0.025);

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

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

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-87.6,-22,175.3,44.1);


(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.ayudaAmigoBtn = 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_2
	this.instance = new lib.CachedBmp_129();
	this.instance.setTransform(-55.4,-16.7,0.5,0.5);

	this.instance_1 = new lib.CachedBmp_130();
	this.instance_1.setTransform(-55.4,-16.7,0.5,0.5);

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

	// Layer_1
	this.shape = new cjs.Shape();
	this.shape.graphics.f("#830000").s().p("AsHDdQhkAAAAhkIAAjxQAAhkBkAAIYPAAQBkAAAABkIAADxQAABkhkAAg");
	this.shape.setTransform(0.025,0.025);

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

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

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-87.6,-22,175.3,44.1);


(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(){
			pasarEstado();
		});
	}

	// 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_138();
	this.instance.setTransform(-147.75,-52.3,0.5,0.5);

	this.instance_1 = new lib.CachedBmp_137();
	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_136();
	this.instance.setTransform(-171.4,-55.7,0.5,0.5);

	this.instance_1 = new lib.CachedBmp_135();
	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_134();
	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.actividad3 = 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,pregunta6:6,pregunta7:7,pregunta8:8,pregunta9:9,pregunta10:10,pregunta11:11,feedback:12};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	this.actionFrames = [0,1,2,3,4,5,6,7,8,9,10,11,12];
	// 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("ok");
			addAciertos();
			escena_pregunta1.next.alpha = 1;
			escena_pregunta1.p1r2.alpha = 0;
		});
		
		escena_pregunta1.p1r2.on('click', function(){
			addErrores();
			escena_pregunta1.p1r2.gotoAndStop("wrong");
			escena_pregunta1.next.alpha = 1;
			escena_pregunta1.p1r1.alpha = 0;
		});
		
		escena_pregunta1.btnAmigo1.on('click', function(){
			alert("RCD´s, adobe, bioconcreto, orgánicos, plástico, aleaciones, vidrio, cerámica");
			updateBtnAmigo();
			escena_pregunta1.btnAmigo.alpha=0;
		});
		
		escena_pregunta1.btn5050.on('click', function(){
			escena_pregunta1.p1r2.alpha = 0;
			updateBtn5050();
			escena_pregunta1.btn5050.alpha=0;
		});
		
		
		if(btnAmigo==false){
			escena_pregunta1.btnAmigo1.alpha=0;
		}else{
			escena_pregunta1.btnAmigo1.alpha=1;
		}
		
		if(btn5050==false){
			escena_pregunta1.btn5050.alpha=0;
		}else{
			escena_pregunta1.btn5050.alpha=1;
		}
	}
	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.p2r3.cursor = "pointer";
		
		escena_pregunta2.next.on('click', function(){
			escena_pregunta2.gotoAndStop('pregunta3');
		});
		
		escena_pregunta2.p2r1.on('click', function(){
			escena_pregunta2.p2r1.gotoAndStop("wrong");
			addErrores();
			escena_pregunta2.next.alpha = 1;
			escena_pregunta2.p2r2.alpha = 0;
			escena_pregunta2.p2r3.alpha = 0;
		});
		
		escena_pregunta2.p2r2.on('click', function(){
			addErrores();
			escena_pregunta2.p2r2.gotoAndStop("wrong");
			escena_pregunta2.next.alpha = 1;
			escena_pregunta2.p2r1.alpha = 0;
			escena_pregunta2.p2r3.alpha = 0;
		});
		
		escena_pregunta2.p2r3.on('click', function(){
			addAciertos();
			escena_pregunta2.p2r3.gotoAndStop("ok");
			escena_pregunta2.next.alpha = 1;
			escena_pregunta2.p2r1.alpha = 0;
			escena_pregunta2.p2r2.alpha = 0;
		});
		
		if(btnAmigo==false){
			escena_pregunta2.btnAmigo2.alpha=0;
		}else{
			escena_pregunta2.btnAmigo2.alpha=1;
		}
		
		if(btn5050==false){
			escena_pregunta2.btn5050.alpha=0;
		}else{
			escena_pregunta2.btn5050.alpha=1;
		}
		
		escena_pregunta2.btnAmigo2.on('click', function(){
			alert("Fácil el transportar sus materiales, rapidez en la construcción, más económico.");
			updateBtnAmigo();
		});
		
		escena_pregunta2.btn5050.on('click', function(){
			escena_pregunta2.p2r1.alpha = 0;
			updateBtn5050();
		});
	}
	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.p3r3.cursor = "pointer";
		escena_pregunta3.p3r4.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.p3r3.alpha = 0;
			escena_pregunta3.p3r4.alpha = 0;
		});
		
		escena_pregunta3.p3r2.on('click', function(){
			addErrores();
			escena_pregunta3.p3r2.gotoAndStop("wrong");
			escena_pregunta3.next.alpha = 1;
			escena_pregunta3.p3r1.alpha = 0;
			escena_pregunta3.p3r3.alpha = 0;
			escena_pregunta3.p3r4.alpha = 0;
		});
		
		escena_pregunta3.p3r3.on('click', function(){
			addErrores();
			escena_pregunta3.p3r3.gotoAndStop("wrong");
			escena_pregunta3.next.alpha = 1;
			escena_pregunta3.p3r1.alpha = 0;
			escena_pregunta3.p3r2.alpha = 0;
			escena_pregunta3.p3r4.alpha = 0;
		});
		
		escena_pregunta3.p3r4.on('click', function(){
			addErrores();
			escena_pregunta3.p3r4.gotoAndStop("wrong");
			escena_pregunta3.next.alpha = 1;
			escena_pregunta3.p3r1.alpha = 0;
			escena_pregunta3.p3r2.alpha = 0;
			escena_pregunta3.p3r3.alpha = 0;
		});
		
		if(btnAmigo==false){
			escena_pregunta3.btnAmigo3.alpha=0;
		}else{
			escena_pregunta3.btnAmigo3.alpha=1;
		}
		
		if(btn5050==false){
			escena_pregunta3.btn5050.alpha=0;
		}else{
			escena_pregunta3.btn5050.alpha=1;
		}
		
		escena_pregunta3.btnAmigo3.on('click', function(){
			alert("BLOQUE DE TIERRA COMPRIMIDA.");
			updateBtnAmigo();
		});
		
		escena_pregunta3.btn5050.on('click', function(){
			escena_pregunta3.p3r2.alpha = 0;
			escena_pregunta3.p3r4.alpha = 0;
			updateBtn5050();
		});
	}
	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.p4r3.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.p4r3.alpha = 0;
		});
		
		escena_pregunta4.p4r2.on('click', function(){
			addErrores();
			escena_pregunta4.p4r2.gotoAndStop("wrong");
			escena_pregunta4.next.alpha = 1;
			escena_pregunta4.p4r1.alpha = 0;
			escena_pregunta4.p4r3.alpha = 0;
		});
		
		escena_pregunta4.p4r3.on('click', function(){
			addErrores();
			escena_pregunta4.p4r3.gotoAndStop("wrong");
			escena_pregunta4.next.alpha = 1;
			escena_pregunta4.p4r1.alpha = 0;
			escena_pregunta4.p4r2.alpha = 0;
		});
		
		if(btnAmigo==false){
			escena_pregunta4.btnAmigo4.alpha=0;
		}else{
			escena_pregunta4.btnAmigo4.alpha=1;
		}
		
		if(btn5050==false){
			escena_pregunta4.btn5050.alpha=0;
		}else{
			escena_pregunta4.btn5050.alpha=1;
		}
		
		escena_pregunta4.btnAmigo4.on('click', function(){
			alert("Plasticidad, Cohesión Y Compresibilidad.");
			updateBtnAmigo();
		});
		
		escena_pregunta4.btn5050.on('click', function(){
			escena_pregunta4.p4r2.alpha = 0;
			updateBtn5050();
		});
	}
	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.p5r3.cursor = "pointer";
		escena_pregunta5.p5r4.cursor = "pointer";
		
		escena_pregunta5.next.on('click', function(){
			escena_pregunta5.gotoAndStop('pregunta6');
		});
		
		escena_pregunta5.p5r1.on('click', function(){
			escena_pregunta5.p5r1.gotoAndStop("wrong");
			addErrores();
			escena_pregunta5.next.alpha = 1;
			escena_pregunta5.p5r2.alpha = 0;
			escena_pregunta5.p5r3.alpha = 0;
			escena_pregunta5.p5r4.alpha = 0;
		});
		
		escena_pregunta5.p5r2.on('click', function(){
			addErrores();
			escena_pregunta5.p5r2.gotoAndStop("wrong");
			escena_pregunta5.next.alpha = 1;
			escena_pregunta5.p5r1.alpha = 0;
			escena_pregunta5.p5r3.alpha = 0;
			escena_pregunta5.p5r4.alpha = 0;
		});
		
		escena_pregunta5.p5r3.on('click', function(){
			addAciertos();
			escena_pregunta5.p5r3.gotoAndStop("ok");
			escena_pregunta5.next.alpha = 1;
			escena_pregunta5.p5r1.alpha = 0;
			escena_pregunta5.p5r2.alpha = 0;
			escena_pregunta5.p5r4.alpha = 0;
		});
		
		escena_pregunta5.p5r4.on('click', function(){
			addErrores();
			escena_pregunta5.p5r4.gotoAndStop("wrong");
			escena_pregunta5.next.alpha = 1;
			escena_pregunta5.p5r1.alpha = 0;
			escena_pregunta5.p5r2.alpha = 0;
			escena_pregunta5.p5r3.alpha = 0;
		});
		
		if(btnAmigo==false){
			escena_pregunta5.btnAmigo5.alpha=0;
		}else{
			escena_pregunta5.btnAmigo5.alpha=1;
		}
		
		if(btn5050==false){
			escena_pregunta5.btn5050.alpha=0;
		}else{
			escena_pregunta5.btn5050.alpha=1;
		}
		
		escena_pregunta5.btnAmigo5.on('click', function(){
			alert("Muros en Plástico prensado.");
			updateBtnAmigo();
		});
		
		escena_pregunta5.btn5050.on('click', function(){
			escena_pregunta5.p5r1.alpha = 0;
			escena_pregunta5.p5r4.alpha = 0;
			updateBtn5050();
		});
	}
	this.frame_6 = function() {
		escena_pregunta6 = this;
		escena_pregunta6.stop();
		escena_pregunta6.next.alpha = 0;
		
		escena_pregunta6.p6r3.cursor = "pointer";
		escena_pregunta6.p6r4.cursor = "pointer";
		
		escena_pregunta6.next.on('click', function(){
			escena_pregunta6.gotoAndStop('pregunta7');
		});
		
		
		escena_pregunta6.p6r3.on('click', function(){
			addErrores();
			escena_pregunta6.p6r3.gotoAndStop("wrong");
			escena_pregunta6.next.alpha = 1;
			escena_pregunta6.p6r4.alpha = 0;
		});
		
		escena_pregunta6.p6r4.on('click', function(){
			addAciertos();
			escena_pregunta6.p6r4.gotoAndStop("ok");
			escena_pregunta6.next.alpha = 1;
			escena_pregunta6.p6r3.alpha = 0;
		});
		
		if(btnAmigo==false){
			escena_pregunta6.btnAmigo6.alpha=0;
		}else{
			escena_pregunta6.btnAmigo6.alpha=1;
		}
		
		if(btn5050==false){
			escena_pregunta6.btn5050.alpha=0;
		}else{
			escena_pregunta6.btn5050.alpha=1;
		}
		
		escena_pregunta5.btnAmigo6.on('click', function(){
			alert("Verdadera.");
			updateBtnAmigo();
		});
		
		escena_pregunta6.btn5050.on('click', function(){
			updateBtn5050();
		});
	}
	this.frame_7 = function() {
		escena_pregunta7 = this;
		escena_pregunta7.stop();
		escena_pregunta7.next.alpha = 0;
		
		escena_pregunta7.p7r3.cursor = "pointer";
		escena_pregunta7.p7r4.cursor = "pointer";
		
		escena_pregunta7.next.on('click', function(){
			escena_pregunta7.gotoAndStop('pregunta8');
		});
		
		
		escena_pregunta7.p7r3.on('click', function(){
			addErrores();
			escena_pregunta7.p7r3.gotoAndStop("wrong");
			escena_pregunta7.next.alpha = 1;
			escena_pregunta7.p7r4.alpha = 0;
		});
		
		escena_pregunta7.p7r4.on('click', function(){
			addAciertos();
			escena_pregunta7.p7r4.gotoAndStop("ok");
			escena_pregunta7.next.alpha = 1;
			escena_pregunta7.p7r3.alpha = 0;
		});
		
		if(btnAmigo==false){
			escena_pregunta7.btnAmigo7.alpha=0;
		}else{
			escena_pregunta7.btnAmigo7.alpha=1;
		}
		
		if(btn5050==false){
			escena_pregunta7.btn5050.alpha=0;
		}else{
			escena_pregunta7.btn5050.alpha=1;
		}
		
		escena_pregunta7.btnAmigo7.on('click', function(){
			alert("Falsa.");
			updateBtnAmigo();
		});
		
		escena_pregunta7.btn5050.on('click', function(){
			//escena_pregunta6.p5r1.alpha = 0;
			//escena_pregunta6.p5r4.alpha = 0;
			updateBtn5050();
		});
	}
	this.frame_8 = function() {
		escena_pregunta8 = this;
		escena_pregunta8.stop();
		escena_pregunta8.next.alpha = 0;
		
		escena_pregunta8.p8r1.cursor = "pointer";
		escena_pregunta8.p8r2.cursor = "pointer";
		escena_pregunta8.p8r3.cursor = "pointer";
		
		escena_pregunta8.next.on('click', function(){
			escena_pregunta8.gotoAndStop('pregunta9');
		});
		
		escena_pregunta8.p8r1.on('click', function(){
			addAciertos();
			escena_pregunta8.p8r1.gotoAndStop("ok");
			escena_pregunta8.next.alpha = 1;
			escena_pregunta8.p8r2.alpha = 0;
			escena_pregunta8.p8r3.alpha = 0;
		});
		
		escena_pregunta8.p8r2.on('click', function(){
			addErrores();
			escena_pregunta8.p8r2.gotoAndStop("wrong");
			escena_pregunta8.next.alpha = 1;
			escena_pregunta8.p8r1.alpha = 0;
			escena_pregunta8.p8r3.alpha = 0;
		});
		
		escena_pregunta8.p8r3.on('click', function(){
			addErrores();
			escena_pregunta8.p8r3.gotoAndStop("wrong");
			escena_pregunta8.next.alpha = 1;
			escena_pregunta8.p8r1.alpha = 0;
			escena_pregunta8.p8r2.alpha = 0;
		});
		
		if(btnAmigo==false){
			escena_pregunta8.btnAmigo8.alpha=0;
		}else{
			escena_pregunta8.btnAmigo8.alpha=1;
		}
		
		if(btn5050==false){
			escena_pregunta8.btn5050.alpha=0;
		}else{
			escena_pregunta8.btn5050.alpha=1;
		}
		
		escena_pregunta8.btnAmigo8.on('click', function(){
			alert("Embutido o en tierra, encementado, madera o en tabla y metálico.");
			updateBtnAmigo();
		});
		
		escena_pregunta8.btn5050.on('click', function(){
			//escena_pregunta8.p8r1.alpha = 0;
			escena_pregunta8.p8r3.alpha = 0;
			updateBtn5050();
		});
	}
	this.frame_9 = function() {
		escena_pregunta9 = this;
		escena_pregunta9.stop();
		escena_pregunta9.next.alpha = 0;
		
		escena_pregunta9.p9r1.cursor = "pointer";
		escena_pregunta9.p9r2.cursor = "pointer";
		escena_pregunta9.p9r3.cursor = "pointer";
		escena_pregunta9.p9r4.cursor = "pointer";
		
		escena_pregunta9.next.on('click', function(){
			escena_pregunta9.gotoAndStop('pregunta10');
		});
		
		escena_pregunta9.p9r1.on('click', function(){
			escena_pregunta9.p9r1.gotoAndStop("wrong");
			addErrores();
			escena_pregunta9.next.alpha = 1;
			escena_pregunta9.p9r2.alpha = 0;
			escena_pregunta9.p9r3.alpha = 0;
			escena_pregunta9.p9r4.alpha = 0;
		});
		
		escena_pregunta9.p9r2.on('click', function(){
			addAciertos();
			escena_pregunta9.p9r2.gotoAndStop("ok");
			escena_pregunta9.next.alpha = 1;
			escena_pregunta9.p9r1.alpha = 0;
			escena_pregunta9.p9r3.alpha = 0;
			escena_pregunta9.p9r4.alpha = 0;
		});
		
		escena_pregunta9.p9r3.on('click', function(){
			addAciertos();
			escena_pregunta9.p9r3.gotoAndStop("wrong");
			escena_pregunta9.next.alpha = 1;
			escena_pregunta9.p9r1.alpha = 0;
			escena_pregunta9.p9r2.alpha = 0;
			escena_pregunta9.p9r4.alpha = 0;
		});
		
		escena_pregunta9.p9r4.on('click', function(){
			addErrores();
			escena_pregunta9.p9r4.gotoAndStop("wrong");
			escena_pregunta9.next.alpha = 1;
			escena_pregunta9.p9r1.alpha = 0;
			escena_pregunta9.p9r2.alpha = 0;
			escena_pregunta9.p9r3.alpha = 0;
		});
		
		if(btnAmigo==false){
			escena_pregunta9.btnAmigo9.alpha=0;
		}else{
			escena_pregunta9.btnAmigo9.alpha=1;
		}
		
		if(btn5050==false){
			escena_pregunta9.btn5050.alpha=0;
		}else{
			escena_pregunta9.btn5050.alpha=1;
		}
		
		escena_pregunta9.btnAmigo9.on('click', function(){
			alert("Cañamo, cal y agua.");
			updateBtnAmigo();
		});
		
		escena_pregunta9.btn5050.on('click', function(){
			escena_pregunta9.p9r1.alpha = 0;
			escena_pregunta9.p9r4.alpha = 0;
			updateBtn5050();
		});
	}
	this.frame_10 = function() {
		escena_pregunta10 = this;
		escena_pregunta10.stop();
		escena_pregunta10.next.alpha = 0;
		
		escena_pregunta10.p10r3.cursor = "pointer";
		escena_pregunta10.p10r4.cursor = "pointer";
		
		escena_pregunta10.next.on('click', function(){
			escena_pregunta10.gotoAndStop('feedback');
		});
		
		escena_pregunta10.p10r3.on('click', function(){
			addAciertos();
			escena_pregunta10.p10r3.gotoAndStop("ok");
			escena_pregunta10.next.alpha = 1;
			escena_pregunta10.p10r4.alpha = 0;
		});
		
		escena_pregunta10.p10r4.on('click', function(){
			addErrores();
			escena_pregunta10.p10r4.gotoAndStop("wrong");
			escena_pregunta10.next.alpha = 1;
			escena_pregunta10.p10r3.alpha = 0;
		});
		
		if(btnAmigo==false){
			escena_pregunta10.btnAmigo10.alpha=0;
		}else{
			escena_pregunta10.btnAmigo10.alpha=1;
		}
		
		if(btn5050==false){
			escena_pregunta10.btn5050.alpha=0;
		}else{
			escena_pregunta10.btn5050.alpha=1;
		}
		
		escena_pregunta10.btnAmigo10.on('click', function(){
			alert("Verdadero.");
			updateBtnAmigo();
		});
		
		escena_pregunta10.btn5050.on('click', function(){
			updateBtn5050();
		});
	}
	this.frame_11 = function() {
		escena_pregunta11 = this;
		escena_pregunta11.stop();
		escena_pregunta11.next.alpha = 0;
		
		escena_pregunta11.p11r1.cursor = "pointer";
		escena_pregunta11.p11r2.cursor = "pointer";
		escena_pregunta11.p11r3.cursor = "pointer";
		escena_pregunta11.p11r4.cursor = "pointer";
		
		escena_pregunta11.next.on('click', function(){
			escena_pregunta11.gotoAndStop('feedback');
		});
		
		escena_pregunta11.p11r1.on('click', function(){
			escena_pregunta11.p11r1.gotoAndStop("ok");
			addAciertos();
			escena_pregunta11.next.alpha = 1;
			escena_pregunta11.p11r2.alpha = 0;
			escena_pregunta11.p11r3.alpha = 0;
			escena_pregunta11.p11r4.alpha = 0;
		});
		
		escena_pregunta11.p11r2.on('click', function(){
			addErrores();
			escena_pregunta11.p11r2.gotoAndStop("wrong");
			escena_pregunta11.next.alpha = 1;
			escena_pregunta11.p11r1.alpha = 0;
			escena_pregunta11.p11r3.alpha = 0;
			escena_pregunta11.p11r4.alpha = 0;
		});
		
		escena_pregunta11.p11r3.on('click', function(){
			addErrores();
			escena_pregunta11.p11r3.gotoAndStop("wrong");
			escena_pregunta11.next.alpha = 1;
			escena_pregunta11.p11r1.alpha = 0;
			escena_pregunta11.p11r2.alpha = 0;
			escena_pregunta11.p11r4.alpha = 0;
		});
		
		escena_pregunta11.p11r4.on('click', function(){
			addErrores();
			escena_pregunta11.p11r4.gotoAndStop("wrong");
			escena_pregunta11.next.alpha = 1;
			escena_pregunta11.p11r1.alpha = 0;
			escena_pregunta11.p11r2.alpha = 0;
			escena_pregunta11.p11r3.alpha = 0;
		});
	}
	this.frame_12 = function() {
		escenaFeedback = this;
		escenaFeedback.stop();
		
		if(aciertos>=10){
			console.log("Entro al feedback ok");
			escenaFeedback.feedbackOk.x=534,75;
			escenaFeedback.feedbackOk.y=272,15;
		}else{
			console.log("Entro al feedback wrong");
			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).call(this.frame_7).wait(1).call(this.frame_8).wait(1).call(this.frame_9).wait(1).call(this.frame_10).wait(1).call(this.frame_11).wait(1).call(this.frame_12).wait(1));

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

	this.instance_1 = new lib.CachedBmp_70();
	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(13));

	// 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(13));

	// 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_73();
	this.instance_3.setTransform(341.3,84.4,0.5,0.5);

	this.instance_4 = new lib.CachedBmp_72();
	this.instance_4.setTransform(236.1,66.3,0.5,0.5);

	this.instance_5 = new lib.CachedBmp_77();
	this.instance_5.setTransform(357.75,319.85,0.5,0.5);

	this.instance_6 = new lib.CachedBmp_76();
	this.instance_6.setTransform(357.75,236.9,0.5,0.5);

	this.instance_7 = new lib.CachedBmp_75();
	this.instance_7.setTransform(338.6,106.05,0.5,0.5);

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

	this.instance_9 = new lib.CachedBmp_82();
	this.instance_9.setTransform(357.75,462.9,0.5,0.5);

	this.instance_10 = new lib.CachedBmp_81();
	this.instance_10.setTransform(357.75,345.5,0.5,0.5);

	this.instance_11 = new lib.CachedBmp_80();
	this.instance_11.setTransform(357.75,234.2,0.5,0.5);

	this.instance_12 = new lib.CachedBmp_79();
	this.instance_12.setTransform(340.35,100.3,0.5,0.5);

	this.instance_13 = new lib.CachedBmp_78();
	this.instance_13.setTransform(241.65,66.2,0.5,0.5);

	this.instance_14 = new lib.CachedBmp_88();
	this.instance_14.setTransform(357.75,499.15,0.5,0.5);

	this.instance_15 = new lib.CachedBmp_87();
	this.instance_15.setTransform(357.75,414.9,0.5,0.5);

	this.instance_16 = new lib.CachedBmp_86();
	this.instance_16.setTransform(357.75,332,0.5,0.5);

	this.instance_17 = new lib.CachedBmp_85();
	this.instance_17.setTransform(357.75,249.05,0.5,0.5);

	this.instance_18 = new lib.CachedBmp_84();
	this.instance_18.setTransform(340.35,118.95,0.5,0.5);

	this.instance_19 = new lib.CachedBmp_83();
	this.instance_19.setTransform(241.65,66.2,0.5,0.5);

	this.instance_20 = new lib.CachedBmp_93();
	this.instance_20.setTransform(357.75,414.9,0.5,0.5);

	this.instance_21 = new lib.CachedBmp_92();
	this.instance_21.setTransform(357.75,332,0.5,0.5);

	this.instance_22 = new lib.CachedBmp_91();
	this.instance_22.setTransform(357.75,238.25,0.5,0.5);

	this.instance_23 = new lib.CachedBmp_90();
	this.instance_23.setTransform(340.35,87.9,0.5,0.5);

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

	this.instance_25 = new lib.CachedBmp_99();
	this.instance_25.setTransform(357.75,499.15,0.5,0.5);

	this.instance_26 = new lib.CachedBmp_98();
	this.instance_26.setTransform(357.75,414.9,0.5,0.5);

	this.instance_27 = new lib.CachedBmp_97();
	this.instance_27.setTransform(357.75,329.3,0.5,0.5);

	this.instance_28 = new lib.CachedBmp_96();
	this.instance_28.setTransform(357.75,249.05,0.5,0.5);

	this.instance_29 = new lib.CachedBmp_95();
	this.instance_29.setTransform(340.35,71.85,0.5,0.5);

	this.instance_30 = new lib.CachedBmp_94();
	this.instance_30.setTransform(241.65,66.2,0.5,0.5);

	this.instance_31 = new lib.CachedBmp_103();
	this.instance_31.setTransform(357.75,499.15,0.5,0.5);

	this.instance_32 = new lib.CachedBmp_102();
	this.instance_32.setTransform(357.75,413.55,0.5,0.5);

	this.instance_33 = new lib.CachedBmp_101();
	this.instance_33.setTransform(339.8,81.55,0.5,0.5);

	this.instance_34 = new lib.CachedBmp_100();
	this.instance_34.setTransform(251.1,66.25,0.5,0.5);

	this.instance_35 = new lib.CachedBmp_107();
	this.instance_35.setTransform(357.75,500.5,0.5,0.5);

	this.instance_36 = new lib.CachedBmp_106();
	this.instance_36.setTransform(357.75,413.55,0.5,0.5);

	this.instance_37 = new lib.CachedBmp_105();
	this.instance_37.setTransform(340.35,85.35,0.5,0.5);

	this.instance_38 = new lib.CachedBmp_104();
	this.instance_38.setTransform(238.55,62.25,0.5,0.5);

	this.instance_39 = new lib.CachedBmp_112();
	this.instance_39.setTransform(357.75,406.8,0.5,0.5);

	this.instance_40 = new lib.CachedBmp_111();
	this.instance_40.setTransform(357.75,318.5,0.5,0.5);

	this.instance_41 = new lib.CachedBmp_110();
	this.instance_41.setTransform(357.75,234.2,0.5,0.5);

	this.instance_42 = new lib.CachedBmp_109();
	this.instance_42.setTransform(340.35,115.05,0.5,0.5);

	this.instance_43 = new lib.CachedBmp_108();
	this.instance_43.setTransform(241.65,66.2,0.5,0.5);

	this.instance_44 = new lib.CachedBmp_118();
	this.instance_44.setTransform(357.75,503.2,0.5,0.5);

	this.instance_45 = new lib.CachedBmp_117();
	this.instance_45.setTransform(357.75,416.25,0.5,0.5);

	this.instance_46 = new lib.CachedBmp_116();
	this.instance_46.setTransform(357.75,329.3,0.5,0.5);

	this.instance_47 = new lib.CachedBmp_115();
	this.instance_47.setTransform(357.75,249.05,0.5,0.5);

	this.instance_48 = new lib.CachedBmp_114();
	this.instance_48.setTransform(340.35,102.9,0.5,0.5);

	this.instance_49 = new lib.CachedBmp_113();
	this.instance_49.setTransform(241.65,66.2,0.5,0.5);

	this.instance_50 = new lib.CachedBmp_122();
	this.instance_50.setTransform(357.75,500.5,0.5,0.5);

	this.instance_51 = new lib.CachedBmp_121();
	this.instance_51.setTransform(357.75,414.9,0.5,0.5);

	this.instance_52 = new lib.CachedBmp_120();
	this.instance_52.setTransform(340.35,84,0.5,0.5);

	this.instance_53 = new lib.CachedBmp_119();
	this.instance_53.setTransform(235.8,66.4,0.5,0.5);

	this.instance_54 = new lib.CachedBmp_128();
	this.instance_54.setTransform(357.75,500.5,0.5,0.5);

	this.instance_55 = new lib.CachedBmp_127();
	this.instance_55.setTransform(357.75,412.2,0.5,0.5);

	this.instance_56 = new lib.CachedBmp_126();
	this.instance_56.setTransform(357.75,329.3,0.5,0.5);

	this.instance_57 = new lib.CachedBmp_125();
	this.instance_57.setTransform(357.75,249.05,0.5,0.5);

	this.instance_58 = new lib.CachedBmp_124();
	this.instance_58.setTransform(340.35,85.35,0.5,0.5);

	this.instance_59 = new lib.CachedBmp_123();
	this.instance_59.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.instance_25,this.instance_26,this.instance_27,this.instance_28,this.instance_29,this.instance_30,this.instance_31,this.instance_32,this.instance_33,this.instance_34,this.instance_35,this.instance_36,this.instance_37,this.instance_38,this.instance_39,this.instance_40,this.instance_41,this.instance_42,this.instance_43,this.instance_44,this.instance_45,this.instance_46,this.instance_47,this.instance_48,this.instance_49,this.instance_50,this.instance_51,this.instance_52,this.instance_53,this.instance_54,this.instance_55,this.instance_56,this.instance_57,this.instance_58,this.instance_59,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_13},{t:this.instance_12},{t:this.instance_11},{t:this.instance_10},{t:this.instance_9}]},1).to({state:[{t:this.instance_19},{t:this.instance_18},{t:this.instance_17},{t:this.instance_16},{t:this.instance_15},{t:this.instance_14}]},1).to({state:[{t:this.instance_24},{t:this.instance_23},{t:this.instance_22},{t:this.instance_21},{t:this.instance_20}]},1).to({state:[{t:this.instance_30},{t:this.instance_29},{t:this.instance_28},{t:this.instance_27},{t:this.instance_26},{t:this.instance_25}]},1).to({state:[{t:this.instance_34},{t:this.instance_33},{t:this.instance_32},{t:this.instance_31}]},1).to({state:[{t:this.instance_38},{t:this.instance_37},{t:this.instance_36},{t:this.instance_35}]},1).to({state:[{t:this.instance_43},{t:this.instance_42},{t:this.instance_41},{t:this.instance_40},{t:this.instance_39}]},1).to({state:[{t:this.instance_49},{t:this.instance_48},{t:this.instance_47},{t:this.instance_46},{t:this.instance_45},{t:this.instance_44}]},1).to({state:[{t:this.instance_53},{t:this.instance_52},{t:this.instance_51},{t:this.instance_50}]},1).to({state:[{t:this.instance_59},{t:this.instance_58},{t:this.instance_57},{t:this.instance_56},{t:this.instance_55},{t:this.instance_54}]},1).to({state:[{t:this.feedbackOk},{t:this.feedbackWrong}]},1).wait(1));

	// btn_ayudas
	this.btn5050 = new lib.btn5050();
	this.btn5050.name = "btn5050";
	this.btn5050.setTransform(181.2,540.35);
	new cjs.ButtonHelper(this.btn5050, 0, 1, 2, false, new lib.btn5050(), 3);

	this.btnAmigo1 = new lib.ayudaAmigoBtn();
	this.btnAmigo1.name = "btnAmigo1";
	this.btnAmigo1.setTransform(181.2,486.05);
	new cjs.ButtonHelper(this.btnAmigo1, 0, 1, 2, false, new lib.ayudaAmigoBtn(), 3);

	this.btnAmigo2 = new lib.ayudaAmigoBtn();
	this.btnAmigo2.name = "btnAmigo2";
	this.btnAmigo2.setTransform(181.2,486.05);
	new cjs.ButtonHelper(this.btnAmigo2, 0, 1, 2, false, new lib.ayudaAmigoBtn(), 3);

	this.btnAmigo3 = new lib.ayudaAmigoBtn();
	this.btnAmigo3.name = "btnAmigo3";
	this.btnAmigo3.setTransform(181.2,486.05);
	new cjs.ButtonHelper(this.btnAmigo3, 0, 1, 2, false, new lib.ayudaAmigoBtn(), 3);

	this.btnAmigo4 = new lib.ayudaAmigoBtn();
	this.btnAmigo4.name = "btnAmigo4";
	this.btnAmigo4.setTransform(181.2,486.05);
	new cjs.ButtonHelper(this.btnAmigo4, 0, 1, 2, false, new lib.ayudaAmigoBtn(), 3);

	this.btnAmigo5 = new lib.ayudaAmigoBtn();
	this.btnAmigo5.name = "btnAmigo5";
	this.btnAmigo5.setTransform(181.2,486.05);
	new cjs.ButtonHelper(this.btnAmigo5, 0, 1, 2, false, new lib.ayudaAmigoBtn(), 3);

	this.btnAmigo6 = new lib.ayudaAmigoBtn();
	this.btnAmigo6.name = "btnAmigo6";
	this.btnAmigo6.setTransform(181.2,486.05);
	new cjs.ButtonHelper(this.btnAmigo6, 0, 1, 2, false, new lib.ayudaAmigoBtn(), 3);

	this.btnAmigo7 = new lib.ayudaAmigoBtn();
	this.btnAmigo7.name = "btnAmigo7";
	this.btnAmigo7.setTransform(181.2,486.05);
	new cjs.ButtonHelper(this.btnAmigo7, 0, 1, 2, false, new lib.ayudaAmigoBtn(), 3);

	this.btnAmigo8 = new lib.ayudaAmigoBtn();
	this.btnAmigo8.name = "btnAmigo8";
	this.btnAmigo8.setTransform(181.2,486.05);
	new cjs.ButtonHelper(this.btnAmigo8, 0, 1, 2, false, new lib.ayudaAmigoBtn(), 3);

	this.btnAmigo9 = new lib.ayudaAmigoBtn();
	this.btnAmigo9.name = "btnAmigo9";
	this.btnAmigo9.setTransform(181.2,486.05);
	new cjs.ButtonHelper(this.btnAmigo9, 0, 1, 2, false, new lib.ayudaAmigoBtn(), 3);

	this.btnAmigo10 = new lib.ayudaAmigoBtn();
	this.btnAmigo10.name = "btnAmigo10";
	this.btnAmigo10.setTransform(181.2,486.05);
	new cjs.ButtonHelper(this.btnAmigo10, 0, 1, 2, false, new lib.ayudaAmigoBtn(), 3);

	this.btnAmigo11 = new lib.ayudaAmigoBtn();
	this.btnAmigo11.name = "btnAmigo11";
	this.btnAmigo11.setTransform(181.2,486.05);
	new cjs.ButtonHelper(this.btnAmigo11, 0, 1, 2, false, new lib.ayudaAmigoBtn(), 3);

	var maskedShapeInstanceList = [this.btn5050,this.btnAmigo1,this.btnAmigo2,this.btnAmigo3,this.btnAmigo4,this.btnAmigo5,this.btnAmigo6,this.btnAmigo7,this.btnAmigo8,this.btnAmigo9,this.btnAmigo10,this.btnAmigo11];

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

	this.timeline.addTween(cjs.Tween.get({}).to({state:[]}).to({state:[{t:this.btnAmigo1},{t:this.btn5050}]},1).to({state:[{t:this.btnAmigo2},{t:this.btn5050}]},1).to({state:[{t:this.btnAmigo3},{t:this.btn5050}]},1).to({state:[{t:this.btnAmigo4},{t:this.btn5050}]},1).to({state:[{t:this.btnAmigo5},{t:this.btn5050}]},1).to({state:[{t:this.btnAmigo6},{t:this.btn5050}]},1).to({state:[{t:this.btnAmigo7},{t:this.btn5050}]},1).to({state:[{t:this.btnAmigo8},{t:this.btn5050}]},1).to({state:[{t:this.btnAmigo9},{t:this.btn5050}]},1).to({state:[{t:this.btnAmigo10},{t:this.btn5050}]},1).to({state:[{t:this.btnAmigo11},{t:this.btn5050}]},1).to({state:[]},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.p2r3 = new lib.btnRespuesta();
	this.p2r3.name = "p2r3";
	this.p2r3.setTransform(585.85,490.85);

	this.p2r2 = new lib.btnRespuesta();
	this.p2r2.name = "p2r2";
	this.p2r2.setTransform(585.85,385.4,1,1.4353);

	this.p2r1 = new lib.btnRespuesta();
	this.p2r1.name = "p2r1";
	this.p2r1.setTransform(585.85,274.15,1,1.3163);

	this.p3r4 = new lib.btnRespuesta();
	this.p3r4.name = "p3r4";
	this.p3r4.setTransform(585.85,515.5);

	this.p3r3 = new lib.btnRespuesta();
	this.p3r3.name = "p3r3";
	this.p3r3.setTransform(585.85,429.35);

	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.p4r3 = new lib.btnRespuesta();
	this.p4r3.name = "p4r3";
	this.p4r3.setTransform(585.85,429.35);

	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.p5r4 = new lib.btnRespuesta();
	this.p5r4.name = "p5r4";
	this.p5r4.setTransform(585.85,515.5);

	this.p5r3 = new lib.btnRespuesta();
	this.p5r3.name = "p5r3";
	this.p5r3.setTransform(585.85,429.35);

	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);

	this.p6r4 = new lib.btnRespuesta();
	this.p6r4.name = "p6r4";
	this.p6r4.setTransform(585.85,515.5);

	this.p6r3 = new lib.btnRespuesta();
	this.p6r3.name = "p6r3";
	this.p6r3.setTransform(585.85,429.35);

	this.p7r4 = new lib.btnRespuesta();
	this.p7r4.name = "p7r4";
	this.p7r4.setTransform(585.85,515.5);

	this.p7r3 = new lib.btnRespuesta();
	this.p7r3.name = "p7r3";
	this.p7r3.setTransform(585.85,429.35);

	this.p8r3 = new lib.btnRespuesta();
	this.p8r3.name = "p8r3";
	this.p8r3.setTransform(585.85,433.35);

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

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

	this.p9r4 = new lib.btnRespuesta();
	this.p9r4.name = "p9r4";
	this.p9r4.setTransform(585.85,515.5);

	this.p9r3 = new lib.btnRespuesta();
	this.p9r3.name = "p9r3";
	this.p9r3.setTransform(585.85,429.35);

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

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

	this.p10r4 = new lib.btnRespuesta();
	this.p10r4.name = "p10r4";
	this.p10r4.setTransform(585.85,515.5);

	this.p10r3 = new lib.btnRespuesta();
	this.p10r3.name = "p10r3";
	this.p10r3.setTransform(585.85,429.35);

	this.p11r4 = new lib.btnRespuesta();
	this.p11r4.name = "p11r4";
	this.p11r4.setTransform(585.85,515.5);

	this.p11r3 = new lib.btnRespuesta();
	this.p11r3.name = "p11r3";
	this.p11r3.setTransform(585.85,429.35);

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

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

	var maskedShapeInstanceList = [this.next,this.back,this.p1r2,this.p1r1,this.p2r3,this.p2r2,this.p2r1,this.p3r4,this.p3r3,this.p3r2,this.p3r1,this.p4r3,this.p4r2,this.p4r1,this.p5r4,this.p5r3,this.p5r2,this.p5r1,this.p6r4,this.p6r3,this.p7r4,this.p7r3,this.p8r3,this.p8r2,this.p8r1,this.p9r4,this.p9r3,this.p9r2,this.p9r1,this.p10r4,this.p10r3,this.p11r4,this.p11r3,this.p11r2,this.p11r1];

	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},{t:this.p2r3}]},1).to({state:[{t:this.next},{t:this.p3r1},{t:this.p3r2},{t:this.p3r3},{t:this.p3r4}]},1).to({state:[{t:this.next},{t:this.p4r1},{t:this.p4r2},{t:this.p4r3}]},1).to({state:[{t:this.next},{t:this.p5r1},{t:this.p5r2},{t:this.p5r3},{t:this.p5r4}]},1).to({state:[{t:this.next},{t:this.p6r3},{t:this.p6r4}]},1).to({state:[{t:this.next},{t:this.p7r3},{t:this.p7r4}]},1).to({state:[{t:this.next},{t:this.p8r1},{t:this.p8r2},{t:this.p8r3}]},1).to({state:[{t:this.next},{t:this.p9r1},{t:this.p9r2},{t:this.p9r3},{t:this.p9r4}]},1).to({state:[{t:this.next},{t:this.p10r3},{t:this.p10r4}]},1).to({state:[{t:this.next},{t:this.p11r1},{t:this.p11r2},{t:this.p11r3},{t:this.p11r4}]},1).to({state:[]},1).wait(1));

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

	var maskedShapeInstanceList = [this.instance_60];

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

	this.timeline.addTween(cjs.Tween.get(this.instance_60).wait(13));

	// fondo
	this.instance_61 = new lib.Interpolación8("synched",0);
	this.instance_61.setTransform(480,320);

	var maskedShapeInstanceList = [this.instance_61];

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

	this.timeline.addTween(cjs.Tween.get(this.instance_61).wait(13));

	// cielo
	this.instance_62 = new lib._1861();
	this.instance_62.setTransform(-153,-4,0.6334,0.8121);

	var maskedShapeInstanceList = [this.instance_62];

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

	this.timeline.addTween(cjs.Tween.get(this.instance_62).wait(13));

	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: 30,
	color: "#FFFFFF",
	opacity: 0.00,
	manifest: [
		{src:"images/MARCO.png?1683605959366", id:"MARCO"},
		{src:"images/pj12.png?1683605959366", id:"pj12"},
		{src:"images/actividad3_atlas_1.png?1683605959333", id:"actividad3_atlas_1"},
		{src:"images/actividad3_atlas_2.png?1683605959334", id:"actividad3_atlas_2"},
		{src:"images/actividad3_atlas_3.png?1683605959334", id:"actividad3_atlas_3"},
		{src:"images/actividad3_atlas_4.png?1683605959334", id:"actividad3_atlas_4"},
		{src:"images/actividad3_atlas_5.png?1683605959334", id:"actividad3_atlas_5"},
		{src:"images/actividad3_atlas_6.png?1683605959335", id:"actividad3_atlas_6"}
	],
	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;