lunedì, aprile 09, 2007

Flash: linebreaks within a text field

I know using HTML is one way around this, but this is also a neat simple thing to keep in mind: \r!

mytextfield.text = mytextfield.text + varText1 + "\r"
mytextfield.text = mytextfield.text + varText2 + "\r"