Slider functionality

Hi all, a couple issues I'm having regarding a slider. 

Context: I'm using Slider A to increase the size of Graphic 1 while simultaneously decreasing the size of Graphic 2. The slider contains 10 steps, and the graphics each contain 10 states. I therefore have two triggers assigned to Slider A for each step (set state of Graphic 1 and set state of Graphic 2).

Problems:

  • Graphic 1 increases/decreases smoothly in sync with the slider. But Graphic 2 skips steps. I've triple checked the triggers for Graphic 2 and they're all present and accurate. Slider "Step" field is set to 1.
  • I have another slider, Slider B. I want Slider B to automatically move to reflect the status of Graphic 2 as Slider A adjusts it. Is this possible? The whole point here is to show that one action affects two variables, but allow the user to experiment with adjusting one or the other to see how they are linked.

Thanks!

9 Replies
Diana Gualda

Michael - yes, that's it! How did you link the two sliders? I see that the triggers are all now on Slider11, rather than on Slider1 and Slider2. I also see a Slider12 in the trigger options. But where are they? Could you elaborate on what you did? Thanks!

It's still having the issue where the R skips steps though. Do you see it?

Michael Hinze

It may look like you are missing steps for the "R" symbol because the 6,7,8,9 states for this object are the same size. Both sliders are controlled by the same Slider11 variable. You can check the variable that is attached to a slider by selecting a slider and then clicking the Design tab. The only difference between slider 1 and slider 2 is that I reversed the Start and End values for slider 2 (again, check the Design tab). That way, the two sliders move together but in opposite directions.  You can see all variables in the Variables editor. Click the (x) icon in the upper right of the Trigger panel.

Diana Gualda

Michael - thank you for finding the cause of the sizing error in the states! That fixed it. Of course the stakeholder went and changed his mind and now wants actual value amounts to show instead!

Ah, ok! I think I understand about the sliders now. I didn't realize different sliders could use the same Variable but different settings (first time working with Variables). Any chance of seeing the .story file for your "more complex example" to study how it's set up?

I attached an updated version with the sliders now linked, all using the variable "SliderCtrl"...along with the ability to click different layers. But this has now caused another issue:

I need the sliders to reset at the start of each layer timeline. I've tried using triggers to reset the variable value on SliderCtrl to 5. But this only accomplishes resetting the value, not the sliders' thumb locations. Because the value resets but not the thumb location, the sliders break in that if the user left a slider thumb anywhere but exactly in the middle, then when the next layer is clicked the thumb actually moves outside one end of the slider, and not all the way to the other end. I don't see SliderV, SliderA or SliderR available in the trigger's Variable dropdown. 

HELP!

Your insights have been most appreciated! 

Diana Gualda

I got it!! 

I recreated the sliders and got their associated variables back. The issue though, is that if you rename a slider's layer in the timeline, it does NOT rename the variable, so you end up with no idea which variable goes to which slider, and no way to easily find out.

So I created + renamed layer + renamed variable one at a time until I had all my sliders again. Then I could set appropriate triggers once I knew what was pointing to what.

I realized I had to reset ALL sliders + the SliderCtrl for each hotspot that linked to a different layer AND (somewhat counterintuitively) set each layer to "Resume Saved State." Putting the reset triggers to when each layer timeline began didn't work.

Whew...what an ordeal! Thanks again for all your help Michael, and I'd still be interested in getting that .story file if you can provide.