Skip to main content
Inspiring
October 2, 2016
Question

Animation: Start, Pause, Resume, Repeat

  • October 2, 2016
  • 1 reply
  • 1233 views

Hello everybody,

I´m using Captivate 9 and I publish in HTML.

I´ve got the following question:

Let`s say we have an animation (e.g. a rectangular moving from the left to the right).

Now I want to have three buttons with the following properties:

1. A button "START": Every time one clicks this button, the animation starts from the beginning.

2. A button "PAUSE": If you click the button, the animation pauses.

3. A button "RESUME": If you click the button (while the animation pauses) the animation resumes

Question: How can I implement this with Captivate? Maybe the button "START" is not so difficult, using the technique for repeating an animation described in the following link:

Learning to Drive: JavaScript, Animation loops, Captivate 9 | eLearning

But how can I implement the PAUSE- and RESUME-button? I think I need some Java Script!?

Any help is highly appreciated!

Thank you very much in advance!

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    October 3, 2016

    To be sure, you are not talking about (SWF or HTML) animations created with applications like Edge Animate, Animate CC but about applied Effects in Captivate?

    Inspiring
    October 3, 2016

    Correct, I`m talking about Effects created directly in Captivate (for example a smartshape with an animation effect).

    Lilybiri
    Legend
    October 3, 2016

    Each effect is always relative to the original position. I don't think restarting is that easy, maybe it is with JS, but cannot help you with that. Once I wrote a blog article about resetting motion effects:

    Reset Effects in Captivate 6 - Captivate blog

    As for Pause/Resume, normally you could use the original Pause/resume commands because the Effects timeline is linked to the slide timeline.