Weird note of the day. If you place a multiline input Textfield on the stage (as opposed to creating it with the class constructor), it will contain a newline by default rather than the expected null. Simply reset it to proceed normally:
myTextField.text = ""

Trackback

only 1 comment so far

  1. hi
    was looking on how to detect the newline in the first place
    found out its hard return ’\r’while i stumbled upon this.

    Thats a neat bit of info to know.
    Thanks.

     

    ReplyReply
     

Add your comment now