SyNow.org Web Site Design & Web Hosting Tutorials


Articles

Domain Name Registration - Free Web Hosting Email Tips and Tricks -  Home Based Web Business - Work at Home - Chat Rooms  - Voice Chat - Cell Phone - Phone Calls - Love Dating - Online Dating Services


  Macromedia Flash >> Menus & Buttons >> Flash 5: Fly-Out Menus (Animated)

Step 4: Animating the menu items: Animating In

  1. Copy the frames for both the Products and Contact Layers by clicking on Frame 10 of the Products Layer and dragging down to Frame 14 of the Contact Layer.
  2. Drag the selected Frames from both Layers by clicking on them and dragging them to the right so that both layers line up at Frame 14 of the About Layer. What you're doing here is staggering the layers so that the menu items come in one at a time.
  3. Repeat for only the Contact Layer and line up the first frame of the Contact animation with the last frame of the Products animation: Frame 18.

 

Step 5: Animating the menu items: Animating Out

  1. Create Keyframes (F6) at Frame 22 for both the About and Products Layers. Contact will already have a keyframe at Frame 22 because that is where the animation ends.
  2. Create 3 Keyframes, 1 for each of the 3 layers, at Frame 26. 
  3. With all 3 layers selected at Frame 26, set the Alpha to 0
  4. With the 3 layers still selected at Frame 26, use your Left Arrow key and move the menu items back to the left 20 times
  5. Select Frame 22 for all 3 layers and create a Motion Tween by going to the Frames Panel and selecting Motion for Tweening
  6. Select Frame 22 for the About Layer and drag down to Frame 26 of the Products Layer. This selects all the frames for each layer's animations
  7. Drag the selected frames so that the first frame lines up with Frame 26 of the Contact Layer
  8. Repeat by selecting Frame 26 through Frame 30 of the About Layer and dragging it over to line up with the last frame of the Products Layer.

 

Step 6: Adding the Button Actions

  1. Create a Keyframe at Frame 22 for the Main Menu Layer
  2. Go back to Frame 1 and select the Main Menu button
  3. With the Main Menu button selected, open the Actions Panel and add the following actions (see image below). This puts the actions on only the first Frame and not at Frame 22. We don't want the Main Menu button to be active at Frame 22 or it will keep opening and closing itself.

This is telling Flash that when the cursor mouses over the Main Menu button, to go to the Over Label and begin playing. This is how the menu items are animated.

Page 1| Page 2 | Page 3 | Page 4

 

Domain Hosting | Dedicated Servers| Link Exchange Directory