Skip to main content
Known Participant
June 20, 2014
Answered

Intermittently jumping to first and second slide instead of conditional action

  • June 20, 2014
  • 2 replies
  • 244 views

Hello,

In my Captivate program (Captivate 7), I have a action on the first slide (on Enter) that says if your variable=this, jump to a specific slide (v_lastmod=1, jump to slide 4) and I have about 19 of these if statements in the action.

What I'm noticing is sometimes (intermittently) rather than going to that particular slide, it would go to the first slide and continue onto the second slide (and obviously stop there since there's a pause button). If I click refresh, then it will reload again and jump to the appropriate slide per the action.

I tried adding a loop where the else statement would repeat the action, just in case it might be a preloading issue? That didn't seem to work.It would just get stuck on the loop. I also tried adding a preloader per the default preloaders that Captivate has, and still intermittently it just goes through the first slide and continues to the second slide (unless I hit refresh, it'll take me to the appropriate slide). I also tried adding Else, continue, but no change.

Any ideas or suggestions?

Thanks,

Ruth

    This topic has been closed for replies.
    Correct answer Lilybiri

    It is not a good idea to have such a rather complicated advanced action right On Enter for the first slide. It has to be generated in runtime and the lag is probably what you are seeing. Try to add a short welcome slide before this slide, that has no action On Enter. That could solve your problem in an easy way.

    2 replies

    TLCMediaDesign
    Inspiring
    June 20, 2014

    Try adding a new first slide to your project that has a very short duration (.5 seconds) that doesn't do anything. Your second slide will be the slide with your On Enter action. All of your jumps will be off by 1 for the time being, but check and see if this fixes your problem before changing all of the jump to actions.

    Ruth_HBAuthor
    Known Participant
    June 20, 2014

    TLCMediaDesign, thank you! I took yours and Lilybiri's advice and it seems to be working so far. Actually, I didn't have to change the jump to slide actions as Captivate automatically populates that (because I have it assigned to, for example Jump to 4 slide 4 versus Assign cpInfoCurrentSlide = 4(literal)).

    Lilybiri
    LilybiriCorrect answer
    Legend
    June 20, 2014

    It is not a good idea to have such a rather complicated advanced action right On Enter for the first slide. It has to be generated in runtime and the lag is probably what you are seeing. Try to add a short welcome slide before this slide, that has no action On Enter. That could solve your problem in an easy way.

    Ruth_HBAuthor
    Known Participant
    June 20, 2014

    Thanks Lilybiri! Your insights are much appreciated! The first slide is kind of a "welcome"/loading slide. I took your advice and just created another loading slide prior to the first one that has no action at all before continuing onto the next slide with the more complicated action and it seems to be working so far!