Sunday, December 20, 2015

Adobe Flash Player

From Wikipedia, the free encyclopedia
Adobe Flash Player
Adobe Flash Player v11 icon.png
Original author(s)FutureWave
Developer(s)Adobe Systems
Initial release1996; 19 years ago
Stable release
Windows, OS X (Firefox, Safari)
20.0.0.235[1] (8 December 2015; 10 days ago) [±]
Windows, OS X (Others), Chrome OS
20.0.0.228[1] (8 December 2015; 10 days ago[2]) [±]
Android 4.0.x
11.1.115.81 (10 September 2013; 2 years ago) [±][3]
Android 2.x and 3.x
11.1.111.73 (10 September 2013; 2 years ago) [±][3]
Other Linux
11.2.202.554[1] (8 December 2015; 10 days ago) [±]
Solaris
11.2.202.223[1] (28 March 2012; 3 years ago[citation needed])[±]
Preview release
20.0.0.214 Beta(November 18, 2015; 30 days ago
[4][±]
Written inC++
Operating systemWindowsOS XLinux,SolarisBlackBerry Tablet OSAndroid, and Pocket PC
PlatformWeb browsers and ActiveX-based software
Available inChinese Simplified, Chinese Traditional, English, French, German, Italian, Japanese, Polish, Russian, Spanish, Korean, and Turkish.[5]
TypeRun-time environment,Media player, and Browser extension
LicenseFreeware
Websitewww.adobe.com/products/flashplayer
Adobe Flash Player (labeled Shockwave Flash in Internet Explorer and Firefox)[6] is freeware software for using content created on the Adobe Flash platform, including viewing multimedia, executing rich Internet applications, and streaming video and audio. Flash Player can run from aweb browser as a browser plug-in or on supported mobile devices.[7] Flash Player was created by Macromedia and has been developed and distributed by Adobe Systems since Adobe acquired Macromedia.
Flash Player has a wide user base, and is a common format for games, animations, and graphical user interfaces (GUIs) embedded in web pages. Adobe states that more than 400 million out of more than 1 billion connected desktops update to the new version of Flash Player within six weeks of release.[8]
Flash Player can be downloaded for free and its plug-in version is available for every major web browser. Google Chrome comes bundled with the sandboxed Adobe Flash plug-in and will continue to support the plug-in in Windows 8 Metro mode.[9][10][11]
Flash Player runs SWF files that can be created by the Adobe Flash Professional authoring tool, by Adobe Flash Builder or by third party tools such as FlashDevelop. Flash Player supports vector and raster graphics3D graphics, an embedded scripting language called ActionScript, and streaming of video and audio. ActionScript is based on ECMAScript, and supports object-oriented code, and is similar to JavaScript.

Features[edit]

Adobe Flash Player is a runtime that executes and displays content from a provided SWF file, although it has no in-built features to modify the SWF file at runtime. It can execute software written in the ActionScript programming language which enables the runtime manipulation of text, data, vector graphicsraster graphicssound and video. The player can also access certain connected hardware devices, including web camerasand microphones, after permission for the same has been granted by the user.
Flash Player is used internally by the Adobe Integrated Runtime (AIR), to provide a cross-platform runtime environment for desktop applicationsand mobile applications. AIR supports installable applications on WindowsLinuxOS X, and some mobile operating systems such as iOS andAndroid. Flash applications must specifically be built for the AIR runtime to use additional features provided, such as file system integration, native client extensions, native window/screen integration, taskbar/dock integration, and hardware integration with connected Accelerometer and GPS devices.[12]

Data formats[edit]

Flash Player includes native support for many different data formats, some of which can only be accessed through the ActionScript scripting interface.
  • XML: Flash Player has included native support for XML parsing and generation since version 8. XML data is held in memory as an XML Document Object Model, and can be manipulated using ActionScript. ActionScript 3 also supports ECMAScript for XML (E4X), which allows XML data to be manipulated more easily.
  • JSON: Flash Player 11 includes native support for importing and exporting data in the JavaScript Object Notation (JSON) format, which allows interoperability with web services andJavaScript programs.
  • AMF: Flash Player allows cookies to be stored on users computers, in the form of Local Shared Objects, the Flash equivalent to browser cookies.[13] Flash Player can also natively read and write files in the Action Message Format, the default data format for Local Shared Objects. Since the AMF format specification is published, data can be transferred to and from Flash applications using AMF datasets instead of JSON or XML, reducing the need for parsing and validating such data.
  • SWF: The specification for the SWF file format was published by Adobe, enabling the development of the SWX Format project, which used the SWF file format and AMF as a means for Flash applications to exchange data with server side applications.[14][15] The SWX system stores data as standard SWF bytecode which is automatically interpreted by Flash Player.[16]Another open-source project, SWXml allows Flash applications to load XML files as native ActionScript objects without any client-side XML parsing, by converting XML files to SWF/AMF on the server.[17][18]

Multimedia formats[edit]

Flash Player is primarily a graphics and multimedia platform, and has supported raster graphics and vector graphics since its earliest version. It supports the following different multimedia formats which it can natively decode and playback.
  • MP3: Support for decoding and playback of streaming MPEG-2 Audio Layer III (MP3) audio was introduced in Flash Player 4. MP3 files can be accessed and played back from a server viaHTTP, or embedded inside an SWF file, which is also a streaming format.
  • FLV: Support for decoding and playing back video and audio inside Flash Video (FLV and F4V) files, a format developed by Adobe Systems and Macromedia. Flash Video is only a container format and supports multiple different video codecs, such as Sorenson SparkVP6 and more recently H.264.[19] Flash Player uses hardware acceleration to display video where present, using technologies such as DirectX Video Acceleration and OpenGL to do so. Flash Video is used by YouTube,[20] Hulu,[21] Yahoo! VideoBBC Online[22] and other news providers. FLV files can be played back from a server using HTTP progressive download, and can also be embedded inside an SWF file. Flash Video can also be streamed via RTMPusing the Adobe Flash Media Server or other such server-side software.
  • PNG: Support for decoding and rendering Portable Network Graphics (PNG) images, in both its 24-bit (opaque) and 32-bit (semi-transparent) variants. Flash Player 11 can also encode a PNG bitmap via ActionScript.
  • JPEG: Support for decoding and rendering compressed JPEG images. Flash Player 10 added support for the JPEG-XR advanced image compression standard developed by Microsoft Corporation, which results in better compression and quality than JPEG. JPEG-XR enables lossy and lossless compression with or without alpha channel transparency. Flash Player 11 can also encode a JPEG or JPEG-XR bitmap via ActionScript.
  • GIF: Support for decoding and rendering compressed Graphics Interchange Format (GIF) images, in its single-frame variants only. Loading a multi-frame GIF will display only the first image frame.

Streaming protocols[edit]

Performance[edit]

Hardware acceleration[edit]

Until version 10 of the Flash player, there was no support for GPU acceleration. Version 10 added a limited form of support for shaders on materials in the form of the Pixel Bender API, but still did not have GPU-accelerated 3D vertex processing.[31] A significant change came in version 11, which added a new low-level API called Stage3D (initially codenamed Molehill), which provides full GPU acceleration, similar to WebGL.[32][33] (The partial support for GPU acceleration in Pixel Bender was completely removed in Flash 11.8, resulting in the disruption of some projects like MIT's Scratch, which lacked the manpower to recode their applications quickly enough.[34][35])
Current versions of Flash Player are optimized to use hardware acceleration for video playback and 3D graphics rendering on many devices, including desktop computers. Performance is similar to HTML5 video playback.[36][37] Also, Flash Player has been used on multiple mobile devices as a primary user interface renderer.[38]

Compilation[edit]

Although code written in ActionScript 3 executes up to 10 times faster than the prior ActionScript 2,[39] the Adobe ActionScript 3 compiler is a non-optimizing compiler, and produces inefficient bytecode in the resulting SWF, when compared to toolkits such as CrossBridge.[40][41][42][43][44]
CrossBridge, a toolkit that targets C++ code to run within the Flash Player, uses the LLVM compiler to produce bytecode that runs up to 10 times faster than code the ActionScript 3 compiler produces, only because the LLVM compiler uses more aggressive optimization.[42][43][44]
Adobe has released ActionScript Compiler 2 (ASC2) in Flex 4.7 and onwards, which improves compilation times and optimizes the generated bytecode and supports method inlining, improving its performance at runtime.[45]
As of 2012, the Haxe multiplatform language can build programs for Flash Player that perform faster than the same application built with the Adobe Flex SDK compiler.[46][unreliable source?]

Development methods[edit]

Flash Player applications and games can be built in two significantly different methods:
  • "Flex" applications: The Adobe Flex Framework is an integrated collection of stylable Graphical User Interface, data manipulation and networking components, and applications built upon it are termed "Flex" applications. Startup time is reduced since the Flex framework must be downloaded before the application begins, and weighs in at approximately 500 KB. Adobe Flash Builder is the premium tool for Flex application development, since it includes an integrated drag-and-drop user interface builder, not found in competing tools like FlashDevelop.[47]
  • "Pure ActionScript" applications: Applications built without the Flex framework allow greater flexibility and performance.[48][49][50][51] Video games built for Flash Player are typically pure-Actionscript projects. Various open-source component frameworks are available for pure ActionScript projects, such as MadComponents, that provide UI Components at significantly smaller SWF file sizes.[52][53]
In both methods, developers can access the full Flash Player set of functions, including textvector graphicsbitmap graphics, videoaudio, camera, microphone, and others. AIR also includes added features such as file system integration, native extensions, native desktop integration, and hardware integration with connected devices.

Development tools[edit]

Adobe provides five ways of developing applications for Flash Player:
Third-party development environments are also available:
Adobe has provided a free software development kit (SDK) to build Flash applications, initially called Adobe Flex. It allows developers to use any text editor such as Notepad++ to edit ActionScript source code (.as files), and then build a corresponding Flash application (.swf) or AIR application and installer (.air file) from the same. In 2011, Adobe Flex was released as an open-source project and was donated to the Apache Software Foundation. It was rebranded as Apache Flex.[54]
The Flash community has created many open-source projects that target Flash Player, such as FlashDevelop (an alternative IDE to Flash Builder), MTASC (compiler), and Haxe (multi-platform language).[55]

Game development[edit]

Adobe offers the free Adobe Gaming SDK, consisting (as of August 2014) of several open-source AS3 libraries built on the Flash Player Stage3D APIs for GPU-accelerated graphics:[56]
  • Away3D – GPU-accelerated 3D graphics and animation engine
  • Starling – GPU-accelerated 2D graphics that mimics the Flash display list API
  • Feathers – GPU-accelerated skinnable GUI library built on top of Starling
  • Dragon Bones – GPU-accelerated 2D skeletal animation library
A few commercial game engines target Flash Player (Stage3D) as run-time environment, such as Unity 3D[57] and Unreal Engine 3.[57][58] Before the introduction of Stage3D, a number of older 2D engines or isometric engines like Flixel saw their heyday.[59]
Adobe also developed the CrossBridge toolkit which cross-compiles C/C++ code to run within the Flash Player, using LLVM and GCC as compiler backends, and high-performance memory-access opcodes in the Flash Player (termed "Domain Memory") to work with in-memory data quickly.[60] CrossBridge is targeted toward the game development industry,[citation needed] and includes tools for building, testing, and debugging C/C++ projects in Flash Player.
Notable online video games developed in Flash include Angry BirdsFarmVille and FarmVille 2, and AdventureQuest (started in 2002, and still active as of 2011).[61]

Availability[edit]

Desktop platforms[edit]

The latest version of Flash Player is available for Windows XP and later, OS X 10.6 and later, and Google Chrome. Adobe no longer releases downloadable Flash plugins for Linux, although Flash Player 11.2 continues to receive security updates.[62][63][64]
Adobe released an alpha version of Flash Player 10 for x86-64 Linux on November 17, 2008. Adobe released a beta version of Flash Player 11 on July 13, 2011, which has 64-bit editions for all supported platforms.[65] Flash Player 11 was released to web on October 3, 2011.
Adobe Flash Player 11 is available in three flavors: "ActiveX", "Plug-in" and "Projector". The "ActiveX" version is an ActiveX control for use in Internet Explorer and other Windows software that supports ActiveX technology. The "plug-in" version is available for Windows, OS X and Linux apps that support NPAPI technology. The "projector" version is a standalone player that can openSWF files directly.[66]
In February 2012, Adobe announced it would discontinue development of Flash Player on Linux for all browsers except Google Chrome.[67][68]
The Extended Support Release (ESR) of Flash Player on OS X and Windows, a version of Flash Player kept up to date with security updates, but none of the new features or bug fixes available in later versions, has been version 11.7 as of 9 July 2013,[69] version 13 as of 13 May 2014.,[70] and version 18 as of 11 August 2015.[71]
The following table documents Flash Player support on desktop operating systems:
PlatformLatest versionBrowser support
Windows XP and later
Windows Server 2003 and later[72]
20.0[72]Internet ExplorerFirefoxChromeChromiumSafariOpera[72]
OS X 10.6 or later19.0[72]SafariFirefoxChromeChromiumOpera[72]
Linux (NPAPI version)11.2[72]FirefoxChromeChromiumOpera
Chromium OS19.0[72]Google ChromeChromiumOpera

Mobile platforms[edit]

Main article: Adobe Integrated Runtime
In 2011, Flash Player had emerged as the de facto standard for online video publishing on the desktop, with adaptive bitrate video streaming, DRM, and fullscreen support.[20][21] On mobile devices however, after Apple refused to allow the Flash Player within the inbuilt iOS web browser, Adobe changed strategy, enabling Flash content to be delivered as native mobile applications using the Adobe Integrated Runtime.
Up until 2012, Flash Player 11 was available for the Android (ARM Cortex-A8 and above),[62][73] although in June 2012, Google announced that Android 4.1 (codenamed Jelly Bean) would not support Flash by default. Starting in August 2012, Adobe no longer updates Flash for Android.[74] In spite of this, Adobe Flash is still available to install on Android devices via Adobe's update archives (up to Android 4.3).
Flash Player is certified to be supported on a select range of mobile and tablet devices, from AcerBlackBerry 10DellHTCLenovoLogitechLGMotorolaSamsungSharpSoftBank,Sony (and Sony Ericsson), and Toshiba.[75][76][77] As of 2012, Adobe has stopped browser-based Flash Player development for mobile browsers in favor of HTML5,[78][79] however Adobe continues to support Flash content on mobile devices with the Adobe Integrated Runtime, which allows developers to publish content that runs as native applications on certain supported mobile phone platforms.
Version 9 is the most recent version currently available for the Linux/ARM-based Nokia 770/N800/N810 Internet tablets running Maemo OS2008, classic Mac OS and Windows 95/NT.[80]Version 10 can be run under Windows 98/Me using KernelEx. HP offers Version 6 of the player for HP-UX.[81] Other versions of the player have been available at some point for OS/2,Symbian OSPalm OSBeOS and IRIX.[82] The Kodak Easyshare One includes Flash Player.[83]
Adobe said it will optimize Flash for use on ARM architecture (ARMv7 and ARMv6 architectures used in the Cortex-A series of processors and in the ARM11 family) and release it in the second half of 2009. The company also stated it wants to enable Flash on NVIDIA TegraTexas Instruments OMAP 3 and Samsung ARMs.[84][85] Beginning 2009, it was announced that Adobe would be bringing Flash to TV sets via Intel Media Processor CE 3100 before mid-2009.[86] ARM Holdings later said it welcomes the move of Flash, because "it will transform mobile applications and it removes the claim that the desktop controls the Internet."[87] However, as of May 2009, the expected ARM/Linux netbook devices had poor support for Web video and fragmented software base.[88]
Among other devices, LeapFrog Enterprises provides Flash Player with their Leapster Multimedia Learning System and extended the Flash Player with touch-screen support.[89] Sony has integrated Flash Player 6 into the PlayStation Portable's web browser via firmware version 2.70 and Flash Player 9 into the PlayStation 3's web browser in firmware version 2.50.[90] Nintendohas integrated Flash Lite 3.1, equivalent to Flash 8, in the Internet Channel on the Wii.
The following table documents Flash Player and AIR support on mobile operating systems:
PlatformLatest version
Android 2.2–4.1, ARM Cortex-A8+[91]Flash Player 11.1, AIR 3.1[73][92][93]
Android 2.1Flash Lite 3.0
iOSFlash Player 11.1, AIR 3.1[62][92]
BlackBerry 10.0–10.3.1Flash Player 11.1, AIR 3.1
BlackBerry Tablet OSFlash Player 11.1, AIR 3.1[92][94]
MaemoFlash Player 9.4[95]
PlayStation 3 with Firmware 2.50, NetFront 2.81Flash Player 9.1 (update 3)
PSP with Firmware 2.70Flash Player 6[96]
Symbian OSFlash Lite 4.0[97]
Wii (Internet Channel)Flash Lite 3.1[98]
Pocket PC 2003[99]Flash Player 7[100][101]
Windows Mobile 5[99]Flash Player 7[100]

Other hardware[edit]

Some CPU emulators have been created for Flash Player, including Chip8,[102] Commodore 64,[103] ZX Spectrum[104] and the Nintendo Entertainment System.[105] They enable video games created for such platforms to run within Flash Player.

Open source[edit]

Adobe has taken steps to reduce or eliminate Flash licensing costs. For instance, the SWF file format documentation is provided free of charge[106] after they relaxed the requirement of accepting a non-disclosure agreement to view it in 2008.[107] Adobe also created the Open Screen Project which removes licensing fees and opens data protocols for Flash. The project has not received much success.
Adobe has also open-sourced many components relating to Flash.
  • In 2006, the ActionScript Virtual Machine 2 (AVM2) which implements ActionScript 3 was donated as open-source to Mozilla Foundation, to begin work on the Tamarin virtual machine that will finally implement the ECMAScript 4 language standard with the help of the Mozilla community.[108] It was released under the terms of a MPL/GPL/LGPL tri-license and includes the specification for the ActionScript bytecode format; Tamarin Project jointly managed by Mozilla and Adobe Systems[109] It is now considered obsolete by Mozilla.
  • In 2011, the Adobe Flex Framework was donated as open-source to the Apache Software Foundation and rebranded as Apache Flex.[54] Some saw this move as Adobe abandoning Flex, and stepping away from the Flash Platform as a whole.[110][111] Sources from Apache say that "Enterprise application development is no longer a focus at Adobe. At least as Flash is concerned, Adobe is concentrating on games and video.",[110][112] and they conclude that "Flex Innovation is Exploding!".[112] The donated source code included a partly-developed AS3 compiler (dubbed "Falcon") and the BlazeDS set of technologies.[111][112]
  • In 2013, the CrossBridge C++ cross-compilation toolset was open sourced by Adobe and released on GitHub.[113][114] The project was formerly termed "Alchemy" and "Flash Runtime C++ Compiler", and targeted the game development market to enable C++ video games to run in Adobe Flash Player.[115]
However, Adobe has not been willing to make complete source code of the Flash Player available for free software development. Free and open source alternatives to the Adobe Flash Player such as Shumway and Gnash have been built, but are still incomplete[116] and therefore not a viable alternative. The only fully functional open source Flash Player is the commercially available Scaleform GFx Player, which is game development middleware designed for integration into non-Flash video games.

Criticism[edit]

Usability[edit]

In some browsers, prior Flash versions have had to be uninstalled before an updated version could be installed.[117][118] However, as of version 11.2 for Windows, there are now automatic updater options.[119] Linux is partially supported, as Adobe is cooperating with Google to implement it via Chrome web browser on all Linux platforms.[120]
Mixing Flash applications with HTML leads to inconsistent behavior with respect to input handling (keyboard and mouse not working as they would in an HTML-only document). This is often done in web sites[121] and can lead to poor user experience with the site.
The February 20, 2014 update to 12.0.0.70 introduced a reported bug, producing green video with sound only. This defect is related to hardware acceleration and may be overcome by disabling hardware acceleration via the Adobe settings in Firefox (accessed by right clicking within the video) or in Internet Explorer (within the Tools settings).[122] This defect may be related to widely used graphics hardware, AMD Radeon HD video cards, and similar visual defects have occurred in earlier Flash updates, with the same workaround.

Privacy[edit]

See also: Flash cookies
Flash Player supports persistent local storage of data (also referred to as Local Shared Objects), which can be used similarly to HTTP cookies or Web Storage in web applications. Local storage in Flash Player allows websites to store non-executable data on a user's computer, such as authentication information, game high scores or saved games, server-based session identifiers, site preferences, saved work, or temporary files. Flash Player will only allow content originating from exactly the same website domain to access data saved in local storage.[123]
Because local storage can be used to save information on a computer that is later retrieved by the same site, a site can use it to gather user statistics, similar to how HTTP cookies and Web Storage can be used. With such technologies, the possibility of building a profile based on user statistics is considered by some a potential privacy concern. Users can disable or restrict use of local storage in Flash Player through a "Settings Manager" page.[124][125] These settings can be accessed from the Adobe website or by right-clicking on Flash-based content and selecting "Global Settings".
Local storage can be disabled entirely or on a site-by-site basis. Disabling local storage will block any content from saving local user information using Flash Player, but this may disable or reduce the functionality of some websites, such as saved preferences or high scores and saved progress in games.
Flash Player 10.1 and upward honor the privacy mode settings in the latest versions of the Chrome, Firefox, Internet Explorer, and Safari web browsers, such that no local storage data is saved when the browser's privacy mode is in use.[126]

Security[edit]

Adobe security bulletins and advisories announce security updates, but Adobe Flash Player release notes do not disclose the security issues addressed when a release closes security holes, making it difficult to evaluate the urgency of a particular update. A version test page allows the user to check if the latest version is installed, and uninstallers may be used to ensure that old-version plugins have been uninstalled from all installed browsers.
In February 2010, Adobe officially apologized[127] for not fixing a known vulnerability for over 1 year. In June 2010 Adobe announced a "critical vulnerability" in recent versions, saying there are reports that this vulnerability is being actively exploited in the wild against both Adobe Flash Player, and Adobe Reader and Acrobat.[128][129] Later, in October 2010, Adobe announced[130] another critical vulnerability, this time also affecting Android-based mobile devices. Android users have been recommended to disable Flash or make it only on demand.[131]Subsequent security vulnerabilities also exposed Android users, such as the two critical vulnerabilities published in February 2013[132] or the four critical vulnerabilities published in March 2013,[133] all of which could lead to arbitrary code execution.
Symantec's Internet Security Threat Report[134] states that a remote code execution in Adobe Reader and Flash Player[135] was the second most attacked vulnerability in 2009. The same report also recommends using 'browser add-ons' wherever possible to disable Adobe Flash Player when visiting untrusted sites. McAfee predicted that Adobe software, especially Reader and Flash, would be primary target for attacks in 2010.[136] Adobe applications had become, at least at some point, the most popular client-software targets for attackers during the last quarter of 2009.[137] The Kaspersky Security Network published statistics for the third quarter of 2012 showing that 47.5% of its users were affected by one or more critical vulnerabilities.[138]The report also highlighted that "Flash Player vulnerabilities enable cybercriminals to bypass security systems integrated into the application."[138]
Steve Jobs criticized the security of Flash Player, noting that "Symantec recently highlighted Flash for having one of the worst security records in 2009".[139] Adobe responded by pointing out that "the Symantec Global Internet Threat Report for 2009, found that Flash Player had the second lowest number of vulnerabilities of all Internet technologies listed (which included both web plug-ins and browsers)."[140][141]

Vendor lock-in[edit]

Flash Player 11.2 does not play certain kinds of content unless it has been digitally signed by Adobe, following a license obtained by the publisher directly from Adobe.[142]
This move by Adobe, together with the abandonment of Flex to Apache was criticized as a way to lock out independent tool developers, in favor of Adobe's commercial tools.[143][144][145]
This has been resolved as of January 2013, after Adobe no longer requires a license or royalty from the developer. All premium features are now classified as general availability, and can be freely used by Flash applications.[146]

Apple controversy[edit]

In April 2010, Steve Jobs, at the time CEO of Apple Inc. published an open letter explaining why Apple would not support Flash on the iPhoneiPod touch and iPad. In the letter he blamed the "openness", the stability, the security and the performance of the Flash Player as reasons for refusing to support it. He explained why Flash is not suitable for touchscreen devices. He also claimed that when one of Apple's Macintosh computers crashes, "more often than not" the cause can be attributed to Flash, and described Flash as "buggy".[147] Adobe's CEO Shantanu Narayen responded by saying, "If Flash [is] the number one reason that Macs crash, which I'm not aware of, it has as much to do with the Apple operating system."[148]
Steve Jobs also claimed that a large percentage of the video on the internet is supported on iOS, since many popular video sharing websites such as YouTube have published video content in an HTML5 compatible format, enabling videos to playback in mobile web browsers even without Flash Player.[149]

Release history[edit]


No comments:

Post a Comment