New in ActionScript 2.0 and Flash Player 8

The ActionScript language has grown and developed since its introduction several years ago. With each new release of Flash, additional keywords, objects, methods, and other language elements were added to ActionScript. There are also ActionScript-related improvements to the Flash 8 authoring environments. Flash Basic 8 and Flash Professional 8 introduced several new language elements for expressive features, such as filters and blending modes, and application development, such as JavaScript integration (ExternalInterface) and file input and output (FileReference and FileReferenceList).

This section provides an overview of the ActionScript language elements and classes that are new or changed in Flash 8 and ActionScript-related improvements to the authoring tool. For a list of specific additions to ActionScript 2.0, see Additions to the ActionScript language in Flash Player 8. To use any of the new language elements in your scripts, you must target Flash Player 8 when you publish your documents.

The following features were added to both Flash Basic 8 and Flash Professional 8 (unless noted otherwise):

For a list of specific classes, language elements, methods, and properties added to ActionScript 2.0 in Flash 8, see "Set ActionScript preferences" in Using Flash.