Skip to content
Surf Wiki
Save to docs
general/adobe-flash

From Surf Wiki (app.surf) — the open knowledge base

SWF

Adobe flash file format


Adobe flash file format

FieldValue
nameSmall Web Format (.SWF)
icon[[File:Flash Player 34 SWF icon.png64px]]
extension.swf
mimeapplication/vnd.adobe.flash.movie, application/x-shockwave-flash
magic`CWS`,`FWS` or `ZWS`
ownerFutureWave Software,
later taken over by Macromedia and
Adobe Systems
typeVector graphics animation
container forAdobe Flash (formerly Macromedia Flash and FutureSplash), sometimes labeled Shockwave Flash Object.
Note

the Adobe Flash file format sometimes referred to as "Shockwave Flash"

later taken over by Macromedia and Adobe Systems SWF () is a defunct Adobe Flash file format that is used for multimedia, vector graphics and ActionScript.

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" originated as an abbreviation for ShockWave Flash. This usage was changed to the backronym Small Web Format to eliminate confusion with a different technology, Shockwave, from which SWF derived. |url-access= registration There is no official resolution to the initialism "SWF" by Adobe.

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.

History

The small company FutureWave Software originally defined the file format with one primary objective: to create small files for displaying entertaining animations. 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.

Adobe acquired Macromedia in 2005.

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.{{cite web |access-date = 2008-11-29 |archive-url = https://web.archive.org/web/20080928202954/http://www.openmedianow.org/?q=node/21 |archive-date = 2008-09-28 |url-status = usurped

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 Bézier 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.

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.

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. In Stage3D shaders are expressed in a low-level language called Adobe Graphics Assembly Language (AGAL).

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. Another player is the LGPL-licensed Swfdec. Lightspark is a continuation of Gnash supporting more recent SWF versions.

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

Sony PlayStation Portable consoles can play limited SWF files in Sony's web browser, beginning with firmware version 2.71. Both the Nintendo Wii and the Sony PS3 consoles can run SWF files through their web 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.

The newer 3D features of SWF have been seen as an alternative to WebGL, with a spurt of 3D engines like Papervision3D, Away3D, Sandy 3D, and Alternativa 3D targeting 3D SWF. 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.) 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.

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.

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, most recently updated in January 2013 to reflect changes in SWF version 19. 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. Flash Player 14 uses SWF version 25.

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. The RTMP specification was released publicly in June 2009. 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.{{cite web |access-date = 2008-05-01 |url-status = dead |archive-url = https://web.archive.org/web/20080506095459/http://www.adobe.com/aboutadobe/pressroom/pressreleases/200804/050108AdobeOSP.html |archive-date = 2008-05-06

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."

References

References

  1. "IANA Media Type registration".
  2. "[Apache-SVN] Contents of /httpd/httpd/branches/2.4.x/docs/conf/mime.types".
  3. "nginx's media type file".
  4. "SWF File Format Specification Version 10".
  5. "SWF File Format Specification Version 19".
  6. (2010-06-10). "Adobe Flash Player Administration Guide for Flash Player 10.1". Adobe Systems.
  7. "Open Screen Project".
  8. Mark Schaeffer. (2007). "Adobe Flash CS3 Professional How-Tos: 100 Essential Techniques". Adobe Press.
  9. ""SWF" stands for...?".
  10. "Flash Is Dead—but Not Gone".
  11. "The History of Flash: The Dawn of Web Animation". Adobe Systems.
  12. "Adobe Fast Facts {{!}} Adobe".
  13. "Streamingmedia.com: Google and Yahoo Roll out Flash Search ".
  14. C. Concolato and J. C. Dufourd. "[http://perso.telecom-paristech.fr/~concolat/Papers/2002%20-%20WEMP%20-%20Comparison%20BIFS%20and%20others.pdf Comparison of MPEG-4 BIFS and some other multimedia description languages] {{Webarchive. link. (2014-08-10 ". Workshop and Exhibition on MPEG-4, WEPM. 2002.)
  15. Christer Kaitila. (2011). "Adobe Flash 11 Stage3D (Molehill) Game Programming Beginner's Guide". Packt Publishing Ltd.
  16. "What is AGAL - Adobe Developer Connection".
  17. (21 November 2012). "Gnash, Lightspark, and Shumway".
  18. "WordPress › Error".
  19. (2012). "Adobe InDesign CS6 Digital Classroom". John Wiley & Sons.
  20. "Wii Internet Channel".
  21. Eric Lempel. (December 2008). "PS3 Firmware (v2.53) Update". Playstation.Blog.
  22. Michael Lively. (2010). "Professional Papervision3D". John Wiley & Sons.
  23. (2009). "Papervision3d Essentials: Create Interactive Papervision3D Applications with Stunning Effects and Powerful Animals". Packt Publishing Ltd.
  24. Matthew Casperson. (2011). "Away3D 3.6 Essentials". Packt Publishing Ltd.
  25. Michael Ivanov. (2011). "Away3D 3.6 Cookbook". Packt Publishing Ltd.
  26. (2009). "The Essential Guide to Flash CS4". Apress.
  27. (2009). "Adobe Flex 3.0 For Dummies". John Wiley & Sons.
  28. Remi Arnaud. (2011). "Game Engine Gems 2". CRC Press.
  29. (2011-10-28). "Stage3D vs WebGL Performance". Airtight Interactive.
  30. "Flash content reaches 99% of Internet viewers". Adobe.
  31. "SWF and AMF Technology Center - Adobe Developer Connection".
  32. "SWF and AMF3 specifications update - ByteArray.org".
  33. "SWF Versioning - ByteArray.org".
  34. "Flash Player and Adobe AIR feature list - Adobe Developer Connection".
  35. "Real-Time Messaging Protocol (RTMP) specification - Adobe Developer Connection".
  36. "Adobe Player Licensing: Flash Player Developer SDKs". Adobe Systems.
  37. (2009). "After Effects for Flash, Flash for After Effects: Dynamic Animation and Video with Adobe After Effects CS4 with Adobe Flash CS4 Professional". Adobe Press.
  38. Adobe Systems Incorporated. (November 2008). "Video File Format Specification, Version 10". Adobe Systems Incorporated.
  39. (2007-10-31). "New File Extensions and MIME Types". Kaourantin.net.
  40. (2010). "AdvancED Flex 4". Apress.
  41. [http://kb2.adobe.com/cps/410/tn_4109.html Can a Flash Player movie (SWF) file be edited or imported?]. Kb2.adobe.com. Retrieved on 2010-11-09.
  42. (20 February 2006). "Dreamweaver® MX 2004 SavvyTM". John Wiley & Sons.
Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about SWF — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report