SWF

SWF

SWF

Adobe flash file format


SWF (/ˈswɪf/)[6] is a defunct Adobe Flash file format that was used for multimedia, vector graphics and ActionScript.[7]

Quick Facts Filename extension, Internet media type ...

Originating with FutureWave Software, then transferred to Macromedia, and then coming under the control of Adobe, SWF files can contain animations or applets of varying degrees of interactivity and function. They may also occur in programs, commonly browser games, using ActionScript.

Programmers can generate SWF files from within several Adobe products, including Flash, Flash Builder (an IDE), Adobe Animate (a rename of Adobe Flash since 2016), and After Effects, as well as through MXMLC, a command-line application compiler which forms part of the freely-available Flex SDK. Although Adobe Illustrator can generate SWF format files through its "export" function, it cannot open or edit them. Other than using Adobe products, one can build SWFs with open-source Motion-Twin ActionScript 2 Compiler (MTASC), the open-source Ming library and the free-software suite SWFTools. Various other third-party programs can also produce files in this format, such as Multimedia Fusion 2, Captivate and SWiSH Max.

The term "SWF" has originated as an abbreviation for ShockWave Flash.[8] This usage was changed to the backronym Small Web Format to eliminate confusion with a different technology, Shockwave, from which SWF derived.[9][10] There is no official resolution to the initialism "SWF" by Adobe.[11]

Adobe declared its Flash player EOL on December 31, 2020. On January 12, 2021, it pushed an update to its Flash player that blocked all Flash content from running.[12]

History

The small company FutureWave Software originally defined the file format with one primary objective: to create small files for displaying entertaining animations.[13] The idea involved a format which player software could run on any system and which would work with slower network connections. FutureWave released FutureSplash Animator in May 1996. In December 1996 Macromedia acquired FutureWave and FutureSplash Animator became Macromedia Flash 1.0.

The original naming of SWF came out of Macromedia's desire to capitalize on the well-known Macromedia Shockwave brand; Macromedia Director produced Shockwave files for the end user, so the files created by their newer Flash product tried to capitalize on the already established brand. As Flash became more popular than Shockwave itself, this branding decision became more of a liability, so the format started to be referred to as simply SWF.[8]

Adobe acquired Macromedia in 2005.[14]

On May 1, 2008, Adobe dropped its licensing restrictions on the SWF format specifications, as part of the Open Screen Project. However, Rob Savoye, a member of the Gnash development team, has pointed to some parts of the Flash format which remain closed.[15] On July 1, 2008, Adobe released code to Google and Yahoo, which allowed their search engines to crawl and index SWF files.[16]

Description

The main graphical primitive in SWF is the path, which is a chain of segments of primitive types, ranging from lines to splines or bezier curves. Additional primitives like rectangles, ellipses, and even text can be built from these. The graphical elements in SWF are thus fairly similar to SVG and MPEG-4 BIFS. SWF also uses display lists and allows naming and reusing previously defined components.[17]

The binary stream format SWF uses is fairly similar to QuickTime atoms, with a tag, length and payload  an organization that makes it very easy for (older) players to skip contents they don't support.[17]

Originally limited to presenting vector-based objects and images in a simple sequential manner, the format in its later versions allows audio (since Flash 3) and video (since Flash 6).

Adobe introduced a new, low-level 3D API in version 11 of the Flash Player. Initially codenamed Molehill, the official name given to this API was ultimately Stage3D. It was intended to be an equivalent of OpenGL or Direct3D.[18]:9 In Stage3D shaders are expressed in a low-level language called Adobe Graphics Assembly Language (AGAL).[18]:57[19]

Adoption

Adobe makes available plugins, such as Adobe Flash Player and Adobe Integrated Runtime, to play SWF files in web browsers on many desktop operating systems, including Microsoft Windows, Mac OS X, and Linux on the x86 architecture and ARM architecture (ChromeOS only).

GNU has started developing a free software SWF player called Gnash under the GNU General Public License (GPL). Despite being a declared high-priority GNU project, funding for Gnash was fairly limited.[20] Another player is the LGPL-licensed Swfdec. Lightspark is a continuation of Gnash supporting more recent SWF versions.[20]

Adobe has incorporated SWF playback and authoring in other product and technologies of theirs, including in Adobe Shockwave, which renders more complex documents.[17] SWF can also be embedded in PDF files; these are viewable with Adobe Reader 9 or later.[21] InDesign CS6 can also produce some limited forms of SWF animations directly.[22]

