Skip to main content
Participating Frequently
June 27, 2012
Question

Making sure rollover slidelets have been viewed

  • June 27, 2012
  • 4 replies
  • 610 views

Hi,

I'm trying to make a project that requires the user to view each rollover slidelet (4 in total) before they can move onto the next slide. Any ideas how to do this? Or, how to do this for any objects - if this isn't possible?

Many thanks,

Mike

    This topic has been closed for replies.

    4 replies

    Participating Frequently
    June 28, 2012

    Thanks for all your suggestions guys. I'm going to look at attempting this tomorrow, may be back for more questions!

    Lilybiri
    Legend
    June 27, 2012

    Have a lot of troubles with the forum today. I know that both Aditya and Andy have posted an answer, I was blocked out... But I do not see the answers.

    Rollover slidelets are not really interactive objects, but they do have two events that can trigger an advanced action: on rollover and on click.


    Aditya, your solution will cause issues, because the user could rollover the same area multiple times, thus reaching the minimum value for the variable without having viewed all the slidelets. Andy is right, you need a variable for each rollover slidelet and a conditional advanced that is triggered by rollover. You have to be sure that the variable is set before checking the condition.

    This same scenario I have explained multiple times on this forum (and on my blog), but since I'm having issues, cannot find a thread or point to it.

    Lilybiri

    AndyKingInOC
    Legend
    June 27, 2012

    I tested it real quick in cp5.5.  you can use the 'on rollover' action in the rollover area 'action' accordian to execute an advanced action that will set some variables, check those variables, and if they're all true, show a 'next' button.

    There may be other solutions but here's how I'd do it.

    1) Create a variable for each slidelet; slidelet1Viewed, slidelet2Viewed, slidelet3Viewed

    2) Create an advanced action called 'setSlidelet1'

         a) Action 1 for this would be "if slidelet1Viewed is not equal to Y, then assign slidelet1Viewed equal to Y"

         b) Action 2 would be "if slide1Viewed is equal to Y AND slide2Viewed is equal to Y AND slide3Viewed is equal to Y then show NextButton"  (next button being the name of the object button to go to the next slide)

    3) Create a similar corresponding adv action for slidelet 2 and 3.

    4) Turn off the Visible check box for NextButton

    Keep in mind, you'll need something on the slide to pause the playhead or it will just fly by your button pause.  A very small click box hidden under something should work.

    If you're using the skin play bar, you should be able to get the same effect using the cpCmndShowPlaybar variable, by setting it to zero to hide it, 1 to show it.

    Adobe Employee
    June 27, 2012

    Hi Mike,

    This is possible.

    You can use advanced action and variables to accomplish this.

    create a variable, say rollovercheck and assign it zero value.

    On rollover, set an advanced action, that will increment the value of rollovercheck, say to 1.

    now on the slide, add another advanced action "on exit" that will be a conditional action, which will check the value of rollovercheck, if it is zero (rollover slidelet not visited) it will jump to the same slide, and else, it will continue to the next slide.

    Let me know if you need any help.

    Thanks