Вы находитесь на странице: 1из 12

Photo mask banner

8.2.2010, 16:29 Submited in: Flash | Total Views: 13128

In this thoroughly explained, detailed flash lesson, I will show you how to create advanced mask flash banner using some special flash tips and tricks. You don't have to use action script code to make this lesson. You can use this banner for any presentation or for some animation. Using this lesson, you will also learn how to import any photo into a flash library, how to animate it, create mask window, mask layer, how to create motion tween, how to apply flash filters on any photo and much much more! Let's start! Example:

Step 1 First, download the photos that we will use for this lesson!

Step 2 After that, save the photo below that we will use for flash background!

Step 3 Create a new flash document. Press Ctrl+J key on the keyboard (Document Properties) and set the width of your document to 450 pixels and the height to 400 pixels. Select any color as background color. Set your Flash movie's frame rate to 32 and click ok. Step 4 Call the current layer background. Double-click on its default name (Layer 1) to change it. Press Enter once you have typed in the new name! Step 5 Choose File > Import > Import to Stage and import a background photo into a flash stage!

Step 6 While the photo 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 7 Create a new layer above the layer background and name it mask window. Step 8 Select the Rectangle Tool (R) and draw a rectangle shape about 280x180 px. While the rectangle shape is still selected, hit F8 key (Convert to Symbol) to convert it into a Graphic Symbol.

Step 9 While the rectangle shape is still selected, repeat step 6. Step 10 Create a new layer above the layer background and name it photo 1. Step 11 Choose File > Import > Import to Library. In the file explorer window that appears, find a three photos and Shift-click to select them all. Then click open. If you now open your flash library (Ctrl+L key) you will see three photos that you just imported. See the picture below!

Step 12 Using the Selection Tool (V) and drag and drop technique, move the first photo from the flash library on the flash stage. Step 13 While the photo is still selected, hit F8 key (Convert to Symbol) to convert it into a Movie Clip Symbol.

Step 14 Click now on frame 40,60 and 70 and hit F6 key. Step 15 Go back on the first frame and place the photo on the position like is shown on the picture below!

Step 16 Click now on frame 40 and place the photo on the position like it is shown on the picture below!

Step 17 Select now frame 50 and place the photo on this position:

Step 18 Select now frame 70 and place the photo on this position:

Step 19 While you're still on frame 70, select the Selection Tool (V) and click once on the photo to select it. Then, go to the Properties Panel (Ctrl+F3) below the stage. After that, select Filters tab from the left side. Click on the plus icon and select the Blur filter. Make the adjustments as follows:

Step 20 Click on the Properties Button. On the right, you will see the Color menu. Select Alpha in it and put it down to 0%

Step 21

Right-click anywhere on the gray area between frame 1 and 40, frame 40 and 60 and frame 60 and 70 on the timeline and choose Create Motion Tween from the menu that appears. Step 22 Select mask window layer and convert it to a mask by right-clicking on the mask window layer and selecting Mask. See the picture below.

We're done! Test your movie and enjoy! Download source file (.fla)
Flash tutorials - Animation

Vertical Photo Scrolling animation


2.2.2010, 14:35 Total views: 27191

In this thoroughly explained, detailed flash lesson, I will show you how to create vertical Photo Scrolling animation using the Action Script code. Using this lesson, you will also learn how to import any photos into a flash stage, how to convert any content into a movie clip symbol, how to create instance name and much more. Let's start! Example:

Step 1 First, download the photos that we will use for this lesson!

Step 2 Create a new (Action Script 3.0) flash document. Press Ctrl+J key on the keyboard (Document Properties) and set the width of your document to 250 pixels and the height to 250 pixels. Select #999999 color as background color. Set your Flash movie's frame rate to 32 and click ok.

Step 3 Call the current layer fashion photos. Double-click on its default name (Layer 1) to change it. Press Enter once you have typed in the new name! Step 4 Choose File > Import > Import to Library. In the file explorer window that appears, find a five photos and Shiftclick to select them all. Then click open. If you now open your flash library (Ctrl+L key) you will see five photos that you just imported. See the picture below!

