|Flash11 (CS5) | Flash10 (CS4) | Flash9 (CS3) <|
|Table of contents|
What is ActionScript3.0 ?
- ActionScript™ 3.0 is the scripting language in Flash and was released in 2006. Use ActionScript to make your applications play in a nonlinear way, and to add interesting or complex functionality that cannot be represented in the timeline.
- For example, you can add code that causes a button to display a new image when the user clicks it. You can also use ActionScript to add logic to your applications. Logic enables your application to behave in different ways depending on the user's actions or other conditions.
From Flash 9 (CS3), more than one version of ActionScript has been included to meet the needs of different kinds of developers and playback hardware.
- ActionScript 3.0 executes extremely fast. This version requires somewhat more familiarity with object-oriented programming concepts than the other ActionScript versions. ActionScript 3.0 is fully compliant with the ECMAScript specification, offers better XML processing, an improved event model, and an improved architecture for working with onscreen elements. FLA files that use ActionScript 3.0 cannot include earlier versions of ActionScript.
- ActionScript 2.0 (2004) introduced with Flash MX 2004, is simpler to learn than ActionScript 3.0. Although Flash Player runs compiled ActionScript 2.0 code slower than compiled ActionScript 3.0 code, ActionScript 2.0 is still useful for many kinds of projects that are not computationally intensive; for example, more design-oriented content. ActionScript 2.0 is also based on the ECMAScript spec, but is not fully compliant.
- ActionScript 1.0 (2000) introduced with Flash 5, is the simplest form of ActionScript, and is still used by some versions of the Flash Lite Player. ActionScript 1.0 and 2.0 can coexist in the same FLA file.
- Flash Lite 2.x ActionScript is a subset of ActionScript 2.0 that is supported by Flash Lite 2.x running on mobile phones and devices.
- Flash Lite 1.x ActionScript is a subset of ActionScript 1.0 that is supported by Flash Lite 1.x running on mobile phones and devices.
- Adobe (n.d.) Adobe Flash CS4 Professional * About ActionScript. Retrieved January 27, 2009 from http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSd60f23110762d6b883b18f10cb1fe1af6-7be9a.html