Sustainability of Digital Formats
 Planning for Library of Congress Collections

Introduction | Sustainability Factors | Content Categories | Format Descriptions | Contact
Format Description Categories >> Browse Alphabetical List

Macromedia Flash SWF File Format, Version 7

>> Back
Table of Contents
Identification and description
Local use
Sustainability factors
Quality and functionality factors
File type signifiers
Notes
Format specifications
Useful references
Format Description Properties
• ID: fdd000130
• Short name: SWF_7
• Content categories: moving image
• Format category: file format
• Last significant update: 2007-2-6
• Draft status: Full

Identification and description Explanation of format description terms

Full nameMacromedia Flash SWF File Format, Version 7
Description Delivers vector graphics (especially animations) and other data types, including "bitmapped" video, over the Internet to the Macromedia Flash Player. Commentators describe the technology as "non-native" to the Web. Very simple playback (with a repeat loop) is controlled by a timeline; interactive examples (even very simple ones) use both a timeline and ActionScript, a scripting language similar to JavaScript. ActionScripts may reference objects within the SWF file or resources external to it, e.g., Macromedia FLV video files.

SWF files are typically derived from a FLA file (Macromedia Flash Project File); they may also be produced in other ways using third-party software. SWF files may be combined with a runtime version of the Flash player, resulting in a file type called projector. Windows versions of projector files are executables with an exe extension.

The swf extension was originally used for files played by Macromedia's Shockwave browser plug-in; see Notes for additional history information.

In 2005, Adobe purchased Macromedia and a branding changeover began. The documentation for the Flash (SWF) format, version 8, was disseminated from the Adobe Web site but still carried the Macromedia brand on the cover sheet.
Production phaseUsed for final-state, end-user delivery.
Relationship to other formats 
  Has Earlier Version Macromedia Flash (SWF) Versions 3, 4, 5, and 6, not documented here
  Has Later Version SWF_8, Macromedia Flash SWF File Format, Version 8
  May contain Sorenson encoded video.1
  May contain Screen Video Bitstream Format (ScreenVideo), not documented here.
  May contain Raw PCM sampled audio content, not documented here.
  May contain ADPCM (Adaptive Delta Pulse Code Modulation) audio content
  May contain MP3_ENC audio content
  May contain Nellymoser Asao (speech compression) audio content, not documented here.
  Used by QuickTime File Format
  Other FLA Macromedia Flash FLA Project File Format. Explanatory note: SWF files are typically derived from ("save as") a FLA file.

Local use Explanation of format description terms

LC experience or existing holdingsSeven SWF motion picture and two SWF interactive titles were collected by the Motion Picture, Broadcasting, and Recorded Sound Division in 2002. Version number unknown at this writing.
LC preferenceNone established at this time. Potential challenges to the preservation of SWF files are discussed in Richard Entlich's article "Flash in the Pan or Around for the Long Haul?" The compilers of this document seek advice regarding preservation preferences: SWF, FLA, a projector version, or is it advisable to archive all three?

Sustainability factors Explanation of format description terms

DisclosureFully documented. Developed by Macromedia, Inc., now owned by Adobe Systems.
  Documentation The specification for version 8 (Macromedia Flash (SWF) and Flash Video (FLV) File Format Specification, Version 8, n.d., copyright notice 2005) includes documentation for versions 6 and 7. (Consulted in February 2007.) Prior to the announcement of version 8, The Macromedia Flash SWF File Format Specification, Version 7, n.d.(copyright notice 2002-2003). was available at http://download.macromedia.com/pub/flash/flash_file_format_specification.pdf.
AdoptionWidely adopted; surveys indicate that more than 20 percent of Web sites include Flash content and that over 90 percent of US Web browsers have some version of the Flash player installed.
  Licensing and patent claimsAdobe offers the specification and the right to build tools to produce SWF files (in the current version, no longer version 7) via a free license.
TransparencyNot transparent; proprietary binary format.
Self-documentation None accessible via the player. Tags within the file identify data types, e.g., the particular sound encoding used. Regarding descriptive data, Macromedia offers search engine application engineers a software development kit that extracts any indexable information from SWF files that producers may have incorporated. The challenge of indexing Flash and similar content is discussed in a special report from the Search Engine Strategies conference in Boston, March 4-6, 2003. Until late 2006, this report was available at http://www.search-this.com/website_design/flash-seo.asp.
External dependenciesNone.
Technical protection considerationsNone known to the compilers of this document.

Quality and functionality factors Explanation of format description terms

