How to Display Flash(.swf) files and Banners in SharePoint?

Using content Editor web part, We can display Flash files or flash banners in SharePoint. Just add a content editor web part, and place the following embed code to display flash content in SharePoint 2007:

<OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
WIDTH="350" HEIGHT="250" id="Banner">
<PARAM NAME=quality VALUE=high>
<param name="scale" value="exactfit">
<EMBED src="" quality=high bgcolor=#FFFFFF WIDTH="350" HEIGHT="250"
NAME="Banner" ALIGN="" TYPE="application/x-shockwave-flash"

In another case, I’ve designed a Flash based menu for my SharePoint web site, and want to display that in all over the site, So edited the master page in SharePoint designer to add flash.

<object id="Menu" width="750px" height="26px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 
codebase=",0,0,0"> <param name="movie" 
value="https://YOURSITE/Support/Files/Menu.swf" /><param name="quality" value="high" /> <param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /> <param name="scale" value="noscale" /><param name="salign" value="LT" /><param name="menu" value="false" /> <embed type="application/x-shockwave-flash" pluginspage="" 
width="750px" height="26px" bgcolor="#000000" wmode="transparent" 
src="https://YOURSITE/support/Files/Menu.swf" quality="high" scale="noscale" menu="false" salign="LT" /> </object>

Display Flash in SharePoint 2010:
You can place this code in a Text file, Upload and then point it from a Content Editor Web Part (Or you can directly paste this code inside
Note:  <param name=”wmode” value=”opaque”> is added explicitly to send Flash file behind the Menus!:

<object height="500" width="500" 
<param name="movie" value="">
<param name="quality" value="high">
 <param name="wmode" value="opaque">
 <embed height="500" width="500" 
 quality="high" type="application/x-shockwave-flash" 

You may get: “Flash movie not loaded” error in SharePoint when the Flash File path is wrong! Change the SWF File path to appropriate path. Here is my Flash menu:

flash in sharepoint 2007
sharepoint 2010 add flash file

Same way, we can display flash banner in SharePoint 2007 or SharePoint 2010 also.

Flash for SharePoint 2010: Screen shot of Flash File in Content Editor in SharePoint 2010:

sharepoint 2010 embed flash swf

Getting “Save” Dialog box for Flash Files? Add to “AllowedInlineDownloadedMimeTypes” of the web application as in : Getting “Save” dialog box for Flash Files? Here is the fix

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

5 thoughts on “How to Display Flash(.swf) files and Banners in SharePoint?

  • Sometimes flash content does not work in SharePoint 2010 because flash files are not enabled by default. To solve this problem, here is a solution –

  • I tried it out and I just get a blank web part. It doesn’t render the flash file.

    • Caramanica,

      Just make a HTML file with your code and see it renders flash file in your local system. In most cases, you would get blank web part, when the flash file path is wrong. check it once!

  • This do not work with Sharepoint 2010

    • Sajid,

      The same code will work in SharePoint 2010 also. I Just placed an Screenshot.

      Let me know what difficulty you are facing.



Leave a Reply

Your email address will not be published. Required fields are marked *