# \[FMX2004\] htmlText problem

**URL:** <https://forum.kirupa.com/t/fmx2004-htmltext-problem/51393>\
**Category:** flash\
**Created:** [May 12, 2004, 3:53pm UTC](https://forum.kirupa.com/t/fmx2004-htmltext-problem/51393 "2004-05-12T15:53:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerartje](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@gerartje](https://forum.kirupa.com/u/gerartje)\
**Post date:** [May 12, 2004, 3:53pm UTC](https://forum.kirupa.com/t/fmx2004-htmltext-problem/51393/1 "2004-05-12T15:53:11Z")

</div>

Hello,

i’m making a small “add news” movie for a site in actionscript.  
When I insert an image in my textField, I can only move the cursor with my keys and not with my mouse anymore.  
I put the image always in front. I also have to click one time in my textfield, otherwise my text appears under my image. When I click it aligns to the right.  
Anybody? 🙂

this is the code…

```auto

image_toevoegen_mc.onRelease = function()
	{
		deel1 = _level0.newsMC.imageMC.imageInputTxt.text;
		deel2 = inhoud.htmlText;
		
		if (deel1.length == 0)
		{
			deel1 = "";
		}
		else
		{
			deel1 = "<img src='"+deel1+"'>";
		}
		
		volledig = deel1+deel2;
		inhoud.htmlText = volledig;
		
	};

```
