(function (cjs, an) {

var p; // shortcut to reference prototypes
var lib={};var ss={};var img={};
lib.ssMetadata = [
		{name:"actividad2_juego_atlas_1", frames: [[0,0,1471,1471]]},
		{name:"actividad2_juego_atlas_2", frames: [[0,1752,1471,208],[1479,796,471,320],[0,770,1477,542],[0,1314,1152,436],[0,0,1366,768],[1479,0,284,794]]},
		{name:"actividad2_juego_atlas_3", frames: [[0,0,1108,100],[0,102,1108,100],[0,204,1108,100],[0,306,1108,100],[0,408,1108,100],[0,510,1108,100],[0,612,1108,100],[0,714,1108,100],[0,816,1108,100],[0,918,1108,100],[0,1020,1108,100],[0,1122,1108,100],[0,1224,1108,100],[0,1326,1108,100],[0,1428,1108,100],[0,1530,1108,100],[0,1632,1108,100],[0,1734,1108,100],[0,1836,1108,100],[0,1938,1108,100]]},
		{name:"actividad2_juego_atlas_4", frames: [[1110,0,271,160],[1383,0,271,160],[1656,0,271,160],[1780,162,250,160],[1110,162,333,123],[0,204,250,160],[1445,162,333,123],[0,0,1108,100],[0,102,1108,100],[806,204,45,118],[853,204,45,118],[1267,287,41,118],[1133,287,43,118],[900,204,45,118],[947,204,45,118],[1178,287,43,118],[994,204,45,118],[1989,0,48,118],[1929,0,58,118],[1352,287,39,118],[614,204,46,118],[1393,287,32,118],[1427,287,26,118],[564,204,48,118],[1041,204,44,118],[1310,287,40,118],[1223,287,42,118],[662,204,46,118],[1087,287,44,118],[710,204,46,118],[758,204,46,118],[393,204,169,102],[252,204,139,248]]}
];


(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_513 = function() {
	this.initialize(ss["actividad2_juego_atlas_4"]);
	this.gotoAndStop(0);
}).prototype = p = new cjs.Sprite();



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



(lib.pj3 = function() {
	this.initialize(ss["actividad2_juego_atlas_4"]);
	this.gotoAndStop(32);
}).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_509();
	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_512();
	this.instance_2.setTransform(-142.75,25.55,0.5,0.5);

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

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

	this.instance_5 = new lib.CachedBmp_513();
	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_505();
	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_512();
	this.instance_2.setTransform(-146.65,25.65,0.5,0.5);

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

	this.instance_4 = new lib.CachedBmp_510();
	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.jugador = 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.pj3();

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

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.jugador, new cjs.Rectangle(0,0,139,248), null);


(lib.Interpolación5 = 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.pj2();
	this.instance.setTransform(-87.25,-243.95,0.6145,0.6145);

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

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-87.2,-243.9,174.5,487.9);


(lib.globoTextoMC = 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_503();
	this.instance.setTransform(-2.05,-2,0.5,0.5);

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

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.globoTextoMC, new cjs.Rectangle(-2,-2,735.5,104), null);


(lib.fondoContador = 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.shape = new cjs.Shape();
	this.shape.graphics.f("#000000").s().p("AucEJIAAoRIc5AAIAAIRg");
	this.shape.setTransform(92.5,26.5);

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

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.fondoContador, new cjs.Rectangle(0,0,185,53), null);


(lib.fichaLetraMc = 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 = {letraA:1,letraB:2,letraC:3,letraD:4,letraE:5,letraF:6,letraG:7,letraH:8,letraI:9,letraJ:10,letraK:11,letraL:12,letraM:13,letraN:14,letraO:15,letraP:16,letraQ:17,letraR:18,letraS:19,letraT:20,letraU:21,letraV:22};
	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(25));

	// letra
	this.instance = new lib.CachedBmp_459();
	this.instance.setTransform(15.65,0,0.5,0.5);

	this.instance_1 = new lib.CachedBmp_460();
	this.instance_1.setTransform(15.7,0,0.5,0.5);

	this.instance_2 = new lib.CachedBmp_461();
	this.instance_2.setTransform(16.15,0,0.5,0.5);

	this.instance_3 = new lib.CachedBmp_462();
	this.instance_3.setTransform(15.65,0,0.5,0.5);

	this.instance_4 = new lib.CachedBmp_463();
	this.instance_4.setTransform(16.55,0,0.5,0.5);

	this.instance_5 = new lib.CachedBmp_464();
	this.instance_5.setTransform(17.1,0,0.5,0.5);

	this.instance_6 = new lib.CachedBmp_465();
	this.instance_6.setTransform(16.05,0,0.5,0.5);

	this.instance_7 = new lib.CachedBmp_466();
	this.instance_7.setTransform(15.2,0,0.5,0.5);

	this.instance_8 = new lib.CachedBmp_467();
	this.instance_8.setTransform(20.65,0,0.5,0.5);

	this.instance_9 = new lib.CachedBmp_468();
	this.instance_9.setTransform(19.15,0,0.5,0.5);

	this.instance_10 = new lib.CachedBmp_469();
	this.instance_10.setTransform(15.5,0,0.5,0.5);

	this.instance_11 = new lib.CachedBmp_470();
	this.instance_11.setTransform(17.25,0,0.5,0.5);

	this.instance_12 = new lib.CachedBmp_471();
	this.instance_12.setTransform(12.6,0,0.5,0.5);

	this.instance_13 = new lib.CachedBmp_472();
	this.instance_13.setTransform(15.2,0,0.5,0.5);

	this.instance_14 = new lib.CachedBmp_473();
	this.instance_14.setTransform(15.9,0,0.5,0.5);

	this.instance_15 = new lib.CachedBmp_474();
	this.instance_15.setTransform(16.35,0,0.5,0.5);

	this.instance_16 = new lib.CachedBmp_475();
	this.instance_16.setTransform(15.9,0,0.5,0.5);

	this.instance_17 = new lib.CachedBmp_476();
	this.instance_17.setTransform(15.8,0,0.5,0.5);

	this.instance_18 = new lib.CachedBmp_477();
	this.instance_18.setTransform(16.4,0,0.5,0.5);

	this.instance_19 = new lib.CachedBmp_478();
	this.instance_19.setTransform(16.85,0,0.5,0.5);

	this.instance_20 = new lib.CachedBmp_479();
	this.instance_20.setTransform(15.85,0,0.5,0.5);

	this.instance_21 = new lib.CachedBmp_480();
	this.instance_21.setTransform(15.8,0,0.5,0.5);

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

	// fondo
	this.shape = new cjs.Shape();
	this.shape.graphics.f("#830000").s().p("AjEERQhMAAAAhNIAAmIQAAhMBMAAIGIAAQBNAAAABMIAAGIQAABNhNAAg");
	this.shape.setTransform(27.275,27.275);

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

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(0,0,54.6,59);


(lib.feedback = 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));

	// background
	this.shape = new cjs.Shape();
	this.shape.graphics.f("#E74E25").s().p("AjEERQhMAAAAhNIAAmIQAAhMBMAAIGIAAQBNAAAABMIAAGIQAABNhNAAg");
	this.shape.setTransform(0.025,0.025);

	this.shape_1 = new cjs.Shape();
	this.shape_1.graphics.f().s("#66FF00").ss(3,1,1).p("AjEkQIGIAAQBNAAAABMIAAGIQAABNhNAAImIAAQhMAAAAhNIAAmIQAAhMBMAAg");
	this.shape_1.setTransform(0.025,0.025);

	this.shape_2 = new cjs.Shape();
	this.shape_2.graphics.f().s("#FF0000").ss(3,1,1).p("AjEkQIGIAAQBNAAAABMIAAGIQAABNhNAAImIAAQhMAAAAhNIAAmIQAAhMBMAAg");
	this.shape_2.setTransform(0.025,0.025);

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

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-28.7,-28.7,57.5,57.5);


