Lightbox slides and triggers

Aug 01, 2014

Hi All - Happy Friday!

Lay of the land: I have 1 base slide and 4 lightbox slides with videos on them.

What I want SL to do: After the user clicks the 4 buttons on the base layer to view all 4 lightbox slides, I want to jump to the end slide ONLY if all 4 videos have been watched. If it is on jump to next slide when all 4 buttons have changed states, it will jump to the end slide before the user gets to watch the last video.

What I have done: Created 4 variables for each light box slide. On each slide I said when timeline ends on the videos make variable true. Not when timeline starts because I want the user to watch all 4 videos before it automatically jumps to the end slide. Now I am stuck. I don't know how to get the triggers to trigger to the end slide? TGIF!!!!!

Help will be appreciated!

Thanks

kai

9 Replies
Ashley Terwilliger-Pollard

Hi Kai,

There are a few things happening with your file -

First off, I saw you applied states to the objects on the slide master, but you won't be able to use them with any triggers on the slides themselves, which would be the preferred way I would do this.

I say that, because in your example, the timeline of each video slide is very long - and when testing it the variable will never be set to True allowing you to see the final slide. If you added the states to the first slide, you could use the state of the buttons to jump you to the final slide as I did in this example.

Now I suspect since you mentioned that you are just using those as placeholders- you may want to look at using the variable method, but it's tricky to test in this version as there is no way of knowing when the slide's timeline is over. If you were interesting in adjusting the variable at the beginning of the timeline but not letting the user leave the video slide until it's over - what about instead of the built in lightbox creating a custom lightbox where you could keep the (X) close button disabled until the video's timeline is over? That gives you a bit more security in that the variable is set right away - but the user can't navigate away until the end.

Either way, I updated the original version with the state change as I mentioned - just to help you see that method.

Kai ...

Ashley Terwilliger said:

Hi Kai,

There are a few things happening with your file -

First off, I saw you applied states to the objects on the slide master, but you won't be able to use them with any triggers on the slides themselves, which would be the preferred way I would do this.

I say that, because in your example, the timeline of each video slide is very long - and when testing it the variable will never be set to True allowing you to see the final slide. If you added the states to the first slide, you could use the state of the buttons to jump you to the final slide as I did in this example.

Now I suspect since you mentioned that you are just using those as placeholders- you may want to look at using the variable method, but it's tricky to test in this version as there is no way of knowing when the slide's timeline is over. If you were interesting in adjusting the variable at the beginning of the timeline but not letting the user leave the video slide until it's over - what about instead of the built in lightbox creating a custom lightbox where you could keep the (X) close button disabled until the video's timeline is over? That gives you a bit more security in that the variable is set right away - but the user can't navigate away until the end.

Either way, I updated the original version with the state change as I mentioned - just to help you see that method.


Thanks Ashley, i see your point. this is my issue with SL when it comes to the timeline being longer than the media. I removed the real videos and included the placeholder videos. I just assumed it will adjust the timeline automatically to the replaced video, but it didn't. Is there a way to adjust the timeline that isn't as laborious and tedious as to manually dragging the objects until it is at the desired/correct timing?

About the states: i added the states because when I changed the trigger, the states didn't change.

I wasn't sure whether someone would come up with a remedy by the time I released this, so I went ahead and added a trigger on the main layer that jumps to the end layer when all the variables are true. initially it didn't work, until I figured out that the trigger order is the culprit.

Your solution is also workable, thanks! I always find it hard to know when to sue the correct trigger, especially when it comes to layers. e.g. If I have 5 layers and until all the layers are clicked I want to jump to the end layer. I have yet to figure this one out.

Cheers,

Kai

Kai ...

Let me add to my comment above....

I looked at what you have Ashley. My logic is probably off.

My initial thinking was to do what you did ( I didn't) but thought that once the states of the buttons changed to visited, it won't go to that last slide (the user clicked the button) and play the media, but will immediately jump to the end slide.

can you explain the SL logic that I am obviously not intuned with :(

I think I need to start my weekend! Too much work makes me dull!

Meryem M

Adjusting the timeline:

Go to the end of the timeline and start to drag the endline. While you are dragging, hit your left arrow on your keyboard. You'll kick yourself that it was this easy.

This only works of all the items are set to "End of slide" rather than a specific number of seconds. Look for the little triangle at the end of each object's timeline.

Ashley Terwilliger-Pollard

Hi Kai,

You'll also see I set it to jump to that slide when the timeline ends based on those states. Since the main slide's timeline isn't that long, it seemed to work well. For more information on how states work, you may also want to review this article.

Also, Meryem has you covered in terms of easy ways to adjust the timeline.

Kai ...

Ashley Terwilliger said:

Hi Kai,

You'll also see I set it to jump to that slide when the timeline ends based on those states. Since the main slide's timeline isn't that long, it seemed to work well. For more information on how states work, you may also want to review this article.

Also, Meryem has you covered in terms of easy ways to adjust the timeline.


Thanks Ashley, but I know about the article. It is clear, but it doesn't extent to more indepth applications.

My biggest issue i have these days is the layers and applying some trigger logic.

Kai ...

Meryem M said:

Adjusting the timeline:

Go to the end of the timeline and start to drag the endline. While you are dragging, hit your left arrow on your keyboard. You'll kick yourself that it was this easy.

This only works of all the items are set to "End of slide" rather than a specific number of seconds. Look for the little triangle at the end of each object's timeline.


OH MY! AWESOME!!!!! it worked. This is what I mean about non intuitive design. I never would have known about this quick trick. Thanks a lot!!!!!

This discussion is closed. You can start a new discussion or contact Articulate Support.