I have a text box that is displayed next to the avatar when a person types in a field. When the text is displayed, everyone in the room can see what was written. I also have a graphic that displays many emoticons. When a person clicks on an emoticon, that emoticon is displayed in the avatar's text box. The problem is that the graphic is only displayed on the screen of the person who chose it. The rest of the users in the room only see the name of the graphic.
Here is the code for the text:
Code: Select all
avatar.textBubble.message.text = msg;
Here is the code for the graphic:
Code: Select all
avatar.textBubble.message.htmlText = "<p><img src='icon14.png' width='58' height='58'></p>"
I cannot figure out what the problem is. I also tried to use a jpeg version of the graphic and that did not work either. What can I do to fix this problem?
Thanks.