May 29, 2018
Breaking a loop.
Comments
(3)
May 29, 2018
Breaking a loop.
Master 16 posts
Followers: 8 people
(3)

Hello Captivate users,

I encountered a little problem and decided to put it up for a discussion. Maybe someone will come up with a solution.

I created a while loop with changing pictures. A few pictures appear for one second and disappear. It works fine, until I jump to another slide and return to the “looped” one. It seems that the loop is still running. I mean the cycle doesn’t start from the beginning, which is the desired effect in my case,  but somewhere from the middle.  I was looking for something like a ‘break’ command in programming languages, which could be applied on slide exit,  but it seems there’s no such option.

Any ideas what the problem might be ?

3 Comments
2018-05-30 19:08:41
2018-05-30 19:08:41

While loop cannot be stopped by a pause nor a pausing point. I mentioned that in my interactive movie about the Timeline:

Like
2018-05-30 18:58:16
2018-05-30 18:58:16

It’s a kind of way round, but it’ll work. I thought of a kind of shortcut…

Like
2018-05-30 08:41:27
2018-05-30 08:41:27

There is no Break command. You can create a limited While instead of a perpetual loo, using a variable with a maximum or a minimum and the Increment, Decrement command in the sequence of commands. Most of the use cases with While on my blog are not perpetual.

Like
Add Comment