(lib.kelly = 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.Interpolación5("synched",0);
	this.instance.setTransform(130.2,364.1,1.4925,1.4925);

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

	this._renderFirstFrame();

}).prototype = getMCSymbolPrototype(lib.kelly, new cjs.Rectangle(0,0,260.5,728.3), null);


(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 = {"ini":1,dameA:30,dameB:31,dameC:32,dameD:33,dameE:34,dameF:35,dameG:36,dameH:37,dameI:38,dameJ:39,dameK:40,dameL:41,dameM:42,dameN:43,dameO:44,dameP:45,dameQ:46,dameR:47,dameS:48,dameT:49,dameU:50,dameV:51};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	// timeline functions:
	this.frame_0 = function() {
		this.stop();
	}
	this.frame_10 = function() {
		this.stop();
		if(letraSeleccionada==="A"){
		  this.gotoAndStop("dameA");
		}
		if(letraSeleccionada==="B"){
		  this.gotoAndStop("dameB");
		}
		if(letraSeleccionada==="C"){
		  this.gotoAndStop("dameC");
		}
		if(letraSeleccionada==="D"){
		  this.gotoAndStop("dameD");
		}
		if(letraSeleccionada==="E"){
		  this.gotoAndStop("dameE");
		}
		if(letraSeleccionada==="F"){
		  this.gotoAndStop("dameF");
		}
		if(letraSeleccionada==="G"){
		  this.gotoAndStop("dameG");
		}
		if(letraSeleccionada==="H"){
		  this.gotoAndStop("dameH");
		}
		if(letraSeleccionada==="I"){
		  this.gotoAndStop("dameI");
		}
		if(letraSeleccionada==="J"){
		  this.gotoAndStop("dameJ");
		}
		if(letraSeleccionada==="K"){
		  this.gotoAndStop("dameK");
		}
		if(letraSeleccionada==="L"){
		  this.gotoAndStop("dameL");
		}   
		if(letraSeleccionada==="M"){
		  this.gotoAndStop("dameM");
		}
		if(letraSeleccionada==="N"){
		  this.gotoAndStop("dameN");
		}
		if(letraSeleccionada==="O"){
		  this.gotoAndStop("dameO");
		}
		if(letraSeleccionada==="P"){
		  this.gotoAndStop("dameP");
		}
		if(letraSeleccionada==="Q"){
		  this.gotoAndStop("dameQ");
		}
		if(letraSeleccionada==="R"){
		  this.gotoAndStop("dameR");
		}
		if(letraSeleccionada==="S"){
		  this.gotoAndStop("dameS");
		}
		if(letraSeleccionada==="T"){
		  this.gotoAndStop("dameT");
		}
		if(letraSeleccionada==="U"){
		  this.gotoAndStop("dameU");
		}
		if(letraSeleccionada==="V"){
		  this.gotoAndStop("dameV");
		}
	}

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

	// texto
	this.instance = new lib.CachedBmp_481();
	this.instance.setTransform(55,27.6,0.5,0.5);

	this.instance_1 = new lib.CachedBmp_482();
	this.instance_1.setTransform(55,27.6,0.5,0.5);

	this.instance_2 = new lib.CachedBmp_483();
	this.instance_2.setTransform(55,27.6,0.5,0.5);

	this.instance_3 = new lib.CachedBmp_484();
	this.instance_3.setTransform(55,27.6,0.5,0.5);

	this.instance_4 = new lib.CachedBmp_485();
	this.instance_4.setTransform(55,27.6,0.5,0.5);

	this.instance_5 = new lib.CachedBmp_486();
	this.instance_5.setTransform(55,27.6,0.5,0.5);

	this.instance_6 = new lib.CachedBmp_487();
	this.instance_6.setTransform(55,27.6,0.5,0.5);

	this.instance_7 = new lib.CachedBmp_488();
	this.instance_7.setTransform(55,27.6,0.5,0.5);

	this.instance_8 = new lib.CachedBmp_489();
	this.instance_8.setTransform(55,27.6,0.5,0.5);

	this.instance_9 = new lib.CachedBmp_490();
	this.instance_9.setTransform(55,27.6,0.5,0.5);

	this.instance_10 = new lib.CachedBmp_491();
	this.instance_10.setTransform(55,27.6,0.5,0.5);

	this.instance_11 = new lib.CachedBmp_492();
	this.instance_11.setTransform(55,27.6,0.5,0.5);

	this.instance_12 = new lib.CachedBmp_493();
	this.instance_12.setTransform(55,27.6,0.5,0.5);

	this.instance_13 = new lib.CachedBmp_494();
	this.instance_13.setTransform(55,27.6,0.5,0.5);

	this.instance_14 = new lib.CachedBmp_495();
	this.instance_14.setTransform(55,27.6,0.5,0.5);

	this.instance_15 = new lib.CachedBmp_496();
	this.instance_15.setTransform(55,27.6,0.5,0.5);

	this.instance_16 = new lib.CachedBmp_497();
	this.instance_16.setTransform(55,27.6,0.5,0.5);

	this.instance_17 = new lib.CachedBmp_498();
	this.instance_17.setTransform(55,27.6,0.5,0.5);

	this.instance_18 = new lib.CachedBmp_499();
	this.instance_18.setTransform(55,27.6,0.5,0.5);

	this.instance_19 = new lib.CachedBmp_500();
	this.instance_19.setTransform(55,27.6,0.5,0.5);

	this.instance_20 = new lib.CachedBmp_501();
	this.instance_20.setTransform(55,27.6,0.5,0.5);

	this.instance_21 = new lib.CachedBmp_502();
	this.instance_21.setTransform(55,27.6,0.5,0.5);

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

	// globo
	this.instance_22 = new lib.globoTextoMC();
	this.instance_22.setTransform(731.65,99.9,0.0296,0.1592,0,0,0,731.8,99.9);
	this.instance_22.alpha = 0;
	this.instance_22._off = true;

	this.timeline.addTween(cjs.Tween.get(this.instance_22).wait(1).to({_off:false},0).to({regX:731.6,scaleX:1,scaleY:1,alpha:1},9).wait(42));

	// fondo
	this.shape = new cjs.Shape();
	this.shape.graphics.f("#E74E25").s().p("Eg2hAIwIAAxfMBtDAAAIAARfg");
	this.shape.setTransform(341.025,50.05);

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

	this._renderFirstFrame();

}).prototype = p = new cjs.MovieClip();
p.nominalBounds = new cjs.Rectangle(-7.9,-5.9,741.4,112);


