Skip to main content
alethai42632820
Participant
July 24, 2023
Question

Replay button to go back to frame 2

  • July 24, 2023
  • 1 reply
  • 135 views

I have a Play button on my Captivate slide for the user to press when they want to hear the audio for the slide. After the audio plays I have a Replay button appear in case they want to hear the audio again. But, the replay button takes them back to the beginning of the slide showing the Play button again. I want the Replay to go back to frame 2 to bypass that Play button, Is this possible?

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    July 24, 2023

    It is possible to do so but rather tricky because micro-navigation (between frames) is not very 'exact'. Moreover it is not sure that the Play button is gone on frame 3 at all. You should have posted a screenshot. It would be better to hide the Play button once it has been pressed. You can always show it again - if you need revisiting the slide - using the On Enter event of the slide. In summary, you use an advanced action for the Play button:

        Hide Play button

        Play.....

    You don't specify the action you provided for the Replay button. Was it based on my blog post:

    https://blog.lilybiri.com/replay-or-reset-slide

    Or maybe on this Captivate tutorial:

    https://blog.lilybiri.com/replay-slash-reset-slide-2-captivate-tutorial

     

    alethai42632820
    Participant
    July 24, 2023

    The Play button does disappear after pressed. I was able to get the slide to replay from 00:02 on the timeline with this code: "Assign  cpCmndGotoFrameAndResume with 31" but only when playing that one slide (which is slide 7 in my project). When I play the project from the beginning, once I get to that slide and press the Replay button, I am taken back to slide 1. I'm assuming I need to tell Captivate to go to the beginning of current slide and then resume with 31 but I don't know how to do this. I definitely need some training on the different advanced actions choices and how to properly use them.   

    Lilybiri
    Legend
    July 24, 2023

    'Disappear' how? Using that advanced action?

    I suspect you are new to the micro-navigation? The index for frames is over the whole project, not for one slide. I offered you already a link to my tutorials about Replay. If the Play button is hidden when it is pressed, you can go to the first frame of the slide using:

    cpCmndGotoSlide = cpInfoCurrentSlide - 1

    Here is an introduction to Micro-navigation:

    https://blog.lilybiri.com/micro-navigation-introduction

    Explore my blog if you want to learn more about shared and advanced actions.