Giving PowerPoint Pizzazz with Macromedia Flash
用Flash让PowerPoint充满活力
by Patrice-Anne Rutledge
Introduction
The Requirements
Inserting a Flash Movie into Your PowerPoint Presentation
Presenting with Flash
导言
要求
在PowerPoint演示文稿中插入Flash影片
利用Flash进行演示
About Patrice-Anne Rutledge
关于作者
Patrice-Anne Rutledge is the best-selling author of more than 20 non-fiction books, primarily on communications and web design. She has also contributed to numerous international publications, founded several newsletters and websites, and has created marketing communications materials, technical documentation, and web content for leading international organizations. Patrice's most recent book is Special Edition Using Microsoft Office PowerPoint 2003 (Que). She can be reached at patrice@patricerutledge.com or through her Web site:
PatriceRutledge.com
鲁琶黯是超过二十本非小说类书籍的最畅销作者,主要涉及通讯与网页设计领域。他也在许多国际刊物发表文章,成立了若干时讯类报纸和网站,为其所领导的国际组织创作了营销传播类材料、技术文档,以及网页内容。鲁氏最新书籍是《使用Microsoft Office PowerPoint 2003 特别版》。可以通过他的邮箱或网站联系他。
Also by Patrice-Anne Rutledge:Microsoft Producer
相关文章:……
Introduction
导言
If you've ever admired the use of Macromedia Flash in creating interactive and animated Web sites, you've probably also considered how great it would be to incorporate Flash's sophisticated functionality into your PowerPoint presentations as well. With a little know-how, this is actually an easy thing to do. In PowerPoint, you can play Flash movies through the use of an ActiveX control (swflash.ocx). If you use Internet Explorer 4 or later, you should already have this control.
如果你曾经令人仰视地使用Flash开发过交互式动画网站,你也可能考虑过,将Flash的先进功能整合进PowerPoint演示文稿当中,那会有多好。其实,利用一个小诀窍,这就是一件很简单的事情。在PowerPoint中,你可以通过使用ActiveX控件(swflash.ocx)来播放Flash影片。如果你使用IE浏览器,那么你应该已经有这个控件了。
There are many reasons you might want to use Flash movies in your PowerPoint presentation, most notably to take advantage of Flash's interactive vector animations and small file size. In some cases, you may already have Flash movies on your Web site or intranet that you want to incorporate into PowerPoint. Or you may want to create a Flash movie specifically to include in a presentation, enabling you to add some extra pizzazz to PowerPoint's existing functionality.
有很多原因使得你需要在演示文稿中使用Flash影片,最明显的就是想利用Flash的互动矢量动画和很晓得文件尺寸。在某些情况下,在你的网站上或内部网中,可能已经有你想要整合进演示文稿的Flash影片。或者你可能想专门创作一份用于演示文稿的Flash影片,让你为PowerPoint功能加入某些额外的活力。
The Requirements
要求
To use Flash in a PowerPoint presentation, you'll need the following software:
要在PowerPoint幻灯片中使用Flash,你需要如下软件:
- Microsoft PowerPoint 2003, 2002, 2000, or 97 for Windows. Earlier versions of PowerPoint don't offer ActiveX support (nor does the Macintosh). The examples in this article use PowerPoint 2002 and Flash MX, but the steps for incorporating Flash movies into other versions of PowerPoint are very similar.
- PowerPoint早期版本不提供ActiveX支持(Macintosh版本除外)。本文示例使用PowerPoint 2002和Flash MX,但是将Flash影片整合进其他版本PowerPoint的步骤非常类似。
- Macromedia Flash Player. In most cases, the computer on which you plan to deliver your PowerPoint presentation probably already has Flash Player installed (not the same thing as Flash itself, which you use to create Flash movies). The player is preinstalled with Windows 98 and later as well as Internet Explorer 4 and later. According to Macromedia, 98.3% of all web users have Flash Player on their computers. If you have any doubts as to whether you have the latest version of the player, though, it's best to download it. Use Internet Explorer (not Netscape Navigator) to navigate to http://www.macromedia.com/downloads/ , where you can download a free copy of the latest Flash Player.
- 在大多数情况下,你打算用来制作演示文稿的计算机可能已经安装得有Flash播放器(这和Flash本身不是同一款软件,后者是用来创作Flash影片的)。播放器在Windows 98及后继版本中已经事先跟随IE一起安装了。如果你怀疑自己是否安装了Flash播放器,那么,最好是下载并安装它。使用IE(Firefox没用)访问 http://www.adobe.com/go/gntray_dl_getflashplayer ,在这里你可以下载最新版本的Flash播放器的免费版本。
- Macromedia Flash (any version). You obviously need Flash to create the Flash movie you plan to include in your PowerPoint presentation, but you don't need to have Flash software installed on the machine with which you create or deliver your presentation. You just need the Flash movie file. So even without Flash, you can still experiment with the possibilities of incorporating Flash movies in PowerPoint. Many other programs deliver Flash movies for training, demo, or marketing purposes, so you may already have Flash movies on your system. To find them, do a search in Windows Explorer for any files with the extension *.SWF. This extension stands for Shockwave Flash and is the standard for all Flash movies.
- 显然,你需要用Flash软件创作那些你打算包含在演示文稿中的Flash影片,但是你不需要将Flash软件安装到你创建或处理演示文稿的计算机上。你仅仅需要Flash影片文件而已。所以,即使没有Flash软件,你仍然可以将Flash影片整合进演示文稿。出于训练、演示或营销的目的,有很多其他软件都可以处理Flash影片,因此你的系统里可能已经有Flash影片。要找到他们,在Windows资源管理器中进行一次搜索,寻找扩展名为*.SWF的所有文件。该扩展名代表了Shockwave Flash,也就是所有Flash影片。
- If you don't have Flash software on your computer and want to try it out, download a trial version of the newly released Flash MX from the Macromedia Web site athttp://www.macromedia.com/downloads/. The site also includes tutorials and documentation to help you get started.
- 如果你的计算机中没有Flash软件,而你又想尝试一番,可以从Adobe网站 http://www.adobe.com/go/gntray_prod_flash_home/ 下载一个最新版本的体验版本。该网站包含了教程和帮助你开始的相关文档。
Inserting a Flash Movie into Your PowerPoint Presentation
在演示文稿中插入Flash影片
Inserting a Flash movie into PowerPoint is basically a straightforward process. Let's say that you want to start your PowerPoint presentation with a Flash movie. To do so, create a blank slide as the first slide of your presentation. Open the Control Toolbox (where ActiveX controls are stored) by selecting Tools, Control Toolbox. Click the More Controls button in the lower right corner of the Toolbox and choose Shockwave Flash Object from the drop-down list as your control type (see Figure 1).
将Flash影片插入PowerPoint演示文稿中基本上是一个很简单的过程。假设你打算以一份Flash影片开始你的演示文稿。要实现这个,先创建一份空白幻灯片,放在演示文稿的最前面。选择工具、空间工具条,打开控件工具条(这里才有ActiveX控件)。点击工具条右下角的更多控件按钮,从下拉选单中选择Shockwave Flash对象(见图一),作为你的控件类型。

