How to create a Preloader with Circular Animation

  • Share/Bookmark
September 29, 2009 by: EDS

circular_preloader180circular_preloader600

In this tutorial we will learn how to create a flash preloader with a great circular animations using the glow filter with different colors. Advanced User Level

Step 1

Create a New File with Action Script 2.0 and go to Modify – Document (CTRL + J) and do the settings below:

step1

With the Oval Primitive Tool (O) draw a circle with 100 Width and 100 Height with the color #222222 and the line color #333333 with Inner Radius 90. Align it to center using Align Panel (CTRL + K).

Select your circle, right click and choose “Convert to Symbol” or simply press F8 (select Movie Clip and click OK).

One more time select your circle, right click and choose “Convert to Symbol” .

Double click you circle movie clip and inside, create a new layer named “circular_animation” and rename the old layer “circle” and block it!

step1b

Step 2

Now we must add the circular animation effect.

With the Oval Primitive Tool (O) draw a circle with 20 Width and 20 Height with the color #99FF00 and Convert it to Movie Clip by pressing F8.

From the Filter Panel, add Blur Effect with 12 X and 12 Y in High Quality.

step2

With the Free Transform Tool (Q) select the little circle from the center of your green circle and move it in the center of the big grey circle! Press F8 and convert the green circle again into a movie clip.

step2b

Double click the green object and Insert a New Keyframe to Frame 60 – click on Frame 60 and press F6 or right click and select Insert Keyframe.

Right Click on the Frame 1 and select Create Motion Tween.

step2c

Step 3

Go to Main Scene and double click the big circle and insert a new layer and rename it to “text”.

With the Text Tool (T) add a text “Loading” in the center of the big circle, select it and convert it to a movie clip, twice and see the image below:

step3

In the end go to main scene and insert a Keyframe on Frame 2 and for both frames, 1 and 2, press F9 for each one and add the stop(); action script code. In the frame 2 delete all objects and insert a text “Content Loaded” and import a big image to load some megabytes.

step3b

Now select the big circle from the frame 1 and press F9 to open the Action Script Panel and write the following code:

onClipEvent(load) {
total = _root.getBytesTotal();
}

onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int(loaded/total*100);
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(2);
}
}

To add more circular effects with different colors duplicate symbols and simply change their base colors and for a great result try to modify their position or rotation.

Final Results

Download Files


Donate to Extreme Design Studio

Rate this Post

1 Star2 Stars3 Stars4 Stars5 Stars (6 votes, average: 3.83 out of 5)
  • Share/Bookmark


Now what?
You have reached the end of the post. You can try the similar posts below.

Related Post
Beautiful Advanced Preloader with Reflection
Related Post
Crysis Flash Preloader Concept
Related Post
Neon Glow Preloader in Flash CS3
Related Post
How to create an XML Driven Intro with Beautiful Effects


Comments (20 Comments)

20 Responses to “How to create a Preloader with Circular Animation”
  1. Tirath says:

    You make GREAT tutorials.
    Awesome job
    You make everything look easy.
    keep up good work man
    God Bless you

  2. EDS says:

    Thank you Tirath.

  3. KaMo2x says:

    this doesnt work!!! I have tried it MANY times in the past week and not once has it worked and I have redone it word for word using pictures ….EVERYTHING it dont work…..Whenever i convert the small circle to a movie clip the centre point jumps to somewer random on the page…… using the blur effect at high and 12×12 then it goes transparent… and when it rotates it spins off in a weird direction

  4. EDS says:

    This is because you don’t follow all the steps correctly. If you want you can fill the contact form and link to your file to verify and to tell you where do you have mistakes.

  5. ed says:

    Why do you convert the circle into a movie clip twice??

  6. EDS says:

    Press F8 and convert it once, and press F8 again to convert it twice. Very simple.

  7. vinay says:

    best animation

  8. Maureen says:

    Hi there, I have gotten to the last part of th tutorial but when I view it. Only the loading text starts flashing but not at the same rhythm shown in the sample. Mine goes faster; more like blinking.
    Please help me fix it.

  9. EDS says:

    Hello Maureen. Your loading text is blinking more faster because:
    1) Frame rate is set higher than in the tutorial
    2) You added a small number of frames in your animation and this means your animation goes faster
    Hope this helps.

  10. Maureen says:

    Hi there, Thank you I just tried it again and it did not work. I must be forgetting something.
    But I see you got to symbol 8 when I counted how many in the tutorial and I only got 6.
    So maybe that’s the problem?
    I really want to complete this tutorial ahhh!

  11. EDS says:

    Yes, your project is incomplete and you have errors. Try to reread the tutorial and if you still have problems send your flash file to the e-mail from the contact page. Thank you.

  12. Maureen says:

    Thank you for the support, but this seem impossible to me. This is the 20th time I have tried and it tuns out different everytime I think I might just be a noob.
    I have also tried t download the fla.file below to compare what I was doing wrong and that zip file is corrupted as well.

  13. EDS says:

    Hello Suvarna. Same as Maureen, your loading text is blinking more faster because:
    1) Frame rate is set higher than in the tutorial
    2) You added a small number of frames in your animation and this means your animation goes faster
    Hope this helps.

  14. snehal says:

    when i test the movie it is directly showing 2 nd frame not showing the loader.why?

  15. EDS says:

    This is because you have the preloader code in the first frame. When all the bytes are loaded it will go to the frame 2.

  16. P says:

    at the end, when we’re supposed to insert a keyframe on frame 2, which layer do we insert it in? i don’t seem to be able to get it. especially when i delete everything on frame 2 to add the text content uploaded.

    and is this tutorial for flash CS4? will it make any difference?
    thank you!

  17. EDS says:

    This tutorial was created with Flash CS3. And yes is a big difference between them. Flash CS4 is different from CS3 and I don’t know if I will help you, but I will try!

  18. papi says:

    the same question with ed : wyh do you convert a symbol twice? i don’t get it. Thanks



Add your Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-spam image


Register to 5Cent-PTC

Register to IVBux