Shockwave Flash MIME Type
application/x-shockwave-flash identifies, how to recognize and open SWF files, and what Poly can do with them. MIME type details for application/x-shockwave-flash
Not in active use| MIME type | application/x-shockwave-flash |
|---|---|
| Extensions | .swf |
| Magic number | 46 57 53 (FWS), 43 57 53 (CWS), or 5A 57 53 (ZWS) |
| Alternate versions | application/vnd.adobe.flash.movie |
| First standardized | 1996 |
| Created by | FutureWave, later Macromedia and Adobe |
| Browser support | No current browser has native Flash Player support |
| Example applications | Adobe Animate, Ruffle |
| Poly support | Partial. Poly recognizes .swf files and maps them to application/x-shockwave-flash, but does not parse or run them. |
| Indexed by Poly | Partial. SWF filenames are searchable, but Poly does not index embedded text, ActionScript, media, or metadata. |
| Preview in Poly | No. Poly does not run Flash or generate an SWF thumbnail or interactive preview. |
| Poly agent | No. The Poly agent cannot read or reason about content embedded inside an SWF file. |
What does application/x-shockwave-flash mean?
The application/x-shockwave-flash media type identifies a compiled SWF movie. An SWF can combine vector artwork, raster images, text, animation, audio, video, and executable ActionScript in one binary file. It was primarily a delivery format for browser games, animated interfaces, media players, and other interactive web content.1
The name is a historical artifact. SWF originally meant Shockwave Flash and was later expanded as Small Web Format. Flash and Shockwave eventually became separate products, but the old media type remained common in web servers and HTML embed code.2
application/x-shockwave-flash is not registered with IANA. The registered media type is application/vnd.adobe.flash.movie, whose registration says SWF had previously been seen under the non-standard application/x-shockwave-flash name.3How to identify an SWF file
The usual filename extension is .swf. The first three bytes identify both the format and its compression method:13
| Bytes | ASCII | Meaning |
|---|---|---|
46 57 53 | FWS | Uncompressed SWF |
43 57 53 | CWS | SWF compressed with zlib |
5A 57 53 | ZWS | SWF compressed with LZMA |
The fourth byte is the SWF format version. The next four bytes record the uncompressed file length as a little-endian integer. A header then describes the stage size, frame rate, and frame count, followed by a stream of tagged records.1
Checking the signature matters because .swf is only a filename convention. Renaming an unrelated file does not turn it into Flash content, and changing the extension does not remove the executable behavior of a real SWF.
Why SWF files no longer open in browsers
SWF playback on the web depended on Adobe Flash Player, a plug-in rather than a browser-native media decoder. Adobe ended Flash Player support in December 2020, and blocked Flash content from running in Flash Player in January 2021.4 Current browsers do not include native Flash playback.
An SWF is not simply a video. Its timeline can contain buttons, scripts, external requests, dynamically loaded assets, and state that changes in response to the user. A normal video player cannot reproduce those behaviors.
For a file you trust, practical options include:
- Open a preserved copy in a maintained Flash emulator such as Ruffle. Compatibility varies because its ActionScript virtual machines and APIs are still being implemented.5
- Import the file into Adobe Animate when the file permits it. Adobe warns that an imported SWF may lose data such as sound.6
- Keep the original SWF alongside any converted output so future preservation tools can retry the source.
Support in Poly
Poly recognizes .swf and maps it to application/x-shockwave-flash. It treats the file as an opaque archive-class binary, not as playable multimedia. That means Poly can store, sync, share, version, and find the file by name, but it does not:
- Execute ActionScript or follow external resource requests.
- Render the timeline, create a thumbnail, or provide an interactive preview.
- Extract embedded text, artwork, audio, video, metadata, or scripts for search.
- Make the SWF's internal content available to the Poly agent.
This conservative behavior avoids silently executing legacy active content. Download the file and inspect a trusted copy with a dedicated preservation tool when you need to see what it contains.
Security and privacy considerations
The IANA registration for the modern media type calls out several properties that matter when handling old Flash movies. SWF files can contain active content, expand substantially when decompressed, store Local Shared Objects similar to cookies, and communicate outside the sandbox when an embedding application permits it. The format itself supplies neither confidentiality nor integrity protection.3
An old SWF may also depend on a particular player bug, a remote server that no longer exists, or assets loaded from relative URLs. Preserve related files and the original page structure when archiving a Flash experience. A lone SWF is not always a complete, self-contained work.
Converting SWF to a modern format
Choose the destination based on the part of the SWF you need to preserve:
| SWF content | Practical destination | What may be lost |
|---|---|---|
| Linear animation or recorded playback | .mp4 or .webm video | Interactivity, scripts, selectable text, and vector scalability |
| Static vector artwork | .svg | Timeline behavior, filters, embedded code, and unsupported effects |
| Individual raster frames | .png image sequence | Audio, timing unless recorded separately, and interactivity |
| Interactive application or game | HTML, CSS, JavaScript, WebGL, or WebAssembly rebuild | Usually requires source code and manual redevelopment |
Adobe documents an Animate workflow that can import some SWF files and export video, but protected files may refuse import and some original data may not survive the round trip.6 Screen recording is a useful last resort for preserving how a known interaction looks, but it does not preserve the application itself.
Is SWF the same as FLV or Shockwave?
No. The names overlap historically, but the formats serve different roles.
| Name | Typical extension | Purpose |
|---|---|---|
| SWF | .swf | Compiled Flash presentation or application with a timeline and optional ActionScript |
| FLA | .fla | Editable Flash authoring project from which an SWF could be published |
| FLV | .flv | Flash Video container, often loaded or embedded by an SWF |
| Shockwave | commonly Director content | A separate Macromedia playback technology associated with Director |
The application/x-shockwave-flash label does not mean the file is a Macromedia Director Shockwave movie. Inspect the file signature and contents instead of relying on the product name alone.2
Footnotes
- Adobe Systems. SWF File Format Specification, Version 19. The preserved Adobe specification defines SWF structure, signatures, compression, tags, and the historical media type. ↩ ↩2 ↩3
- Library of Congress. Flash SWF File Format Family. Digital Formats sustainability assessment and format history. ↩ ↩2
- Internet Assigned Numbers Authority. application/vnd.adobe.flash.movie Media Type Registration. ↩ ↩2 ↩3
- Adobe. Adobe Flash Player End of Life. ↩
- Ruffle. ActionScript Compatibility. ↩
- Adobe. A Guide to SWF Files. ↩ ↩2