produces:
|========================| |
| hello
| world
|
|========================| |
if you use two newlines, i.e.
mytext = "hello" + newline + newline + "world";
you will produce:
|========================| |
| hello
|
| world
|========================| |
That’s the easy way. If you want even more control, you’ll have to use textFormat;
textFormat, in case you’ve never used it, is a flash object used to control complicated text formatting.
It has a property called “leading” which controlls the amount of vertical space between lines. For example, let’s say you have a dynamic multiline textbox on your stage called “myTextBox”: