First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: Kenton Hamaluik

Getting Started

The first thing I always do when making a preloader is to create the preloader it's very own scene (makes things less confusing, etc but you can make it in the main scene if you wish).

Add a new scene to your movie by going Modify -<%gt%> Scene and then clicking on the little "plus" picture. Now go to the new scene.

You might wanna set up a few objects right now, to get them out of the way. We will set up the loading bar, and a percent text box. The loading bar is just an animation that takes up EXACTLY 100 frames. i usually just make this a bar with a shape tweened mask over it, as in the picture; but you may do anything you wish.

Draw a bar on your canvas, select it, and press F8 to convert it into a symbol. Edit this new symbol so that it is an animation of 100 frames; no more, no less.

One way of doing this is to create another layer over top of the bar. On the layer with the bar, select frame 100 and press F5. On the layer above it (frame 1), draw a tiny box that barely covers on edge then on frame 100 press F6 and make the box longer, so it just covers the box underneath it. Now on this new layer somewhere, click on any frame and go to the properties box. In here, select Shape Tweening from the drop-down menu. Now make the top layer a mask, to create a growing bar!

Now that you have acomplished this, go back to your preloader scene, and create a new textbox. Make it a dynamic textbox, and give it the variable of: percentLoadedText making sure it is big enough. While you are here, you might as well give the bar an instance name. Simply call it "bar"

Easy as pie. Now for the Actionscipt!

» Level Intermediate

Added: 2003-07-15
Rating: 6 Votes: 38
(10 being the highest)
» Author
Just 14 years old, I play with flash and wish to get good at it. :)
» 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: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
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: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.