how to use motion path

D

deloge

i'm trying to animate an object to go on a certain path...but i was
looking in the help section of powerpoint and it states that it can't
be created...is this true....is there no way to create motion paths in
Mac only on windows...

Please help....

Thanks.
 
A

Alan Schaevitz

Unfortunately, true. You cannot create motion paths on PP2004 for the Mac.
You can only use the predefined motion paths. In PP, to to Help > Send
Feedback and complain bitterly!
 
J

Jim Gordon MVP

Hi,

For most people what you state is true. There is no GUI (graphical user
interface) in Mac PowerPoint 2004 that lets you control the motion path.

The object model for the motion paths is there, however. If you know how
to use VBA you can control the paths programatically.

-Jim
 
E

esj3

Jim,

How would I use VBA to do that? And is there a way to modify the animation
order without manually inserting each animation sequentially? I don't see any
option to re-arrange the order on the edit screen of custom animation.

Thanks,
Eric Jaffe
 
J

Jim Gordon MVP

Hi,

There is an article located here that explains how to use the
motioneffect object:
http://msdn.microsoft.com/library/d...vbapp11/html/ppobjMotionEffect_HV03080945.asp

Here's the code example from the above article. I tested it in Mac
PowerPoint 2004 and it works fine. This adds a shape to a slide and then
gives it a motion path

Sub AddMotionPath()

Dim shpNew As Shape
Dim effNew As Effect
Dim aniMotion As AnimationBehavior

Set shpNew = ActivePresentation.Slides(1).Shapes _
.AddShape(Type:=msoShape5pointStar, Left:=0, _
Top:=0, Width:=100, Height:=100)
Set effNew = ActivePresentation.Slides(1).TimeLine.MainSequence _
.AddEffect(Shape:=shpNew, effectId:=msoAnimEffectCustom, _
Trigger:=msoAnimTriggerWithPrevious)
Set aniMotion = effNew.Behaviors.Add(msoAnimTypeMotion)

With aniMotion.MotionEffect
.FromX = 0
.FromY = 0
.ToX = 500
.ToY = 500
End With

End Sub

To change the animation order simply select an animation in the custom
animation dialog box then click the up or down arrows next to the list
of objects that have animations. They will move and and down the list.

-Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top