Problem
Load a text file with html code into Flash
Solution
Use the htmlText method.
Detailed explanation
var myTextObject:URLRequest=new URLRequest("my_content.txt");
var myLoaderObject:URLLoader = new URLLoader();
myLoaderObject.addEventListener(Event.COMPLETE,
myContentWasLoaded);
myLoaderObject.load(myTextObject);
function myContentWasLoaded(e:Event):void {
myContent_txt.htmlText=myLoaderObject.data;
}

An example is in the source of the attached file.
Source:
reading_html
Thank you for reading.
