var mytextfield_txt:TextField = new TextField();
mytextfield_txt.text = "Hello ";
mytextfield_txt.text += "World..!";
// Hello World..!
The new appendText method does the same, but it is a more
efficient and faster way of doing it.
var mytextfield_txt:TextField = new TextField();
mytextfield_txt.text = "Hello ";
mytextfield_txt.appendText("World..!");
// Hello World..!
No comments:
Post a Comment