EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 567

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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();
}

Table of Contents

Related product manuals