Macromedia Flash - Advanced icon in the flash menu
This is an exercise that will show you how to create an advanced flash menu by using the icons and Action Script in Flash 8. You can use the menu below for any website. yours.
Step 1
Create a new flash file, choose Modify > Document ( Ctrl + J ) and set Width to 370 and Height to 100px. Frame rate set is 30fps (Frames per Second).
Step 2
Add a new layer with the name of icons. Then create 5 icons to describe your menu icons. You can download my icons.
Step 3
Select the first icon you created, press F8 ( Convert to Symbol ) and convert it into a Movie Clip.
Step 4
Open the Properties Panel ( Ctrl + F3 ), at the entry of icon1 as shown below.
Step 5
Double-click the Movie Clip just created (icon) or right-click and choose Edit in Place .
Step 6
Select only this part (image below) of the icon
And press Ctrl + X ( Cut )
Step 7
Add a new layer, select it and press Ctrl + Shift + V ( Paste in Place )
Step 8
Still select the symbol, press F8 ( Convert to Symbol ) to convert it into a Movie Clip.
Step 9
Select frame 10 and press F6 ( Keyframe )
Step 10
Select the Free Transorm Tool (Q) and increase this part a bit. See the picture below.
Then, while still selecting the newly created Movie Clip (part of the icon), open the Properties Panel ( Ctrl + F3 ), under Color choose Alpha and set it to 42% .
Step 11
Select frame 10 again, open the Action Script Panel (F9) and enter the following script:
stop ();
Step 12
Go back to frame 1, open the Properties Panel ( Ctrl + F3 ), under Tween choose Motion and Rotate select CW .
Step 13
Select layer 1 and press F6 ( Keyframe ) 10 times at consecutive frames.
Step 14
Select even frames (2, 4, 6, 8) and press Delete key on the keyboard.
Step 15
Return to the main scene ( Scene 1 ), then add a new layer called Invisble Buttons.
Step 16
Create the Invisible Button for the first icon as shown below.
Step 17
Still select the Invisible Button, open the Action Script Panel (F9) and include the following script:
on ( rollOver ) {
_root .mouse_over_icon1 = true ;
}
on ( rollOut ) {
_root .mouse_over_icon1 = fstartlse;
}
on ( release ) {
getURL ( "https://quantrimang.com/" , "blank" );
}
Step 18
Add a new layer with the name Action Script. Select the first frame and put the following script into the Action Script Panel (F9).
_root .icon1.onEnterFrame = function () {
if (mouse_over_icon1) {
_root .icon1. nextFrame ();
} else {
_root .icon1. prevFrame ();
}
};
So you have completed the first icon already. Please repeat the above steps for the remaining icons in the menu. Wish you success and download the source file here if you haven't had time to practice yet.
You should read it
- Macromedia Flash - Effects with the cube
- Macromedia Flash - Create great photo slideshows
- Managing Windows networks using Script - Part 13: The script returns all values
- Instructions on how to use VPN in Opera browser
- Macromedia Flash - Advanced masking with action script
- Six steps to minimize desktop icons
- Macromedia Flash - Mysterious words
- Macromedia Flash - Program flash download design
May be interested
- Macromedia Flash - Complete Flash banner designin this article, we will show you how to create a complete flash banner without using the action script.
- Macromedia Flash: Create effects for nature photosthis tutorial will show you how to create simple effects for nature images using some special flash tips. this tutorial is implemented on flash cs5, there may be some differences if you use another flash version.
- Macromedia Flash - Effects with the cubein this article, i will explain how to create an advanced effect with flash 8-based blocks or shapes and of course use action script.
- Macromedia Flash - Animation and rotation effectsthrough this exercise, you will see how to create a nice rotating animation effect with just a few simple flash tips.
- Macromedia Flash - Effect of 'oil spill'through this tutorial you can make an effect for small ads that are quite simple but no less strange ...
- Macromedia Flash - The spotlightjust a few simple steps in flash 8.0 you can create a nice effect: the spotlight effect.
- Macromedia Flash - Product image advertising effectsin this article, we will show you how to create a product advertising effect in flash. you can use this effect when you need to introduce a new product launch or in banner ads. this effect does not need to use any action script code but only created with mask in flash.
- Macromedia Flash - Vivid photo effectsthrough this tutorial, you will learn how to create a vivid photo effect with some basic flash tips. this article does not need to use action script code.
- Macromedia Flash - Create analog clock in Flashthis tutorial will show you how to create a real working clock using flash effects.
- Macromedia Flash - Text presentation in Flashin this article, we will learn how to create a text presentation in flash using some special flash tips.