am not sure why i cannot load flash file
am using dreamweaver but is not displaying on my web page
it comes out when i preview it in the brower but will not display when i upload to site
only type of files i can get to work are .mov but display is shotty any help would be appreciated

Dani AI

Generated

— seeing the SWF inside Dreamweaver but a white box on the live site most often means the browser cannot load the .swf from the server, not that the SWF itself is broken. and asked the right questions about player version and host support; those matter, but start with the basics below because they are the most common causes.

  • Confirm the SWF file was actually uploaded and lives in the same folder the page references. Dreamweaver preview can show local files that never made it to the server.

  • Make sure the embed uses a relative or correct absolute URL (not a local path like C:\... or file://).

  • Try opening the SWF directly in a browser by pasting its URL. Look for 404/403 or other HTTP status codes.

  • Check filename case (Linux hosts are case sensitive; Windows is not).

  • Verify file permissions (e.g., 644) and that the server serves the correct MIME type (application/x-shockwave-flash). On Apache you can add:

    AddType application/x-shockwave-flash .swf
  • Use the browser developer tools Network tab to see the request for the SWF and any errors. If the server blocks or rewrites SWF requests you will see it there.

A minimal embed pattern that usually works (object tag with a fallback) looks like this:

<object width="600" height="400" data="movie.swf" type="application/x-shockwave-flash">
  <param name="movie" value="movie.swf" />
  <param name="quality" value="high" />
  <p>Flash not supported. Fallback: <a href="movie.mp4">download MP4</a>.</p>
</object>

Important context: Flash Player reached end of life in 2020 and modern browsers no longer run SWF content by default. For reliable playback today, convert animations/videos to MP4 or rebuild in HTML5/Canvas. A simple HTML5 video fallback:

<video controls width="640">
  <source src="movie.mp4" type="video/mp4">
  Your browser does not support HTML5 video.
</video>

If the SWF URL opens fine but embedding still shows white, check embed parameters (wmode, script access) and server-side filters. If the file is simply not being served or the MIME is wrong, contact the host and provide the server error log entries shown in the browser Network tab.

Recommended Answers

All 3 Replies

Are you trying to preview it or is it already up on the net?

Did you make the flash file and if so what version of flash player did you set it to play with?

i can preview in dreamweaver and it displays fine
but will not display when i upload to web page will just show white square

only way i can display video file is if use .mov will not work with .swf file

does your server where you host your website support flash videos ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.