Sony PlayStation Portable consoles can play limited SWF files in Sony's web browser, beginning with firmware version 2.71. Both the Nintendo Wii[23] and the Sony PS3[24] consoles can run SWF files through their Internet browsers.

Scaleform GFx is a commercial alternative SWF player that features full hardware acceleration using the GPU and has high conformance up to Flash 8 and AS2. Scaleform GFx is licensed as a game middleware solution and used by many PC and console 3D games for user interfaces, HUDs, mini games, and video playback.[citation needed]

The newer 3D features of SWF have been seen as an alternative to WebGL, with a spurt of 3D engines like Papervision3D,[25][26][27] Away3D,[25][28][29] Sandy 3D,[25][30] and Alternativa 3D targeting 3D SWF.[31] Although some of these projects started around 2005, until Flash Player 10 however they had no support of GPU acceleration, and even in that version of the Flash Player, shaders could be used for same materials, but vertex information still had to be processed on the CPU (using BSP trees etc.)[31] After version 11 of the Flash Player added the new Stage3D low-level API, some but not all of these projects migrated to the new API. One that did migrate was Away3D, version 4.[32]

Based on an independent study conducted by Millward Brown and published by Adobe, in 2010, over 99% of desktop web browsers in the "mature markets" (defined as United States, Canada, United Kingdom, France, Germany, Japan, Australia, and New Zealand) had a SWF plugin installed, with around 90% having the latest version of the Flash Player.[33]

Due to the increasing popularity of HTML5 for games and animations, as well as the numerous security holes that had plagued Adobe's SWF player, Adobe declared its Flash player EOL on December 31, 2020. On January 12, 2021, it pushed an update to its Flash player that blocked all Flash content from running.

Published specifications

Adobe makes available a partial specification of SWF,[34] most recently updated in January 2013 to reflect changes in SWF version 19.[35] SWF versions have been decoupled from Flash player versions after Flash 10. Afterwards the version number of the SWF progressed rapidly; SWF version 19 corresponds to the new features added in Flash Player 11.6.[36] Flash Player 14 uses SWF version 25.[37]

In 2008, the specifications document was criticized by Rob Savoye, the lead developer of the Gnash project, as missing "huge amounts" of information needed to completely implement SWF, omitting specifications for RTMP and Sorenson Spark.[15] The RTMP specification[38] was released publicly in June 2009.[citation needed] The Sorenson Spark codec is not Adobe's property.

Licensing

Until May 1, 2008, implementing software that plays SWF was disallowed by the specification's license.[39] On that date, as part of its Open Screen Project, Adobe dropped all such restrictions on the SWF and FLV formats.[40]

Implementing software which creates SWF files has always been permitted, on the condition that the resulting files render "error free in the latest publicly available version of Adobe Flash Player."[41]

Other formats related to SWF authoring in the Adobe tool chain remain without a public specification. One example is FLA, which is the editable version of SWF used by Adobe's Flash, but not by other Adobe tools that can also output SWF, albeit with fewer features.[42]

More information Extension, Explanation ...

See also

Adobe Flash
Other

