Alright I admit I had never displayed flash in a SharePoint site until today. I figured it would be hard and really it isn't too hard. All you need to do is upload the .SWF file to a web location (I used a document library but it could be on a different server) then add a content editor web part to your page. Now go into your content editor web part and click on source editor. Now paste the following code into the web part.
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="550" HEIGHT="400" id="myMovieName">
<PARAM NAME=movie VALUE="myFlashMovie.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="/support/flash/ts/documents/myFlashMovie.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400"
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
Replace myFlashMovie.swf with the url of your SWF file.
That is it. You now have a flash movie on your site.
I also found that my favorite company Smiling Goat has a web part that handles all of this for you. Go here http://www.smilinggoat.net/stuff.aspx and download the flash movie web part.
Shane
SharePoint Help
Published Wed, Mar 29 2006 22:58 by Shane
No comments:
Post a Comment