Figure 1 - Select the Shockwave Flash Object control to insert a Flash movie.
图一,选择Shockwave Flash对象控件
Position the crosshair pointer at the upper left corner of the slide and drag down to the lower right corner, making the control cover the entire slide. A large X temporarily appears on your slide; this disappears after you've assigned properties to this control or, in some cases, after you're previewed the presentation the first time. Of course, if you don't want your Flash movie to cover your entire slide, just drag the crosshair pointer to the appropriate location. You can also resize later if you want.
将十字指针放在幻灯片的左上角,拖动到右下角,让该控件覆盖整个幻灯片。一个巨大的X暂时显示在幻灯片上,这会在你指定属性后消失,在某些情况下,会在你第一次预览演示文稿后消失。当然,如果你不想Flash影片覆盖整个幻灯片,也可以仅仅拖动十字指针到适当的位置。所后你可以根据需要你进行缩放。
To assign properties, click the Properties button on the Control Toolbox (or right-click the control and choose Properties from the menu that appears). In the Properties dialog box, shown in Figure 2, ensure that ShockwaveFlash1 is selected as the object rather than the slide itself.
要指定属性,点击空间工具条的属性按钮(或者右击该控件,从弹出的选单中选择属性)。在属性对话框中,如图二所示,确保被选择的是shockwaveflash1控件而非幻灯片本身。

