Search tutorials
Action Analysis
Here's the ActionScript from the 2nd Keyframe again: this is the important one!
The variable CopyCount increases by 1 each time the movie loops. When it reaches 10, it is set back to 1, and so loops around again.
The last line makes a duplicate of the original movie clip (Star1), and calls it Star2 or Star3 or Star4 etc., depending on the value of CopyCount.
When CopyCount goes back to 1, it 'overwrites' the original Star1, then Star2, and so on. In this way, there are only ever 10 movie clips.
| » Level Advanced |
|
Added: 1999-12-20 Rating: 8 Votes: 469 |
| » Author |
| No information about the author has been provided |
| » Download |
| Download the files used in this tutorial. |
| Download (46 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!