9. Controlling Information Flow
As your Flash movie displays graphics and animation and plays sounds, a lot can be happening behind the scenes, not apparent to the viewer. Your Flash document may be tracking many bits of information, such as the number of lives a player has left in a game, a user's login name and password, or the items a customer has placed in a shopping cart. Getting and storing this information requires variables, which are containers for information. Variables are essential in any Flash movie that involves complex interactivity because they let you create scenarios based on information that changes. You can modify variables and use them in expressions—formulas that can combine variables with other variables and values—and ...
Get Flash CS3 Professional Advanced for Windows and Macintosh: Visual QuickPro Guide 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.