Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

SWF

From Wikipedia, the free encyclopedia
Adobe flash file format
For other uses, seeSWF (disambiguation).
This article is about the Adobe Flash file format sometimes referred to as "Shockwave Flash". For thebrowserplug-in labeled "Shockwave Flash", seeAdobe Flash Player.
Not to be confused withAdobe Shockwave.
Small Web Format (SWF)
Filename extension
.swf
Internet media type
application/vnd.adobe.flash.movie,[1] application/x-shockwave-flash[2][3]
Magic numberCWS,FWS[4] orZWS[5]
Developed byFutureWave Software,
later taken over byMacromedia and
Adobe Systems
Type of formatVector graphic animation
Container forAdobe Flash (formerly Macromedia Flash and FutureSplash), sometimes labeledShockwave Flash Object.

SWF (/ˈswɪf/)[6] is a defunctAdobe Flashfile format that was used formultimedia,vector graphics andActionScript.[7]

Originating withFutureWave Software, then transferred toMacromedia, and then coming under the control ofAdobe, SWF files can containanimations orapplets of varying degrees of interactivity and function. They may also occur in programs, commonlybrowser games, usingActionScript.

Programmers can generate SWF files from within several Adobe products, includingFlash,Flash Builder (anIDE),Adobe Animate (a rename of Adobe Flash since 2016), andAfter Effects, as well as through MXMLC, a command-line application compiler which forms part of the freely-availableFlex SDK. Although AdobeIllustrator can generate SWF format files through its "export" function, it cannot open or edit them. Other than using Adobe products, one can build SWFs withopen-sourceMotion-Twin ActionScript 2 Compiler (MTASC), the open-sourceMing library and thefree-software suiteSWFTools. Various other third-party programs can also produce files in this format, such asMultimedia Fusion 2,Captivate andSWiSH Max.

The term "SWF" originated as an abbreviation forShockWave Flash.[8] This usage was changed to thebackronymSmall 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

[edit]

The small companyFutureWave 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 releasedFutureSplash 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-knownMacromedia 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 theOpen Screen Project. However,Rob Savoye, a member of theGnash 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

[edit]

The main graphical primitive in SWF is the path, which is a chain of segments of primitive types, ranging from lines tosplines orBézier curves. Additional primitives like rectangles, ellipses, and even text can be built from these. The graphical elements in SWF are thus fairly similar toSVG andMPEG-4 BIFS. SWF also usesdisplay lists and allows naming and reusing previously defined components.[17]

The binary stream format SWF uses is fairly similar toQuickTime 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 ultimatelyStage3D. It was intended to be an equivalent ofOpenGL orDirect3D.[18]: 9  In Stage3Dshaders are expressed in a low-level language calledAdobe Graphics Assembly Language (AGAL).[18]: 57 [19]

Adoption

[edit]
See also:Adobe Flash § Players, andAdobe Flash § Animation Tools

Adobe makes availableplugins, such asAdobe Flash Player andAdobe Integrated Runtime, to play SWF files inweb browsers on many desktop operating systems, includingMicrosoft Windows,Mac OS X, andLinux on thex86 architecture andARM architecture (ChromeOS only).

GNU has started developing afree software SWF player calledGnash under theGNU General Public License (GPL). Despite being a declared high-priority GNU project, funding for Gnash was fairly limited.[20] Another player is theLGPL-licensedSwfdec.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 inAdobe Shockwave, which renders more complex documents.[17] SWF can also be embedded inPDF files; these are viewable withAdobe Reader 9 or later.[21]InDesign CS6 can also produce some limited forms of SWF animations directly.[22]

SonyPlayStation Portable consoles can play limited SWF files in Sony's web browser, beginning with firmware version 2.71. Both theNintendoWii[23] and theSonyPS3[24] consoles can run SWF files through their web browsers.

