|

Getting PowerPoint Into Director
by Adam Crowley and Geetesh Bajaj
See Also: PowerPoint And Director

Using PowerPoint Shows In Director
The PowerPoint Viewer Method
The PowerPoint Application Method
Xtras>Import PowerPoint File.
A Couple Of Caveats
Disclaimer

Using PowerPoint Shows In Director
Since the launch of Macromedia Director 6.5, you can import a
Microsoft PowerPoint presentation in three ways:
- As an OLE object (you trigger the PowerPoint Viewer to play
the file).
- Same as above - but using a local installation of Microsoft
PowerPoint.
- Using the Import PowerPoint Xtra (Xtras>Import PowerPoint
File...) to import each slide and its objects/text to manipulate
in Director.
There are advantages and disadvantages to each of these methods,
as outlined below:
Back

The PowerPoint Viewer Method
The PowerPoint Viewer is a free program to view PowerPoint presentations
on systems without PowerPoint installed. You can download it from:
Microsoft
PowerPoint Viewer
Be aware that the PowerPoint Viewer is basically a runtime engine
for PowerPoint 97 - therefore you will be unable to view all the
cool animations and transitions included in newer versions through
the Viewer - also the Viewer does not support VBA (Visual Basic
for Applications). Having said that, one might add the fact that
PowerPoint 2000 and 97 have minor differences - thus the actual
differences will be more obvious only if you use PowerPoint 2002.
On the other hand, using the PowerPoint Viewer means you can use
PowerPoint 97/2000 to create your presentation and make amendments,
rather than the slightly more complex Director.
You might want to do the entire thing in Director itself in order
to have greater flexibility with animations, etc. We discuss more
of that later. As of now, you are limited by what you can achieve
in PowerPoint compared to Director.

The process for importing PowerPoint into Director is straightforward
enough. First of all, copy your PowerPoint presentation to the
same folder as your Director movie. Assemble the PowerPoint Viewer
and associated files in a subfolder of this, called ppview. You'll
find more details on the actual associated files to copy from this
PDF document:
PPViewer Technote
Then, on either a button or a frame in Director depending on your
purpose, you will need to add a simple script. For our example,
we'll create a text sprite in Director with the words 'Run Presentation'.

Right cliick the sprite - and choose 'Edit Cast Member' from the
resultant flyout menu.

This will open the cast member in a separate window - click the
Cast Member Script button.

In the resultant Script window, type the following code:
Open "presentation.ppt" with "ppview/ppview32.exe"

where presentation.ppt is the name of your PowerPoint file (it
can be a .ppt or .pps). This will launch the PowerPoint Viewer
through the appropriate action in your Director movie, and return
to the movie at the end of the presentation.
This approach can also be used to create a Director based autorun
splash front end for running multiple PowerPoint presentations
- off a CD-ROM or hard disk.
Back

The PowerPoint Application Method
If you are sure that the intended audience has a full version
of PowerPoint installed on their systems, you can use PowerPoint
itself to play your presentation when you click a link from a Director
projector. The advantages are manifold - all your presentations
would play as they were intended to - you'll be able to view all
the cool Powerpoint 2002 animations and transitions if that version
is available on a system.
The basic steps actually replicate whatever we did for the Powerpoint
Viewer method - with two subtle changes - let's explore:
- Firstly, rename your PPT presentation to a PPS. Both PPT and
PPS are valid PowerPoint extensions - it is just that a presentation
with a PPS extension opens directly in Show mode rather than
the Edit mode which is associated with PowerPoint's PPT extension.
- Seconly, we'l need a shell execution utility like shelexec.exe
- you can download it free from:
The
Code Project - ShelExec
Place shelexec.exe in the same folder as your PPS presentation and the Director
movie. Thereafter, when we add a script to a Director sprite, insert the
following code:
Open "presentation.pps" with "shelexec.exe"
That's all.
Back

Xtras>Import PowerPoint File
By choosing this third method you can take advantage of Macromedia
Director's advanced animation capabilities and more. The pitfall
here is you have to save your PowerPoint presentation as a version
4 file, since that is the only version of PowerPoint which Director
imports in this way. There are several associated problems with
this state of affairs - PowerPoint 4 doesn't support multimedia
of any kind (ideal for importing into a multimedia package, then)
and does not handle bitmaps as efficiently as the newer versions.
If you've designed your PowerPoint presentation in a later version
(which presumably you have) you'll probably be disappointed to
find that saving back to version 4 does downgrade your work. If
you're using PowerPoint 2002 (XP) then you won't even have the
option to save a version 4 show so you may have to find someone
who has an older version for you to borrow.

We're now finished with the bad news - the good news is that you
can add the multimedia elements in Director and the Import PowerPoint
Xtra assembles a cast with your backgrounds and text/objects and
a score with your slides and their animations, with markers for
each slide, so you can tweak to your heart's content.
You can add interactivity, Flash animations (which work seamlessly
in Director - fair enough I suppose as it's a Macromedia product)
and web functionality that PowerPoint just can't achieve. Once
your elements are there you can even edit your text in Director
if that's easier.
Finally, Director's distribution options are so much better -
you can create a standalone EXE file or a Shockwave DCR file to
view on the internet.
Back

A Couple of Caveats
- If you haven't got PowerPoint 4 you won't be able to check
exactly what you are sending to Director. Although you can open
a version 4 file in PowerPoint 97 and above, there are usually
inconsistencies with mapping animations etc. so you might think
all your text wipes right but when it gets to Director it does
weird things. You can change all this in Director - at least
you've got a structure automatically created.
- You will notice that vector images come in as Flash assets.
As such they are not editable in Director so you must make sure
you are happy with them before you import.
- Also Director calculates your movie size using 72dpi so if
your PowerPoint is set up at the default 10x7.5" it will
import at 720x540. Adjust your PowerPoint page size if you need
a bigger movie.
- The biggest problem you'll have is bitmap quality - if you
have the time and patience you may find yourself replacing the
cast members with the original bitmaps to maximise quality.
I should add that depending on what you're trying to do it can
sometimes be better/easier to work the other way round and put
a Director projector into a PowerPoint show using Insert | Object,
or a Shockwave DCR movie using the Control Toolbox.
Back

Disclaimer
This is just an experiment. No support can be provided for the
techniques listed here. Also, I don't suppose either Microsoft
or Macromedia would offer support on this subject.
However, both Microsoft and Macromedia newsgroups are well visited
and intelligent interactions are possible on both the forums.
microsoft.public.powerpoint
macromedia.director.basics
Both newsgroups can be accessed through news readers or through
the archives at Google
Groups.
You can also search the Macromedia Director knowledge base at
the Director
Support Center.
Back

|