// (comment)

Availability

Flash Lite 1.0

Usage

// comment

Operands

comment Any characters.

Description

Comment delimiter; indicates the beginning of a script comment. Any characters that appear between the comment delimiter (//) and the end-of-line character are interpreted as a comment and ignored by the ActionScript interpreter.

Example

The following example uses comment delimiters to identify the first, third, fifth, and seventh lines as comments:

// Record the X position of the ball movie clip.
ballX = ball._x;
// Record the Y position of the ball movie clip.
ballY = ball._y;
// Record the X position of the bat movie clip.
batX = bat._x;
// Record the Y position of the bat movie clip.
batY = bat._y;

See also

/* (block comment)