Scaleform GFx is a commercial alternative SWF player that features fullhardware acceleration using theGPU and has high conformance up to Flash 8 and AS2. Scaleform GFx is licensed as agame 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 toWebGL, with a spurt of 3D engines likePapervision3D,[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 ofGPU 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 (usingBSP 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 playerEOL 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

[edit]

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 byRob Savoye, the lead developer of theGnash project, as missing "huge amounts" of information needed to completely implement SWF, omitting specifications forRTMP andSorenson Spark.[15] TheRTMP specification[38] was released publicly in June 2009.[citation needed] The Sorenson Spark codec is not Adobe's property.

Licensing

[edit]

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 andFLV formats.[40]

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

Related file formats and extensions

[edit]

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]

ExtensionExplanation
.abcActionscript bytecode used by the Actionscript Virtual Machine AVM (Flash 8 and prior), and AVM2 (Flash 9 or later).
.amfAction Message commands for transacting with aFMS.
.asActionScriptsource code in simple source files. FLA files can also contain Actionscript code directly, but separate external .as files often emerge for structural reasons, or to expose the code to versioning applications.
.ascServer-Side ActionScript, which is used to develop efficient and flexible client-server Macromedia Flash Communication Server MX applications.
.asoCache files used during Flash development, containing compiled ActionScript byte code. An ASO file is recreated when a change in its corresponding class files is detected. Occasionally the Flash IDE does not recognize that a recompile is necessary, and these cache files must be deleted manually. They are located in %USERPROFILE%\Local Settings\Application Data\Macromedia\Flash8\en\Configuration\Classes\aso on Win32 / Flash8.
.f4aAdobe suffix for iTunes M4A files that contain only audio streams.[43]
.f4bAdobe suffix for iTunes M4Baudiobook files.[43]
.f4fMP4 atom-ized fragmented files. ContainingFLV packets.
.f4mXML manifest files. Containingbase64 FLV onMetaData headers for an Adobe version of bit rate controlHTTP Live Streaming.
.f4pAdobe suffix for media encrypted with the Adobe Accessdigital rights management scheme which is based on the same protection scheme that their RTMP protocol uses.[43]
.f4vSimilar to iTunes M4V files which are based onMP4 and can be played back by Flash Player 9 Update 3 and above. F4V file format is second container format for Flash video and it differs from FLV file format. It is based on theISO base media file format.[44][43]
.flaSource material for the Flash application. Flash authoring software can edit FLA files and compile them into .swf files. The Flash source file format is currently a binary file format based on theMicrosoft Compound File Format. In Flash Pro CS5, the fla file format is a zip container of an XML-based project structure.
.flpXML files used to reference all the document files contained in a Flash Project. Flash Projects allow the user to group multiple, related files together to assist in Flash project organization, compilation and build.
.flvFlash video files, as created by Adobe Flash,ffmpeg,Sorenson Squeeze, orOn2 Flix. The audio and video data within FLV files are encoded in the same way as they are within SWF files.
.fxgUnified xml file format being developed byAdobe forFlex, Flash,Photoshop and other applications.
.jsflAdds functionality in the Flash Authoring environment; they contain JavaScript code and access the Flash JavaScript API.
.mxmlUsed in conjunction with ActionScript files (and .css files), and offer a markup-language-style syntax (like HTML) for designing the GUI in Flex. Each MXML file creates a new class that extends the class of the root tag, and adds the nested tags as children (if they are descendants of UIComponent) or members of the class.
.solAdobe Flash Player container to holdLocal Shared Objects (data stored on the system running the Flash player).
.splFutureSplash Animator documents.
.swcContainer for distributing components; they contain a compiled clip, the component's ActionScript class file, and other files that describe the component.
.swdTemporary debugging files used during Flash development. Once finished developing a Flash project these files are not needed and can be removed.
.swfCompleted, compiled and published files that cannot be edited with Adobe Flash. However, several non-Adobe '.swfdecompilers' exist (like that of Sothink) to convert SWF back to the FLA format,[45] or to the more recentApache Flex format.[46] Attempting to import .swf files using Flash allows it to retrieve some assets from the .swf, but not all.[47]
.swt'Templatized' forms of .swf files, used by Macromedia Generator. It is alsoAdobe Dreamweaver's Flash template file extension.[48]
.xflXML-based project files that are equivalent to the binary .fla format. Flash authoring software uses XFL as an exchange format in Flash CS4. It imports XFL files that are exported from InDesign and AfterEffects. In Flash Pro CS5, the xfl file is a key file which opens the "uncompressed FLA" file, which is a hierarchy of folders containing XML and binary files.

See also

[edit]
Adobe Flash
Other

References

[edit]
  1. ^"IANA Media Type registration".
  2. ^"[Apache-SVN] Contents of /httpd/httpd/branches/2.4.x/docs/conf/mime.types".svn.apache.org.
  3. ^"nginx's media type file".
  4. ^"SWF File Format Specification Version 10"(PDF). Archived fromthe original(PDF) on 2012-01-31. Retrieved2012-02-26.
  5. ^"SWF File Format Specification Version 19"(PDF). Archived fromthe original(PDF) on 2013-02-02. Retrieved2013-02-17.
  6. ^"Adobe Flash Player Administration Guide for Flash Player 10.1"(PDF).Adobe.com. Adobe Systems. 2010-06-10. p. 1. Archived fromthe original(PDF) on 2010-11-21. Retrieved2011-03-10.
  7. ^"Open Screen Project". Archived fromthe original on August 18, 2014.
  8. ^abMark Schaeffer (2007).Adobe Flash CS3 Professional How-Tos: 100 Essential Techniques. Adobe Press.ISBN 978-0-13-270129-7.
  9. ^"SWF Definition from PC Magazine Encyclopedia". Retrieved2013-11-02.
  10. ^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.
  11. ^""SWF" stands for...?". Archived fromthe original on 2016-09-19. Retrieved2021-02-23.
  12. ^"Flash Is Dead—but Not Gone".Archived from the original on January 24, 2021. RetrievedOctober 7, 2023.
  13. ^"The History of Flash: The Dawn of Web Animation". Adobe Systems. Archived fromthe original on 2008-01-25. Retrieved2008-01-21.
  14. ^"Adobe Fast Facts | Adobe".www.adobe.com. Retrieved2018-10-28.
  15. ^ab"Free Flash community reacts to Adobe Open Screen Project". Archived from the original on 2008-09-28. Retrieved2008-11-29.
  16. ^"Streamingmedia.com: Google and Yahoo Roll out Flash Search".
  17. ^abcC. Concolato and J. C. Dufourd. "Comparison of MPEG-4 BIFS and some other multimedia description languages". Workshop and Exhibition on MPEG-4, WEPM. 2002.
  18. ^abChrister Kaitila (2011).Adobe Flash 11 Stage3D (Molehill) Game Programming Beginner's Guide. Packt Publishing Ltd.ISBN 978-1-84969-169-7.
  19. ^"What is AGAL - Adobe Developer Connection".www.adobe.com.
  20. ^abWillis, Nathan."Gnash, Lightspark, and Shumway".LWN.net. Retrieved13 June 2014.
  21. ^"WordPress › Error".blogs.adobe.com.
  22. ^Christopher Smith; AGI Creative Team (2012).Adobe InDesign CS6 Digital Classroom. John Wiley & Sons. p. 391.ISBN 978-0-470-45128-1.
  23. ^"Wii Internet Channel". Archived fromthe original on 2008-02-23.
  24. ^Eric Lempel (December 2008)."PS3 Firmware (v2.53) Update". Playstation.Blog. Retrieved2009-03-12.
  25. ^abcCheridan Kerr; Jonathan Keats (2009).The Essential Guide to Flash CS4. Apress. p. 286.ISBN 978-1-4302-2353-5.
  26. ^Michael Lively (2010).Professional Papervision3D. John Wiley & Sons.ISBN 978-0-470-97060-7.
  27. ^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.
  28. ^Matthew Casperson (2011).Away3D 3.6 Essentials. Packt Publishing Ltd.ISBN 978-1-84951-207-7.
  29. ^Michael Ivanov (2011).Away3D 3.6 Cookbook. Packt Publishing Ltd.ISBN 978-1-84951-281-7.
  30. ^Doug McCune; Deepa Subramaniam (2009).Adobe Flex 3.0 For Dummies. John Wiley & Sons. pp. 388–389.ISBN 978-0-470-40789-9.
  31. ^abRemi 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.
  32. ^"Stage3D vs WebGL Performance".Airtight Interactive. 2011-10-28. Retrieved2023-02-07.
  33. ^"Flash content reaches 99% of Internet viewers". Adobe. Archived fromthe original on August 27, 2010. Retrieved2010-09-10.
  34. ^"SWF and AMF Technology Center - Adobe Developer Connection".www.adobe.com.
  35. ^"SWF and AMF3 specifications update - ByteArray.org". Archived fromthe original on 2013-04-15.
  36. ^"SWF Versioning - ByteArray.org". Archived fromthe original on 2012-10-15.
  37. ^"Flash Player and Adobe AIR feature list - Adobe Developer Connection".www.adobe.com.
  38. ^"Real-Time Messaging Protocol (RTMP) specification - Adobe Developer Connection".www.adobe.com.
  39. ^"SWF and FLV File Format Specification License Agreement". Adobe Systems. 2007-06-27. Archived fromthe original on 2007-12-22. Retrieved2008-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.
  40. ^"Open Screen Project Press Release". Adobe Systems. 2008-05-01. Archived fromthe original on 2008-05-06. Retrieved2008-05-01.
  41. ^"Adobe Player Licensing: Flash Player Developer SDKs". Adobe Systems. Archived fromthe original on January 15, 2008. Retrieved2008-01-21.
  42. ^Richard Harrington; Marcus Geduld (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. p. 32.ISBN 978-0-321-60607-5.
  43. ^abcd"New File Extensions and MIME Types". Kaourantin.net. 2007-10-31. Archived fromthe original on 2010-07-06. Retrieved2010-12-04.
  44. ^Adobe Systems Incorporated (November 2008)."Video File Format Specification, Version 10"(PDF). Adobe Systems Incorporated. Archived fromthe original(PDF) on 2010-09-23. Retrieved2009-08-03.
  45. ^Brimelow, Lee (25 April 2008)."New Video Tutorial on Ethical SWF Decompiling".the Flash Blog.Adobe Systems. Archived fromthe original on 16 December 2012. Retrieved28 October 2010.
  46. ^Shashank Tiwari; Elad Elrom; Charlie Schulze (2010).AdvancED Flex 4. Apress. p. 386.ISBN 978-1-4302-2484-6.
  47. ^Can a Flash Player movie (SWF) file be edited or imported?. Kb2.adobe.com. Retrieved on 2010-11-09.
  48. ^Crumlish, Christian; Dykes, Lucinda (20 February 2006).Dreamweaver® MX 2004 SavvyTM. John Wiley & Sons. p. 240.ISBN 978-0-7821-5102-2. Retrieved22 November 2021.

External links

[edit]
Raster
Raw
Vector
Compound
Metadata
File
formats
Software
(list)
Players
Animation
tools
Programming
tools
Libraries
Converters
Server-side
Obsolete
software
Related
topics
Developers
Bytype
2D
3D
See also
Retrieved from "https://en.wikipedia.org/w/index.php?title=SWF&oldid=1279178406"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp