Skip to main content
eeymry
Inspiring
February 10, 2012
Answered

Force users to view multiple items before moving on

  • February 10, 2012
  • 1 reply
  • 3202 views

In it's most basic form this is what I need to do.

I'll have three boxes.  When the user clicks box A another box will appear containing a descrption of box A.  When the user clicks box B, description box A will need to disappear and description box B will appear, etc.  I think I know how to handle this portion using advanced actions, but is there a way to force users to view all 3 boxes before they can advance to the next slide?  I think it should be able to be done in advanced actions but I'm not sure how to write something like that.

    This topic has been closed for replies.
    Correct answer Lilybiri

    Are the transparent buttons perhaps in the same location on the stage? In that case only the top button will be functional.

    Lilybiri

    1 reply

    Lilybiri
    Legend
    February 10, 2012

    Pretty busy at this moment, this can perfectly be done by advanced actions. I have answered this same question multiple times on this forum.

    Will you allow multiple clicks on the same click box? Or do you want to disable it after it has been clicked once?

    • In the second case: create a user variable v_counter that you increment each time a click box has been clicked using the same advanced action that shows the proper Text Caption and hides the other Text Captions.
    • In the first case you'll need a user variable for each click box that you'll set to 1 if it is clicked

    I suppose for the moment you are using Standard actions, but you'll need conditional actions because each time the user clicks on a click box you'll have to check:

    • in second case if v_counter after incrementing reaches the value 3, and if Yes then you'll also show the Next button that is initially hidden
    • in first case if all user variables are set to 1, you'll show the Next button

    The conditional advanced action will thus need 2 decisions:

    First decision (mimicked standard action) that checks IF 1=1  (which is always true, thus always executed)

         shows proper text caption

         hides other text captions

         expression to increment v_counter   OR expression to set user variable for this click box

    Second decision  that checks either v_counter either the value of the 3 user variables

      IF OK Then show Next button

    Have a look at my blog post, not totally the same situation but perhaps helpful:

    http://lilybiri.posterous.com/template-for-reusing-script

    Lilybiri

    eeymry
    eeymryAuthor
    Inspiring
    February 13, 2012

    I must be missing something.  Here's my set up:

    1. Users must click each text button at least one time each before the next button will appear.
    2. When a text button is pushed, two things need to happen.  I have an image show and I have a transparent button show that will allow the users to re-hide the image that just appeared.

    I created the variables for the three text buttons that I'm using, each button = 1.  Users must click each button once or more before the next button will show and I can't test that because #2 isn't working properly. I can get my images to show when the text buttons are clicked, but having them hide afterwards isn't wokring on two of them and everything appears to be the same in the AA.  I'm tapped out, I must have made a mistake somewhere but I can't find it.  I've double checked all my On Success and Script assignments for btn that isn't working (btn_statementsClose)

    Any help would be welcome, I've been looking at this for hours.

    Thanks.

    Lilybiri
    LilybiriCorrect answer
    Legend
    February 13, 2012

    Are the transparent buttons perhaps in the same location on the stage? In that case only the top button will be functional.

    Lilybiri