Docstoc

How to convert PowerPoint to Flash manually

Document Sample
How to convert PowerPoint  to Flash manually Powered By Docstoc
					How to Convert PowerPoint to Flash manually?
You could view the full article at:

http://www.sameshow.com/ppt2flash/convert-powerpoint-to-flash-manually. html#110
Converting PowerPoint to Flash would absolutely be a good choice to distribute your bulky PowerPoint presentations. You can do the whole PowerPoint to Flash conversion manually or with professional applications. First, prepare the PowerPoint files.Please note: 1. Make sure you are not using any complicated gradients or animations. These will be interpreted poorly when they are brought into Flash. 2. Make sure there are no objects fall outside the confines of the slide area. This will ensure that all the slides align correctly when they are imported to Flash. 3. 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, save the presentation as a Windows Meta file (*.wmf). Click File > Save As.... 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 < _totalframes) { gotoAndStop(_currentframe + 1); } else { quit(); } } function gotoPreviousSlide():Void { gotoAndStop(_currentframe - 1); } function gotoHome():Void { gotoAndStop(1); } function gotoEnd():Void { if (_currentframe < _totalframes) { gotoAndStop(_totalframes - 1); } }

function quit():Void { fscommand("quit"); } 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(); }

If the steps above are 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. Also you can try commercial converters such as Wondershare PPT2Flash Standard(http://www.sameshow.com/powerpoint-to-flash.html) to output originals with animations. After all, these conversion tools can help you convert PowerPoint to Flash automatically without too much coding.


				
DOCUMENT INFO
Shared By:
Categories:
Stats:
views:150
posted:11/20/2008
language:English
pages:4
Description: Step-by-step guide to show you how to convert PowerPoint presentation to Flash manually.