SWF

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Add 4 AS3 libraries that allow reading/editing SWF files)
Line 15: Line 15:
 
Flash was at the height of popularity for interactive browser applications in the 2000's, but notoriously suffered from security vulnerabilities (and continues to do so as of this writing). It was also dealt a serious blow when Apple decided not to support it in iOS devices, and Web developers have generally turned to [[HTML]] 5 as a replacement. In July 2017, in perhaps the first Flash update anyone has cared for, Adobe [https://blogs.adobe.com/conversations/2017/07/adobe-flash-update.html announced] that Flash will reach its end-of-life in 2020.
 
Flash was at the height of popularity for interactive browser applications in the 2000's, but notoriously suffered from security vulnerabilities (and continues to do so as of this writing). It was also dealt a serious blow when Apple decided not to support it in iOS devices, and Web developers have generally turned to [[HTML]] 5 as a replacement. In July 2017, in perhaps the first Flash update anyone has cared for, Adobe [https://blogs.adobe.com/conversations/2017/07/adobe-flash-update.html announced] that Flash will reach its end-of-life in 2020.
  
With the impending death of the official Flash player, the SWF format may be in danger of hibernation. Although it is a publicly available format, as of this writing there do not seem to be any actively maintained efforts to provide alternative implementations.
+
The SWF format is only currently useful for building [https://www.adobe.com/products/air.html Adobe AI]R applications and games. Adobe AIR is a somewhat popular (although lesser known) framework for developing cross-platform apps/games. It is used to build Angry Birds and a couple of other games.
  
 
== Disambiguation ==
 
== Disambiguation ==
Line 62: Line 62:
 
* [https://github.com/mozilla/shumway Shumway] (inactive)
 
* [https://github.com/mozilla/shumway Shumway] (inactive)
 
* [[7-Zip]] can convert compressed SWF to uncompressed SWF.
 
* [[7-Zip]] can convert compressed SWF to uncompressed SWF.
 +
 +
== Libraries ==
 +
* [https://github.com/claus/as3swf AS3swf] - Low level library to parse, create, modify and publish SWF files.
 +
* [https://github.com/imcj/as3abc AS3abc] - Low level library to parse, create, modify and publish ABC (Actionscript Block Code) files.
 +
* [https://github.com/magicalhobo/SWFWire SWFWire] - SWF Decompiler and Inspector Tools.
 +
* [https://github.com/krilnon/abc-abstraction Abc-abstraction] - Allows ABC to be analyzed, manipulated, packaged back into an SWF, and run.
  
 
== Links ==
 
== Links ==

Revision as of 05:15, 17 August 2017

File Format
Name SWF
Ontology
Extension(s) .swf, .spl
MIME Type(s) application/vnd.adobe.flash-movie, application/x-shockwave-flash, application/futuresplash
LoCFDD fdd000248, others
PRONOM fmt/507, others
Kaitai Struct Spec swf.ksy
Released 1996

Adobe Flash (or Macromedia Flash, Shockwave Flash, FutureSplash) is a platform for multimedia applications. SWF (Small Web Format, or Shockwave Flash) is its format for Flash applications that can be run in the browser. Fundamentally it is an animated vector graphics format, but it has many other features, and can contain complete computer programs written in ActionScript. Among its common uses are advertisements, web site user interfaces, video games and other applets, and video playback.

SWF is not designed to be editable. Instead, SWF files are usually compiled from a source (project) format called FLA. The ActionScript programming language is also used.

Flash was at the height of popularity for interactive browser applications in the 2000's, but notoriously suffered from security vulnerabilities (and continues to do so as of this writing). It was also dealt a serious blow when Apple decided not to support it in iOS devices, and Web developers have generally turned to HTML 5 as a replacement. In July 2017, in perhaps the first Flash update anyone has cared for, Adobe announced that Flash will reach its end-of-life in 2020.

The SWF format is only currently useful for building Adobe AIR applications and games. Adobe AIR is a somewhat popular (although lesser known) framework for developing cross-platform apps/games. It is used to build Angry Birds and a couple of other games.

Contents

Disambiguation

SWF is not the same format as the one known as Shockwave, Adobe Shockwave, Macromedia Shockwave, or Shockwave for Director. For that format, see Shockwave (Director).

In personal ads, SWF means "Single White Female", while the airport code SWF refers to the Stewart airport in Newburgh, New York. Neither of these has any particular relevance to file formats, however.

Identifiers

Format PRONOM LoCFDD
SWF 1–6 (Macromedia) fmt/104, fmt/105, fmt/106, fmt/107, fmt/108, fmt/109
SWF 7 fmt/110 fdd000130
SWF 8 (Adobe) fmt/505 fdd000248
SWF 9–10 fmt/506, fmt/507
SWF 11–30 fmt/757, fmt/758, fmt/759, fmt/760, fmt/761, fmt/762, fmt/763, fmt/764, fmt/765, fmt/766, fmt/767, fmt/768, fmt/769, fmt/770, fmt/701, fmt/772, fmt/773, fmt/774, fmt/775, fmt/776

Identification

SWF files begin with a 3-byte ASCII signature:

  • "FWS" is for uncompressed files.
  • "CWS" is for files that use zlib compression.
  • "ZWS" is for files that use LZMA compression.

See also

Specifications

Software

Libraries

  • AS3swf - Low level library to parse, create, modify and publish SWF files.
  • AS3abc - Low level library to parse, create, modify and publish ABC (Actionscript Block Code) files.
  • SWFWire - SWF Decompiler and Inspector Tools.
  • Abc-abstraction - Allows ABC to be analyzed, manipulated, packaged back into an SWF, and run.

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox