Weird textfield bug

Subscribe to Weird textfield bug 2 posts

avatar for camb0 camb0 4 posts
Flag Post

I’m working on a little project which is an mmo where you walk (or drive) around a city and talk to people and get jobs and other stuff.

There’s a textfield above each player’s head and I’m trying to set the text in the fields by txt_chat.text = “insert chat message here”; but the textfield just appends the text to the next line.

 
avatar for player_03 player_03 1249 posts
Flag Post

What happens if you add “trace(txt_chat.text);” immediately afterwards? How about “trace(chatMessage);” (or whatever you call that variable)?