As the final demo file in this chapter, we want to provide a very simple example of one of our most commonly requested uses of navigation to add visual interest. demo_site.fla shows how to design a basic site or application skeleton that gives you the freedom to combine your timeline animation skills with ActionScript coding.
This file intentionally uses detailed, and varied, timeline tweens—with inconsistent frame counts—to transition between three separate sections of this sample site or application. The idea is to take advantage of frame label navigation, but freely move from any section to any other section without concern of interrupting (or matching) the entrance or exit animations.
As you look through the sample file, you'll see that a virtual
gamut of property manipulations add visual interest. Section 1 rotates
in and skews out, section 2 bounces in and zooms out, and section 3
wipes in and fades out. Each section stops in the middle of the
transitions to display its placeholder content. Moving unencumbered
between any sections is achieved through a combination of the
play() method and a
Figure 5-5 shows a frame of demo_site.fla, which implements one of the most common requests for how variables can be used to create a very flexible screen-based site or application structure with animated transitions.
Figure 5-5. The file demo_site.fla ...