Step 5 Using the Selection Tool (V) and drag and drop technique, move the photos from flash library on the flash stage and place it on the position like it is shown on the picture below!

Step 6 Select all photos and hit F8 (Convert to Symbol) to convert it into a Movie Clip Symbol. Note! Registration point set to top!

Step 7 While the new made Movie Clip is still selected, go to the Properties Panel below the stage. On the left side, You will find the Instance name input field there. Call this Movie Clip photos_mc. See the picture below!

Step 8 Create a new layer above the layer photos and name it action script code. Step 9 Select the first frame of layer action script code and go to the AS panel (F9). Then, enter this code inside the actions panel: var verticalCenter:Number = stage.stageHeight / 4; var limit:Number = stage.stageHeight - photos_mc.height; var speed:Number = 0.1; var scrollY:Number = 1;

addEventListener(Event.ENTER_FRAME, scrollphotos); function scrollphotos(e:Event):void { scrollY = - speed * ( mouseY - verticalCenter ); photos_mc.y+= scrollY; if (photos_mc.y>0.8) { photos_mc.y= 0.8;} else if (photos_mc.y< limit) { photos_mc.y= limit; } } We're done! Test your movie and enjoy! Download source file (.fla)

Technology flash banner


Date: 4.12.2009, 17:47 Total views: 26685

In this easy lesson I will show you how to create technology flash banner. You don't have to use action script code to make this lesson. Using this lesson, you will also learn how to import any pictures into a flash stage, how to animate it, rotate it, how to create mask layer and much much more. Let's start!

Example:

Step 1 First, download technology pictures that we will 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 380 pixels and the height to 238 pixels. Select any color as background color. Set your Flash movie's frame rate to 34 and click ok. Step 3

Call the current layer picture 1. Double-click on its default name (Layer 1) to change it. Press Enter once you have typed in the new name! Step 4 Choose File > Import > Import to Library. In the file explorer window that appears, find a three pictures and Shift-click to select them all. Then click open. If you now open your flash library (Ctrl+L key) you will see three pictures that you just imported. See the picture below!

Step 5 Using the Selection Tool (V) and drag and drop technique, move the first picture from flash library on flash stage. After that, while the picture 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 While the picture is still selected, hit F8 key (Convert to Symbol) to convert it into a Movie Clip Symbol.

Step 7 Click now on frame 15,75 and 90 and hit F6 key. Step 8 While you're still on frame 90, select the Free Transform Tool (Q), press and hold down Shift key and enlarge a picture like it is shown on the picture below!

Step 9 Select the Selection Tool (V) and click once on the picture that you just enlarged. Then, go to the Properties Panel (Ctrl+F3) below the stage.On the right, you will see the Color menu. Select Alpha in it and put it down to 0%.

Step 10 Go back on the first frame and repeat the previouse two steps. Step 11 Right-click anywhere on the gray area between frame 1 and 15 and frame 75 and 90 on the timeline and choose Create Motion Tween from the menu that appears.

Step 12 Select now the first frame again and go to the Properties Panel (Ctrl+F3). After that, for Rotate choose CW.

Step 13 Create a new layer above the layer picture 1 and name it mask. Step 14 Select mask layer, take the Oval Tool (O) and draw a circle shape about 30x30 px. While the circle shape is still selected, repeat step 5 to aligned it with the flash background.

Step 15 Select now frame 15 and hit F6 key. Step 16 While you're still on frame 15, select the Free Transform Tool (Q) press and hold down shift key and enlarge the circle shape like it is show on the picture below.

Step 17 Click now on frame 75 and 90 and hit F6 key. Step 18 While you're still on frame 90, hit delete key on the keyboard. Then, go to the first frame and hit Ctrl+C key (Copy). After that, select again frame 90 and hit Ctrl+Shift+V key (Paste in Place). Step 19 Right-click anywhere on the gray area between frame 1 and 15 and frame 75 and 90 on the timeline and choose Create Shape Tween from the menu that appears.

Step 20 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 with the first picture. Repeat this process also for every other pictures. Have a nice day! Download source file (.fla)

Вам также может понравиться