1. Home
  2. Computing & Technology
  3. Animation

Animated Flash Dropdown Menu II: Making Content Clickable

By , About.com Guide

5 of 9

Assign an instance name to the movie clip containing the menu (if you haven’t already), then select the invisible movie clip controller and right-click to open the Actions pane. Use an on (rollOver) and a gotoAndPlay to direct Flash to play the menu movie clip from frame 2 when the mouse rolls over the invisible controller clip:

on (rollover) {
_root.rollovermenu.gotoAndPlay(2) ;
}

We’re not going to assign the rollout ActionScripts to this clip; we’ll have a separate clip and a separate script for that. The reason that we do it this way is so the ActionScripted clip doesn’t overlap and negate the clickable, linked areas of the menu – but since the controller clip’s area only covers the menu header, we don’t want it to have a rollout command because the menu needs to stay visible even when the mouse isn’t over the header.

Explore Animation
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Animation
  4. Flash Animation Tutorials
  5. Animated Flash Dropdown Menu II: Making Content Clickable

©2009 About.com, a part of The New York Times Company.

All rights reserved.