Skip to main content
Global Recordings
Known Participant
August 16, 2021
Answered

Going to next slide in MultiState

  • August 16, 2021
  • 1 reply
  • 557 views

I am working with a multi-state slide in Captivate. I am able to go to the second state but am unable to determine how to go to the third and fourth states. I am enclosing the screenshots for the state view and normal view, as well as the Advanced Action to show the programming I used. Thank you all so much.

 

    This topic has been closed for replies.
    Correct answer Lilybiri

    I found that there was an issue with the code. I only had to click three buttons to get to the next slide, not four. Once I changed that, I was good to go! Thank you!!!!!!!!!

     


    You had only 3 state changes, not 4. OK, I thought you neede 4 changes. 

    1 reply

    Lilybiri
    Legend
    August 16, 2021

    Captivate has no multistate slides, only multistate objects. In your case the character image is a multistate object. You added the speech bubble in each state. You are in a responsive project, but apparently without fluid boxes? Is this a Breakpoint Views project? 

    Which event is triggering the advanced action? I suspect it is the Success event of button_1?  Why did you move the pausing point of that button so close to the start of its timeline? Why is the slide so long, since there is no slide audio?

    The Next button has no pausing point. If the advanced action is triggered by Button_1, you are hiding that button with the action. Since there is no pausing point anymore the play head will continue till the end of the slide. The Next button has no sense at all, with its short timeline without a pausing point.

    You are showing the Next button, does that mean that you did hide it in Output (by using the eye icon in its Properties panel)? That Show/Hide workflow is unnecessary:

    • timeline Next button starts after the pausing point of Button_1
    • Next button will automatically appear when Button_1 has been clicked, because you hide Button_1
    • Since Button_1 is no longer there, you cannot move to the next state for the Character multistate object.

    Please, try to explain what you exactly want to do? I need answers to my questions as well to give you an appropriate answer. 

    Global Recordings
    Known Participant
    August 16, 2021

    You are correct, I misspoke. I am working with a multistate object. You wrote: You are in a responsive project, but apparently without fluid boxes? Is this a Breakpoint Views project? I cannot answer this as I do not know. I do not know if fluid boxes were used. I have copied a former colleague's slide that showed what I wanted to do.

     

    So let me answer your questions:

    Which event is triggering the advanced action? I suspect it is the Success event of button_1?  That is correct, it is.

    Why did you move the pausing point of that button so close to the start of its timeline? Why is the slide so long, since there is no slide audio? I am not sure why but I redid it and I can get state explain.

    The Next button has no pausing point. If the advanced action is triggered by Button_1, you are hiding that button with the action. Since there is no pausing point anymore the play head will continue till the end of the slide. The Next button has no sense at all, with its short timeline without a pausing point. I added .3 sec, which is what the slide I am copying had.

    You are showing the Next button, does that mean that you did hide it in Output (by using the eye icon in its Properties panel)? Yes I did the hide button, as that is what the slide that I copied had.

    That Show/Hide workflow is unnecessary:

    1. timeline Next button starts after the pausing point of Button_1
    2. Next button will automatically appear when Button_1 has been clicked, because you hide Button_1
    3. Since Button_1 is no longer there, you cannot move to the next state for the Character multistate object.

    What I want to happen is to change the state and go to the next one once the next button is clicked. Is there a better way to do this?

     

    I tried making this change and I was able to go through all the states. I removed the Show/Hide from the workflow. When I did this, the next button takes me through all the states. But when I get to the fourth state it takes me back to the beginning. What I need to do is to go the the next slide. How would I be able to do that?  Thank you. DO you teach Captivate? If not, you should. You are really good.

    Lilybiri
    Legend
    August 17, 2021

    Sorry for a late answer but I was sleeping (Belgium).

    I have a lot of passions, but one of them is indeed training/coaching. If you visit my blogsite or my website, you can read about my vision on personalised training.

     

    Now I understand a little bit the situation, you inherited a course but without any documentation nor explanation. A lot of what I see is incomprehensible and illogical. I didn't insist on seeing the 'responsive' project situation, but that is very important as well. From the UI on the screenshot I see that it is a Fluid Boxes project. He/she had no idea what has been done because the timeline tells that not one Fluid Box has been inserted. Using only the Position Properties to set up such a project is contraproductive, that workflow is meant to override limitations for a few slides, not for a complete project. I am talking about slides where a normal fluid box cannot be used, like a slide with interactive video.

     

    To check the result at this moment I would suggest to use the play button, at the end of the top left indicator panel which shows the present resolution, starts with 'Layout Preview....'. You will see how the layout changes when decreasing to lower browser resolutions.

     

    I thought that you had two buttons with two different goals:

    • Button_1 to scroll through the states of the character with speech bubble, which uses the Advanced action
    • Next  to Go to the next slide (simple action

    If you want to stop the state changes at the last state and have the Next button appear only at that moment, the advanced action will need to be a little bit more complicated:

    1. Create a user variable v_counter (Project, Variables); it can have a default value of 0.
    2. Check that the Timeline of the Next button starts after the pausing point of Button_1 (as is the case now)
    3. Re-add a pausing point to the Next button (Timing properties, Pause after 1.5secs is OK)
    4. Extend the timeline of the Next button till the end of the slide (CTRL-E or with Timing properties.) If you  do not have slide audio, the slide duration can be reduced, you don't need such a long slide.
    5. Shorten the duration of the Button_1 timeline so that it ends before the pausing point of the Next button
    6. Create an Advanced action with TWO decisions (tabs):
         Decision 1 'Always'
             Change state....
             Increment v_counter by 1
         Decision 2 'Checkit'   is conditional!
              IF 
      v_counter is equal to 3
                Continue

    That last conditional decision will release the playhead when the last slide has been shown. Playhead will continue, the Next button appears and the playhead will stop at the pausing point of the Next button. Moreover Button_1 will disappear since its timeline ends before that last pausing point.

     

    You need to read this blog, it is one of a sequence about Timeline features:

    http://blog.lilybiri.com/pausing-captivates-timeline