// stage content:
(lib.actividad2juego = 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,juego:1};
	props.loop = loop;
	props.reversed = reversed;
	cjs.MovieClip.apply(this,[props]);

	this.actionFrames = [0,1];
	// timeline functions:
	this.frame_0 = function() {
		escenaIntro = this;
		escenaIntro.stop();
		
		escenaIntro.next.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			document.getElementById("prueba").style.display="flex";
			iniciarContador();
			escenaIntro.gotoAndStop("juego");
		});
		
		escenaIntro.back.on('click', function(){
			pasarEstado();
		});
	}
	this.frame_1 = function() {
		escenaJuego = this;
		escenaJuego.stop();
		
		stage.enableMouseOver();
		
		
		escenaJuego.fichaA.gotoAndStop("letraA");
		escenaJuego.fichaB.gotoAndStop("letraB");
		escenaJuego.fichaC.gotoAndStop("letraC");
		escenaJuego.fichaD.gotoAndStop("letraD");
		escenaJuego.fichaE.gotoAndStop("letraE");
		escenaJuego.fichaF.gotoAndStop("letraF");
		escenaJuego.fichaG.gotoAndStop("letraG");
		escenaJuego.fichaH.gotoAndStop("letraH");
		escenaJuego.fichaI.gotoAndStop("letraI");
		escenaJuego.fichaJ.gotoAndStop("letraJ");
		escenaJuego.fichaK.gotoAndStop("letraK");
		escenaJuego.fichaL.gotoAndStop("letraL");
		escenaJuego.fichaM.gotoAndStop("letraM");
		escenaJuego.fichaN.gotoAndStop("letraN");
		escenaJuego.fichaO.gotoAndStop("letraO");
		escenaJuego.fichaP.gotoAndStop("letraP");
		escenaJuego.fichaQ.gotoAndStop("letraQ");
		escenaJuego.fichaR.gotoAndStop("letraR");
		escenaJuego.fichaS.gotoAndStop("letraS");
		escenaJuego.fichaT.gotoAndStop("letraT");
		escenaJuego.fichaU.gotoAndStop("letraU");
		escenaJuego.fichaV.gotoAndStop("letraV");
		
		
		escenaJuego.fichaA.cursor = "pointer";
		escenaJuego.fichaB.cursor = "pointer";
		escenaJuego.fichaC.cursor = "pointer";
		escenaJuego.fichaD.cursor = "pointer";
		escenaJuego.fichaE.cursor = "pointer";
		escenaJuego.fichaF.cursor = "pointer";
		escenaJuego.fichaG.cursor = "pointer";
		escenaJuego.fichaH.cursor = "pointer";
		escenaJuego.fichaI.cursor = "pointer";
		escenaJuego.fichaJ.cursor = "pointer";
		escenaJuego.fichaK.cursor = "pointer";
		escenaJuego.fichaL.cursor = "pointer";
		escenaJuego.fichaM.cursor = "pointer";
		escenaJuego.fichaN.cursor = "pointer";
		escenaJuego.fichaO.cursor = "pointer";
		escenaJuego.fichaP.cursor = "pointer";
		escenaJuego.fichaQ.cursor = "pointer";
		escenaJuego.fichaR.cursor = "pointer";
		escenaJuego.fichaS.cursor = "pointer";
		escenaJuego.fichaT.cursor = "pointer";
		escenaJuego.fichaU.cursor = "pointer";
		escenaJuego.fichaV.cursor = "pointer";
		
		let counter = 0;
		
		let funcionContadora = function() {
			escenaJuego.contadorAciertos.text = aciertos;
			switch (palabraA){
				case "correcta":
					escenaJuego.feedbackA.gotoAndStop("ok");
					escenaJuego.fichaA.x=5000;
					escenaJuego.fichaA.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackA.gotoAndStop("wrong");
					escenaJuego.fichaA.x=5000;
					escenaJuego.fichaA.y=5000;
				break;
			}
			switch (palabraB){
				case "correcta":
					escenaJuego.feedbackB.gotoAndStop("ok");
					escenaJuego.fichaB.x=5000;
					escenaJuego.fichaB.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackB.gotoAndStop("wrong");
					escenaJuego.fichaB.x=5000;
					escenaJuego.fichaB.y=5000;
				break;
			}
			switch (palabraC){
				case "correcta":
					escenaJuego.feedbackC.gotoAndStop("ok");
					escenaJuego.fichaC.x=5000;
					escenaJuego.fichaC.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackC.gotoAndStop("wrong");
					escenaJuego.fichaC.x=5000;
					escenaJuego.fichaC.y=5000;
				break;
			}
			switch (palabraD){
				case "correcta":
					escenaJuego.feedbackD.gotoAndStop("ok");
					escenaJuego.fichaD.x=5000;
					escenaJuego.fichaD.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackD.gotoAndStop("wrong");
					escenaJuego.fichaD.x=5000;
					escenaJuego.fichaD.y=5000;
				break;
			}
			switch (palabraE){
				case "correcta":
					escenaJuego.feedbackE.gotoAndStop("ok");
					escenaJuego.fichaE.x=5000;
					escenaJuego.fichaE.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackE.gotoAndStop("wrong");
					escenaJuego.fichaE.x=5000;
					escenaJuego.fichaE.y=5000;
				break;
			}
			switch (palabraF){
				case "correcta":
					escenaJuego.feedbackF.gotoAndStop("ok");
					escenaJuego.fichaF.x=5000;
					escenaJuego.fichaF.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackF.gotoAndStop("wrong");
					escenaJuego.fichaF.x=5000;
					escenaJuego.fichaF.y=5000;
				break;
			}
			switch (palabraG){
				case "correcta":
					escenaJuego.feedbackG.gotoAndStop("ok");
					escenaJuego.fichaG.x=5000;
					escenaJuego.fichaG.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackG.gotoAndStop("wrong");
					escenaJuego.fichaG.x=5000;
					escenaJuego.fichaG.y=5000;
				break;
			}
			switch (palabraH){
				case "correcta":
					escenaJuego.feedbackH.gotoAndStop("ok");
					escenaJuego.fichaH.x=5000;
					escenaJuego.fichaH.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackH.gotoAndStop("wrong");
					escenaJuego.fichaH.x=5000;
					escenaJuego.fichaH.y=5000;
				break;
			}
			switch (palabraI){
				case "correcta":
					escenaJuego.feedbackI.gotoAndStop("ok");
					escenaJuego.fichaI.x=5000;
					escenaJuego.fichaI.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackI.gotoAndStop("wrong");
					escenaJuego.fichaI.x=5000;
					escenaJuego.fichaI.y=5000;
				break;
			}
			switch (palabraJ){
				case "correcta":
					escenaJuego.feedbackJ.gotoAndStop("ok");
					escenaJuego.fichaJ.x=5000;
					escenaJuego.fichaJ.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackJ.gotoAndStop("wrong");
					escenaJuego.fichaJ.x=5000;
					escenaJuego.fichaJ.y=5000;
				break;
			}
			switch (palabraK){
				case "correcta":
					escenaJuego.feedbackK.gotoAndStop("ok");
					escenaJuego.fichaK.x=5000;
					escenaJuego.fichaK.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackK.gotoAndStop("wrong");
					escenaJuego.fichaK.x=5000;
					escenaJuego.fichaK.y=5000;
				break;
			}
			switch (palabraL){
				case "correcta":
					escenaJuego.feedbackL.gotoAndStop("ok");
					escenaJuego.fichaL.x=5000;
					escenaJuego.fichaL.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackL.gotoAndStop("wrong");
					escenaJuego.fichaL.x=5000;
					escenaJuego.fichaL.y=5000;
				break;
			}
			switch (palabraM){
				case "correcta":
					escenaJuego.feedbackM.gotoAndStop("ok");
					escenaJuego.fichaM.x=5000;
					escenaJuego.fichaM.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackM.gotoAndStop("wrong");
					escenaJuego.fichaM.x=5000;
					escenaJuego.fichaM.y=5000;
				break;
			}
			switch (palabraN){
				case "correcta":
					escenaJuego.feedbackN.gotoAndStop("ok");
					escenaJuego.fichaN.x=5000;
					escenaJuego.fichaN.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackN.gotoAndStop("wrong");
					escenaJuego.fichaN.x=5000;
					escenaJuego.fichaN.y=5000;
				break;
			}
			switch (palabraO){
				case "correcta":
					escenaJuego.feedbackO.gotoAndStop("ok");
					escenaJuego.fichaO.x=5000;
					escenaJuego.fichaO.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackO.gotoAndStop("wrong");
					escenaJuego.fichaO.x=5000;
					escenaJuego.fichaO.y=5000;
				break;
			}
			switch (palabraP){
				case "correcta":
					escenaJuego.feedbackP.gotoAndStop("ok");
					escenaJuego.fichaP.x=5000;
					escenaJuego.fichaP.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackP.gotoAndStop("wrong");
					escenaJuego.fichaP.x=5000;
					escenaJuego.fichaP.y=5000;
				break;
			}
			switch (palabraQ){
				case "correcta":
					escenaJuego.feedbackQ.gotoAndStop("ok");
					escenaJuego.fichaQ.x=5000;
					escenaJuego.fichaQ.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackQ.gotoAndStop("wrong");
					escenaJuego.fichaQ.x=5000;
					escenaJuego.fichaQ.y=5000;
				break;
			}
			switch (palabraR){
				case "correcta":
					escenaJuego.feedbackR.gotoAndStop("ok");
					escenaJuego.fichaR.x=5000;
					escenaJuego.fichaR.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackR.gotoAndStop("wrong");
					escenaJuego.fichaR.x=5000;
					escenaJuego.fichaR.y=5000;
				break;
			}
			switch (palabraS){
				case "correcta":
					escenaJuego.feedbackS.gotoAndStop("ok");
					escenaJuego.fichaS.x=5000;
					escenaJuego.fichaS.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackS.gotoAndStop("wrong");
					escenaJuego.fichaS.x=5000;
					escenaJuego.fichaS.y=5000;
				break;
			}
			switch (palabraT){
				case "correcta":
					escenaJuego.feedbackT.gotoAndStop("ok");
					escenaJuego.fichaT.x=5000;
					escenaJuego.fichaT.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackT.gotoAndStop("wrong");
					escenaJuego.fichaT.x=5000;
					escenaJuego.fichaT.y=5000;
				break;
			}
			switch (palabraU){
				case "correcta":
					escenaJuego.feedbackU.gotoAndStop("ok");
					escenaJuego.fichaU.x=5000;
					escenaJuego.fichaU.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackU.gotoAndStop("wrong");
					escenaJuego.fichaU.x=5000;
					escenaJuego.fichaU.y=5000;
				break;
			}
			switch (palabraV){
				case "correcta":
					escenaJuego.feedbackV.gotoAndStop("ok");
					escenaJuego.fichaV.x=5000;
					escenaJuego.fichaV.y=5000;
				break;
				case "incorrecta":
					escenaJuego.feedbackV.gotoAndStop("wrong");
					escenaJuego.fichaV.x=5000;
					escenaJuego.fichaV.y=5000;
				break;
			}
		    counter++;
		}
		let intervalID = setInterval(funcionContadora, 1000);
		
		
		
		escenaJuego.fichaA.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="A";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();	
			document.getElementById("ContenedorLetraA").style.display="flex";
		});
		
		escenaJuego.fichaB.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="B";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraB").style.display="flex";
		});
		
		escenaJuego.fichaC.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="C";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraC").style.display="flex";
		});
		
		escenaJuego.fichaD.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="D";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraD").style.display="flex";
		});
		
		escenaJuego.fichaE.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="E";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraE").style.display="flex";
		});
		
		escenaJuego.fichaF.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="F";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraF").style.display="flex";
		});
		
		escenaJuego.fichaG.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="G";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraG").style.display="flex";
		});
		
		escenaJuego.fichaH.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="H";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraH").style.display="flex";
		});
		
		escenaJuego.fichaI.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="I";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraI").style.display="flex";
		});
		
		escenaJuego.fichaJ.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="J";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraJ").style.display="flex";
		});
		
		escenaJuego.fichaK.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="K";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraK").style.display="flex";
		});
		
		escenaJuego.fichaL.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="L";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraL").style.display="flex";
		});
		
		escenaJuego.fichaM.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="M";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraM").style.display="flex";
		});
		
		escenaJuego.fichaN.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="N";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraN").style.display="flex";
		});
		
		escenaJuego.fichaO.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="O";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraO").style.display="flex";
		});
		
		escenaJuego.fichaP.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="P";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraP").style.display="flex";
		});
		
		escenaJuego.fichaQ.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="Q";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraQ").style.display="flex";
		});
		
		escenaJuego.fichaR.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="R";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraR").style.display="flex";
		});
		
		escenaJuego.fichaS.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="S";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraS").style.display="flex";
		});
		
		escenaJuego.fichaT.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="T";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraT").style.display="flex";
		});
		
		escenaJuego.fichaU.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="U";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraU").style.display="flex";
		});
		
		escenaJuego.fichaV.on("click", function(evt) {
		    // Código a ejecutar cuando se hace click
			letraSeleccionada="V";
			escenaJuego.globoAprendiz.gotoAndPlay("ini");
			esconderContenedores();
			document.getElementById("ContenedorLetraV").style.display="flex";
		});
	}

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

	// globo
	this.globoAprendiz = new lib.globoTexto();
	this.globoAprendiz.name = "globoAprendiz";
	this.globoAprendiz.setTransform(687.15,85.2,1,1,0,0,0,365.8,50);
	this.globoAprendiz._off = true;

	this.timeline.addTween(cjs.Tween.get(this.globoAprendiz).wait(1).to({_off:false},0).wait(1));

	// letras
	this.back = new lib.Play();
	this.back.name = "back";
	this.back.setTransform(357.65,269.05,0.3264,0.3264,0,0,180,56.6,56.9);
	new cjs.ButtonHelper(this.back, 0, 1, 2, false, new lib.Play(), 3);

	this.next = new lib.sig();
	this.next.name = "next";
	this.next.setTransform(906.45,271,0.3335,0.3331,0,0,0,20.9,40.6);
	new cjs.ButtonHelper(this.next, 0, 1, 2, false, new lib.sig(), 3);

	this.instance = new lib.CachedBmp_455();
	this.instance.setTransform(370.1,57.6,0.5,0.5);

	this.fichaV = new lib.fichaLetraMc();
	this.fichaV.name = "fichaV";
	this.fichaV.setTransform(957.95,238.65,1,1,0,0,0,27.2,27.2);

	this.fichaU = new lib.fichaLetraMc();
	this.fichaU.name = "fichaU";
	this.fichaU.setTransform(896.4,238.65,1,1,0,0,0,27.2,27.2);

	this.fichaT = new lib.fichaLetraMc();
	this.fichaT.name = "fichaT";
	this.fichaT.setTransform(835.2,238.65,1,1,0,0,0,27.2,27.2);

	this.fichaS = new lib.fichaLetraMc();
	this.fichaS.name = "fichaS";
	this.fichaS.setTransform(774,238.65,1,1,0,0,0,27.2,27.2);

	this.fichaR = new lib.fichaLetraMc();
	this.fichaR.name = "fichaR";
	this.fichaR.setTransform(712.8,238.65,1,1,0,0,0,27.2,27.2);

	this.fichaQ = new lib.fichaLetraMc();
	this.fichaQ.name = "fichaQ";
	this.fichaQ.setTransform(651.6,238.65,1,1,0,0,0,27.2,27.2);

	this.fichaP = new lib.fichaLetraMc();
	this.fichaP.name = "fichaP";
	this.fichaP.setTransform(590.4,238.65,1,1,0,0,0,27.2,27.2);

	this.fichaO = new lib.fichaLetraMc();
	this.fichaO.name = "fichaO";
	this.fichaO.setTransform(529.2,238.65,1,1,0,0,0,27.2,27.2);

	this.fichaN = new lib.fichaLetraMc();
	this.fichaN.name = "fichaN";
	this.fichaN.setTransform(468,238.65,1,1,0,0,0,27.2,27.2);

	this.fichaM = new lib.fichaLetraMc();
	this.fichaM.name = "fichaM";
	this.fichaM.setTransform(406.8,238.65,1,1,0,0,0,27.2,27.2);

	this.fichaL = new lib.fichaLetraMc();
	this.fichaL.name = "fichaL";
	this.fichaL.setTransform(345.6,238.65,1,1,0,0,0,27.2,27.2);

	this.fichaK = new lib.fichaLetraMc();
	this.fichaK.name = "fichaK";
	this.fichaK.setTransform(957.95,172.35,1,1,0,0,0,27.2,27.2);

	this.fichaJ = new lib.fichaLetraMc();
	this.fichaJ.name = "fichaJ";
	this.fichaJ.setTransform(896.4,172.35,1,1,0,0,0,27.2,27.2);

	this.fichaI = new lib.fichaLetraMc();
	this.fichaI.name = "fichaI";
	this.fichaI.setTransform(835.2,172.35,1,1,0,0,0,27.2,27.2);

	this.fichaH = new lib.fichaLetraMc();
	this.fichaH.name = "fichaH";
	this.fichaH.setTransform(774,172.35,1,1,0,0,0,27.2,27.2);

	this.fichaG = new lib.fichaLetraMc();
	this.fichaG.name = "fichaG";
	this.fichaG.setTransform(712.8,172.35,1,1,0,0,0,27.2,27.2);

	this.fichaF = new lib.fichaLetraMc();
	this.fichaF.name = "fichaF";
	this.fichaF.setTransform(651.6,172.35,1,1,0,0,0,27.2,27.2);

	this.fichaE = new lib.fichaLetraMc();
	this.fichaE.name = "fichaE";
	this.fichaE.setTransform(590.4,172.35,1,1,0,0,0,27.2,27.2);

	this.fichaD = new lib.fichaLetraMc();
	this.fichaD.name = "fichaD";
	this.fichaD.setTransform(529.2,172.35,1,1,0,0,0,27.2,27.2);

	this.fichaC = new lib.fichaLetraMc();
	this.fichaC.name = "fichaC";
	this.fichaC.setTransform(468,172.35,1,1,0,0,0,27.2,27.2);

	this.fichaB = new lib.fichaLetraMc();
	this.fichaB.name = "fichaB";
	this.fichaB.setTransform(406.8,172.35,1,1,0,0,0,27.2,27.2);

	this.fichaA = new lib.fichaLetraMc();
	this.fichaA.name = "fichaA";
	this.fichaA.setTransform(345.6,172.35,1,1,0,0,0,27.2,27.2);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance},{t:this.next},{t:this.back}]}).to({state:[{t:this.fichaA},{t:this.fichaB},{t:this.fichaC},{t:this.fichaD},{t:this.fichaE},{t:this.fichaF},{t:this.fichaG},{t:this.fichaH},{t:this.fichaI},{t:this.fichaJ},{t:this.fichaK},{t:this.fichaL},{t:this.fichaM},{t:this.fichaN},{t:this.fichaO},{t:this.fichaP},{t:this.fichaQ},{t:this.fichaR},{t:this.fichaS},{t:this.fichaT},{t:this.fichaU},{t:this.fichaV}]},1).wait(1));

	// feedback
	this.feedbackV = new lib.feedback();
	this.feedbackV.name = "feedbackV";
	this.feedbackV.setTransform(958,238.7);

	this.feedbackU = new lib.feedback();
	this.feedbackU.name = "feedbackU";
	this.feedbackU.setTransform(896.45,238.7);

	this.feedbackT = new lib.feedback();
	this.feedbackT.name = "feedbackT";
	this.feedbackT.setTransform(835.25,238.7);

	this.feedbackS = new lib.feedback();
	this.feedbackS.name = "feedbackS";
	this.feedbackS.setTransform(774.05,238.7);

	this.feedbackR = new lib.feedback();
	this.feedbackR.name = "feedbackR";
	this.feedbackR.setTransform(712.85,238.7);

	this.feedbackQ = new lib.feedback();
	this.feedbackQ.name = "feedbackQ";
	this.feedbackQ.setTransform(651.65,238.7);

	this.feedbackP = new lib.feedback();
	this.feedbackP.name = "feedbackP";
	this.feedbackP.setTransform(590.45,238.7);

	this.feedbackO = new lib.feedback();
	this.feedbackO.name = "feedbackO";
	this.feedbackO.setTransform(529.25,238.7);

	this.feedbackN = new lib.feedback();
	this.feedbackN.name = "feedbackN";
	this.feedbackN.setTransform(468.05,238.7);

	this.feedbackM = new lib.feedback();
	this.feedbackM.name = "feedbackM";
	this.feedbackM.setTransform(406.85,238.7);

	this.feedbackL = new lib.feedback();
	this.feedbackL.name = "feedbackL";
	this.feedbackL.setTransform(345.65,238.7);

	this.feedbackK = new lib.feedback();
	this.feedbackK.name = "feedbackK";
	this.feedbackK.setTransform(958,172.4);

	this.feedbackJ = new lib.feedback();
	this.feedbackJ.name = "feedbackJ";
	this.feedbackJ.setTransform(896.45,172.4);

	this.feedbackI = new lib.feedback();
	this.feedbackI.name = "feedbackI";
	this.feedbackI.setTransform(835.25,172.4);

	this.feedbackH = new lib.feedback();
	this.feedbackH.name = "feedbackH";
	this.feedbackH.setTransform(774.05,172.4);

	this.feedbackG = new lib.feedback();
	this.feedbackG.name = "feedbackG";
	this.feedbackG.setTransform(712.85,172.4);

	this.feedbackF = new lib.feedback();
	this.feedbackF.name = "feedbackF";
	this.feedbackF.setTransform(651.65,172.4);

	this.feedbackE = new lib.feedback();
	this.feedbackE.name = "feedbackE";
	this.feedbackE.setTransform(590.45,172.4);

	this.feedbackD = new lib.feedback();
	this.feedbackD.name = "feedbackD";
	this.feedbackD.setTransform(529.25,172.4);

	this.feedbackC = new lib.feedback();
	this.feedbackC.name = "feedbackC";
	this.feedbackC.setTransform(468.05,172.4);

	this.feedbackB = new lib.feedback();
	this.feedbackB.name = "feedbackB";
	this.feedbackB.setTransform(406.85,172.4);

	this.feedbackA = new lib.feedback();
	this.feedbackA.name = "feedbackA";
	this.feedbackA.setTransform(345.65,172.4);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[]}).to({state:[{t:this.feedbackA},{t:this.feedbackB},{t:this.feedbackC},{t:this.feedbackD},{t:this.feedbackE},{t:this.feedbackF},{t:this.feedbackG},{t:this.feedbackH},{t:this.feedbackI},{t:this.feedbackJ},{t:this.feedbackK},{t:this.feedbackL},{t:this.feedbackM},{t:this.feedbackN},{t:this.feedbackO},{t:this.feedbackP},{t:this.feedbackQ},{t:this.feedbackR},{t:this.feedbackS},{t:this.feedbackT},{t:this.feedbackU},{t:this.feedbackV}]},1).wait(1));

	// fondo_letras
	this.instance_1 = new lib.CachedBmp_456();
	this.instance_1.setTransform(236.2,36.3,0.5,0.5);

	this.shape = new cjs.Shape();
	this.shape.graphics.f().s("#830000").ss(4,1,1).p("Eg50gUpMBzoAAAQBkAAAABkMAAAAmLQAABkhkAAMhzoAAAQhkAAAAhkMAAAgmLQAAhkBkAAg");
	this.shape.setTransform(649.15,157.725);

	this.shape_1 = new cjs.Shape();
	this.shape_1.graphics.f("#E74E25").s().p("Eg50AUqQhjAAAAhkMAAAgmLQAAhkBjAAMBzoAAAQBkAAAABkMAAAAmLQAABkhkAAg");
	this.shape_1.setTransform(649.15,157.725);

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

	// contador
	this.instance_2 = new lib.CachedBmp_458();
	this.instance_2.setTransform(1112.9,271.1,0.5,0.5);

	this.instance_3 = new lib.fondoContador();
	this.instance_3.setTransform(1138.4,297.6,1,1,0,0,0,92.5,26.5);

	this.instance_4 = new lib.CachedBmp_457();
	this.instance_4.setTransform(1022.7,260.45,0.5,0.5);

	this.contadorAciertos = new cjs.Text("0", "46px 'Digital-7'", "#E74E25");
	this.contadorAciertos.name = "contadorAciertos";
	this.contadorAciertos.textAlign = "right";
	this.contadorAciertos.lineHeight = 49;
	this.contadorAciertos.lineWidth = 81;
	this.contadorAciertos.parent = this;
	this.contadorAciertos.setTransform(1195.4,273.1);

	this.shape_2 = new cjs.Shape();
	this.shape_2.graphics.f().s("#000000").ss(3,1,1).p("AyLsQMAkWAAAIAAHMIiCAAIAARVMggVAAAIAAxVIh/AAg");
	this.shape_2.setTransform(1140.55,340.45);

	this.shape_3 = new cjs.Shape();
	this.shape_3.graphics.f("#333333").s().p("AwMMRIAAxVIh/AAIAAnMMAkXAAAIAAHMIiDAAIAARVg");
	this.shape_3.setTransform(1140.55,340.45);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_4},{t:this.instance_3},{t:this.instance_2}]}).to({state:[{t:this.shape_3},{t:this.shape_2},{t:this.instance_3},{t:this.contadorAciertos}]},1).wait(1));

	// pj
	this.instance_5 = new lib.jugador();
	this.instance_5.setTransform(1120.5,142,1,1,0,0,0,69.5,124);

	this.instance_6 = new lib.kelly();
	this.instance_6.setTransform(188.1,382.1,1,1,0,0,0,130.2,364.1);

	this.timeline.addTween(cjs.Tween.get({}).to({state:[{t:this.instance_6},{t:this.instance_5}]}).wait(2));

	// fondo
	this.instance_7 = new lib.fondoactividad1();
	this.instance_7.setTransform(-85,-97,1.0612,1.1636);

	this.timeline.addTween(cjs.Tween.get(this.instance_7).wait(2));

	this._renderFirstFrame();

}).prototype = p = new lib.AnMovieClip();
p.nominalBounds = new cjs.Rectangle(555,70.5,809.5999999999999,726.1);
// library properties:
lib.properties = {
	id: '2C2501AE8DA1461A929F19CE0733B22C',
	width: 1280,
	height: 335,
	fps: 30,
	color: "#FFFFFF",
	opacity: 1.00,
	manifest: [
		{src:"images/actividad2_juego_atlas_1.png?1688513144658", id:"actividad2_juego_atlas_1"},
		{src:"images/actividad2_juego_atlas_2.png?1688513144658", id:"actividad2_juego_atlas_2"},
		{src:"images/actividad2_juego_atlas_3.png?1688513144658", id:"actividad2_juego_atlas_3"},
		{src:"images/actividad2_juego_atlas_4.png?1688513144658", id:"actividad2_juego_atlas_4"}
	],
	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['2C2501AE8DA1461A929F19CE0733B22C'] = {
	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;