18Building the Game — Phase I: The FLA and the GameController
Making the Most of the FLA
With ActionScript 2, application code should be contained in external .as files, but the core of most Flash applications is still the FLA. In general, the FLA is where the application's visual assets are organized and where the user interface is developed. In this chapter, the basic structure of the game's FLA is constructed. The process involves:
- Setting up the Timeline
- Organizing assets in the Library
- Constructing a basic GameController class
This chapter makes use of the “GamePhaseI.fla” and various classes from the GamePhaseI folder of the examples.
Setting up theTimeline
For the Astro Sweeper game, the Main Timeline of the FLA is used to map out the ...