The Flash Player API classes are in the flash.* packages. The Flash Player API refers to all packages, classes, functions, properties, constants, events, and errors that are in the flash package. They are unique to Flash Player, as opposed to the top-level classes, such as Date, Math, and XML, or the language elements, which are based on ECMAScript. The Flash Player API contains features that you expect to find in object-oriented programming languages, such as the flash.geom package for geometry classes, as well as features specific to the needs of rich Internet applications, such as the flash.filters package for expressiveness and the flash.net package for handling data transmission to and from a server.
Other classes for ActionScript authoring are in the fl.* packages and include:
| package | Description | |
|---|---|---|
| Top Level | The top level contains the core ActionScript classes and global functions. | |
| air.net | The air.net package contains classes for network detection. This package is only available to content running in the AIR runtime. | |
| air.update | The air.update package contains classes for updating AIR applications. This package is only available to content running in the AIR runtime. | |
| air.update.events | The air.update.events package contains classes that define events used by the AIR application update framework. This package is only available to content running in the AIR runtime. | |
| flash.data | The flash.data package contains classes used for working with Adobe AIR local SQL databases. | |
| flash.desktop | The flash.desktop package contains classes used for copy-and-paste and drag-and-drop operations, as well as the Icon class, used to define system icons used by a file. | |
| flash.display | The flash.display package contains the core classes that the Flash Player uses to build visual displays. | |
| flash.errors | The flash.errors package contains a set of commonly used error classes. | |
| flash.events | The flash.events package supports the new DOM event model and includes the EventDispatcher base class. | |
| flash.filesystem | The flash.filesystem package contains classes used in accessing the filesystem. This package is only available to content running in the AIR runtime. | |
| flash.geom | The flash.geom package contains geometry classes, such as points, rectangles and transformation matrixes, to support the BitmapData class and the bitmap caching feature. | |
| flash.html | The flash.html package contains classes used for including HTML content in an AIR application. This package is only available to content running in the AIR runtime. | |
| flash.media | The flash.media package contains classes for working with multimedia assets such as sound and video. | |
| flash.net | The flash.net package contains classes for sending and receiving from the network, such as URL downloading and Flash Remoting. | |
| flash.security | The flash.security package includes classes for validating XML signatures. This package is only available to content running in the AIR runtime. | |
| flash.system | The flash.system package contains classes for accessing system-level functionality, such as security, multilanguage content, etc. | |
| flash.ui | The flash.ui package contains user interface classes, such as classes for interacting with the mouse and keyboard. | |
| flash.utils | The flash.utils package contains utility classes, such as data structures like ByteArray. |