IPOWERWEB.com

 Affordable, reliable
web hosting solutions

Call IPOWERWEB Today at 1-888-511-HOST Chat with an IPOWERWEB representative LIVE!
24/7x365 service - Live Technical Support

Domain Name Registration
web hosting services
cheap web hosting
IPOWERWEB help section
contact IPOWERWEB
testimonials for best hosting
affordable web hosting
IPOWERWEB web hosting
IPOWERWEB accolades
best domain prices


Web Hosting Money Back Guarantee
home build profit promote manage


Preload Animations in Flash

Home > Build > Software > Flash

by Don Herion

(1) (2)

Have you ever wondered how to add that 'loading' animation effect while your main animation preloads? Well, I have, and this tutorial will lay out the process step by step.

Create a 'Loading' Animation
My first step was to build a very tiny animation that will play while my main animation preloads in the background. The animation will be saved as a 'movie' symbol. The design was simple. I wanted an animated graphic with the word 'loading' fading in and out. Remember, keep it simple, small and save it as a 'movie' symbol. A movie symbol can play within a single frame of another Flash animation.

Here is mine. The file is less than 2kb in size.

preload animation

Rules
There are some basic rules you must follow to preload an animation.

  1. Frames 1 and 2 must be blank keyframes. These are needed to add the preload actions.
  2. The animation can begin on frame 3 or later.
  3. You should have a loading 'movie clip' symbol to play so your audience knows what is happening.

I decided to open an existing Flash project that comes with the program - Spotlight Mask.fla. I shifted the keyframes for this project to frame 3.

Step 1
As stated in the 'Rules', create 2 blank keyframes (F7) in layer 1 (rename the layer 'Preload Action') at frame 1 and 2. The 'Spotlight Mask' animation will start in frame 3.

Step 2
Double click Frame 1. This brings opens your 'Frame' actions Palette.

Step 3
Click 'Actions.' In the 'Action' category locate 'IfFrameLoaded.' Double click to insert the action. Under 'Type' choose 'Expression' from the drop down menu. Then type in '_totalframes' in the 'Frame' text field.

 
home | products | about us | help center | testimonials | press room | contact us
affiliates | careers | domain names | web hosting | site map

Copyright © 1999-2007 IPOWER, Inc. Read our Terms and Conditions. All rights reserved.