Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #283435 Score: 0
    Profile photo of Jawad
    Jawad
    Member
    beginner
    intermediate
    contributor
    friend finder
    wise owl
    1 pt
    @Jawad

    I have tried the following with no luck.

    There are 4 transparent buttons, all buttons need to be clicked in order to make a 5th button appear.

    #287186 Score: 0
    Profile photo of Erica Hunter
    Erica Hunter
    Member
    beginner
    intermediate
    verified member
    contributor
    curious george
    wise owl
    LUC16 Attendee
    LUC16
    3 pts
    @beeps

    On each of the transparent buttons, add an action to modify a variable and an action to check the status of the variables. Once the conditions are met, then the mouse click will trigger the fifth button to show. Someone might have another way to do this, but this is what I do:

    Transparent button 1
    on mouseclick –> modify variable button1 = 1
    on mouseclick –> show button 5 if button 1 = 1 button 2 = 1 button 3=1 button 4 =1

    Transparent button 2
    on mouseclick –> modify variable button2 = 1
    on mouseclick –> show button 5 if button 1 = 1 button 2 = 1 button 3=1 button 4 =1

    Transparent button 3
    on mouseclick –> modify variable button3 = 1
    on mouseclick –> show button 5 if button 1 = 1 button 2 = 1 button 3=1 button 4 =1

    Transparent button 4
    on mouseclick –> modify variable button4 = 1
    on mouseclick –> show button 5 if button 1 = 1 button 2 = 1 button 3=1 button 4 =1

    Button 5
    whatever actions it has…

    Also add on whatever action the button would do w/ the variable actions to hide/show/whatever you want the buttons on their own to do. Just make sure that the show button 5 action is after the modify variable one for each since actions are done in order.

    #287184 Score: 0
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    339 pts
    @ssneg

    Alternative solution:

    Transparent button 1
    on mouseclick –> modify variable “visit_all” – add to it – “a”
    on mouseclick –> show button 5 if “visit_all” contains “a” AND contains “b” AND contains “c” AND contains “d”

    Transparent button 2
    on mouseclick –> modify variable “visit_all” – add to it – “b”
    on mouseclick –> show button 5 if “visit_all” contains “a” AND contains “b” AND contains “c” AND contains “d”

    Transparent button 3
    on mouseclick –> modify variable “visit_all” – add to it – “c”
    on mouseclick –> show button 5 if “visit_all” contains “a” AND contains “b” AND contains “c” AND contains “d”

    Transparent button 4
    on mouseclick –> modify variable “visit_all” – add to it – “d”
    on mouseclick –> show button 5 if “visit_all” contains “a” AND contains “b” AND contains “c” AND contains “d”

    Button 5
    whatever actions it has…

    WHY?
    Because this way you need 1 variable for storing the progress, not 4 (or 12 in case of let’s say 12 buttons to click / chapters to visit / etc).

    #287185 Score: 0
    Profile photo of Erica Hunter
    Erica Hunter
    Member
    beginner
    intermediate
    verified member
    contributor
    curious george
    wise owl
    LUC16 Attendee
    LUC16
    3 pts
    @beeps

    ssneg, I knew you would have a better way to do that! 🙂

    #287183 Score: 0
    Profile photo of Ben Pitman
    Ben Pitman
    Member
    4 pts
    @benpitman

    Be sure to have an action on the page that enables the button if the learner returns the page. It can be very frustrating for learners to have to go through all at stuff again just to advance forward if they came back to review something.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.