# Image and textbox

**URL:** <https://forum.kirupa.com/t/image-and-textbox/193385>\
**Category:** Uncategorized\
**Created:** [July 13, 2006, 12:17am UTC](https://forum.kirupa.com/t/image-and-textbox/193385 "2006-07-13T00:17:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.kirupa.com/u/kdd)\
**Post date:** [July 13, 2006, 12:17am UTC](https://forum.kirupa.com/t/image-and-textbox/193385/1 "2006-07-13T00:17:33Z")

</div>

i have a simple code for the dynamic textbox, which is multiline, and has htmlText turned on. This is the code

```auto

_root.myText.htmlText = "hi there";
_root.myText.htmlText += "<img src=\"someimage.jpg\">";
_root.myText.htmlText += "test";

```

this is what gets displayed:

hi there  
[image goes here]test

why wouldn’t this display as something like this?  
hi there[image]test

i tried to put everything on oneline, like this:

```auto

_root.myText.htmlText = "hi there<img src=\"someimage.jpg\">test";

```

this gets displayed like this:  
hi theretest  
[image]

why doesn’t it display the image in the middle?

also, what can i do to select the image? thanks. 🙂
