hmmm, have you tried:

textFieldName.text += "<img>..."

if that is not working, then try building it all in one sentence:

imgAtEnd = "<img>..."
segment1 = "some value" + imgAtEnd;
//segment2 = same as segment 1 and 3 and 4 only with new different values
textFieldName.text = segment1 + segment2 + segment3 + segment4;

Maybe I'm over simplifying though...
:P

Jessica Criscione wrote:
I have an AS3 project where an icon is supposed to follow the text in a
dynamic, multi-line text field. Right now, I'm appending it as an <img> tag
at the end of the text. My problem is that it seems AS3 is always bumping
the img down to a new line unless it's the first item in the string. No
amount of css or parameter settings seem to have any effect.

Does anyone know any way around this other than calculating the text length
and appending the icon clip afterwards? Am I just missing something obvious?
Any help would be greatly appreciated.


Jessica



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to