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

Nature sliding image effect using a mask technique

24.4.2009, 18:17    Total views: 17681

Using this thoroughly explained, detailed flash lesson, you will see how to create cool sliding nature image effect using some special flash tips and tricks. You don't have to use action script code to make this lesson. Using this lesson, you will also learn how to use Free Transform Tool (Q) to make sliding effect, how to import any image into a flash stage, how to convert it into a Movie Clip Symbol, how to apply flash filters on it, how to create Motion Tween, how to create mask layer and much much more!  You can use this effect for any flash banner, for some animation and presentation. This lesson is so easy for create, but in the same time, very attractive and useful. Let's start!

Example:



Step 1

First, save the image of nature below which we'll use for this lesson.





Step 2


Create a new flash document. Press Ctrl+J key on the keyboard (Document Properties) and set the width of your document to 300 pixels and the height to 225 pixels. Select white as background color. Set your Flash movie's frame rate to 32 and click ok.



Step 3

Call the current layer image. Double-click on its default name (Layer 1) to change it. Press Enter once you have typed in the new name!

Step 4

Choose now File > Import > Import to stage (Ctrl+R) and import the image that you just saved in step 1 into a flash stage. While the image is still selected, hit F8 key (Convert to Symbol) to convert it into a Movie Clip Symbol.



Step 5

While the new made Movie Clip (image) is still selected, go to the Align Panel (Ctrl+K) and do the following:

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.



Step 6

Click now on frame 20,80 and 100 and hit F6 key. Go back now on the first frame, select the Selection Tool (V) and click once on the image to select it.Then, go to the Properties Panel (Ctrl+F3) below the stage. On the right, you will see the Color menu. Select Advanced in it, click on Settings button and make the adjustments as follow:



Step 7

After that, select FIlters tab on the left side, click on plus icon and choose Blur. Make the adjustments as follows:



Step 8

Click now on frame 100 and repeat steps 6 and 7.

Step 9

Right-click anywhere on the gray area between frame 1 and 20 and frame 80 and 100 on the timeline and choose Create Motion Tween from the menu that appears.



Step 10

Create now a new layer above the layer image and name it mask. Select now mask layer, take the Rectangle Tool (R). In the Colors portion of the Tool panel, block the Stroke color by clicking on the little pencil icon and then on the small square with the red diagonal line. For Fill color choose any color and draw a rectangle shape about 300x5 px and place it on the position like it is shown on the picture below!



Step 11

While the rectangle shape is still selected, hit F8 key (Convert to Symbol) to convert it into a Movie Clip Symbol.



Step 12

Click now on frame 20,80 and 100 and hit F6 key.

Step 13

Go back now on frame 80, select the Free Transform Tool (Q) and do like it is shown on the picture below!



Repeat this process also for frame 20.

Step 14

Right-click anywhere on the gray area between frame 1 and 20 and frame 80 and 100 on the timeline and choose Create Motion Tween from the menu that appears.



Step 15

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



We're done now!

Test your movie and enjoy!

Download source file (.fla)

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: 225064

2. Water effect
Total views: 169137

3. Photo slide show
Total views: 156961

4. High-tech city animation
Total views: 154359

5. Special Picture Effect
Total views: 148419

Related links