Weird textfield bug

2 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.

Flag Post

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