Skip to main content
teresah9791625
Known Participant
September 27, 2016
Question

pause on exit

  • September 27, 2016
  • 2 replies
  • 689 views

I have a captivate 9 html 5 project and I have my navigation buttons on first slide and display for rest of project. Each navigation button calls an advanced action. I am having issue with some slides automatically advancing to next slide. I have seen lots of post about adding an invisible click button. I was thinking of adding an on exit action to pause the slide. I was wondering why no one suggested this, is this not a good solution? Please advise.

Thank you.

Teresa

    This topic has been closed for replies.

    2 replies

    carlosspicyweinr
    Participating Frequently
    October 3, 2016

    I know the "On Exit" action doesn't get much love on the forum, but this use of it has been working for me for pausing at end of a slide.  For whatever reason, I haven't had any success with using a pausing shape button on the main master.

    Create a user variable, e.g. v_FrameIndexPause.

    Create a conditional action. Standard action would work fine I'm sure, but I'm from the school of "all advanced actions should be made conditional, just in case."

    • IF
      • 1 is equal to 1
    • THEN
      • Assign v_FrameIndexPause with cpInfoCurrentFrame
      • Expression cpCmdGotoFrame = v_FrameIndexPause - 1

    Then use this advanced action as the "On Exit" action for whichever slides you want to self-pause.  Good luck.

    Lilybiri
    Legend
    September 27, 2016

    Never use the On Exit event when possible, it is not to be trusted at all. Moreover that event occurs after leaving the last frame.

    If you have the same navigation buttons on each slide, did you try to put them on the Main master slide instead of having them timed for the rest of the project? If one of those shape buttons is pausing (you need to Options tab, because objects on the master slides do not have a Timing panel), it will always pause at the end of each slide based on that master slide. That is the big advantage over timed for the rest of the project, where the pausing point is fixed and probably your slides do not have all the same duration.

    teresah9791625
    Known Participant
    September 27, 2016

    If I put them on the main master slide, I don’t see each buttons name so how can I control them with advanced actions. For example if I want to hide the buttons at some point in the course.

    Lilybiri
    Legend
    September 27, 2016

    That is the disadvantage, you cannot control them because they do not have an ID, reason why I asked if you want them on each slide? Depends on how many slides don't need that button, you can have a duplicate master slide.

    Where was the pausing for those navigation buttons on the first slide? If that first slide is a short slide, the pausing point will be the same on each slide following that first slide. That is probably the reason for  your problems, and that is why I offered an alternative that will make sure that the pause is always at the end of each slide.

    If you gave some more details about those 'advanced actions'? I don't see why you should need an advanced action for a Next or Previous button. Have a look at:

    1 action = 5 Toggle Buttons - Captivate blog