Home - Computing -

So You Fancy a Preloader?

     

Flash files getting big, what something jazzy to spice it up while the user waits, your after a preloader then my friend and here's how to programme on in Macromedia Flash,

Step One

Create and animation of any size that you would like to display during your preloader

Step Two

Insert an new layer (Insert - Timeline - Layer) and call it actions

Step Three

On the first frame insert the following code (\\ lines are comments and do not need to be entered)

// change 11 to the total number of frames in your movie
if (_framesloaded>=11) {
//Change this following number 11 to the first scene in your movie
gotoAndPlay("11");
}

Step Four

At the end of your animation insert the following code

gotoAndPlay("1");

This will make the preloader loop until the condition is meet (i.e. all your frames are loaded)

 

Too Lazy?

If your too lazy to do that right click here and select save target and steal / borrow my efforts. If you'd like to show your appreciation drop me an email or post a link to my site on your webpage.

 

     
Main Index  
     
     
     
     
Home - Computing -
 
You can get help with HTML, Flash, Java and a multitude of other computing issues in our forum
 
Discuss in our forum