4 Replies Latest reply: Sep 22, 2009 11:18 AM by Mild Mannered Reporter RSS

    Setting a condition for continuing to next slide

    Mild Mannered Reporter Community Member

      Hi,

       

      I'm using Captivate 4. I have four rollover slidelets on a slide - each simultaneoulsy active for displaying in any order.

       

      How do I create a condition where a 'Next slide' button would be made visible and activated on the slide only if all four rollover slidelets have been visited by the user? Is this possible in Captivate?

        • 1. Re: Setting a condition for continuing to next slide
          Captiv8r CommunityMVP

          Hi there

           

          I'm thinking you may be able to accomplish this by declaring one or more variables, then assign the on-click event for each of the slidelets so the event triggers an Advanced Action. The Advanced Action would consist of checking to see if the variable(s) have been set accordingly. Assuming the right condition exists (meaning all four slidelets have been clicked) an action would occur to reveal the button that allows the user to proceed.

           

          Cheers... Rick

           

           

          Helpful and Handy Links

          Captivate Wish Form/Bug Reporting Form

          Adobe Certified Captivate Training

          SorcerStone Blog

          Captivate eBooks

          • 3. Re: Setting a condition for continuing to next slide
            Captiv8r CommunityMVP

            Hi there

             

            Okay, I made this work just moments ago. Here is what I did.

             

            I clicked Project > Actions and I created five variables. One for each slidelet and one to keep track of whether all slidelets had been clicked or not.

            Next, I clicked the Advanced actions tab and created the following action:

            I created a Condition to check if my first Slidelet variable was equal to 0. If it was, I set the variable to 1and incremented my slidelet count by 1. Then I configured the playhead to move to a specific frame. In this case it was frame 143. (You want to reposition the playhead because if it continues you end up moving to the next slide).

            If it was set to 1 already, meaning I've already viewed that slidelet, I took no action other than to move to frame 143.

            Then I created a second Condition to check if all slidelets have been clicked. If that variable is equal to 4, it means the slidelets have all been visited. And if that's the case, I use the Show action to show the button. Again, I move the playhead to frame 143. I also move the playhead to frame 143 if the other side of the condition is true.

            Save that action, then duplicate it three times. Then adjust each action to reference the right variables. (one for each slidelet)

             

            On the slide itself, you need four Click boxes. Position each click box behind the slidelet area and configure it to launch the appropriate advanced action.

            Insert and configure the slidelets.

            Insert and configure the button. Hide the button. (remember, it's hidden until all slidelets have been visited)

            Finally, I inserted a Click Box with no action just to keep the slide paused.

             

            If you want to see this in action, click the link below.

             

            Click here to view

             

            Cheers... Rick

            • 4. Re: Setting a condition for continuing to next slide
              Mild Mannered Reporter Community Member

              Dear Captiv8r,

               

              I would like ask (pay?) someone to assist me in writing a couple of variables. Do you have a category for this? If not, do you have someone you can suggest?

               

              Thanks

               

              Mild Mannered Reporter