Looking for an easier way to add a Flash file to a SharePoint content page? Download and install the Flash WebPart SharePoint Solution and you will be able to add Flash movies to your SharePoint web pages without having to edit any html code. Simply add the Flash WebPart to a page, configure it in the WebPart editor by setting the movie URL, width, and height, and you are good to go.

Download the Flash WebPart [MikeKnowles.FlashWebPart.zip]

SharePoint 2007 Installation

1. Unzip FlashWebPart.MikeKnowles.zip

2. Follow the instructions in Readme.txt to install the SharePoint solution to your SharePoint farm.

3. The installation will prompt you to optionally install the Flash WebPart feature to one or more Site Collections. It's highly recommended that you deploy to the Site Collections during the install process as its quicker then having to activate the feature in each site individually.

SharePoint 2010 Installation

Click here for SharePoint 2010 installation instructions.

Using the Flash WebPart

1. If necessary, activate the Feature in the target Site Collection. If you installed the Feature to the Site Collection when you ran the setup program above then you can skip this step.

2. Within the target Site Collection, open a SharePoint page which contains a WebPart Zone and select:
    Site Actions > Edit Page

3. Click to Add a Web Part, and select the SharePoint Flash WebPart as shown below:

image

4. Click Edit > Modify Shared Part

image

5. Within the WebPart Editor, scroll down and click to open the Miscellaneous tab:

image

6. Enter the Flash URL, width, and height of your Flash Movie (SWF). Here are some test values to get you started:

Flash URL: http://kb2.adobe.com/cps/155/tn_15507/images/flashplayerversion1.swf
Flash Width: 280
Flash Height: 149

Bookmark and Share  Comments [12] | Permalink | SharePoint
Monday, February 22, 2010 3:14:19 PM (Mountain Standard Time, UTC-07:00)
Mike, I have deplyed your WSP and it works with the url you provided on the example. However, when I change it to point to my flash file on one of our internal servers it will not display it. What could I be doing wrong?

The url is structured like this: http://ideas4.care.org/ideaflash/rotator.swf and it displays through the web browser just fine. The flash piece is using xml to display text and the images are in an image folder.
Benjamin
Monday, February 22, 2010 6:36:49 PM (Mountain Standard Time, UTC-07:00)
Benjamin,

Although I am not a Flash programmer, I have seen flash files have problems sometimes when they are opened across websites or domains. There is crossdomains.xml file (if I remember correctly) that can be setup to help direct things correctly. Especially since the Flash file has some smarts in it to load xml and images I am thinking this could be it. One test might be to try putting a plain vanilla flash file in the same directory as rotator.swf and see if that loads ok in the webpart. If it does then its probably something related to how the Rotator ActionScript is loading.

Here's a very simple SWF you can download from Adobe that will just display the width and height and flash player version - its perfect for these types of tests:

http://kb2.adobe.com/cps/155/tn_15507/images/flashplayerversion1.swf
width 280
height 149

Hope this helps!

Tuesday, May 25, 2010 4:56:22 PM (Mountain Daylight Time, UTC-06:00)
Which flash version are required to do this? I tried many versions of a plugin for SP 2010 and yours is the 1st to work.
john
Tuesday, May 25, 2010 7:56:32 PM (Mountain Daylight Time, UTC-06:00)
Flash versions 7 and up should work. Version 7,0,0,0 and clsid clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 are what's generated by the code that builds the object tag for the swf.
Wednesday, June 02, 2010 7:29:04 AM (Mountain Daylight Time, UTC-06:00)
Mike,

I just implemented your flash webpart for sharepoint 2010 and it works well for external files. Howerver, I have uploaded the .swf file to one of our sharepoint document libraries, but when I use the URL to the document library, the .swf file doesn't display. If I open a webbrowser and enter the URL it asks me to download it.
Any ideas??

Thanks,

Peter
Wednesday, June 23, 2010 8:05:52 AM (Mountain Daylight Time, UTC-06:00)
Same problem as Peter, can you help us please ?
david
Wednesday, June 23, 2010 5:20:05 PM (Mountain Daylight Time, UTC-06:00)
Try specifying the absolute path to the flash file
Wednesday, July 07, 2010 3:40:40 PM (Mountain Daylight Time, UTC-06:00)
All with Peter and David's problem,

For SP 2010, In Central Admin, go to your site's general settings and change "Browser file handling" to "permissive". This is what causes the prompts for DL of certain file types, including .swfs and .pdfs.

Here is a link with the same response from an MVP:
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/05e73e5e-0fca-4ae0-8fe0-8cc817ecc92c
Matt Blaxton
Thursday, July 15, 2010 2:53:42 PM (Mountain Daylight Time, UTC-06:00)
Hi Mike,
I installed your Flash web part for Sharepoint 2010... everything worked great! However, I am attempting to communicate to the host page's javascript and for some reason events are not being triggered in javascript (but they are in flash). I thought it may be because the webpart doen't render the following parameter:

<param name="allowScriptAccess" value="sameDomain" />


What are the chances of getting an update or the source?
Thanks very much!
MyTwoCents
Sunday, July 18, 2010 10:21:42 AM (Mountain Daylight Time, UTC-06:00)
Thanks for the suggestion. I will make a code update and post it within the next week. Are there any other flash params that might be useful to include? If you would like to submit the contact form with your email then I can let you know when the change has been posted.
Thursday, July 22, 2010 1:01:05 AM (Mountain Daylight Time, UTC-06:00)
Hi,
I am playing flash animations in Sharepoint 2010 when coming to configurable flash files are not working like XML based content loader.
I am displaying content from XML file through flash uploading to document library works well moving to other location or domain doesn't work. even using Path of /_layouts/images/flash/movie.swf doesn't working
please suggest or help me on this

thanks vinod
Monday, July 26, 2010 11:41:45 AM (Mountain Daylight Time, UTC-06:00)
Wow. Thank you. Worked perfectly. Appreciate the time/effort.

Leave a Comment

Name (required)
Email (will not be published)
Website
 

Comment Preview
Subscribe
Top 5 Posts
Add Google Analytics to a SharePoint Publishing Site
Integrating jQuery 1.3, ASP.NET 3.5 Visual Studio 2008
Add Custom Table Formats to SharePoint Content Editor
Configuring log4net for SharePoint Windows Authentication
Convert Visual Studio 2008 Class Library Project to Web Application Project
Tags
ASP.NET (5) dasBlog (5) GoogleAnalytics (2) jQuery (1) log4net (2) SharePoint (18) WebDesign (3)
 
 
 
Spreadfirefox Affiliate Button
 
Download Notepad++