References

  1. "IANA Media Type registration".
  2. "SWF File Format Specification Version 10" (PDF). Archived from the original (PDF) on 2012-01-31. Retrieved 2012-02-26.
  3. "SWF File Format Specification Version 19" (PDF). Archived from the original (PDF) on 2013-02-02. Retrieved 2013-02-17.
  4. "Adobe Flash Player Administration Guide for Flash Player 10.1" (PDF). Adobe.com. Adobe Systems. 2010-06-10. p. 1. Archived from the original (PDF) on 2010-11-21. Retrieved 2011-03-10.
  5. "Open Screen Project". Archived from the original on August 18, 2014.
  6. Jennifer Niederst (2001). Web Design in a Nutshell: A Desktop Quick Reference (2nd ed.). O'Reilly Media, Inc. p. 438. ISBN 978-0-596-00196-4.
  7. ""SWF" stands for...?". Archived from the original on 2016-09-19. Retrieved 2021-02-23.
  8. "Flash Is Dead—but Not Gone". Archived from the original on January 24, 2021. Retrieved October 7, 2023.
  9. "The History of Flash: The Dawn of Web Animation". Adobe Systems. Archived from the original on 2008-01-25. Retrieved 2008-01-21.
  10. "Adobe Fast Facts | Adobe". www.adobe.com. Retrieved 2018-10-28.
  11. "Free Flash community reacts to Adobe Open Screen Project". Archived from the original on 2008-09-28. Retrieved 2008-11-29.
  12. C. Concolato and J. C. Dufourd. "Comparison of MPEG-4 BIFS and some other multimedia description languages". Workshop and Exhibition on MPEG-4, WEPM. 2002.
  13. Christer Kaitila (2011). Adobe Flash 11 Stage3D (Molehill) Game Programming Beginner's Guide. Packt Publishing Ltd. ISBN 978-1-84969-169-7.
  14. Willis, Nathan. "Gnash, Lightspark, and Shumway". LWN.net. Retrieved 13 June 2014.
  15. "WordPress › Error". blogs.adobe.com.
  16. Christopher Smith; AGI Creative Team (2012). Adobe InDesign CS6 Digital Classroom. John Wiley & Sons. p. 391. ISBN 978-0-470-45128-1.
  17. "Wii Internet Channel". Archived from the original on 2008-02-23.
  18. Eric Lempel (December 2008). "PS3 Firmware (v2.53) Update". Playstation.Blog. Retrieved 2009-03-12.
  19. Cheridan Kerr; Jonathan Keats (2009). The Essential Guide to Flash CS4. Apress. p. 286. ISBN 978-1-4302-2353-5.
  20. Michael Lively (2010). Professional Papervision3D. John Wiley & Sons. ISBN 978-0-470-97060-7.
  21. Paul Tondeur; Jeff Winder (2009). Papervision3d Essentials: Create Interactive Papervision3D Applications with Stunning Effects and Powerful Animals. Packt Publishing Ltd. ISBN 978-1-84719-573-9.
  22. Matthew Casperson (2011). Away3D 3.6 Essentials. Packt Publishing Ltd. ISBN 978-1-84951-207-7.
  23. Michael Ivanov (2011). Away3D 3.6 Cookbook. Packt Publishing Ltd. ISBN 978-1-84951-281-7.
  24. Doug McCune; Deepa Subramaniam (2009). Adobe Flex 3.0 For Dummies. John Wiley & Sons. pp. 388–389. ISBN 978-0-470-40789-9.
  25. Remi Arnaud (2011). "3D in a Web Browser". In Eric Lengyel (ed.). Game Engine Gems 2. CRC Press. pp. 207–212. ISBN 978-1-56881-437-7.
  26. "Stage3D vs WebGL Performance". Airtight Interactive. 2011-10-28. Retrieved 2023-02-07.
  27. "Flash content reaches 99% of Internet viewers". Adobe. Archived from the original on August 27, 2010. Retrieved 2010-09-10.
  28. "SWF and FLV File Format Specification License Agreement". Adobe Systems. 2007-06-27. Archived from the original on 2007-12-22. Retrieved 2008-01-05. You may not use the Specification in any way to create or develop a runtime, client, player, executable or other program that reads or renders SWF files.
  29. "Open Screen Project Press Release". Adobe Systems. 2008-05-01. Archived from the original on 2008-05-06. Retrieved 2008-05-01.
  30. "Adobe Player Licensing: Flash Player Developer SDKs". Adobe Systems. Archived from the original on January 15, 2008. Retrieved 2008-01-21.
  31. "New File Extensions and MIME Types". Kaourantin.net. 2007-10-31. Archived from the original on 2010-07-06. Retrieved 2010-12-04.
  32. Adobe Systems Incorporated (November 2008). "Video File Format Specification, Version 10" (PDF). Adobe Systems Incorporated. Archived from the original (PDF) on 2010-09-23. Retrieved 2009-08-03.
  33. Brimelow, Lee (25 April 2008). "New Video Tutorial on Ethical SWF Decompiling". the Flash Blog. Adobe Systems. Archived from the original on 16 December 2012. Retrieved 28 October 2010.
  34. Shashank Tiwari; Elad Elrom; Charlie Schulze (2010). AdvancED Flex 4. Apress. p. 386. ISBN 978-1-4302-2484-6.
  35. Crumlish, Christian; Dykes, Lucinda (20 February 2006). Dreamweaver® MX 2004 SavvyTM. John Wiley & Sons. p. 240. ISBN 978-0-7821-5102-2. Retrieved 22 November 2021.

Share this article:

This article uses material from the Wikipedia article SWF, and is written by contributors. Text is available under a CC BY-SA 4.0 International License; additional terms may apply. Images, videos and audio are available under their respective licenses.