newline

Availability

Flash Player 4.

Usage

newline

Parameters

None.

Returns

Nothing.

Description

Constant; inserts a carriage return character ("\n") that inserts a blank line into text output generated by your code. Use newline to make space for information that is retrieved by a function or action in your code.

Example

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);