First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Matthew Damon | Website: http://www.angelfire.com/sports/theplague2001

Creation of Movie Clips

Now it is time to really get into it. You have all the prep work done. To start, create a movie clip and name it "scrollUP". Then create three keyframes in the first layer. In the first frame of the "scrollUP" clip, put the action:

In the second frame, put the actions:
In the third frame put these actions:
Now, copy this movie clip and name it "scrollDN". Then edit the second frame, change it from:

Now make sure that you are editing the main scene, and not a movie clip. Then drag both of the movie clips that you have just created on to the stage. Select the "scrollDN" movie clip and then click the instance tab. In the Name box, type: "scrollDN". Then do the same for the "scrollUP" movie clip, being sure to name it "scrollUP".

Explanation of Code

The first frame of the movie clip just prevents the code in the next two frames from being executed until the user wants it to be (buttons will be explained later). The second frame calls the scroll property of the _root.text1 variable and increases it by one. The third frame makes the second frame run over and over, until the user releases the button. The button actions will come next.

» Level Intermediate

Added: 2001-12-18
Rating: 7 Votes: 120
(10 being the highest)
» Author
Matt is just starting out in the internet world. He operates a website for his paintball team, and has plans to become a computer engineer in the future.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • 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.