Content deleted Content added
copyedit, completed sentences |
|||
Line 23:
'''ActionScript''' is an [[object-oriented programming]] language originally developed by [[Macromedia|Macromedia Inc.]] (later acquired by [[Adobe Systems|Adobe]]). It is influenced by [[HyperTalk]], the scripting language for [[HyperCard]].<ref>{{cite web|url=http://www.zdnet.com/blog/government/apples-lost-decade-hypercard-and-what-might-not-have-been-if-apple-then-was-like-apple-is-today/10185|title=Apple's lost decade, HyperCard, and what might NOT have been if Apple then was like Apple is today|work=zdnet.com|date=2011-04-17|access-date=2014-12-04}}</ref> It is now an implementation of [[ECMAScript]] (meaning it is a superset of the syntax and semantics of the language more widely known as [[JavaScript]]), though it originally arose as a sibling, both being influenced by [[HyperTalk]]. ActionScript code is usually converted to byte-code format by the compiler.
ActionScript is used primarily for the development of websites and software targeting the [[Adobe Flash]] platform, originally finding use on [[
ActionScript 3 is also used with the [[Adobe AIR]] system for the development of desktop and mobile applications. The language itself is open-source in that its specification is offered free of charge<ref>{{Cite web |url=http://help.adobe.com/livedocs/specs/actionscript/3/wwhelp/wwhimpl/js/html/wwhelp.htm |title=ActionScript 3 Language Specification |access-date=November 12, 2016 |archive-url=https://web.archive.org/web/20170327122455/http://help.adobe.com/livedocs/specs/actionscript/3/wwhelp/wwhimpl/js/html/wwhelp.htm |archive-date=March 27, 2017 |url-status=dead |df=mdy-all }}</ref> and both an open
ActionScript was also used with [[Scaleform GFx]] for the development of
==Overview==
ActionScript was initially designed for controlling simple
Flash MX 2004 introduced ActionScript 2.0, a [[scripting language]] more suited to the development of Flash applications.
Since the arrival of the Flash Player 9 alpha (in 2006), a newer version of ActionScript has been released, ActionScript 3.0. This version of the language is intended to be compiled and run on a version of the [[ActionScript Virtual Machine]] that has been itself completely
Flash libraries can be used with the XML capabilities of the browser to render rich content in the browser. This technology is known as Asynchronous Flash and XML, much like AJAX. Adobe offers its Flex product line to meet the demand for rich web applications built on the Flash runtime, with behaviors and programming done in ActionScript. ActionScript 3.0 forms the foundation of the Flex 2 API.
Line 44:
===Timeline by player version===
* '''Flash Player 2''': The first version with scripting support
* '''Flash Player 3''': Expanded basic scripting support,
* '''Flash Player 4''':
* '''Flash Player 5''': Included in the first version of ActionScript
* '''Flash Player 6'''
* '''Flash Player 7''': Additions to it include CSS styling for text and support for ActionScript 2.0, a programming language based on the ECMAScript 4 Netscape Proposal.<ref>{{cite web|url=http://www.mozilla.org/js/language/es4.html |archive-url=https://web.archive.org/web/20070711065258/http://www.mozilla.org/js/language/es4.html |url-status=dead |archive-date=July 11, 2007 |title=ECMAScript 4 Netscape Proposal |publisher=[[Netscape]] |editor=Waldemar Horwat |date=June 30, 2003 |access-date=April 11, 2019 }}</ref> with [[class (computer science)|class]]-based [[inheritance (computer science)|inheritance]]. However, ActionScript 2.0 can [[cross compile]] to ActionScript 1.0 [[byte-code]], so that it can run in Flash Player 6.
* '''Flash Player 8'''
* '''Flash Player 9 (initially called 8.5)'''
* '''Flash Player 10 (initially called Astro)''': Added basic [[3D computer graphics|3D]] manipulation, such as rotating on the X, Y, and Z axis, a 3D drawing API, and [[texture mapping]]. Ability to create custom filters using [[Adobe Pixel Bender]]. Several visual processing tasks are now offloaded to the [[GPU]] which gives a noticeable decrease to rendering time for each frame, resulting in higher [[frame rate]]s, especially with [[H.264]] video. There is a new sound API which allows for custom creation of audio in flash, something that has never been possible before.<ref>{{cite web|url=http://labs.adobe.com/technologies/flashplayer10/ |title=Adobe Labs – Adobe Flash Player 10.1 |publisher=Labs.adobe.com |access-date=December 17, 2009| archive-url= https://web.archive.org/web/20100105125609/http://labs.adobe.com/technologies/flashplayer10/| archive-date= January 5, 2010 | url-status= live}}</ref> Furthermore, Flash Player 10 supports Peer to Peer (P2P) communication with [[Real Time Media Flow Protocol]] (RTMFP).
* '''Flash Player 11''': The major addition in this version are the [[Stage3D]]-based advanced (graphic card accelerated) 3D capabilities for Windows Desktop, Mac Desktop, [[iOS]], [[Android (operating system)|Android]], and other major platforms. Significant compatibility improvements have been added for the iOS platform, and other non-desktop platforms. Other features include H.264 encoding for cameras, Native [[JSON]] support, Cubic Bézier Curves, a secure random number generator, [[LZMA]] compression for swf files, workers to offload some code execution to other processor threads, graphics card accelerated camera feed rendering, memory intrinsics and performance analysis, and the ActionScript Compiler 2.0, as well as some other minor additions.<ref>{{cite web|url=http://download.macromedia.com/pub/labs/flashplatformruntimes/shared/flashplayer11_air3_b1_releasenotes_071311.pdf |archive-url=https://web.archive.org/web/20110714222550/http://download.macromedia.com/pub/labs/flashplatformruntimes/shared/flashplayer11_air3_b1_releasenotes_071311.pdf |url-status=dead |archive-date=2011-07-14 |title=Flash Player 11 and AIR 3 Release Notes for Adobe Labs }}</ref>
* '''Flash Player 11.2''': released in March 2012, focused on adding features that are key for the gaming and video markets. Some of the features in the release include the following: Mouse-lock support. Right and middle mouse-click support. Context menu disabling. Hardware-accelerated graphics/Stage 3D support for Apple iOS and Android via Adobe AIR. Support for more hardware accelerated video cards (from January 2008) in order to expand availability of hardware-accelerated content. New Throttle event API (dispatches event when Flash Player throttles, pauses, or resumes content). Multithreaded video decoding pipeline on PCs, which improves overall performance of video on all desktop platforms. Notification of use of premium features in the debug players; content runs unrestricted in the release players.
* '''Flash Player 11.3''': released in June 2012, focused on enabling features and functionality key for the gaming market, as well as addressing popular feature requests from developers. Some of the features in this release include the following: Keyboard input support in full-screen mode. Improved audio support for working with low-latency audio. Ability to progressively stream textures for Stage 3D content. Protected mode for Flash Player in Firefox. Frame label events. Support for compressing BitmapData to JPEG and PNG formats. Support for Mac OS X App Store application sandboxing requirements. Text streaming support for Stage 3D. Expanded information about GPU driver details. Bitmap draw with quality API (new). Release outside mouse event API. Flash Player silent update support for Mac OS. Stylus support for Android 4.0 devices (Adobe AIR). USB debugging for iOS (Adobe AIR). iOS simulator support (Adobe AIR).
* '''Flash Player 11.4''':
* '''Flash Player 11.5''':
* '''Flash Player 11.6''':
* '''Flash Player 11.7''':
* '''Flash Player 11.8
===Timeline by ActionScript version===
|