Showing posts with label powerpoint to flash. Show all posts
Showing posts with label powerpoint to flash. Show all posts

Wednesday, September 23, 2009

PowerPoint to SWF

Are you looking to expand the reach of your presentations? When you convert a PowerPoint file to video format, you can do a lot of things with it:

There are several types of video formats. In this tip, I focus on Adobe's SWF format. It's easy to post on a Web site and most computer systems have the viewer. (If not, it's a free download from Adobe.com. Look for the "Get Adobe Flash Player" button.)

YouTube may complain if you use an SWF format that embeds a player button and other controls, but for other uses, the controls are great.










How do you convert PowerPoint to SWF? Numerous programs can do this for you. For a long list, go to Robin Good's Mini-Guide of PowerPoint to Flash Conversion Tools.

As far as I know, the best free tool is iSpring Free. I used it for the movie you see here.

When you install iSpring Free, you get a new tab in PowerPoint 2007 with the conversion tools.

powerpoint to video-swf

The Quick Publish button converts your presentation to SWF format in one click.

Of course, you may need to set up your presentation appropriately first. In the case of the above movie, I added automatic timings for all the slides to match the length of the sound files that contain my narration. (I recorded the sound in Audacity.)

The result is just 3 files:

  1. fixprompt.js is a JavaScript file that contains the playing controls

  2. index.html contains the code that embeds the SWF file

  3. Slide1.swf is the SWF file

If you want to put the SWF file on its own web page and link to it, you can just rename the HTML file, upload everything, and you're set. But that's not usually what you want to do. Instead, you probably want to place the SWF file on an existing page.

My HTML code, after editing, looks like this:

<table width="360" height="320" align="center" cellpadding="0" cellspacing="0" bgcolor="#d3daed">
<tr>
<td align="center" valign="middle">
<div align="center">

<object id="presentation" width="360" height="288" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash

/swflash.cab#version=8,0,0,0" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="images/Slide 1.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="allowFullScreen" value="true" />

<embed src="images/Slide 1.swf" quality="high" bgcolor="#ffffff" width="360" height="288" name="presentation" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" allowFullScreen="true" /> </object> </div></td> </tr> </table>

<script type="text/javascript" src="scripts/fixprompt.js"/>

Here's what you need to do :

  1. Open the HTML file in your web authoring software or and text editor.

  2. Select the text from the <table> tag to the end of the <script> tag, and copy it to the Clipboard.

  3. Display the HTML code for your web page, and place your cursor where you want the SWF file to go.

  4. Paste.

Here are some other changes that you may want to make:

  1. The size of the movie may be too big. To fix that, change the width and height proportionally in both places (the <object> and <embed> tags).

  2. Because the background of many of my slides is white as is the background of my web pages, they blend in to one another. So, I changed background color of the table. I did that by adding bgcolor="#d3daed" inside the <table> tag. That's where the blue-gray background comes from.

  3. I wanted to change the location of the SWF file and put it in an images folder, so I added images/ before Slide 1.swf in both the <object> and <embed> tags.

Maybe you are also interested in:

PowerPoint to DVD Burner PowerPoint to Video Converter

PowerPoint to FLV Converter Burn PPT to DVD

PowerPoint to DVD for Education PowerPoint to Video for Education

PPT for Web PPT to PDF PPT to DVD Burner

PowerPoint to Video PowerPoint to DVD


Wednesday, August 5, 2009

Two Free Methods to Convert PowerPoint to Swf

Converting PowerPoint to Flash would absolutely be a good choice to distribute your bulky PowerPoint Presentation.

You can do the whole PowerPoint-to-Flash conversion manually or with related free software according to the following two methods:

Method I:

If you don’t have Flash you might need a free program called MotionSWF and PowerPoint although you don’t even need PowerPoint as any presentation app that outputs the presentation as a series of .jpg or .png slides will work.

1. Inside PowerPoint Export as a JPG by opening the presentation then hitting File&gtSave as (Pick JPEG) and when it asks to export every frame say yes. PPT will then create a new folder with each slide as a JPG. Note Flash does not import WMF correctly. The only tool I have found outside of those made by MS, who created the format, that does is WMF Companion. Exporting as a WMF sequence from PPT and then re-importing will seriously mess up your work in many situations (mostly with text). If you did not use any text you may want to export as WMF as they will scale while a raster output tends to pixilate when scaled.

2. Now you have only had to click import and choose Slide1 and then Flash will ask you if you want to import all the Images as a Sequence. All your slides are now in Flash. Alternatively if you own Flash MX you could turn your Image Sequence into an AVI and import it as Video.

3. If you do not own Flash 5/MX and do not have an app that can import a sequence then a very simple piece of freeware can convert any Image Sequence into a SWF called Motion SWF is available http://ra.sakura.ne.jp/~taos/moswf/ You will need a SWF Authoring tool that either supports AS (KM, 3DFA, LM2) or Tell Target (SWiSH) to stop and start each frame in your animation if desirable. Likewise if your app will import SWF then you could just import the SWF.

4. In order to use Motion SWF open it and drag the created slide folder into the application. Click the movie button and you can set the frame speed. If you set Frames to 1 your presentation will play at 1 FPS, which is suitable for many slideshows.

But if you want your PPT Text effects preserved this will not work.

Method II:

First, you'll need to prepare the PowerPoint files. Make sure you are not using any complicated gradients or animations. These will be interpreted poorly when they are brought into Flash. Also, make sure there are no objects that fall outside the confines of the slide area. This will ensure that all the slides align correctly when they are imported to Flash. Now, save a copy of your presentation without any background images. You may want to also choose a contrasting background color to easily see the content of each slide. You all import the background images into Flash at a later time.



Second, choose File > Save As... from your PowerPoint document and save the presentation as a Windows Metafile (*.wmf). This will save your entire presentation as a sequence of files. WMF files keep all text.



Next, create a new Flash Document and resize the Stage to 720 x 540. Change the background color to black. Choose File > Import > Import to Stage... and import the first WMF file. When asked to import all of the images in the sequence, choose Yes. This will place each slide from your presentation onto a sequence of frames.



Then, create a new layer under the slides layer and import the images to use for your background. You'll probably need two images, one for title slides and one for the regular slides.



Now it's time for some manual labor. You'll need to go through every frame of the movie and delete the solid background shape from your slides layer. Once this is complete, you should see the content of each slide with the correct background image behind it.



Finally, add a frame to the end of your movie. Place some static text on that frame that says something like "End of slideshow, click to exit."



Alright, now it's time to move on to some ActionScript. Create a new layer for your actions. There are a few statements you'll need to include right away.

First, you want this movie to play full screen so add an fscommand.

fscommand("fullscreen","true")-;

To make sure the Stage resizes correctly specify the scaleMode.

Stage.scaleMode = "exactFit";

Finally, you don't want the movie to begin playing through all the slides right away before the user starts clicking, so add a stop function.

stop();

You'll need to include some functions that will be used frequently to navigate the presentation.

function gotoNextSlide():Void {

if (_currentframe <>Next, we need to handle all the keyboard and mouse events so that the user can navigate through the slides. We'll do this by creating a new listener object.

var myListener:Object = new Object();

myListener.onKeyDown = myOnKeyDown;

myListener.onKeyUp = myOnKeyUp;

Key.addListener(myListener);

myListener.onMouseUp = myOnMouseUp;

Mouse.addListener(myListener);-Here are the listener functions.

function myOnKeyDown():Void {

if (Key.isDown(Key.DOWN) || Key.isDown(Key.PGDN)) {

gotoNextSlide();

} else if (Key.isDown(Key.UP) || Key.isDown(Key.PGUP)) {

gotoPreviousSlide();

} else if (Key.isDown(Key.END)) {

gotoEnd();

} else if (Key.isDown(Key.HOME)) {

gotoHome();

}

}



function myOnKeyUp():Void {

if (Key.getCode() == 27) {

quit();

}

}

function myOnMouseUp():Void {

gotoNextSlide();

}

zoundryIf the steps below is too complicated to you, you can try some PowerPoint to Flash converters. Some free office applications like OpenOffice (http://www.openoffice.org) offers the output as SWF file, but without animations and effects.

Which one do you prefer? That's your choice!

Now,on the web free PowerPoint to SWF converter can also be found,such as authorPOINTTM Lite Free PowerPoint to Flash Converter for PPS, PPT to SWF

Download the files used in the method I.

Download (1146 kb)

Get conversion and unzipping tools for PC and Mac here!


Related:

PowerPoint to DVD PowerPoint to Video PowerPoint to FLV

PowerPoint to DVD for Education PowerPoint to Video for Education

PowerPoint for Web PowerPoint to PDF PowerPoint to DVD Burner

Convert PowerPoint to Video PowerPoint to DVD Converter