i have a simple code for the dynamic textbox, which is multiline, and has htmlText turned on. This is the code
_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:
_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.