I want to add a trigger that allows the learner to advance only once all on screen content is displayed. I have a warning that I want appear if they click next before then. I can't seem to get the trig to work. I works in the slide preview only.
Yes, I have a few objects, but the final one is an arrow that points to the
Next button. If they click Next before it appears the pop warning should
appear. that is what I am trying to do :)
adjust variable (endCheck) to true when timeline ends.
then add two triggers for your next button:
1. show layer (your warning message) , when next button clicked , if endCheck == false
2. jump to next slide , when next button clicked , if endCheck ==true
if you want this on every slide then add the following trigger as well:
adjust variable (endCheck) to false when timeline starts.
That will reset it for each slide, then just copy the same triggers to each slide. You could even add all of that to a master slide so you dont have to copy it over every time.
you control when they can use the next button by controlling when the variable gets adjusted. If you want it at the end of the timeline then thats when it happens. If you have something else make your arrow appear, then have it also adjust the variable.
Or you could just set the state of the Next button to hidden when the timeline starts, and set it to normal when all the content is displayed. Seems like less wear and tear on both the developer and the user (no tempting but forbidden button with accompanying "naughty, naughty" message. :)
or When Media Completes, or however you determine that they have finished the content.
If your content is on different layers, then you would need conditions on the second one. I would use something like what Wendy did in her sample, with the states and variables.
Thank you Walt...this creates another question...I have next and previous
arrows on my player so how can I remove them? and then I will also have to
now add a previous back back in...
I deactivated the next arrow in the player and added a NEXT button with
your triggers - works great but when the user clicks the previous arrow,
the Next button doesn't reappear on that revisited slide, so now I need to
create a trigger that allows the Next to appear...how do I do that?
I have set up my triggers as you indicated but my Next button is now
staying permanently on the stage...do I need to re-name the condition for
each slide, ex. Slide2Done == Equal to False , Slide3Done == Equal to
False, etc?
Hi Walt, I had it working but now it is not. You have a variable that is called "ThisSlideDone" and another called " Slide1Done"...I am not sure how they connect????
So on the "change the state...Hidden" I should create the variable
"ThisSlideDone == Equal to False and then create a new trigger that adjusts
the variable "ThisSlideDone1" to true when the timeline ends? I am sorry,
I have got quite confused...is ti possible to call me? I got an extension
onmy Friday deliverable and it is now really due at 9:00 this am - help!
The concept is to hide the next button only the first time the slide is visited. So the variable is originally set to false. When the slide starts, the Next button is hidden if the slide hasn't been seen. Then when the timeline ends, that variable is set to true. The next time the slide is visited, the Next button isn't hidden.
So both triggers should use the same variable (eg: slide1done), but each slide has to have its own trigger.
Except that you can't use that exact variable on more than one slide. So for each slide, you do the same thing, but with a variable on each slide with a name that is unique to that slide.
50 Replies
Like this? https://goo.gl/Y4LW8Z
Hi there,
Yes, I have a few objects, but the final one is an arrow that points to the
Next button. If they click Next before it appears the pop warning should
appear. that is what I am trying to do :)
If the arrow appears at the end of the timeline then its easy:
add a variable:
name: endCheck , type: true/false , default: false
then add a trigger:
adjust variable (endCheck) to true when timeline ends.
then add two triggers for your next button:
1. show layer (your warning message) , when next button clicked , if endCheck == false
2. jump to next slide , when next button clicked , if endCheck ==true
if you want this on every slide then add the following trigger as well:
adjust variable (endCheck) to false when timeline starts.
That will reset it for each slide, then just copy the same triggers to each slide. You could even add all of that to a master slide so you dont have to copy it over every time.
you control when they can use the next button by controlling when the variable gets adjusted. If you want it at the end of the timeline then thats when it happens. If you have something else make your arrow appear, then have it also adjust the variable.
Excellent! I went down that route but didn't have the variable right -
Thank you so much!
Hi LIanne
does this sample help
Thank you, I will give it a try.
Or you could just set the state of the Next button to hidden when the timeline starts, and set it to normal when all the content is displayed.
Seems like less wear and tear on both the developer and the user (no tempting but forbidden button with accompanying "naughty, naughty" message. :)
Thank you, I like it! Simply and easy :)
Hi Walt,
What would the code look like to do this?
and
or When Media Completes, or however you determine that they have finished the content.
If your content is on different layers, then you would need conditions on the second one. I would use something like what Wendy did in her sample, with the states and variables.
Thank you Walt...this creates another question...I have next and previous
arrows on my player so how can I remove them? and then I will also have to
now add a previous back back in...
Hi Walt, I figured it out! And it works beautifully. Thank you for this suggestion.
Hi Walt, me again :)
I deactivated the next arrow in the player and added a NEXT button with
your triggers - works great but when the user clicks the previous arrow,
the Next button doesn't reappear on that revisited slide, so now I need to
create a trigger that allows the Next to appear...how do I do that?
Thank you!
These triggers should do the job.
Note that these triggers will work for the built-in buttons on the player.
Thank so much Walt for your fast reply...I have a deliverable for this
morning and you are a life saver!
Hi Walt,
I have set up my triggers as you indicated but my Next button is now
staying permanently on the stage...do I need to re-name the condition for
each slide, ex. Slide2Done == Equal to False , Slide3Done == Equal to
False, etc?
LZ
yes
HI Walt,
I figured out my mistakes and it works beautifully, thank you.
Hi Walt, I had it working but now it is not. You have a variable that is called "ThisSlideDone" and another called " Slide1Done"...I am not sure how they connect????
That was my mistake. Those should both be the same variable. Just be sure to have a unique variable for each slide. Sorry :(
So on the "change the state...Hidden" I should create the variable
"ThisSlideDone == Equal to False and then create a new trigger that adjusts
the variable "ThisSlideDone1" to true when the timeline ends? I am sorry,
I have got quite confused...is ti possible to call me? I got an extension
onmy Friday deliverable and it is now really due at 9:00 this am - help!
613 315 1368
The concept is to hide the next button only the first time the slide is visited. So the variable is originally set to false. When the slide starts, the Next button is hidden if the slide hasn't been seen. Then when the timeline ends, that variable is set to true. The next time the slide is visited, the Next button isn't hidden.
So both triggers should use the same variable (eg: slide1done), but each slide has to have its own trigger.
Okay,so I create a variable that I am calling ThisSlideDone and its default
value is false...
Then I create a trigger that when the timeline starts the Next button is
set to hidden, on the condition that ThisSlideDone == Equal to false.
Then I create a trigger that when the timeline ends the Next button is set
to normal, with no conditions
then I create a trigger that adjusts the variable ThisSlideDone to a value
of true when the timeline ends
???
Perfect.
Except that you can't use that exact variable on more than one slide. So for each slide, you do the same thing, but with a variable on each slide with a name that is unique to that slide.
So on my last step I...
then I create a trigger that adjusts the variable ThisSlideDone1 to a value
of true when the timeline ends
....and then then I create a trigger that adjusts the variable ThisSlideDone2 to a value
of true when the timeline ends
This discussion is closed. You can start a new discussion or contact Articulate Support.