Swf Logo
   HOME

TheInfoList



OR:

SWF ( ) is an Adobe Flash
file format A file format is a standard way that information is encoded for storage in a computer file. It specifies how bits are used to encode information in a digital storage medium. File formats may be either proprietary or free. Some file formats ...
used for multimedia, vector graphics and ActionScript.Open Screen Project
Originating with FutureWave Software, then transferred to Macromedia, and then coming under the control of
Adobe Adobe ( ; ) is a building material made from earth and organic materials. is Spanish for ''mudbrick''. In some English-speaking regions of Spanish heritage, such as the Southwestern United States, the term is used to refer to any kind of e ...
, SWF files can contain
animation Animation is a method by which image, still figures are manipulated to appear as Motion picture, moving images. In traditional animation, images are drawn or painted by hand on transparent cel, celluloid sheets to be photographed and exhibited ...
s 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 (the replacement for Adobe Flash as of Feb. 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 An illustrator is an artist who specializes in enhancing writing or elucidating concepts by providing a visual representation that corresponds to the content of the associated text or idea. The illustration may be intended to clarify complicat ...
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 Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
Motion-Twin ActionScript 2 Compiler (MTASC), the open-source Ming library and the free-software suite
SWFTools SWFTools is an open source software tool suite for creating and manipulating SWF files. Distributed under the terms of the GPL-2.0-or-later, it may be compiled from C source, to run under Linux, Microsoft Windows, and Apple OS X. On Microsoft ...
. Various other third-party programs can also produce files in this format, such as Multimedia Fusion 2,
Captivate Adobe Captivate is an authoring tool that is used for creating eLearning content such as software demonstrations, software simulations, branched scenarios, and randomized quizzes in Shockwave Flash ( .swf, a.k.a. ‘Small Web Format’) and HTML ...
and
SWiSH Max SWiSH Max is a Flash, Dynamic HTML and vector graphic creation tool that is commonly used to create interactive and cross-platform movies, animations, and presentations. It was developed and distributed by Swishzone.com Pty Ltd, based in Sydney, ...
. The term "SWF" has 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 In physics, a shock wave (also spelled shockwave), or shock, is a type of propagating disturbance that moves faster than the local speed of sound in the medium. Like an ordinary wave, a shock wave carries energy and can propagate through a me ...
, from which SWF derived. There is no official resolution to the initialism "SWF" by Adobe.


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. On July 1, 2008, Adobe released code to Google and Yahoo, which allowed their search engines to crawl and index SWF files.


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 MPEG-4 Part 11 ''Scene description and application engine'' was published as International Organization for Standardization, ISO/IEC 14496-11 in 2005. MPEG-4 Part 11 is also known as BIFS, XMT, MPEG-J. It defines: * the coded representation of the ...
. SWF also uses display lists and allows naming and reusing previously defined components. The binary stream format SWF uses is fairly similar to
QuickTime QuickTime is an extensible multimedia framework developed by Apple Inc., capable of handling various formats of digital video, picture, sound, panoramic images, and interactivity. Created in 1991, the latest Mac version, QuickTime X, is avai ...
atoms, with a tag, length and payload an organization that makes it very easy for (older) players to skip contents they don't support.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.
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 OpenGL (Open Graphics Library) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardwa ...
or
Direct3D Direct3D is a graphics application programming interface (API) for Microsoft Windows. Part of DirectX, Direct3D is used to render three-dimensional graphics in applications where performance is important, such as games. Direct3D uses hardware a ...
. In Stage3D shaders are expressed in a low-level language called
Adobe Graphics Assembly Language Stage3D (codenamed ''Molehill'') is an Adobe Flash Player API for rendering interactive 3D graphics with GPU-acceleration, within Flash games and applications. Flash Player or AIR applications written in ActionScript 3 may use Stage3D to render 3D ...
(AGAL).


Adoption

Adobe makes available
plugins Plug-in, plug in or plugin may refer to: * Plug-in (computing) is a software component that adds a specific feature to an existing computer program. ** Audio plug-in, adds audio signal processing features ** Photoshop plugin, a piece of software t ...
, such as Adobe Flash Player and Adobe Integrated Runtime, to play SWF files in web browsers on many desktop operating systems, including
Microsoft Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
, Mac OS X, and Linux on the x86 architecture and
ARM architecture ARM (stylised in lowercase as arm, formerly an acronym for Advanced RISC Machines and originally Acorn RISC Machine) is a family of reduced instruction set computer (RISC) instruction set architectures for computer processors, configured ...
( 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 The GNU Lesser General Public License (LGPL) is a free-software license published by the Free Software Foundation (FSF). The license allows developers and companies to use and integrate a software component released under the LGPL into their own ...
-licensed Swfdec.
Lightspark Lightspark is a free and open-source SWF player released under the terms of the GNU Lesser General Public License (LGPL) version 3. Features Lightspark supports most of ActionScript 3.0 and has an NPAPI plug-in. It will fall back on Gnash, ...
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 Portable Document Format (PDF), standardized as ISO 32000, is a file format developed by Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, hardware, and operating systems. ...
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 The PlayStation Portable (PSP) is a handheld game console developed and marketed by Sony Computer Entertainment. It was first released in Japan on December 12, 2004, in North America on March 24, 2005, and in PAL regions on September 1, 2005, ...
consoles can play limited SWF files in Sony's web browser, beginning with firmware version 2.71. Both the
Nintendo is a Japanese Multinational corporation, multinational video game company headquartered in Kyoto, Japan. It develops video games and video game consoles. Nintendo was founded in 1889 as by craftsman Fusajiro Yamauchi and originally produce ...
Wii The Wii ( ) is a home video game console developed and marketed by Nintendo. It was released on November 19, 2006, in North America and in December 2006 for most other Regional lockout, regions of the world. It is Nintendo's fifth major ho ...
and the Sony
PS3 The PlayStation 3 (PS3) is a home video game console developed by Sony Computer Entertainment. The successor to the PlayStation 2, it is part of the PlayStation brand of consoles. It was first released on November 11, 2006, in Japan, November ...
consoles can run SWF files through their Internet browsers. Scaleform GFx is a commercial alternative SWF player that features full
hardware acceleration Hardware acceleration is the use of computer hardware designed to perform specific functions more efficiently when compared to software running on a general-purpose central processing unit (CPU). Any transformation of data that can be calcula ...
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 tree In computer science, binary space partitioning (BSP) is a method for space partitioning which recursively subdivides a Euclidean space into two convex sets by using hyperplanes as partitions. This process of subdividing gives rise to a represent ...
s 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. On that date, as part of its Open Screen Project, Adobe dropped all such restrictions on the SWF and FLV formats. 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."


Related file formats and extensions

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.


See also

;Adobe Flash * ActionScript * ActionScript code protection * Adobe Flash Player, the runtime that executes and plays back Flash movies * Adobe Flash Lite, a lightweight version of Flash Player for devices that lack the resources to run regular Flash movies * Flash Video * Ming library * Saffron Type System, the
anti-aliased Anti-aliasing may refer to any of a number of techniques to combat the problems of aliasing in a sampled signal such as a digital image or digital audio recording. Specific topics in anti-aliasing include: * Anti-aliasing filter, a filter used be ...
text-rendering engine used in version 8 onwards * Local Shared Object * SWFObject, a JavaScript library used to embed Flash content into webpages. ;Other * OpenLaszlo * Personal video recorders some possibly record and play swf files * FutureSplash Animator *
SWFTools SWFTools is an open source software tool suite for creating and manipulating SWF files. Distributed under the terms of the GPL-2.0-or-later, it may be compiled from C source, to run under Linux, Microsoft Windows, and Apple OS X. On Microsoft ...
*
SWiSH Max SWiSH Max is a Flash, Dynamic HTML and vector graphic creation tool that is commonly used to create interactive and cross-platform movies, animations, and presentations. It was developed and distributed by Swishzone.com Pty Ltd, based in Sydney, ...


References


External links


Adobe Systems Flash SWF reference

SWF File Format Specification
(Version 19)
Adobe SWF Investigator
a disassembler of sorts

{{DEFAULTSORT:Swf Adobe Flash Computer file formats Graphics file formats