Figure 2 - Specify how and when to run your movie in the Properties dialog box.
图二,在属性对话框中指定如何及何时运行影片。
Set the following properties:
设置以下属性:
- Movie.Enter the complete directory path name or URL of the Flash movie you want to play, such as:
c:My DocumentsFlashMoviesMyFlashMovie.swf.
You can enter a location on your own computer or a location on the Web or intranet. Be sure that you enter the *.SWF file and not another format such as *.FLA (a Flash document, not a movie).
- Movie。输入你想要播放的Flash影片完整的路径名或URL,比如:
c:MyMovie.swf
你可以输入你本机的路径,也可以是互联网或者内部网上的定位。确保你输入的是*.swf文件而不是其他格式,比如*.fla(Flash源文件,不是影片)。
- EmbedMovie. Set to True to embed the movie in your presentation, avoiding any concerns about running your presentation on another machine and losing the Flash movie.
- EmbedMovie。设置为True让影片嵌入到演示文稿当中,你就不必操心在其他计算机上运行演示文稿,以及丢失Flash影片的问题。
- Playing.Set to True to start your movie as soon the slide appears. If you want to control when the movie starts playing, set to False.
- Playing。设置为True,使得在幻灯片出现的同时播放影片。如果你想控制影片的开始播放,请设置为False。
- Loop.Set to True if you want your movie to loop; set to False if you don't want it to loop.
- Loop。如果你希望影片循环播放,请设置为True;如果你只希望播放一遍,设置为False。
- Menu. Set to True if you want display a menu of options when you right-click on the Flash movie during presentation. Menu options include the ability to play, rewind, loop, and print your movie as well as to specify settings, quality, and more. Although this is easy and convenient, there are also more elegant ways to control your movie.
- Menu。如果你希望,在运行实验文稿的时候,你在Flash影片上点击右键,能够弹出快捷选单,请将此属性设置为True。选单项包括播放、回放、循环和打印影片,以及特殊设置、显示质量等功能。虽然这很简单易行,但可以很优雅地控制你的影片。
- Quality.Set to High for the best quality. Other options include Medium and Low.
- Quality。设置为High得到最优画质。还包括Medium和Low选项。
If you prefer to enter your property information in a more traditional dialog box format, select the Custom row, click the ellipsis, and enter your information in an abbreviated Properties dialog box. The settings are the same regardless of which way you enter them.
如果你更愿意在更传统的对话框形式下输入属性,选择Custom列,点击省略号,在一小型属性对话框中输入属性信息。不管你采取哪种输入方式,这些设置都是一样的。
After you exit the Properties dialog box, the Flash movie should appear in your PowerPoint presentation. If the large X continues to appear, a still version of the movie should replace this after you preview your presentation.
在你离开属性对话框之后,Flash影片将显示在你的演示文稿中。如果依然是大X,在你预览演示文稿后,该影片的一个静态版本将替代X。
Presenting with Flash
利用Flash进行演示
To preview the Flash movie in your PowerPoint presentation, press F5. The presentation should automatically start with the movie, as illustrated in Figure 3. You can then move on to the next slide to continue your presentation just as you normally would.
要预览演示文稿中的Flash影片,可以按下F5。演示文稿将自动从影片开始运行,如图三所示。然后,如你通常所做的,移动到下一页继续你的演示。

Figure 3 - Start your presentation with flair .and Flash.
图三,运用你的才能和Flash开始运行演示文稿
If for some reason the Flash movie doesn't appear, return to Normal view and check your properties again. Verify that the path you entered under Movie is accurate and includes the complete path name of your *.SWF file. Complex navigation paths can sometimes be problematic. If you think this might be your problem, right-click the file in Windows Explorer, choose Properties, and copy the text in the Location field. Then return to PowerPoint, paste the text in the Movie field in the Properties dialog box, and add the *.SWF file name. Also check that Playing is set to True. This setting can sometimes revert to False after previewing, so it's a good idea to verify your properties before you run any presentation with Flash movies. If your movie still won't play, try reinstalling the Flash Player.
如果因为某些原因,Flash影片无法显示,回到普通视图,再次检查属性。验证你输入的影片路径是正确的,并且是包括了swf文件的完整路径名。复杂的路径有时候会出问题。如果你觉得这是你的问题,在Windows资源管理器中右击此文件,选择属性,复制位置栏的文本,然后返回PowerPoint,粘贴到属性对话框的Movie栏,再加上swf文件名。还要检查Playing是否被设置成True。该设置某些时候在预览后会恢复到False,因此,在你开始运行含有Flash影片的任何演示文稿之前检查属性,是一个好主意。如果你的影片还是不能播放,重新安装Flash播放器吧。
Controlling Your Flash Movie with Macros
Controlling Macros with Action Buttons
Making Action Buttons Invisible
Importing a PowerPoint into Flash
The Final Steps
利用宏控制Flash影片
利用动作按钮控制宏
制作隐形动作按钮
将PowerPoint导入Flash
最后的步骤
Controlling Your Flash Movie with Macros
利用宏控制Flash影片
Of course, you may not want your movie to play as soon as you open the slide that contains it. To control the start and finish of a Flash movie in your PowerPoint presentation, you can create macros and access them via action buttons. Let's say that you want to introduce the concept behind the Flash movie first, play the movie, replay a portion for emphasis, and then stop. You can create macros for each action (play, rewind, and stop) and then assign these actions to action buttons that you click during your presentation.
当然,你可能并不想在打开幻灯片的同时播放影片。要在演示文稿中控制Flash影片的开始和结束,你需要创建宏,并通过动作按钮访问这些宏。我们假设你要介绍Flash影片中的概念,你首先要播放影片,遇到重点要重放,最后还要停下来。你可以为每个动作(播放、重放、停止)创建宏,然后将这些动作赋予动作按钮,这样你就可以在演讲的时候点击这些按钮。
To create the macros, click the View Code button on the Control Toolbox to open the Microsoft Visual Basic Editor. Don't worry if you're not a Visual Basic expert; the modules you create are very straightforward. If you do have VBA experience, you can design an even more customized solution. In the editor, choose Insert, Module; a module window appears. In this window, enter the following code:
要创建宏,点击控件工具条上的查看代码按钮,打开Microsoft Visual Basic编辑器。如果你不精通VB也不要担心,需要你编写的模块都非常简单。如果你有VBA经验,你可以设计更加个性化的解决方案。在编辑器中,选择插入>模块,打开一个模块窗口。在这个窗口中,输入如下代码:
Sub ShockPlay()
Slide1.ShockwaveFlash1.Play
End Sub
Type Sub ShockPlay() on the first line and then press Enter. The editor moves you to a blank line and then automatically enters the text End Sub on the third line. On the blank line in between, indent and type Slide1.ShockwaveFlash1.Play, substituting the appropriate numbers if the Flash movie isn't on the first slide or isn't the first Flash object you embedded. Drop-down lists appear after you enter each period to assist in your selections.
在第一行输入 Sub ShockPlay() 然后回车。编辑器将你带入新的一行,并自动在第三行添加文本 End Sub。在中间的空行,缩进并输入 Slide1.ShockwaveFlash1.Play ,如果Flash影片不在第一页,则用相应的数字替换Slide1;如果不是你嵌入的第一个Flash对象,则替换ShockwaveFlash1的响应数字。在你输入每一个句点的时候,都会弹出一个下拉选单,帮助你进行选择。
You can create a similar module to rewind the movie using the following code:
你可以使用如下代码创建一个重播影片的类似模块:
Sub ShockRewind()
Slide1.ShockwaveFlash1.Rewind
End Sub
The code for stopping the movie would be:
停止影片的代码如下:
Sub ShockStop()
Slide1.ShockwaveFlash1.Stop
End Sub
Again, remember to modify the slide and ShockwaveFlash numbers if necessary. Click the Save button and then choose File, Close and Return to Microsoft PowerPoint to exit Microsoft Visual Basic Editor.
再次强调,记住根据需要编辑Slide和ShockwaveFlash的号码。点击保存按钮,选择文件,关闭退出VB编辑器并返回PowerPoint。
Controlling Macros with Action Buttons
使用动作按钮控制宏
Now you need to add action buttons to your slide in order to access the macros you just created. To do so, choose View, Toolbars, Drawing to display the Drawing toolbar. On the toolbar, choose AutoShapes, Action Buttons and click one of the action button shapes - either Custom to design your own button or one of the existing buttons such as Forward or Back. Drag to place the button on the slide in the appropriate location. The Action Settings dialog box appears.
现在你需要为你的幻灯片添加动作按钮来访问你刚才创建的宏。要做到这个,选择视图>工具条>绘图,显示绘图工具条。在这个工具条上,选择自选图形>动作按钮,并点击一个动作按钮图形,或者自定义设计你自己的按钮,或者已有按钮中的一个,比如向前或向后。拖动按钮并放在幻灯片上合适的位置。这时候显示出动作设置对话框。
Click Run Macro on the Mouse Click or Mouse Over tab (depending on how you want to control your action), select the macro from the drop-down list (ShockPlay, for example), and click OK.
From here, you can customize the fill color and line color of the button with the options on the Drawing toolbar, add text, or resize. Use this same technique to add actions buttons to control your other macros (ShockRewind and ShockStop), if desired.
在鼠标点击或鼠标滑过页(取决于你想如何控制你的动作)点击运行宏,从下来选单中选择你的宏(比如ShockPlay),然后点击确定。在这里,你可以通过绘图工具条上的选项,自定义按钮的填充色和边线颜色,以及按钮上的文字,以及按钮的大小。如果需要的话,你可以使用同样的技术进一步添加动作按钮,控制其他宏(ShockRewind和ShockStop)。
When you're done, check your movie's properties and verify that Playing is set to False. Now press F5 to preview your show. When you reach the slide with the embedded Flash movie, nothing happens until you click the Play button. You can also rewind, play again, stop to discuss a segment of your movie, and then continue playing it.
完成以后,检查影片的属性并确认Playing属性被设置成False。现在按下F5预览演示文稿。当你到达嵌有Flash影片的幻灯片时,什么都不会发生,直到你点击播放按钮。你也可以在讨论某个片段的时候重放、再次播放、停止影片,然后继续播放。
Making Action Buttons Invisible
制作隐形动作按钮
If you prefer, you can make an action button invisible, yet still active. To do so, right-click the button, and choose Format AutoShape from the menu that appears. In the Format AutoShape dialog box, select No Fill as the Fill Color and No Line and the Line Color and then click OK. You still see selection handles if you select the now invisible button in Normal view, but the button is invisible on the slide when you run your presentation. Having invisible buttons is a good idea if you don't want your audience distracted by Play, Rewind, or Stop buttons and enables you to create a more polished presentation. To use this technique effectively, however, you need to remember exactly where you place your invisible buttons so that you click the appropriate location. Placing the action buttons along the bottom left, center, and right of the slide, for example, is one option.
如果你愿意,你可以制作一个看不见的、依然起作用的动作按钮。要做到这一点,右击按钮,从弹出选单中选择设置自选图形格式。在设置自选图形格式对话框中,为填充色选择无填充,为线条颜色选择无线条,然后确定。如果你这时候在普通视图中选择此隐形按钮,你依然可以看见选择柄,但是当你运行演示文稿的时候已经看不见按钮了。如果你不想让你的观众因为播放、重放或停止按钮而分心,如果你想创作一份更加优美的演示文稿,使用隐形按钮是一个不错的点子。然而,要有效使用该技术,你需要准确记住隐形按钮的位置以便点击到正确的位置。沿着幻灯片的左下、中央、和右边放置按钮,是一个办法。
Importing a PowerPoint into Flash
将PowerPoint导入Flash
Up to this point, we've focused on using Flash movies in PowerPoint. But you can also do the opposite - import a PowerPoint presentation into Flash. For example, you may have an existing PowerPoint presentation you'd like to convert to a Flash movie or want to reuse a portion of your presentation in Flash.
到目前为止,我们关注的都是在PowerPoint中使用Flash。但是你也可以反过来——将PowerPoint演示文稿导入Flash。比如,你打算将某份演示文稿转换成Flash影片,或者想在Flash中重用演示文稿中的某部分。
First, you need to save your PowerPoint presentation in a Windows Metafile Format (*.WMF). To do so, choose File | Save As; select Windows Metafile in the Save As Type drop-down list; and click the Save button. A prompt box asks if you want to export every slide in the presentation; click Yes if you do. This process creates a folder with the same name as your presentation (such as Company Meeting) and breaks each slide into a separate file (named Slide1.wmf, Slide2.wmf, and so forth).
首先,你需要将你的演示文稿存为图元文件(*.WMF)。选择文件>另存为,在另存为的类型下拉列表中选择图元文件(Metafile),点击保存。一个提示对话框询问你是否想导出演示文稿中所有幻灯片,如果你想这样做就点击是。结果创建了一个与演示文稿同名的文件夹,同时每一张幻灯片都被存为单独文件(命名为Slide1.wmf, Slide2.wmf等)。
Now open the Flash document into which you want to import your PowerPoint presentation. Select the keyframe where you want to place the first slide. Choose File | Import and select Slide1.wmf in the folder you created when you saved in the Windows metafile format. Click the Open button; click the Yes button when the prompt box asks whether you want to import the entire sequence of images. Each slide in the sequence now appears on a consecutive frame in your Flash movie, as illustrated in Figure 4.
现在打开你想导入演示文稿的Flash文档。选择要放置第一页的关键帧。选择文件>导入,从你刚才创建的文件夹中选择Slide1.wmf。点击打开按钮,当提示询问你是否导入整个图像系列时,点击是。序列中的每一幅幻灯片现在都显示为Flash影片中连续的帧,如图四。

