|
||||||||||||||||||||||||||||||||||
|
Putting Flash animation in PowerPointFollow these steps to put a Flash movie in your PowerPoint presentation for awesome animation. (Thanks to Rick Turoczy for the basics, which I've added to. See his version.)
Match the movie background to the background of your PowerPoint template/presentation. Also, if the Flash movie doesnt play, open the Properties window again and look at the Playing property. If it says False, click Playing, then the down arrow and change the Playing property to True. Files placed on master will play continuously from slide to slide to create an animated background (but that can get distracting). Note: PowerPoint cant recognize any mouse clicks on top of Flash object, so dont make the Flash object the full size of the slide so you have some area to click to the next slide. Click here to download a PowerPoint presentation with a Flash player file in it. (Note: this is a shortened presentation to reduce download time. To see the entire presentation without the Flash animation online, click here. (The presentation with the Flash animation is too big for viewing online.) There is a well-known bug that automatically changes the Playing property to False if the Flash movie is not set to loop. Here are two solutions to this problem: Save the presentation as a PowerPoint Show
From now on you can play the presentation by opening the .pps file and the Flash movie will always play. Create some Visual Basic for Applications (VBA) code to control the Playing property Follow the same steps to insert the Flash movie. After step 10, uncheck the Loop checkbox. Now follow these steps to create the VBA code:
Sub OnSlideShowPageChange() (Note: If you put lines 3 and 4 on the same line, omit the underscore.) As you can see, the code simply sets the Playing property to true, rewinds the movie, and plays it. Note: if you want more than one Flash movie in a presentation, you need to give additional movies unique shape names in the 4th line of the code. The 2nd one could be "ShockwaveFlash2" for example. Then, in the Properties window, give the object the same name in the Name row (which is just under the Custom row). Next, go to the slide containing the Flash movie. From the Drawing toolbar, insert a blank Action Button. In the Action Settings dialog box that opens, choose the Run Macro option, choose the macro from the drop-down list (“OnSlideShowPageChange” in the previous example), and click OK. With the action button still selected, type some text on the button, such as “Play Movie” to label the button. Now, whenever you need to play the movie in slide show view, you can simply click the button. Your macro security settings may stop the VBA code from running. Make sure it isn't set to high. (Tools > Options > Security > Macro Security.) In addition, coding in the Flash file itself may stop the movie from playing. My thanks to the following people for the information about creating non-looping Flash movies: Jane Horb, who researched this issue and spent a lot of time going over this issue with me, Paul Hewitt, who came up with the technique of saving the presentation as a PowerPoint show (.pps file), Meg Wyrwas, and the following Support people at Microsoft: John Slack, Rich Porter, and Jeff Qiu. Christopher Contois notes that you should be careful about the 4th line of code because it hard codes the slide number (2 in the example). Therefore, if you move that slide or add or delete slides before it, you need to remember to change the slide number. back to main tips menu for more tips
|
| ||||||||||||||||||||||||||||||||
| Home | AutoCAD | PowerPoint | E-Store| About | Links | Contact Us | Site Map | ||
| Copyright5Ellen Finkelstein, Inc. Microsoft product screen shots reprinted with permission from Microsoft Corporation. |
||