MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 243

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

Advertisement

/* (comment delimiter)
Availability
Flash Player 5.
Usage
/* comment */
/*
comment
comment
*/
Parameters
Any characters.
comment
Returns
Nothing.
Description
Comment; indicates one or more lines of script comments. Any characters that appear between
the opening comment tag
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
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)
and the closing comment tag
/*
when using this form of comment delimiter returns an
*/
, are interpreted as a comment
*/
/* (comment delimiter)
243

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?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents