function tekst() {

		var canvas = document.getElementById("element_canvas");
		var stage = new createjs.Stage(canvas);
		
		var kontekst_renderowania = canvas.getContext('2d');

		var tekst = new createjs.Text("Frameworki JavaScript", "20px Georgia", "#00B0F0");
		

		stage.addChild(tekst);

		tekst.x = 300;
		tekst.y = -20;
		
		stage.update();

		
		var tween = createjs.Tween.get(tekst, {loop:true})
                         .wait(1500)
                         .to({x:300, y:200}, 4500, createjs.Ease.elasticOut)
                         .to({regX:0, regY:0, rotation:90}, 4500, createjs.Ease.elasticOut)
                         .to({scaleX:1.3, scaleY:1.3}, 1000, createjs.Ease.quintOut)
                         .to({regX:1, regY:1, rotation:0}, 500, createjs.Ease.backIn)
                         .wait(2000)
                         .to({x:30, y:200}, 1000, createjs.Ease.quartIn)
                         .to({scaleX:2.5, scaleY:2.5}, 3000, createjs.Ease.bounceOut)
                         .wait(2000)
                         .to({alpha:0.1}, 1000, createjs.Ease.linear)
                         .to({alpha:1}, 1000, createjs.Ease.linear)
                         .to({alpha:0.1}, 1000, createjs.Ease.linear)
                         .to({alpha:1}, 1000, createjs.Ease.linear)
                         .to({skewX:50, skewY:0}, 500, createjs.Ease.cubicOut)
                         .to({skewX:0, skewY:20}, 500, createjs.Ease.quintOut)
                         .to({skewX:-50, skewY:0}, 500, createjs.Ease.cubicOut)
                         .to({skewX:0, skewY:-20}, 500, createjs.Ease.quintOut)
                         .to({skewX:0, skewY:0}, 500, createjs.Ease.linear)
                         .wait(2000)
                         .to({scaleX:1, scaleY:1}, 3000, createjs.Ease.bounceOut)
                         .to({x:500, y:200, scaleX:1.5, scaleY:1.5, skewX:-360, skewY:0}, 1000, createjs.Ease.linear)
                         .wait(2000)
                         .to({x:30, y:200, scaleX:1.5, scaleY:1.5, skewX:360, skewY:0}, 1000, createjs.Ease.linear)
                         .wait(2000)
                         .to({alpha:0}, 1000, createjs.Ease.linear);
                         
   createjs.Ticker.addEventListener("tick", stage);
	}