Slider thumb disappears when triggered by variable to reset

May 12, 2015

Hi all,

I'm having trouble getting a slider to reset properly, when learners return to the layer the slider sits on.  I've added a trigger that changes the variable of the slider back to zero, if they click on a Home button.

It works beautifully except for one problem.  The thumb image disappears when you return to the slider after clicking on the home button.  I cannot figure out why this would happen. Has anyone else experienced this or am I missing something?

12 Replies
D MN

Thanks for replying Sandie.  By "Thumb" I meant the thing you drag when you use the slider (see my attachment).  What was happening I could see the slider, but that thing you drag was missing. 

Just tried setting to Reset to initial state.  This time  the thumb image didn't disappear - But it didn't reset.  The slider was still as the last place I left it...  I also didn't want it to resume the saved state, because I want people to start from beginning.    So I'm in a better place (thanks), but not ideal.  

D MN

Aha!  I think I've fixed it :)  It seems everything works if you set the layer the slider is on to "Reset to initial state" like Sandie suggested, and you add a trigger to set the variable for the slider to zero when the timeline starts (just saw another post on that).  Now the slider thumb doesn't go MIA, AND it resets back to the beginning.  Love these forums - Thanks!!!

Logan Stahler

Thread bump!  

I am experiencing the same issue but can't find a fix.  I have 4 sliders, each triggering a state change for a graphic.  Once all sliders are played with, I present a layer with a "review" button which simply jumps back to the original slide.  I have chosen to "reset to initial state" on the slider layer AND set up triggers to reset the slider variables back to 0.  The same happens - my slider thumbs (custom images I made) disappear rendering the sliders useless!   

Please see the attached slide and try the "Let's review" button after sliding the 4th slider and see what I mean.

Logan Stahler

Hi everyone-

Having received no replies via the forum, I submitted a help ticket.  I was presented with 2 options as this DOES appear to be a glitch in SL2.  Here are the options:

As a workaround, you have two options. You can create a redirect slide or modify the triggers that reset your sliders

1. Create a 'redirect slide'  which is a simple slide that only contains a "Jump to Previous Slide When Timeline Starts" trigger.  The redirect slide will then jump back to your slide, causing it to refresh.

2. Adjust the triggers to reset the variable.  My existing slide triggers were to reset each slider variable to 0 when the timeline starts.  Support had me change the trigger, making a new trigger for each slider (not a slide trigger) and adjusting the variable back to 0 when the timeline of the slider started.  Below is a screenshot from support showing my particular trigger settings.  I used this option and it worked!

 

Dave  Owens

I have this issue, but resetting the variable wont work. When I do that the draggable 'thumb' disappears. This is only happening when you revisit the layer that the slider is on.

Resetting slide layer to inital state, and resetting variables on the slider to correct points doesn't even work when I use the trigger 'when timeline starts' but does seem to work when I use 'when timeline reaches...' however this only works when I revisit the first time around and when trying it multiple times it seems to disappear again... really annoying, the sliders have never really worked well in Storyline 2 when you start applying triggers to them...

Dave  Owens

Hi Alyssa, I've attached the story file. If you click the button on the first slide to open the layer with the slider on, I have it set so that the slider resets to '0' when timeline reaches 2 secs (which is when the slider starts on the timeline). When i tried the suggestion above for resetting it when the timeline starts, the thumb just completely disappears and the slide becomes broken when clicking off to hide the layer and then revisiting it. With the current set trigger, it works the first time around when revisiting but seems to mess up after more than one revisit of the layer. Also another slight bug that happens is that when dragging the slider from '0' to '1' then back to '0' and again to '1' again or vise versa with '2' and '1' then the triggered state change seems to not work and some of items images that compose the state of the larger image just vanish.

I have also another slide in the story with an issue in which the drag items in my interaction are set to disabled state when dropped on any of the correct targets. There is an issue in which if you drop one of them on the border of the drop target (usually the final drag item) it snaps it back to the initial starting point but still registers that it has been dropped and disables it without being in its proper place.

I'd appreciate if anyone can suggest a fix for these problems.

Thanks

Alyssa Gomez

Thanks for sharing your file and the details of those two issues. I was able to reproduce the issue with the slider on Slide 1.1. Strange thing is sometimes I would see the slider vanish completely, and sometimes I would see the slider move to the far left edge of the slide (shown here). I don't see anything in your trigger pane that could be causing this behavior, so I'd like to shoot your file over to our Support Engineers to investigate further. 

In regards to the drag-and-drop issue on Slide 1.2, I was not able to replicate the behavior. I tried dropping the items in various orders, but each time the interaction worked as expected. However, I'm still going to bring this up to the Support Engineers so they can try to replicate the behavior on their end. 

You should hear from someone on the Support team shortly, and I'll follow along with your case, as well!

Alyssa Gomez

Hi Dave, just popping in to check on your case. It looks like Victor was able to find a soltution to the slider issue on Slide 1.1:

The graphical anomaly in Slide 1.1 appears to have been caused by Slider's starting point of 2.00 from its timeline. To workaround this issue, I've moved the Slider to start at the very beginning of the timeline and modified the following Triggers: 

From: 
Action: Adjust variable 
Variable: Slider5 
Operator: = Assignment 
Value: 0 
When: Timeline reaches 2 sec 

To: 
Action: Adjust variable 
Variable: Slider5 
Operator: = Assignment 
Value: 0 
When: Timeline starts 
Object: Survival Layer 

I've also added an entrance animation to the Slider to create a small delay when it appears.

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