![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 4.
newline
None.
Nothing.
Constant; inserts a carriage return character (\n
) that generates a blank line in text output generated by your code. Use newline
to make space for information that is retrieved by a function or action in your code.
The following example shows how newline
displays output from the trace()
action on multiple lines.
var myName:String = "Lisa", myAge:Number = 30; trace(myName + myAge); trace(myName + newline + myAge);
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |