Shockwave Flash MIME Type

Learn what 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 typeapplication/x-shockwave-flash
Extensions
.swf
Magic number46 57 53 (FWS), 43 57 53 (CWS), or 5A 57 53 (ZWS)
Alternate versions
application/vnd.adobe.flash.movie
First standardized1996
Created byFutureWave, later Macromedia and Adobe
Browser supportNo current browser has native Flash Player support
Example applicationsAdobe Animate, Ruffle
Poly supportPartial. Poly recognizes .swf files and maps them to application/x-shockwave-flash, but does not parse or run them.
Indexed by PolyPartial. SWF filenames are searchable, but Poly does not index embedded text, ActionScript, media, or metadata.
Preview in PolyNo. Poly does not run Flash or generate an SWF thumbnail or interactive preview.
Poly agentNo. 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.3

How to identify an SWF file

The usual filename extension is .swf. The first three bytes identify both the format and its compression method:13

BytesASCIIMeaning
46 57 53FWSUncompressed SWF
43 57 53CWSSWF compressed with zlib
5A 57 53ZWSSWF 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.
Do not install an old Flash Player build to open an unknown file. Adobe no longer supplies security updates, and SWF is active content rather than a passive animation container.

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 contentPractical destinationWhat may be lost
Linear animation or recorded playback.mp4 or .webm videoInteractivity, scripts, selectable text, and vector scalability
Static vector artwork.svgTimeline behavior, filters, embedded code, and unsupported effects
Individual raster frames.png image sequenceAudio, timing unless recorded separately, and interactivity
Interactive application or gameHTML, CSS, JavaScript, WebGL, or WebAssembly rebuildUsually 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.

Conversion is not one-size-fits-all. Before exporting, inventory whether the SWF contains branching interactions, keyboard controls, external files, or network calls. A video is adequate for a linear animation but not for a game or application.

Is SWF the same as FLV or Shockwave?

No. The names overlap historically, but the formats serve different roles.

NameTypical extensionPurpose
SWF.swfCompiled Flash presentation or application with a timeline and optional ActionScript
FLA.flaEditable Flash authoring project from which an SWF could be published
FLV.flvFlash Video container, often loaded or embedded by an SWF
Shockwavecommonly Director contentA 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

  1. 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
  2. Library of Congress. Flash SWF File Format Family. Digital Formats sustainability assessment and format history. 2
  3. Internet Assigned Numbers Authority. application/vnd.adobe.flash.movie Media Type Registration. 2 3
  4. Adobe. Adobe Flash Player End of Life.
  5. Ruffle. ActionScript Compatibility.
  6. Adobe. A Guide to SWF Files. 2
© Poly Corp. 2026