Addin after effect to a shape changes triggrer, Please help

S

S.Creek

Hi,
i have a problem repeating both in VB and C#
once i am adding an after effect option to my shape, it changes the
trigger that i have set to the shape, in the following code that im
using, i am setting a Start with previous trigger, but as soon as i add
the after effect, the trigger is changed to after previous.
anyone knows why? is this a power point automation bug? or am i doing
something wrong,

Please help


oSeq =
oApp.ActiveWindow.Selection.SlideRange.TimeLine.InteractiveSequences.Add(1)
shp =
oApp.ActiveWindow.Selection.SlideRange(1).Shapes.AddPicture("c:\Yellow
Marker 1_4.png", False, True, 150, 150, 500, 350)
oEff =
oApp.ActiveWindow.Selection.SlideRange(1).TimeLine.MainSequence.AddEffect(Shape:=shp,
effectId:=AnimEffect.msoAnimEffectAppear,
Trigger:=AnimTrigger.msoAnimTriggerWithPrevious)
Dim PpAfterEffect As New PowerPoint.PpAfterEffect
shp.AnimationSettings.AfterEffect =
PpAfterEffect.ppAfterEffectHideOnClick
 
A

Austin Myers

Which versions of PPT are you working with? (Nothing before 2002 supports
the timeline statements).


Austin Myers
MS PowerPoint MVP Team

Solutions to Multimedia in PowerPoint www.pfcmedia.com
 

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

Top