Search This Blog

Sunday, December 9, 2007

Embedding SWF Files in a Web Page and PPT

Embedding SWF Files in a Web Page

Using FrontPage*

If you are using a tool such as FrontPage to create your web page, it can be as simple as using Insert|Advanced|ActiveX Control, select Shockwave Flash Object from the list (you may have to use the "Customize" button to add it on to your list), and set the "Src" and "Movie" properties to the URL for your SWF file. The results of this approach might not work for all versions of all browsers.

Using HTML

For better results (should work for recent versions of all popular browsers):

  1. Paste in the following HTML code
  2. Replace the bolded text with the URL of your SWF file.
  3. You may also want to adjust the height and/or width parameters (or remove them entirely), or adjust other parameters which affect the appearance or manner in which the SWF file is played back.


  • In place of a .swf file, you can use any URL which contains (or streams) Flash. For example, you could use a .asp script (with or without querystring) which performs rChart server streaming.
  • It is possible to make the Flash background transparent by setting the WMode parameter to "Transparent" instead of "Window". This is supported on current IE browsers, but may not be supported on Netscape or older IE browsers.
Embedding SWF Files in a PowerPoint* presentation

You can embed a SWF file in a PowerPoint presentation by performing the following steps:

  1. In PowerPoint, create a new slide.
  2. Make sure the Control Toolbox is displayed (choose View|Toolbars|Control Toolbox from the application menu to turn it on/off)
  3. From the Control Toolbox, select the More Controls icon.
  4. Choose Shockwave Flash Object
  5. Draw out a rectangle on your slide (the size can be adjusted later).
  6. Right click on the rectangle you just drew and choose Properties
  7. Under the Alphabetic tab, make the following changes:
    • Embed Movie: Change to TRUE
    • Loop: Change to FALSE (unless you want the movie to loop).
    • Movie: Type in the absolute path of your file (eg: C:\myfiles\mychart.swf)
    • Playing: Change to TRUE
  8. Run the slideshow and go back to step 6 as necessary to make any adjustments


  • Although the player includes a "Transparent" setting (using WMode), it has not been successfully tested from within PowerPoint (may not be supported).

*PowerPoint and FrontPage are trademarks of Microsoft Corporation.

Related Posts Plugin for WordPress, Blogger...