Print Version Email Page Add to Favorites Comments Alert Me Add to My Links

Thursday, August 28, 2008

Adding Flash Animation to SharePoint 2007 Site

Adding a flash animation (.swf) file is merely easy task.
  • Upload flash file (.swf) to Document Library. (For e.g.: wolf.swf is the file, I have uploaded to my Document Library)
  • Add a Content Editor Web Part to your page.
  • Click Source Editor.
  • Paste the following code there:


< OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
WIDTH="550"
HEIGHT="400">

< PARAM NAME=movie VALUE="/Shared%20Documents/wolf.swf">
< PARAM NAME=WMODE VALUE="Transparent">
< PARAM NAME=quality VALUE="high">

< EMBED src="/Shared%20Documents/wolf.swf"
quality="high"
wmode="transparent"
WIDTH="550"
HEIGHT="400"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
< /EMBED>
< /OBJECT>

4 comments:

ashoktv said...

I tried the same But its not working. Im getting simly some white spaces of the specified size.

Nanddeep Nachan said...

Hello Ashok,
Make sure you have specified the path to .swf correctly.
Also, remove the extra spaces, I added in the XML above for e.g.: < OBJECT>

Phil said...

A Page Viewer web part can show a swf file video.

Anonymous said...

Thank you, thank you, thank you -- a thousand times!!!

World Clock