Академический Документы
Профессиональный Документы
Культура Документы
fm — 3/1/07
Yam Computers • Computers in Radiology
Flash Movies in PowerPoint
hockwave Flash (Adobe) is a rela- can be organized in different ways. For exam-
TABLE 1: Standard Method for Inserting Flash Movies into PowerPoint tion. The differences between these two play-
Presentations ers are documented on the Adobe Website [4].
Step Process Description Action Type After launching PowerPoint, open a new
Inserting an ActiveX Control presentation in the normal slide view. A Flash
movie can be embedded with the standard
1 Select View then Toolbars and Control Toolbox from the User action
top menu. method shown in Table 1 [5]. Detailed in-
structions for using this standard method for
2 In the Control Toolbox, click on the More Controls icon. User action
inserting Flash movies into PowerPoint have
3 Select Shockwave Flash Object from the drop-down list. User action
been described elsewhere [1].
4 Close the Control Toolbox. User action
5 Using the left mouse button (click-and-drag), draw the User action The Alternative Solution: A
control onto the slide. PowerPoint Macro
Configuring the ActiveX The user steps involved in the standard
Parameters method for inserting Flash into PowerPoint
6 Using the right mouse button, click on the control to bring User action presentations are cumbersome and labor in-
up the context menu. tensive. This lengthy process can be simpli-
7 Select Properties from the menu. User action fied with a PowerPoint macro. The macro
8 At the Movie box, type the full-path filename for the Flash User action contains six individual functions: five auto-
movie. mated actions and one user step (Table 2). A
9 At the Embed Movie box, choose the option True. User action PowerPoint template containing this macro
10 Close the Properties window. User action can be downloaded from this online article
(SWF_into_PPT.ppt, 26 kb). Because this
11 Select View then Slide Show to play the Flash movie. User action
template already contains the macro, radiolo-
gists can use it directly without programming.
A simple demonstration appears later.
TABLE 2: Macro for Inserting Flash into PowerPoint
For experienced PowerPoint users, de-
Step Process Description Action Type tailed information for automating the Ac-
1 Select the Flash movie using a Windows file dialog. User action tiveX control and invoking the Windows file
2 Create an ActiveX control at the PowerPoint template. Automated dialog utility is documented at the VBA
3 Configure the movie filename and other parameters at the ActiveX control. Automated
scripts. These scripts can be viewed with the
VBA editor within PowerPoint by selecting
4 Copy the completed ActiveX control to the new presentation. Automated
Tools then Macro and Visual Basic Editor
5 Close the original PowerPoint template. Automated from the menu (or pressing the Alt and F11
6 Start the slide show to test the Flash movie. Automated keys). The scripts are annotated according to
Note—In this macro, only one user action is required (file selection). All other steps are automated by the Visual the individual functions listed in Table 2.
Basic for Application (VBA) scripts. A complete source code for this macro is available at the PowerPoint
template (SWF_into_PPT.ppt) in this online article. Detailed information for configuring and invoking the system
resources to utilize the Windows file dialog is documented at the annotated VBA scripts.
Macro Security Settings
Because they contain VBA scripts, macros
can be programmed for a wide range of appli-
movies from digital images and converting Standard Method for Inserting cations, including malicious computer viruses,
common movie clips into Flash movies are de- Flash into PowerPoint which can harm computers by altering the ba-
scribed in a previous article [1]. The standard method for inserting a Flash sic system information or accessing personal
movie (*.swf) into a PowerPoint presentation data. To prevent such viruses from running au-
PowerPoint Macro is discussed for demonstration purposes. The tomatically, Microsoft has implemented a se-
Based on the simple-to-use and yet versa- ActiveX control (Shockwave Flash object) curity checkpoint. To set the security level, se-
tile scripting language Visual Basic for Appli- for inserting a Flash movie is installed in most lect Tools then Macro and Security from the
cation (VBA, Microsoft), a macro allows newer operating systems, such as Windows menu, and then choose one of the following
PowerPoint users to create a short program 2000 and Windows XP. This control is com- four options at the Security Level tab (Fig. 1).
for automating repetitive routines and labor- patible with PowerPoint 2000, XP, and 2003. With Very High, a macro can be run only if the
intensive tasks. An automated process based If it is not available, however, either in the user digitally signs and marks it as a trusted
on a macro for inserting a large number of system or at the PowerPoint application, the macro. (A signed macro is one with a valid dig-
digital images into PowerPoint has been de- control can be restored with installation of a ital signature provided by a certified Internet
scribed [2]. A general guideline for using fresh copy of the Flash player. This Flash agent such as www.VeriSign.com [6, 7]). With
macros in PowerPoint also is discussed in that player is available as a free download at the High, a macro can be run only if it is digitally
article. In this article, I discuss a PowerPoint Adobe (formerly MacroMedia) Website [3]. signed and has user permission. With Medium,
macro in which Windows (Microsoft) system A similar free download, MacroMedia an unsigned macro can be run only with user
resources are used to streamline insertion of Shockwave Player, is available at the same permission. With Low, any macro can be run
Flash movies into PowerPoint. Website but is not required for this applica- without user permission.
Yam
Demonstration
Although this demonstration was prepared
with PowerPoint 2003 and Windows XP Pro-
fessional (SWF_into_PPT.ppt), the essential
steps can be applied to other operating sys-
tems (e.g., Windows 2000) and PowerPoint
Fig. 2—Screen capture
shows security versions (e.g., PowerPoint 2000 and XP).
warning window that Also for this demonstration, a sample Flash
appears when movie (a scrollable cine loop of 50 axial CT
PowerPoint template
(SWF_Into_PPT.ppt) images) was prepared. This sample Flash
is launched. movie can be downloaded from the online
version of this article (CT_Cine.swf, 1.7 Mb).
(Note: The scrolling feature of this movie was
created using Flash ActionScript. The process
for creating this scrollable Flash movie will
be provided in a future article.)
After downloading these two files, open
the PowerPoint template (SWF_into_PPT.ppt)
with the desktop PowerPoint application. A
convenient way to do this is to double-click
on the template file itself. When the template
is launched, a security warning dialog box
may appear, prompting permission for en-
abling the macro function (Fig. 2). Click on
Enable Macros to allow this option. The tem-
plate contains a single slide with instructions
for running the macro (Fig. 3). Press the Alt
and F8 keys to begin, choose Insert_Flash
from the list box, and then click Run to con-
tinue (Fig. 4). In a file dialog box, select a
Flash movie and then click Open to finish
(Fig. 5). The Flash movie appears in a new
PowerPoint presentation (Fig. 6). If the Run
Fig. 3—Screen capture button is grayed out (not active), the macro
shows PowerPoint security level is most likely set to Very High
template
(SWF_Into_PPT.ppt)
or High. Lower the security level to Medium
with instructions for as discussed earlier, and restart the demon-
running macro. stration (SWF_into_PPT.ppt).
Limitations
The ActiveX control (Shockwave Flash Ob-
ject) for inserting a Flash movie into PowerPoint
is available only for PC, not Macintosh, sys-
tems. This general cross-platform issue involves
use of ActiveX components in most applica-
tions, including all Microsoft Office products.
Similarly, PowerPoint presentations created on
PC systems with embedded Flash movies will
not work on Macintosh systems. Therefore, one
of the requirements for using MacroMedia
Flash in electronic PowerPoint presentations at
radiologic society meetings is the PC format.
Users are required to lower the security level
to medium to run this macro. Although this set-
ting provides minimum safety for preventing
malicious viruses from running automatically,
users should reset the security level to higher
settings after using this macro [2, 7]. In addi-
tion, this article describes the use of a particular
macro for inserting a Flash movie into Power-
Point presentations but not general guidelines
for developing macros. These guidelines have
been discussed previously [2].
Conclusion
Because of its enriched animation functions
and embedding capability, MacroMedia Flash
is recommended as the standard tool for creat-
Fig. 6—Screen capture ing digital animations for PowerPoint presenta-
shows embedded
Flash movie running in
tions at radiologic society meetings. However,
new PowerPoint the method recommended by Microsoft for in-
presentation. serting Flash into PowerPoint presentations is
Yam
cumbersome and labor intensive. This article [web]W218–W226 5. Microsoft. Play a Macromedia Flash animation in
provides the simple solution of a PowerPoint 2. Sistrom C, Honeyman-Buck J. A simple method for PowerPoint. Available at: office.microsoft.com/
macro—freeware available for download in importing multiple image files into PowerPoint. en-us/assistance/HA010348071033.aspx. Accessed
this online article. With this macro alternative, AJR 2004; 182:1591–1596 January 18, 2007P
embedding Flash movies into PowerPoint is as 3. Adobe. Solutions and products. Get Adobe Flash 6. Digital signature. Wikipedia. Available at: en.
simple as inserting common movie clips. Player. Available at: www.adobe.com. Accessed wikipedia.org/wiki/Digital_signature. Accessed
January 18, 2007 January 18, 2007
4. Adobe. The difference between the Macromedia 7. Wilcox C, Khor SM. The Office security settings in
References Flash and Shockwave Players. Available at: depth. Available at: http://office.microsoft.com/en-
1. Yam CS. A solution for using dynamic data sets www.adobe.com/cfusion/knowledgebase/index. us/help/HA010872991033.aspx?pid=CH0115452
in electronic presentations. AJR 2006; 187:584 cfm?id=tn_15508#4. Accessed January 18, 2007 11033. Accessed January 7, 2007