• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Timeline-Based Scripting

Sometimes, the timeline is the most natural means of organizing your programs. A good example is a drop-down menu, in which the collapsed state of the menu is on one frame (such as frame 1), and the expanded state is on another frame (such as frame 2). Sample movie timeline.fla on the CD provides an example of such a menu. Figures 16.1 and 16.2 show the expanded state as it appears in the SWF and in the FLA, respectively.

Figure 16.1. The expanded state of a drop-down menu, achieved with frame-based programming by sending the playhead to frame 2.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint