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 ...
Get Understanding Macromedia Flash 8 ActionScript 2 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.