18Menu Bar and ComboBox

Overview

In this chapter we will create the first application using ActionScript 3. We will develop a menu bar that is similar to the one we created before (Chapter 12). However, instead of using the former AS2 script we will script this menu bar from the beginning. There will be particular focus on changes from AS2 to AS3 and these will be explained in detail. The second object we will develop is a ComboBox-type menu. I did not have access to any components when this book was written.

The Menu Bar: .fla

Before we start writing any scripts we need to design the parts that we need for the menu bar. Actually, we can take all the MovieClips from the former menu bar, which was called “custom_menubar”. We can take the .fla ...

Get Flash XML Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.