/* (comment delimiter)

Availability

Flash Player 5.

Usage

/* comment */
/*
comment
comment
*/ 

Parameters

comment Any characters.

Returns

Nothing.

Description

Comment; indicates one or more lines of script comments. Any characters that appear between the opening comment tag /* and the closing comment tag */, are interpreted as a comment and ignored by the ActionScript interpreter. Use the first type of syntax to identify single-line comments. Use the second type of syntax to identify comments on multiple successive lines. Leaving off the closing tag */ when using this form of comment delimiter returns an error message.

Example

This script uses comment delimiters at the beginning of the script.

/* records the X and Y positions of the 
ball and bat movie clips
*/

ballX = ball._x;
ballY = ball._y;
batX = bat._x;
batY = bat._y;

See also

// (comment delimiter)