First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Morten Barslund (GotCha) | Website: http://www.hhbk.subnet.dk/GotCha.html

The Foundation (cont.)

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:

  1. Variables, which are used to describe the movement of a movie clip
  2. A variable, which determines the distance between two movie clips
  3. Variables, which determines the starting positions of the movie clips
  4. A variable, which is used as a counter for our loops
  5. A variable, which keeps track of all of the movie clips
  6. 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:

myRatio = 5; 
myFriction = 1.75; 
letterSpace = 12; 
startX = 225; 
startY = 300; 
i = 1; 
myTrails = new Array(); 
myLength = myText.length; 
» Level Advanced

Added: 2000-12-30
Rating: 8 Votes: 104
(10 being the highest)
» Author
:)
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

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

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.