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. | |
adobe.utils | The adobe.utils package contains functions and classes used by Flash authoring tool developers. | |
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. | |
fl.accessibility | The fl.accessibility package contains classes for supporting accessibility in the Flash components. | |
fl.containers | The fl.containers package contains classes which load content or other components. | |
fl.controls | The fl.controls package contains top-level component classes such as List, Button, and ProgressBar. | |
fl.controls.dataGridClasses | The fl.controls.dataGridClasses package contains classes that the DataGrid component uses to maintain and display information. | |
fl.controls.listClasses | The fl.controls.listClasses package contains classes that list components use to maintain and display data. | |
fl.controls.progressBarClasses | The fl.controls.progressBarClasses package contains classes that are specific to the ProgressBar component. | |
fl.core | The fl.core package contains classes related to all components. | |
fl.data | The fl.data package contains classes that deal with data that is associated with a component. | |
fl.events | The fl.events package contains event classes specific to the components. | |
fl.ik | The fl.ik package contains methods and classes that interact with inverse kinematic (IK) armatures created in Flash CS4. | |
fl.lang | The fl.lang package contains the Locale class, which supports multilanguage text. | |
fl.livepreview | The fl.livepreview package contains classes specific to a component's live preview behavior in the Flash authoring environment. | |
fl.managers | The fl.managers package contains classes that manage the relationship between a component and a user. | |
fl.motion | The fl.motion package contains functions and classes used to define a motion tween. | |
fl.motion.easing | The fl.motion.easing package contains classes that can be used with the fl.motion classes to create easing effects. | |
fl.transitions | The fl.transitions package contains classes that let you use ActionScript to create animation effects. | |
fl.transitions.easing | The fl.transitions.easing package contains classes that can be used with the fl.transitions classes to create easing effects. | |
fl.video | The fl.video package contains classes for working with the FLVPlayback and FLVPlaybackCaptioning components. | |
flash.accessibility | The flash.accessibility package contains classes for supporting accessibility in Flash content and applications. | |
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 runtimes use 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.external | The flash.external package contains the ExternalInterface class, which enables communication between ActionScript and the container for the SWF content. | |
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.filters | The flash.filters package contains classes for bitmap filter effects. | |
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.net.drm | The flash.net.drm package contains classes for working with DRM-protected content. This package is only available to content running in the AIR runtime. | |
flash.printing | The flash.printing package contains classes for printing Flash-based content. | |
flash.profiler | The flash.profiler package contains functions used for debugging and profiling ActionScript code. | |
flash.sampler | The flash.sampler package contains methods and classes for tracking procedure calls so that you can profile memory usage and optimize applications. | |
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.text | The flash.text package contains classes for working with text fields, text formatting, text metrics, style sheets, and layout. | |
flash.text.engine | The FTE provides low-level support for sophisticated control of text metrics, formatting, and bi-directional text. While it can be used to create and manage simple text elements, the FTE is primarily designed as a foundation for developers to create text-handling components. | |
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. | |
flash.xml | The flash.xml package contains Flash Player's legacy XML support, and other Flash Player-specific XML functionality. |