HTML tags being ignored in XML. NEED HELP

How’s it going, I’m pretty new to AS3 and I’m having some trouble with this code. This is a typewriter effect but i need the XML to also read and render HTML. right now it just types out normal text and if you insert HTML it types out the HTML instead of actually rendering it.

I need to insert a small image after every item in the XML. PLEASE HELP;(

package com.dhmpire {
	
	import flash.display.Sprite;
	import flash.display.MovieClip;
	import flash.display.Stage;
	import flash.net.URLLoader;
	import flash.net.URLRequest;
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;
	import flash.text.AntiAliasType;
	import flash.text.TextFormat;
	import flash.utils.Timer;
	import flash.events.Event;
	import flash.events.TimerEvent;
	import XML;
	import XMLList;
	
	public class TypeWriter extends Sprite {
		
		private var dataURL:String;
		private var textFormat:TextFormat = new TextFormat();
		private var containerMask:Sprite;
		private var typeText:TextField;
		private var textData:String = "";
		private var charCount:int = 0;
		private var loader:URLLoader;
		private var xml:XML;
		private var typeTimer:Timer;
		private var typeInt:Number;
		private var autoStart:Boolean = false;
		private var isLoaded:Boolean = false;
		private var isTyping:Boolean = false;
		private var currentY:Number = 0;
		private var cursor:String = "|";
		
		public function TypeWriter(objContainer:Object, x:Number, y:Number, width:Number, height:Number, url:String, fontName:String, fontSize:Number = 14, fontColor:Number = 0, typeInterval:Number = 50, cursorSymbol:String = "_", auto:Boolean = false) {
			dataURL = url;
			textFormat.font = fontName;
			textFormat.size = fontSize;
			textFormat.color = fontColor;
			typeInt = typeInterval;
			autoStart = auto;
			cursor = cursorSymbol;

			typeText = new TextField();
			typeText.autoSize = TextFieldAutoSize.LEFT;
			typeText.antiAliasType = AntiAliasType.ADVANCED;
			typeText.multiline = true;
			typeText.wordWrap = true;
			typeText.width = width;
			typeText.height = 0;
			typeText.embedFonts = true;
			typeText.defaultTextFormat = textFormat;
			typeText.x = x;
			typeText.y = y;
			typeText.text = cursor;
			objContainer.addChild(typeText);
			
			containerMask = new Sprite();
			containerMask.graphics.beginFill(0);
			containerMask.graphics.drawRect(x, y, width, height);
			containerMask.graphics.endFill();
			objContainer.addChild(containerMask);
			typeText.mask = containerMask;
			
			loader = new URLLoader(new URLRequest(dataURL));
			loader.addEventListener(Event.COMPLETE, initTypewriter);
			
			typeTimer = new Timer(typeInt);
			typeTimer.addEventListener(TimerEvent.TIMER, typeCharacter);
		}
		
		private function initTypewriter(e:Event):void {
			xml = new XML(e.target.data);
			var xmlList:XMLList = xml.children();
			var tempText:String = "";
			for(var i:int = 0; i < xmlList.length(); i++){
				var newLine:String = xmlList*.text();
				textData += newLine.replace(/
/g, "
");
				if (i < xmlList.length() - 1) textData += "

";
			}
			isLoaded = true;
			if (autoStart) start();
		}
		
		public function start():void {
			if (isLoaded) {
				if (!isTyping) {
					typeTimer.start();
					isTyping = true;
				}
			} else {
				autoStart = true;
			}			
		}
		
		public function stop():void {
			if (isTyping) {
				typeTimer.stop();
				isTyping = false;
			}
		}
		
		public function pause():void {
			if (isTyping) {
				stop();
			} else {
				start();
			}
		}

		private function typeCharacter(e:TimerEvent=null):void {
			var nextChar:String = textData.substr(charCount, 1);
			if (cursor != "") {
				typeText.replaceText(charCount, charCount+1, nextChar + cursor);
			} else {
				typeText.appendText(nextChar);
			}
			charCount++;
			if (containerMask.height < typeText.height + currentY) {
				currentY -= Number(textFormat.size) + 1.5;
				typeText.y = Math.round(currentY);
			}
			if(charCount >= textData.length){
				stop();
				if(cursor != "") typeText.replaceText(charCount, charCount+1, "");
			}
		}
		
	}

}