Loading a *.txt innto flash

Hey i want to import the content of a txt document to a flash website.

I got this code to import the text:

var myTextLoader:URLLoader = new URLLoader();
myTextLoader.dataFormat=URLLoaderDataFormat.VARIABLES;

myTextLoader.addEventListener(Event.COMPLETE, onLoaded);

function onLoaded(e:Event):void {
trace(e.target.data.myTitle);
trace(e.target.data.myBody);
trace(e.target.data.myURL);
}

myTextLoader.load(new URLRequest(“myText.txt”));

I am wondering how i will make that text load into a dynamic textfield.

Anyone got any input? :slight_smile: