![]() ![]() | |
Flash Player 5.
/*comment*//*commentcomment*/
comment Any characters.
Nothing.
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.
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;
![]() ![]() | |