Consulting

Results 1 to 4 of 4

Thread: msoAnimEffectMediaPlayFromBookmark

  1. #1
    VBAX Newbie
    Joined
    Oct 2012
    Posts
    2
    Location

    msoAnimEffectMediaPlayFromBookmark

    hello,

    there are no documentation about msoAnimEffectMediaPlayFromBookmark or a example with that enum in MSDN. Can someone tell me how can msoAnimEffectMediaPlayFromBookmark be used?

    I think for example: ActiveWindow.View.Slide.TimeLine.InteractiveSequences.Add.AddTriggerEffect( mediaShape, msoAnimEffectMediaPlayFromBookmark, msoAnimTriggerOnShapeClick, clickShape, "Bookmark A", MsoAnimateByLevel.msoAnimateLevelNone)

    I tried with "Bookmark A". It works. But it is not working with "Bookmark B" or another bookmark! Where can I set a specied bookmark for msoAnimEffectMediaPlayFromBookmark. I suspect, Bookmark as String (name of bookmark) into methods addTriggerEffect is meant only for trigger and is not meant for effect. Right?

    Thanks.

    Manu

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,094
    Location
    Shyam has some stuff here
    http://skp.mvps.org/2010/ppt002.htm
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  3. #3
    VBAX Newbie
    Joined
    Oct 2012
    Posts
    2
    Location
    Thank you. But I didn't find msoAnimEffectMediaPlayFromBookmark. Only msoAnimTriggerOnMediaBookmark! Right? I think addTriggerEffect works only with TriggerBookmark and does not with EffectBookmark, or?

    Manu

  4. #4
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,094
    Location
    As far as I know it should be OnMediaBookmark (The help files can be wrong!)

    To animate a shape from a media bookmark try
    [vba]Sub trig()
    Dim osld As Slide
    Dim oshp As Shape
    Dim oeff As Effect
    Dim oshpmovie As Shape
    Set osld = ActivePresentation.Slides(1)
    Set oshpmovie = osld.Shapes(3)
    Set oshp = osld.Shapes(4)
    Set oeff = osld.TimeLine.InteractiveSequences.Add.AddTriggerEffect(oshp, msoAnimEffectPathCircle, _
    msoAnimTriggerOnMediaBookmark, oshpmovie, "Bookmark 2")
    End Sub[/vba]
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •