# Loading internal image into dynamic textbox

**URL:** <https://forum.kirupa.com/t/loading-internal-image-into-dynamic-textbox/172525>\
**Category:** flash\
**Created:** [December 15, 2005, 4:41am UTC](https://forum.kirupa.com/t/loading-internal-image-into-dynamic-textbox/172525 "2005-12-15T04:41:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![logikal2](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/logikal2/32/1143_2.png) [@logikal2](https://forum.kirupa.com/u/logikal2)\
**Post date:** [December 15, 2005, 4:41am UTC](https://forum.kirupa.com/t/loading-internal-image-into-dynamic-textbox/172525/1 "2005-12-15T04:41:40Z")

</div>

Hey guys,

I’m having a little trouble loading an INTERNAL image into a dynamic text box. It works fine while loading an EXTERNAL image, such as the following:

```auto
strTxt = "<img src='gorilla.jpg'>";
out.htmlText = strTxt; //out is the dynamic text box name

```

How do I get it so that it’ll load an image within the flash scene?  
I tried

```auto
strTxt = "<img src='_root.gorilla'>";

```

but that doesn’t work, neither does the ‘gorilla’ without the ‘\_root.’ I gave the image an ID name of “gorilla”. The image is in the main directory, where the dynamic text box is. Anyone have an idea? :luigi:

Thanks,  
Matt
