Flash Player API for ActionScript
Image by Dekuwa via Flickr
- DOM3 event model - Document Object Model Level 3 event model (DOM3) provides a standard way of generating and handling event messages so that ActionScript objects can interact and communicate, maintaining their state and responding to change.
- ActionScript 3.0 event model is based on World Wide Web Consortium DOM Level 3 Events Specification and provides a clearer and efficient mechanism. Events and error events are located in the flash.events package. The Flex application framework uses the same event model as the Flash Player API, so the event system is unified across the Flash platform.
- Display list API - The API for accessing the Flash Player and Adobe AIR display list (the tree that contains any visual elements in the application) consists of classes for working with visual primitives. Depth management is now automatic and built into Flash Player and Adobe AIR. New methods are provided for specifying and managing the z-order of objects.
- Handling dynamic data and content - ActionScript 3.0 contains mechanisms for loading and handling assets and data in your application that are intuitive and consistent across the API. A separate mechanism is also provided for loading text and binary data in data-driven applications. Reading and writing of binary data to server sockets in any format is also possible.
- Low-level data access - Various APIs are provided for the low-level data access. Access to data as raw binary data while it is being downloaded. Optimal reading, writing, and manipulation of binary data. Detailed control of sound data.New APIs providing information about the security privileges of a SWF file or loaded content, for better security errors handling.
- Working with text - ActionScript 3.0 contains a flash.text package for all text-related APIs and management of embedded fonts in SWF files.
Comments
Post a Comment