Video elements 
Normal rendering for videoGood support
Clarity (support for high image resolution)Vector content is scalable and thus free of most clarity issues. "Bitmapped" video in SWF files may be compressed in two ways. One option is a Sorenson codec,1 which apparently extends to large picture sizes. Another option is the Screen Video Bitstream Format, optimized for "captures of computer screens in motion," described on page 15 of the SWF specification formerly available at http://download.macromedia.com/pub/flash/flash_file_format_specification.pdf. The video quality in these encodings is expected to range from good to very good.
Functionality beyond normal rendering for videoActionScript permits a wide range of interactive options, and scripts may call on both internal and external resources.
Sound elements 
Normal rendering for soundGood support
Fidelity (support for high audio resolution)The SWF specification limits uncompressed audio to 44 kHz sampling and 16 bit words, thus providing very good fidelity. The use of compression will reduce fidelity in accord with the specific encoding and settings selected.
Support for multiple sound channelsStereo only.
Support for downloadable or user-defined sounds, samples, and patchesNone.
Functionality beyond normal rendering for soundActionScript permits a wide range of interactive options, and scripts may call on both internal and external resources.

File type signifiers Explanation of format description terms

Tag typeValueNote
Filename Extensionswf From the Flash SWF Specification (version 7), p. 9. The Wikipedia article on Adobe Flash (consulted February 5, 2007) includes a list of file types (with extensions) associated with the Flash family.
Internet Media Typeapplication/x-shockwave-flashFrom the Flash SWF Specification, version 7, p. 9.
Internet Media Type application/x-shockwave-flash2-preview
application/futuresplash
image/vnd.rn-realflash
Selected from The File Extension Source
Magic numbersHex: 46 57 53
ASCII: FWS
For uncompressed files; from the Flash SWF Specification, version 7, p. 10. The next byte in the file provides the version number; Hex 07 (0x07) for version 7.
Magic numbersHex: 43 57 53
ASCII: CWS
For files compressed with ZLIB; from the Flash SWF Specification, version 7, p. 10. The next byte in the file provides the version number; Hex 07 (0x07) for version 7.

Notes Explanation of format description terms

GeneralIn principle, SWF files could be used for static vector graphics but there appears to be little or no practice of doing this. Meanwhile, it is worth noting that several web pages (for example, http://www.carto.net/papers/svg/comparison_flash_svg/) are devoted to comparisons of SWF and SVG_1_1 (Scalable Vector Graphics, Version 1.1), partly with animation in mind and sometimes by advocates for the open, public standard that SVG represents. SVG files can be used for animations but here again there appears to be little or no practice and even SVG advocates state that Macromedia's powerful authoring software gives SWF the edge.
HistoryFrom Richard Entlich's article "Flash in the Pan or Around for the Long Haul?": "Flash traces its origins to a browser plug-in called FutureSplash, originally produced by a company called FutureWave, but purchased by Macromedia in 1996 and renamed Flash. At the time, Macromedia offered a Web plug-in called Shockwave that decoded several of its multimedia products, including Flash. Thus the MIME type for Flash is application/x-shockwave-flash and the file extension for binary Flash files is 'swf' for Shockwave Flash. Ultimately, Macromedia moved away from handling multiple content types with a single plug-in. Today, the Shockwave plug-in is only used to play content produced by Macromedia's Director, an older tool originally for developing interactive CD-ROM content but now also used for Web animation. The plug-in that plays back Flash content is called Flash Player. However, the term Shockwave Flash is still widely used (even by Macromedia), and is the source of much understandable confusion.

"Over the years, Flash has grown in power and popularity. It drew attention early for its ability to create animations that were fairly compact and fast-loading. Subsequently, Flash has become more sophisticated, with a powerful scripting language (called ActionScript) similar to JavaScript, and the ability to render a wide range of interactive Web site content. Recent versions of Flash can incorporate sound and video. Even though it is a vector graphic tool, Flash can incorporate raster graphics (i.e., bitmaps) . . . . Flash is prized by many developers for its ability to provide a visually rich and highly interactive user experience not easily achievable with other technologies."

Format specifications Explanation of format description terms

URLs
Flash SWF File Format Specification, Version 8, includes documentation for versions 6 and 7 (http://www.adobe.com/licensing/developer/)
• The Macromedia Flash SWF File Format Specification, Version 7, n.d., copyright notice 2002-2003 was once available at this URL: http://download.macromedia.com/pub/flash/flash_file_format_specification.pdf. As of late 2006, it is no longer offered at that site.

Print

Useful references Explanation of format description terms

URLs
Adobe page regarding current Flash specification (http://www.adobe.com/licensing/developer/fileformat/faq/)
Adobe page regarding licensing (http://www.adobe.com/products/flash/open/licensing/fileformat/license2.html)
"Flash in the Pan or Around for the Long Haul?" by Richard Entlich, RLG DigiNews, Vol. 8, No. 3 (June 15, 2004)
Gary Kessler's File Signatures Table (http://www.garykessler.net/library/file_sigs.html).
The File Extension Source

Print

1 Flash documentation for version 7 does not state a number for "their" version of Sorenson but describes the codec as a variant of ITU-T (International Telecommunications Union-Telecommunication Standardization Sector) recommendation H.263 (MPEG-4_V). In early 2006, one of Sorenson's compression applications to produce content for Flash offered the Sorenson_3 codec, described by experts as a variant of ITU-T H.264 (MPEG-4_AVC). By late 2006, Sorenson offered new compression applications with other outputs.


Last Updated: Wednesday, 07-Mar-2007 12:40:23 EST