Skip to main content
Known Participant
April 24, 2014
Question

Button to jump to a point in the time line?

  • April 24, 2014
  • 1 reply
  • 518 views

Morning,

Is there anyway to create a button that when clicked will jump to a specfic time in the time line and play?

Thanks,

Ryan

    This topic has been closed for replies.

    1 reply

    RodWard
    Community Expert
    Community Expert
    April 24, 2014

    Yes, as long as you can figure out what the specific frame number of that spot in the timeline is, then you could use the button to execute an advanced action that assigns the cpCmndGotFrame system variable to that value.

    Getting the frame number though might be tricky.  You can find out what the frame number is at the moment a slide enters the timeline by using On Slide Enter event to capture the frame number and assign it to a user variable.  But if the frame you want to jump to is somewhere in the middle of a slide's timeline then you may need to take a more educated guess about what the frame number is based on how many seconds past the beginning of the slide it is and multiply this by the actual frame rate per second to arrive at your frame number.

    RyanSteerAuthor
    Known Participant
    April 24, 2014

    Thanks for the response, that has solved the problem. Used the $$cpInfoCurrentFrame$$ variable to get the frame number to get the exact point in the slide that I need. The only, fairly major, problem I can see is that is there are any changes to the slides preceeding it that's going to throw everything out. There may be a way around this but none that I can see.

    Thanks again

    RodWard
    Community Expert
    Community Expert
    April 24, 2014

    That's why structuring your content so that you just need to jump to the beginning of a slide is a far better way to go.