nextFrame() 567
newline
Availability
Flash Player 4.
Usage
newline
Parameters
None.
Returns
Nothing.
Description
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.
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);
nextFrame()
Availability
Flash 2.
Usage
nextFrame()
Parameters
None.
Returns
Nothing.
Description
Function; sends the playhead to the next frame and stops it.
Example
In this example, when the user clicks the button, the playhead goes to the next frame and stops.
on (release) {
nextFrame();
}