Operators > // (comment delimiter)
// (comment delimiter)Syntax
// comment
Arguments
comment
Text that is not part of the code, and should be ignored by the interpreter.
Description
Comment; indicates the beginning of a script comment. Any text that appears between the comment delimiter //
and the end-of-line character is interpreted as a comment and ignored by the ActionScript interpreter.
Player
Flash 1 or later.
Example
This script uses comment delimiters slash to identify the first, third, fifth, and seventh lines as comments:
// set the X position of the ball movie clip ball = getProperty(ball._x); // set the Y position of the ball movie clip ball = getProperty(ball._y); // set the X position of the kitty movie clip kitty = getProperty(kitty._x); // set the Y position of the kitty movie clip kitty_y = getProperty(kitty._y);
See also