Flash tutorials
Home 3D (2) Actionscripting (66) Animation (108) Audio (4) Drawing (7) Full flash sites (4) Getting Started (15) Navigation (25) Special Effects (61) Text Effects (38)

Advanced full flash site - Part 1

21.6.2007, 1:3    Total views: 310910
Page:  1  2

Part 1

Preloader and preloader animation

Now, it's came the day when I have decided to show you how to make in step by step advanced full flash site. After You have done this tutorial, you will be completely prepared to make any flash site for any requirements. This full flash site, in this tutorial, consists of the following:

1. Preloader - You will see how to design and how to apply action script code on preloader.
2. Preloader Animation - You will see how to animate preloader after you have done it.

Part 2

Flash site loading

1. Flash site loading - You will see how to load flash site after preloader animation. You will also learn how to load home page and how to aniamte it.

Part 3

Menu and menu animation

1.You will learn how to design a menu and how to animate it after that. You will also learn how to apply action script code on it.

Part 4

Navigation and Page animation

1. Flash site navigation - You will see how to create site navigation using the action script code and Frame Label.
2. Page animation - You will see how to create page loading animation after you have click on any button in navigation.

Using this tutorial, you will also learn:

a) How to use flash tools for drawing (Rectangle Tool, Line Tool),
b) How to use Color Mixer Panel to make a gradient,
c) How to create shape animation,
d) How to use Free Transform Tool (Q).
f) How to use some special flash tips and tricks
g) How to use Frame Label,and more.

Below is the example:



Part 1

Preloader and preloader animation

Step 1


Cretae a new flash document. Select Modify > Document (shortcut key: Ctrl+J ). Set the width of your document to 450 pixels and the height to 400 pixels. Select #EBFBDD as background color. Set your Flash movie's frame rate to 24 and click ok.



Step 2

Double click on layer 1 to rename its name in background. After that, create a new layer above the background layer and name it preloader.

Step 3

Lock backgroud layer, select the preloader layer and the the Rectangle Tool (R). Then, go to the Properties Panel (Ctrl+F3) below the stage and choose the following options:

1. Enter #BAF088 for the stroke color
2. Enter white for the fill color.
3. Select Solid as the type of outline, with the line thickness set to 2.
4. Turn on the Stroke hinting option to get rid of any blurry edges while drawing.



Then, draw a rectangle about 128x8 pixels. See the picture below.



Step 4

While the rectangle is still selected, go to the Align Panel (Ctrl+K) and set the following options:

1.Make sure that the Align/Distribute to Stage button is turned on,
2.Click on the Align horizontal center button and
3.Click the Align vertical center button.



Now, you just aligned the rectangle with the background.

Step 5

While the recatngle is still selected, press F8 key (Convert to Symbol) to convert this rectangle into a Movie Clip Symbol.



Step 6

Double-click on the movie clip on stage with the Selection tool (V). You should now be inside the movie clip.



Step 7

Click on frame 100 and press F5 key. After that, create a new layer above the layer 1 and name it line.

Step 8

Go back on layer 1, take the Selection Tool (V) and select only the fill color of rectangle. See the picture below.



Step 9

While the Fill color (Line) that you just cuted and pasted in layer line, is still selected, press Ctrl+C key (Copy). Then, create a new layer above the line layer and name it mask. Select it and press Ctrl+Shift+V key (Paste in Place).

Step 10

Click on frame 100 of layer mask and press F6 key. After that, go back on the first frame and place the line (Fill Color) on the position like it is shown on the picture below, using the Selection Tool or by arrows key.



Step 11

Right-click anywhere on the gray area between the two keyframes on the timeline and choose Create Motion Tween from the menu that appears.



Step 12

Select mask layer and convert it to a mask by right-clicking on the mask layer and selecting Mask.



Step 13

Create a new layer above the mask layer and name it percent.

Step 14

Select perecent layer and Take the Text tool (T).Then, in the Properties Panel (Ctrl+F3) below the stage, select the following options:

a) Select a Dynamic Text field.
b) Select a Trebuchet MS font.
c) Choose 12as font size.
d) Select #38680D as color.
e) As the rendering option, select Anti - alias for readability.
f) For Var: type "perc1"



Then, type somewhere above the rectangle 99%. See the picture below.



Step 15

Create a new layer above the percent layer and name it text. After that, take the Text Tool (T) and go to the Properties Panel below the stage. Then, set the following options:

1. Select a Static Text field.
2. Select a Trebuchet MS font and bold it.
3. Choose 9 as font size.
4. Select #38680D as color.
5. As the rendering option, select Anti - alias for readability.



Type somewhere below the rectangle "Loading...". See the picture below.



Step 16

Go back on the main scene (Scene 1). Take the Selection Tool (V), click once on the "preloader" to select it and open the Action Script Panel (F9). Then, enter the following Action Script code:

onClipEvent (load) {
total = _root.getBytesTotal();
} onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int(loaded/total*100);
perc1 = ""+percent+"%";
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(2);
}
}

We're done with preloader and it is time for preloader animation. Let's go!

Have questions about this tutorial?
Visit our friendly Community Forums!
Digg it! Add this tutorial to del.icio.us! Furl it! Add this tutorial to reddit! Spurl it! Add this tutorial to technorati!

Top tutorials

1. Advanced full flash site - Part 1
Total views: 310911

2. High-tech city animation
Total views: 274119

3. Water effect
Total views: 237426

4. Photo slide show
Total views: 221072

5. Special Picture Effect
Total views: 190869



Related links

dans le cadre de leur collection automne / hiver 2008 de la ngc, marque japonaise a ainsi une fois de plus a porter.ADIDAS TUBULAR WOMENils ont travaillé sur l'ensemble des trois pieces et # 8211; un sac fourre - tout, une valise et un porte - clés / carte de voyage.ils présentent une gamme de produits classiques.le fait qu'elles offrent a la plupart d'entre eux en orange est un bon contraste.  via honeyee.ADIDAS ORIGINALS NMDon peut s'attendre a une libération de ce produit dans les semaines a venir.ADIDAS TUBULAR SCHUHEla broderie artiste kimberly scola est parmi ceux qui participent a ce los angeles & # 8216; & # 8220; cette fete et # 8221; exposition,ADIDAS YEEZY BOOST 550 inaugurée vendredi dernier.ADIDAS EQUIPMENT 10a l'occasion de l'ouverture, en cas de scola a collaboré avec une tapisserie de 100 faux sacs fourre - tout.Adidas Adizero F50 FGces agréables rappels d'un événement,ADIDAS X PLR malheureusement, seulement deux jours de liaison.ADIDAS MESSI 16.3 ICles points saillants de & # 8220;StartAdidas Ultra Boost Uncaged cette fete et # 8221; et une liste de cas suivent l'artiste.ADIDAS ACE 16.3 TF