Posts

Showing posts from August, 2009

Flash Player API for ActionScript

Image
Image by Dekuwa via Flickr The Flash Player APIs in ActionScript 3.0 contain many classes to control objects at a low level. Adobe® AIR™ applications can also use the Flash Player APIs. 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. Dept...

ActionScript 3.0 - Language Features

Image
Image by whaleforset via Flickr Run-time exceptions - Run-time exceptions are used for common error conditions, improving debugging and enabling development of applications with robust error handling Run-time exceptions provides stack traces annotated with source file and line number information and supports quick determination of error cause. Run-time types - type information is preserved at run time, and used by Flash Player and Adobe AIR to perform run-time type checking , improving the system’s type safety. Type information is also used to represent variables in native machine representations, improving performance and reducing memory usage. Sealed Classes - ActionScript 3.0 introduces the concept of sealed classes . A sealed class encapsulates only the fixed set of properties and methods defined at compile time; additional properties and methods cannot be added at run-time. This enables stricter compile-time checking, resulting in more robust programs. It also improves memory...

ActionScript Overview

Image
Image by nikrowell via Flickr What is ActionScript ? ActionScript is the programming language for the Adobe® Flash® Player and Adobe® AIR™ run-time environments. ActionScript is executed by the ActionScript Virtual Machine (AVM), which is part of Flash Player and AIR. ActionScript code is typically compiled into byte code format (a sort of language understood by computers), The byte code is embedded in SWF files, which are executed by Flash Player and AIR. ActionScript 3.0 supports object-oriented programming . Whats New in ActionScript 3.0 ? ActionScript 3.0 uses a new ActionScript Virtual Machine, called AVM2, that uses a new byte code instruction set and provides significant performance improvements ActionScript 3.0 comes with a modern compiler that performs deeper optimizations ActionScript 3.0 includes an expanded and improved application programming interface (API), with low-level control of objects and true object-oriented model. ActionScript 3.0 includes an XML API based ...

ActionScript Introduction

Image
Image via Wikipedia ActionScript is THE scripting language for the development of websites or applications using the Adobe Flash Player platform More DIY videos at 5min.com ActionScript is used in Flash applications to add functionality, validate forms, detect browsers, and much more. What is ActionScript? ActionScript was initially designed for controlling vector animations made in Adobe Flash (formerly Macromedia Flash). ActionScript is a scripting language based on ECMAScript . ActionScript started as a scripting language for Macromedia's Flash authoring tool , now known as Adobe Flash. What can a ActionScript do? ActionScript is a programming language used in Flex applications - ActionScript is a scripting language with a very simple syntax! ActionScript can put dynamic content into a Flex application - A ActionScript statement like this: Alert("hello" + name); can write a variable text into a Flex Applicatoin ActionScript can re...