
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:

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!

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.

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.

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.

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:

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.

Now select the big circle from the root 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
the same question with ed : wyh do you convert a symbol twice? i don’t get it. Thanks
Hello
Every One
I am Facing A Problem With This Tutorial So Please Some One Can Provide Me A Video Of This Tutorial Step By Step…..
Please Requesting You All
good day sir!
im trying to use this preloader but when im already on the last part. after selecting the big circle and trying to put the scripts on it, it says, “current actions cannot be applied to it.’ what should i do sir? please help. thanks!
Hello Sinichi,
This error appears because you selected the Action Script 3, or you selected a shape and you cannot apply any script to it. Make sure that your circle is a Movie Clip in order to apply that script after.
Fab….Just likes site no bull just plain old here it is
love the site and think you guys are the best !!!!!!!!!!!!!!!!!!!!!
Thank you Sicerely
Thank you Ed.
Have a small problem
screen does not clear
the bar goes down instead of up and I get a message;
type erro: error #1009Cannot access a property or method of a null object reference.
at Opener_FLA:: Maintimeline/progresHandler()
Thanks
Ed
Hello Ed. Maybe you have Action Script 3.0 or I don’t know. Please be more clear.
Just you are the best brother…. Just have no words…. Working great… No errors …. Just Fantastic …. Nice Work…!!!! Good Luck Bro..
Thank you I was looking foe such PRELOADER… excellent work..!
what layer should i put these code?
onClipEvent(load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int(loaded/total*100);
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(2);
}
}
Select First Layer and put the code into a Movie Clip.