MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 567

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

newline
Availability
Flash Player 4.
Usage
newline
Parameters
None.
Returns
Nothing.
Description
Constant; inserts a carriage return character (
generated by your code. Use
function or action in your code.
Example
The following example shows how
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();
}
) that generates a blank line in text output
\n
to make space for information that is retrieved by a
newline
displays output from the
newline
action on
trace()
nextFrame()
567

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Table of Contents