How to create an textfield instance so i can control it?

hello,

I am using this function to create a textfield, but i can’t control it i like to hide it when a cubes rotation is completed.

I think i should use removeChild(), but i don’t see how


private function createText(inputtext:String, thisX:int, thisY:int):void {
		//texten

		var MC:MovieClip = new MovieClip();
		
		MC.x = thisX;
		MC.y = thisY;

		var txtFormat:TextFormat = new TextFormat();
		
		var txtField:TextField = new TextField();
		txtFormat.font= "foo";
		txtFormat.color = 0xCCCCCC;
		txtFormat.size = 24;
		txtFormat.bold = true;
		txtField.embedFonts = true;
		txtField.text = inputtext;
		txtField.autoSize =  TextFieldAutoSize.LEFT;

		txtField.setTextFormat(txtFormat);
		MC.addChild(txtField); 
		addChild(MC);
	}

 private function rotateCubesRed():void {
		//TEST
		TweenLite.to(cube1, 1.4, { y:120, ease:Quint.easeInOut, onComplete:function():void { 
			createText("TEST", 250, 70);
			TweenLite.to(cube1, 5, { rotationY: +360, onComplete:function():void {
			   TweenLite.to(cube1, 1.4, { y:0, onComplete:function():void {
						//hide text
						
						//and go to the next cube
				   }} );
		   }} );
        }});

How should i alter my AS3 code??