What is MIME type "application/x-director"?

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

application/x-director is a MIME type for interactive multimedia content. It powers Shockwave Movie files created with Adobe Director. These files run rich animations, interactive games, and simulations using a dedicated runtime engine.

Files with this MIME type include those with extensions such as CST, DCR, DXR, CXT, DRX, CCT, DIR, W3D, SWA, and FGD.

Use cases include:

This MIME type ensures that complex multimedia projects run smoothly in web browsers or specialized players. For further details on the technology behind these files, visit the Adobe Director page.

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: application/x-director    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="application/x-director">Download file</a>    
  

Server-side (Node.js)

Setting the Content-Type header in Node.js:


    const http = require('http');    
    
    http.createServer((req, res) => {    
      res.setHeader('Content-Type', 'application/x-director');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

Do modern web browsers support application/x-director files?

No, modern browsers like Chrome, Firefox, and Edge have completely removed support for NPAPI plugins, including the Adobe Shockwave Player. To view legacy content served as application/x-director, you typically need a standalone "Projector" executable or a preservation suite like BlueMaxima's Flashpoint.

How do I configure Apache to serve Shockwave files?

To ensure your web server identifies these files correctly, add the MIME type definition to your .htaccess or httpd.conf file. Use the directive: AddType application/x-director .dcr .dir .dxr .w3d.

What is the difference between .dir, .dcr, and .dxr files?

A .dir file is the original, editable source file created in Adobe Director. A .dcr file is a compressed Shockwave movie optimized for web transfer, while a .dxr file is a protected version that prevents editing but is not compressed as heavily as a DCR.

Is application/x-director the same as Adobe Flash?

No, they are distinct technologies. Flash uses the MIME type application/x-shockwave-flash (SWF files), whereas application/x-director is used for Shockwave movies created with Adobe Director. Director was historically used for heavier 3D content and CD-ROMs compared to early Flash.

How do I add support for Director files in Nginx?

You can add the MIME type mapping in your nginx.conf or mime.types file. Add the line application/x-director dcr dir dxr w3d; inside the types { ... } block to prevent browsers from downloading the files as generic binary data.

Why are application/x-director files considered a security risk?

The Adobe Shockwave runtime had numerous security vulnerabilities that could allow attackers to execute malicious code. Since Adobe discontinued the software in 2019, it no longer receives security patches, making the playback of these files in a connected environment dangerous.

What is the .w3d extension used for?

The .w3d extension stands for Shockwave 3D. It is a 3D object or scene file served with the application/x-director MIME type, allowing for hardware-accelerated 3D graphics within Director movies.

How do I fix IIS 404 errors when serving .dcr files?

IIS does not serve unknown file extensions by default. You must open MIME Types in IIS Manager and add a new entry with the file extension .dcr and the MIME type application/x-director.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why are multiple MIME types listed for one extension?

Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.