# Loading dynamic text into Flash MX (help)

**URL:** <https://forum.kirupa.com/t/loading-dynamic-text-into-flash-mx-help/213072>\
**Category:** Uncategorized\
**Created:** [January 16, 2007, 7:59pm UTC](https://forum.kirupa.com/t/loading-dynamic-text-into-flash-mx-help/213072 "2007-01-16T19:59:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgiblin](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@cgiblin](https://forum.kirupa.com/u/cgiblin)\
**Post date:** [January 16, 2007, 7:59pm UTC](https://forum.kirupa.com/t/loading-dynamic-text-into-flash-mx-help/213072/1 "2007-01-16T19:59:23Z")

</div>

Hello, does any ont know which HTML tags are acceptable when trying to load data into Flash from an external .txt file? This is the code I have used in Flash:

loadText = new loadVars();  
loadText.load(“merch.txt”);  
loadText.onLoad = function(success) {  
if (success) {  
// trace(success);  
merch.html = true;  
merch.htmlText = this.merch;  
}  
};

It loads text okay, but I am trying to load images too. I am just using the standard HTML imgae tag: \<img src=“image.jpg”\> but is not loading the image.

Does anyone know how to make this work correctly?

Thanks!
