You probably have a variable (a) for the textbox so add another variable (b) so it is b = a+emoticon then make the dynamic text var b (the second variable).
Doesnt make sense? ah well tough ****. Have a good day.
No, actually it does make sense, but it doesn't work.
Hi and thanks for your reply. I tried that, but it doesn't work. If you create a multiline textbox and place a long text in it, then you use textWidth and textHeight to find the actual coordinates of some character on a line different from the first, you'll end up in the wrong place on the screen. You can test it by trying to attach a movieclip at that location.
mytext.multiline = true;
Here's an example. My textbox contains the following text:
Hello everyone, I'm
Tatiana and I'd like
to insert an emoticon
right after the word
If I use textWidth and textHeight to calculate the exact position of the "t" in the word insert and place the emoticon movieclip next to that position, it will be nowhere near the "t".