473,513 Members | 2,275 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Convert PowerPoint to Flash Manually

2 New Member
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, 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.

Expand|Select|Wrap|Line Numbers
  1. fscommand("fullscreen","true")-;
To make sure the Stage resizes correctly specify the scaleMode.

Expand|Select|Wrap|Line Numbers
  1. 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.

Expand|Select|Wrap|Line Numbers
  1. stop(); 
You'll need to include some functions that will be used frequently to navigate the presentation.

Expand|Select|Wrap|Line Numbers
  1. function gotoNextSlide():Void {
  2.    if (_currentframe < _totalframes) {
  3.       gotoAndStop(_currentframe + 1);
  4.   } else {
  5.       quit();
  6.   }
  7.  
  8. }
  9.  
  10. function gotoPreviousSlide():Void {
  11.   gotoAndStop(_currentframe - 1);
  12.  
  13. }
  14.  
  15. function gotoHome():Void {
  16.   gotoAndStop(1);
  17.  
  18. }
  19.  
  20. function gotoEnd():Void {
  21.   if (_currentframe < _totalframes) {
  22.    gotoAndStop(_totalframes - 1);
  23.  }
  24.  
  25. }
  26.  
  27. function quit():Void {
  28.  fscommand("quit");
  29.  
  30. }
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.

Expand|Select|Wrap|Line Numbers
  1. var myListener:Object = new Object();
  2.  
  3. myListener.onKeyDown = myOnKeyDown;
  4. myListener.onKeyUp = myOnKeyUp;
  5. Key.addListener(myListener);
  6.  
  7. myListener.onMouseUp = myOnMouseUp;
  8. Mouse.addListener(myListener);-Here are the listener functions.
  9.  
  10. function myOnKeyDown():Void {
  11.   if (Key.isDown(Key.DOWN) || Key.isDown(Key.PGDN)) {
  12.    gotoNextSlide();
  13.   } else if (Key.isDown(Key.UP) || Key.isDown(Key.PGUP)) {
  14.    gotoPreviousSlide();
  15.   } else if (Key.isDown(Key.END)) {
  16.      gotoEnd();
  17.   } else if (Key.isDown(Key.HOME)) {
  18.      gotoHome();
  19.   }
  20.  
  21. }
  22.  
  23. function myOnKeyUp():Void {
  24.   if (Key.getCode() == 27) {
  25.      quit();
  26.   }
  27.  
  28. }
  29.  
  30. function myOnMouseUp():Void {
  31.   gotoNextSlide();
  32.  
  33. }
If 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. Also you can try commercial converters such as Wondershare PPT2Flash to output originals with animatinos. After all, these conversion tools can help you convert PowerPoint to Flash automatically without too much coding.
Jan 2 '08 #1
3 8084
vijayan s
1 New Member
how to create input text box dynamicaly then drag the text box.
Jan 25 '08 #2
aaronkuttima
1 New Member
how to use the script for u r giving the script functions
Mar 22 '08 #3
sabrina0708
1 New Member
Hi aaronkuttima,

The giving script will be added in the Adobe Flash Professional. If you don't have Flash Professional, you couldn't do it. A better way is to use the powerpoint to flash converter. It will be easier and quicker.

Download it from: http://www.sameshow.com/download/pow...-download.html

Hope it helps!

Sabrina
Sep 12 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
3655
by: Thierry | last post by:
Hello, I'd like to launch a Flash ou Powerpoint animation from my java application but I do not know where to start. Does anyone know ? Thx PS : My application only has to work on Windows....
1
3254
by: K-Software | last post by:
Hello, I would like write converter from PowerPoint format file to Flash file. Does anybody know any library (in any programming language) for read PowerPoint file or/and write to Flash file? ...
6
3383
by: C Williams | last post by:
Hi, I am writing some VB.NET code that compiles to a dll. There is some code within it that manipulates Powerpoint 2003. The dll I am writing is for smart tags, and I am having trouble...
2
4387
by: jack | last post by:
Hello, I would like to take a PowerPoint file and make JPGs or GIFs out of each slide. How can I do this in VB.NET. Thanks for any help, Jack
1
4172
by: sizz1 | last post by:
Hi, I am creating a training manual but i find using pictures slightly boring. I have created Shockwave/flash files showing in detail how to use certain things. I have tried to embbed the...
1
22753
by: ellenh | last post by:
I have read postings on the similar subject including the posting from 2003 shown below. This process works fine to display a single page snapshot report in PowerPoint. I need to display...
0
3793
by: =?Utf-8?B?Sm5hbmFt?= | last post by:
In my web application I am required to do 4 tasks:- 1. Splitting MS Powerpoint's PPT to Slides. 2. Convert a MS Powerpoint's ppt Slides to the XML file. 3. Convert a MS Powerpoint's ppt Slides to...
1
1733
by: =?Utf-8?B?d2lsbG5wb2s=?= | last post by:
Hello everyone. I have a PowerPoint Presentation that is 218 slides that includes animated gifs and sounds and everything. Currently they are online where the user will have to download the files...
0
7265
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7171
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7114
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5693
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5098
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4751
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3240
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1607
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.