I'm trying to create a field that looks like a chat program. I'd like to have avatars at the start of each sentence, the username, and then their message text. However, I'm finding that the imagesource image vanishes whenever I add text after it. The script I have for this is:
Code: Select all
put "user1 is typing..." into line 5 of field "chat"
wait 1 second with messages
put user1: hey :)" into line 5 of field "chat"
set the imagesource of char 1 of line 5 of field "chat" to 1013
wait 1 second with messages
--second user's message
put "user2 is typing..." into line 6 of field "chat"
wait 1 second with messages
put empty into line 6 of field "chat"
put " user2: hi there." into line 6 of field "chat"
I'd also be interested in how else I could present the icons and messages. For instance, is there some way I could use the table feature to better align the icons and messages?
Cheers,
Tamara