12 Built-in Classes

Built-in Classes

ActionScript 2 makes it possible to create new, custom classes, but it also includes some essential, ready-to-go classes authored by Macromedia. Through these classes, Flash provides functionality that would otherwise be impossible to achieve. AS2's built-in classes are special because they actually act as interfaces to underlying low-level program code. This low-level code interacts directly with the computer's hardware to control the display, audio output, file I/O, and to get input from the keyboard, mouse, network, etc.

AS2 utilizes many built-in classes, but there are several which are important to this book and which deserve special attention. These include:

The MovieClip Class

The Key Class

The Sound ...

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.