MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 101

Actionscript language reference
Table of Contents

Advertisement

// (comment delimiter)
Availability
Flash 1.
Usage
// comment
Parameters
Any characters.
comment
Returns
Nothing.
Description
Comment; indicates the beginning of a script comment. Any characters that appear between the
comment delimiter (
by the ActionScript interpreter.
Example
The following script uses comment delimiters to identify the first, third, fifth, and seventh lines as
comments:
// record the X position of the ball movie clip
var ballX:Number = ball_mc._x;
// record the Y position of the ball movie clip
var ballY:Number = ball_mc._y;
// record the X position of the bat movie clip
var batX:Number = bat_mc._x;
// record the Y position of the ball movie clip
var batY:Number = bat_mc._y;
See also
/* (comment delimiter)
/* (comment delimiter)
Availability
Flash Player 5.
Usage
/* comment */
/*
comment
comment
*/
Parameters
Any characters.
comment
and the end-of-line character are interpreted as a comment and ignored
//)
/* (comment delimiter)
101

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex

Table of Contents