Figure 4 - You can edit text and images when you import a PowerPoint presentation into Flash.
图四——你将PowerPoint演示文稿导入Flash之后可以编辑文本和图像
One thing to note is that certain backgrounds don't convert well to Flash. If your PowerPoint presentation contains a dark background with white text, for example, you could end up with white text on a white background in Flash. If your first attempt to import a PowerPoint presentation into Flash doesn't look right, modify your background and text colors in the Color Scheme dialog box (Format, Color Scheme). A text color other than white works best. One of the nice things about importing a PowerPoint presentation into Flash is that you can still edit text and images because they're in a vector format.
有一点需要注意的是,背景不能很好的转换进Flash。如果你的PowerPoint演示文稿包含黑色背景和白色文字,你肯定会在Flash中遇到白色背景上的白色文字。如果你第一次导入不是很好看,可以在色彩方案对话框(格式>色彩方案)中修改背景和文字颜色。文本颜色最好不要用白色。因为文字和图形是矢量格式,所以将PowerPoint导入Flash之后依然可以编辑文本和图片。
The Final Steps
最后的步骤
From here, you can get creative in inventing ways to bring the interaction between PowerPoint and Flash to its full potential. For example, consider publishing PowerPoint presentations with embedded Flash movies to the Web. Or try out some of the new features of Flash MX to further enhance the level of interactivity and animation you can incorporate into your presentation. By combining the individual strengths of PowerPoint and Flash as presentation tools, the possibilities for creating state-of-the art interactive presentations are limited only to your imagination.
在这里,你可以在PowerPoint和Flash之间的互动引入革新方法,从而充分发挥其潜力。比如,考虑将嵌入Flash影片的PowerPoint演示文稿发布到网上。或者尝试Flash MX某些新的特性,进一步增强你能够整合进演示文稿的交互和动画的水平。通过结合PowerPoint和Flash各自作为演示工具的优点,创作出艺术的交互式演示文稿的必要条件可能仅仅受限于你的想象力了。
http://www.indezine.com/articles/flashPowerPoint2.html
http://www.presentationteam.com/News/Tips/PowerPointers/Rutledge/PizzazzFlash.php