After we have constructed the message, we have to create the necessary variables. Looking at the idea and our considerations, we reach the following variables:
Variables, which are used to describe the movement of a movie clip
A variable, which determines the distance between two movie clips
Variables, which determines the starting positions of the movie clips
A variable, which is used as a counter for our loops
A variable, which keeps track of all of the movie clips
A variable, which returns the number of movie clips
The first step is due to that we need to know, how fast we have to move the movie clips, while the second is because we also need to know the position, which we are moving towards. The third step is used so that we know where to start, when the user opens the file. The fourth is quite logical, since we need to perform the same actions to every movie clip. In this context, we need a counter to know, which movie clip we have reached. The last steps are also quite logical, since we need to state, which movie clip we are dealing with and how many movie clips there are. After we have outlined, which variables we need, we can then construct this: