Flash CS4 Professional ActionScript 2.0

Learning ActionScript 2.0 book overview

The following list summarizes the contents of this manual:

  • What's New in Flash ActionScript describes features that are new in ActionScript, changes to the compiler and debugger, and the new programming model for the ActionScript 2.0 language.
  • About ActionScript outlines what the ActionScript language is and details how to choose between which version of ActionScript to use.
  • Data and Data Types describes the terminology and basic concepts about data, data types, and variables. You use these concepts throughout the manual.
  • Syntax and Language Fundamentals describes the terminology and basic concepts of the ActionScript language. You use these concepts throughout the manual.
  • Functions and Methods describes how to write different kinds of functions and methods and how to use them in your application.
  • Classes describes how to create custom classes and objects in ActionScript. This chapter also lists the built-in classes in ActionScript and provides a brief overview of how you use them to access powerful features in ActionScript.
  • Inheritance describes inheritance in the ActionScript language and describes how to extend built-in or custom classes.
  • Interfaces describes how to create and work with interfaces in ActionScript.
  • Handling Events describes a few different ways to handle events: event handler methods, event listeners, and button and movie clip event handlers.
  • Working with Movie Clips describes movie clips and the ActionScript you can use to control them.
  • Working with Text and Strings describes the different ways you can control text and strings in Flash and includes information on text formatting and advanced anti-aliasing.
  • Animation, Filters, and Drawings describes how to create code-based animation and images, add filters to objects, and draw using ActionScript.
  • Creating Interaction with ActionScript describes some simple ways in which you can create more interactive applications, including controlling when SWF files play, creating custom pointers, and creating sound controls.
  • Working with Images, Sound, and Video describes how to import external media files, such as bitmap images, MP3 files, Flash Video (FLV) files, and other SWF files, in your Flash applications. This chapter also provides an overview of how to work with video in your applications, and how to create progress bar loading animations.
  • Working with External Data describes how to process data from external sources using server- or client-side scripts in your applications. This chapter describes how to integrate data with your applications.
  • Understanding Security explains security in Flash Player, as it pertains to working with SWF files locally on your hard disk. This chapter also explains cross-domain security issues, and how to load data from servers, or across domains.
  • Best Practices and Coding Conventions for ActionScript 2.0 explains the best practices for using Flash and writing ActionScript. This chapter also lists standardized coding conventions, such as naming variables, and other conventions.
  • Error Messages lists the error messages that the Flash compiler can generate.
  • Deprecated Flash 4 operators lists all the deprecated Flash 4 operators and their associativity.
  • Keyboard Keys and Key Code Values lists all the keys on a standard keyboard and the corresponding ASCII key code values that are used to identify the keys in ActionScript.
  • Writing Scripts for Earlier Versions of Flash Player provides guidelines to help you write scripts that are syntactically correct for the player version you are targeting.
  • Object-Oriented Programming with ActionScript 1.0 provides information on using the ActionScript 1.0 object model to write scripts.

This manual explains how to use the ActionScript language. For information on the language elements themselves, see the ActionScript 2.0 Language Reference.