 				_htmlText = value;
 				try{
 					var xmllist:DOMParser = new DOMParser();
-					var hd:HTMLDocument= xmllist.parseFromString(value, "text/html") as HTMLDocument;
-					//for each(var xml:XML in xmllist){
+					var hd:HTMLDocument = parseFromString(value);
+					
+					for(var i:int=0;i<hd.body.childNodes.length;i++){
+						doXML(hd.body.childNodes[i],_textFormat.font, int(_textFormat.size),int(_textFormat.color),null,int(_textFormat.indent),int(_textFormat.underline));
+					}
+					
+					//for e(var xml:XML in xmllist){
 						//doXML(xml, _defFont, _defSize, _defColor,null,_indent,_defUnderline);
 					//}
 				}catch (err:Error){

			}
			return r;
		}
	}
}

			}
		}
		
		private function doXML(xml:Node, font:String, fontSize:int, color:uint, href:String,indent:int,underline:int):void {
			//this.href = href;
			/*if (xml==null){
				return;
			}
			var l:String = xml.nodeName;
			if (l == "br"){
				var txt:String = "\n";
			}else if(l=="#text"){
				txt = xml.toString().replace(/&nbsp;/g," ");
				txt = txt.replace(/ﾠ/g," ");
			}
