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
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
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.
This behavior hasn't changed from earlier versions of AS.
Does anyone know any way around this other than calculating
the text length
and appending the
Mail list logo