# Dynamic HTML in .txt image problem

**URL:** <https://forum.kirupa.com/t/dynamic-html-in-txt-image-problem/244418>\
**Category:** Uncategorized\
**Created:** [November 17, 2007, 7:31pm UTC](https://forum.kirupa.com/t/dynamic-html-in-txt-image-problem/244418 "2007-11-17T19:31:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iSilkin](https://avatars.discourse-cdn.com/v4/letter/i/aca169/32.png) [@iSilkin](https://forum.kirupa.com/u/iSilkin)\
**Post date:** [November 17, 2007, 7:31pm UTC](https://forum.kirupa.com/t/dynamic-html-in-txt-image-problem/244418/1 "2007-11-17T19:31:08Z")

</div>

Hi, guys I am a designer and I am trying to dynamically load HTML coded text into a textfield through bio.txt file.  
I am currently uing this code to load the text but the image doesnt show.  
Any ideas why?

var [url:String](http://www.kirupa.com/forum/String) = “bio.txt”;  
var loadit:URLLoader = new URLLoader();  
loadit.addEventListener(Event.COMPLETE, completeHandler);  
loadit.load(new URLRequest(url));  
function completeHandler(event:Event):void {  
bio\_txt.text = event.target.data as ;  
}

and in the bio.txt I am using this  
text text text text\<img src=“images/profile.jpg”/\> text text

Thanks a lot in advance.
