Chapter 9. Creating Menu Effects
What you learnHow to plan websitesAbout flowcharts and flowcharting softwareHow to use the Drawing APIAbout scripted menusAbout the Debugger panelHow to create and attach dynamic menu buttonsHow to construct and organize the website'116 files
Lesson FilesStart:09/start/menu_start.fla09/start/bg.png09/start/lorem.txtFinish:09/complete/menu.fla09/complete/menu.swf09/complete/men11809/complete/siteChapter 3, "Using ActionScript," or by using prewritten ActionScript that's built into Flash. It's usually easiest to animate menus primarily using ActionScript because the animation that's involved is usually repetitive and needs to look exactly the same. If you use code, you can guarantee that the animation looks the same much more easily than if you tried to animate on the Timeline.This chapter constructs a hybrid website that uses a Flash menu to help users navigate between pages. The buttons you add are dynamic and are almost entirely created and controlled by using code. It's much easier than it sounds, and it means you can ensure that the buttons are uniform and evenly spaced and consistently animated in the menu. The finished product is a menu that's both attractive and intuitive for your users. The best part is that the menu is incredibly easy to update as well! You don't need to try and manually create a button while trying to remember how you did so originally. All you have to do is update the ActionScript, and the menu has additional buttons or subnavigation sections for your website. This is particularly useful if you have clients who haven't yet made up their mind about what to call the parts of their website, or if you decide to add a new section to a website later on.Website: