Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
So far, the main point of this chapter has been to stress that components can be strong allies to nonprogrammers. That doesn't mean, however, that their usefulness is limited to this area. The following section will walk you through the creation of a pop-up menu, or ComboBox. You will use increasing quantities of ActionScript until the steps culminate in a code-only solution that adds the menu to an empty Stage.
This exercise will power two menus with which the user can navigate through the timeline shown in Figure 9-7. Briefly, the four frames at 1, 10, 20, and 30 each have a stop() action, content, and corresponding label. The home frame (1) is empty, and the one (10), two (20), and three (30) frames have illustrations of the numbers 1, 2, and 3, respectively.