Monday, 16 July 2012

How to embed flash files into Sharepoint site peges

Recently a requirement was posted to me where a site admin wanted to use some flash files on some of the pages in his site. After some initial look here are the steps followed:

1. The flash file was uploaded to a document library.
2. In the page where he wanted to show the flash file a content editor webpart was added to the webpart zone
3. The following script was added into the source editor to get it worked.
<Embed src="RelativeUrlToFlahFile" TYPE="application/x-shockwave-flash" width="700" height="200"></Embed>

The parameters above are self explanatory and can be changed based upon requirements. This works in both MOSS 2007 and SPS 2010.
I hope this will help you out.

Rahul Rashu